Thanks. The need to do this is why I got into Picaxe. Wound up with a complete preamp management system all based on Picaxe chips. Not shown - the input selector board.
So, here's an explanation of my method (a reply I posted on diyaudio to a question from someone who had tried and failed to do the same thing):
I do not use pwm or any stepped current or voltage. Instead, my power supply is infinitely variable. I use feedback (better than 12-bit) to measure the...
My original interest is in hifi audio electronics. On www.diyaudio.com a guy (handle=Georgehifi) was flogging an interesting volume control using four LDR modules as the four resistive elements needed to create a stereo volume control. His approach was to buy thirty or forty LDR modules (with...
I’m just curious, and I don’t have the math skills to figure this out for myself, hoping someone can answer the question without difficulty.
I’ve been using this circuit for years on 28X2s having created it to precisely control the resistance of a very non-linear LDR over a resistance range of...
Now very late to the game, but I had this problem when I was designing an IR control system for an audio preamp. I did not want the volume control to continue to increase/decrease after I let go of the up/down button on the remote because of commands left in the buffer. The way I solved it was...
The LM340AZ seems to have a maximum input voltage of 35V which gives me a 5V cushion and, as has been noted, the current is typically 4-5mA baseline with very infrequent blips of 24mA for 10ms decreasing toward baseline over 90ms.
A switching regulator has drawbacks here -- potentially putting...
Who is responsible for the PID and who is responsible for it still not being listed?
Does a proper PID solve all issues? If so, who is responsible for it?
I need the end result to be in the 0-1023 range and the above doesn't give me that, I think there's a division step missing?
Does this code below do the same thing or am I missing something? (Resulting number seems good, but . . . )
Percent_Value = Percent_Value * 32 + 32768 / 64 MAX 970
It...
@hippy,
I'm a pretty happy camper. Using the terminal code you suggested I was finally able to see the numbers I needed to see in order to tweak the code you provided to give me the numbers I need. Your use of the "**" simplified everything and was able to just use Word values for all the...
hippy, that works really well, thanks!
One thing, I had to add a PAUSE 500 at the end of the series of SerTxd commands because every five or so iterations of the loop the entire first line would be blank except for the last digit of the number. No idea why, but the PAUSE solved the problem and...
I am running a loop in a program and three of the lines in the loop are SERTXD commands sending data to the terminal. I would like those data items to remain in a single location on the screen, one data item per line, in three lines on the terminal display rather than scrolling.
I think that I...