To avoid that you can add a suffix to the number indicating it is binary e.g. 120belse I will have had to decorate the entire thread with 1,s and 0,s...
To avoid that you can add a suffix to the number indicating it is binary e.g. 120belse I will have had to decorate the entire thread with 1,s and 0,s...
OkTo avoid that you can add a suffix to the number indicating it is binary e.g. 120b
Yes that’s exactly what I was looking for... I just posed the question incorrectly... using the wording inc/dec mislead the issue completely! thank you...hi mike,
Have been following this thread.
You do realise a ADC, will give a Binary sequence output and not a continuous pulse output.
eg: say the pot is at 50% ,, the ADC will output 01000000, not 64 pulses.
Is that what you are asking for.?
E
Single turn, where 100% will give 127b.hi,
What type of pot are planning to use, linear of course.?
Single turn or 10 turn with an indicator knob etc ..
Note single turn pot may not go from 0% thru 100% of its resistance value.
A cheap DVM would be helpful in setting the voltage level output from the pot to the ADC.
Also push button to initiate the ADC conversion.
E
31.25 Kbaud (+/- 1%)hi,
At what data & clock rate does the Midi receiver expect the commands and how many possible command types are there in the project.?
E
1) Tread titles are often misleading. In your first post, you defined what you were actually looking for:need binary output, it’s mentioned in the title of the thread, I just used decimal for sake of simplicity, else I will have had to decorate the entire thread with 1,s and 0,s...
That is solved with a voltmeter.I was wondering if there was a way to implement a counter that will count up or down using a potentiometer. I’m aware this can be achieved using a rotary encoder or a pic, but the idea was to try achieve this by using cmos chips and a potentiometer. Is there a dedicated chip for this function or is it only possible with op amp ladders and a priority encoder?
Simple conclusion was that you would let us in on your secret later. Nothing in your problem statement gave a clue as to how you wanted to communicate to your midi.. In particular a "dedicated chip" as you describe would be unlikely to have a midi port.I would like to use it to send midi controller messages.
It is precisely what I said... it was misleading! Please read thread with ericgibbs.1) Tread titles are often misleading. In your first post, you defined what you were actually looking for:
That is solved with a voltmeter.
2) Further:
Simple conclusion was that you would let us in on your secret later. Nothing in your problem statement gave a clue as to how you wanted to communicate to your midi.. In particular a "dedicated chip" as you describe would be unlikely to have a midi port.
3) Now, can you clue us in on how you plan to communicate to your midi?
You fail to understand the meaning of binary and it’s usage.need binary output, it’s mentioned in the title of the thread, I just used decimal for sake of simplicity, else I will have had to decorate the entire thread with 1,s and 0,s...
I perfectly understand the difference between binary and decimal. I assumed it was obvious considering the fact that we’re talking about a midi message.You fail to understand the meaning of binary and it’s usage.
Digital information in digital hardware and computer systems are always binary. We use the suffix b in order to make it unambiguous the distinction between 101 and 101b in computer code. The former is one hundred and one. The latter is five.
127b is illegal in computer code.
127 is one hundred and twenty seven to humans.
127 is 1111111b to digital hardware.
The maximum value output of a 7-bit A/D converter is 127.
127 represents a numerical representation that which humans are familiar. The A/D chip outputs binary 1111111b.
Users familiar to this field understand when someone says that the output of a circuit is 127. It is understood that the output is in binary unless stated otherwise. Clarification is needed for example when a value is displayed in decimal in which case one would specify 127 in a 3-digit BCD display.
Sorry for being pedantic but it is apparent that these concepts are new to you.
Please read thread with ericgibbs....We are on to more than 50 posts and you are no closer to a solution.
One would wonder why this is the case.
Yes it definitely has... but I have already built and tested a single push button message and it works! I used 4051 multiplexers and a 4Mhz timer module scaled to correct frequency. I had a few issues at first with the order of the bytes + stop and start bits, but I was able to send one single message. Now the only remaining dilemma for me is sending continuous messages via a pot. As for all the other functions (one led display and jog wheel), I’ll have to tackle them one at a time...hi mike,
Post #48 has pushed up the project complexity a few notches.
E
Exactly your problem.Yes it definitely has... but I have already built and tested a single push button message and it works! I used 4051 multiplexers and a 4Mhz timer module scaled to correct frequency. I had a few issues at first with the order of the bytes + stop and start bits, but I was able to send one single message. Now the only remaining dilemma for me is sending continuous messages via a pot. As for all the other functions (one led display and jog wheel), I’ll have to tackle them one at a time...
I have already built and tested a single push button message and it works! I used 4051 multiplexers and a 4Mhz timer module scaled to correct frequency. I had a few issues at first with the order of the bytes + stop and start bits, but I was able to send one single message. Now the only remaining dilemma for me is sending continuous messages via a pot. As for all the other functions (one led display and jog wheel), I’ll have to tackle them one at a time...The problem you are having is that you are trying to solve a problem using the tools that are familiar to you while there are other solutions that would be more effective.
Please step back to examine the big picture.
How are you going to communicate the information to the MIDI device?
I’m a hobbyistExactly your problem.
You come up with one solution that works. Implementing the next function breaks the solution and calls for a total redesign. That is not System Design Engineering.