Hey Henrik,
Just got back to my pc, and have a question...
With my current code being
if the "Volts" drops from, let's say 1234, to 789, wont I have to overwrite the "1" with a "space"?Code:'Voltage Display if Volts < 100 then '+15 Lcdout $fe, LINE1 + 13," ", DEC Volts/10,".",DEC Volts//10," V" endif if (Volts > 99) AND (Volts < 1000) then '+14 Lcdout $fe, LINE1 + 13," ", DEC2 Volts/10,".",DEC Volts//10," V" endif if Volts > 1000 then '+13 Lcdout $fe, LINE1 + 13, DEC3 Volts/10,".",DEC Volts//10," V" endif
If I don't, won't the LCD display "VOLTAGE: 178.9 V", or will it display the proper "VOLTAGE: 78.9 V", (the "1" being an artifact from the previous display)
I guess I'm sorta confused,
Thanks for taking the time to help me out,
Chris


,
) that will be mounted to a rock tumbler. The board will monitor, as I'm sure you can tell, voltage, current, temp and rpm (through the index pulse of the encoder). The power supplies are 2 HP ESP120 (51.4V, 57A) 3KW server supplies wired in series. Right now, you're probably thinking WTF! Why would he run those? Well, all I can say is, they're the cheapest power you'll ever find
. I've juiced 'em in series, and they haven't missed a beat. The only tricky part is isolating the high-side supply from earth as well as humans. I have them both in a fully insulated 1/4" polycarbonate enclosure. As far as wanting the code for the pic finalized (or almost) before the first run is nothing more than it's kinda a pain in the butt doing the remove, burn, reinsert routine (the LCD is mounted on stand-offs above the chip carrier as well as no ICSP on my board). If you think I've got workable code, I'll go for it. Do you have any slicker ways to get finer RPM from my encoder scheme? I have to admit that I have brain fried over that part!

Bookmarks