Hello Mark
I hope to make it more than just a start I will be putting one into a power supply, one of three. Of the other two one will have two 4 digit panel meters (I have already mounted them in the front panel) the other a 128x64 LCD so another blog to come for this one with space for lots of functions as it will use a 40pin dip in ZIF socket so can use a 1284p if I want.
This one it will show volts 1.2-20, amps 0-22, temps of internals (heat sink etc), turn cooling fan on/off & rs232 port. Just have to see what fits into the 8K , infra-red remote might be nice.
So now for some more code I have cleaned up even more, put lots more comments to explain what the code is doing, added a brightness function the bottom button if held in cycles from max to min brightness so you just press and hold till you get what you want then let go.
So now we have a working meter with brightness control, decimal point and + sign.
Next I will add I2C buss with a 12bit ADC not using the AVRs ADC.
Code thus far.
Regards Paul
↧