PCB 3: UCload

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.PCB 3 UCload

 

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


About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.