With no snow outside I finally got around to solder the 3rd PCB. It is the second revision of a microcontroller dummy load. It is loosely based on the arachnidlabs uc:load. It uses the same base ciruit and adds a microcontroller (PIC16F1825), rotary encode switch,Β external powersupply and offcourse a 128Γ32 OLED.
The pictureΒ shows a quick and dirty firmware I wrote. The top line states it is as BETA as it get, so no warranties there :). The second line displays the rotary counter and the 1ms ticks, the next the raw ADC values (Vin, Iin andΒ Tamb) and the Iset setting. TheΒ last line displays the calculated Vin and Vout. The dot stated the rotary encoder isnβt pressed (a ! is displayed when pressed).
The FET is controlled through an opamp which compares the DAC from the microcontroller with the voltage across a 0.1Β Ξ© shunt. The rangeΒ is upto 1A (actually 1.024A), which is the range I was looking for. Using different resistorsΒ in the opamp stageΒ could give other ranges. The FET is capable of voltages upto 30V, however the voltage divider usedΒ would limit it to 16V.Β My intendent use of thisΒ dummy loadΒ is to do basic measurement on some batteries I have lying around, and testing of the power supply Iβm still designing (if ever finished).
The prototype does work but the firmware is far from finished,Β as farΒ as I canΒ seeΒ the hardware seems to be ok. A quick test with a DVM shows the current reading and voltage readings are within specs. I noticed some small silkscreen defects but does it require aΒ new revision? Time will tellβ¦
For more detail:Β Β PCB 3: UCload