TinyLoad is a simple electronic constant current dummy load. The ATtiny85 measures voltage, current and temperature of the heat sink, calculates power, energy and battery capacity, controls the fan and displays all relevant data on the OLED. The button is used to switch between power/restistance and energy/capacity display.
Video: https://youtu.be/z7fddsFyD1E
The ADC of the ATtiny does its best to make the tinyLoad a pretty accurate tool, but it might need a little calibration.
How to calibrate:
- Set ULCAL and ILCAL to "1" in the sketch, compile and upload.
- Choose a stable input voltage of around 5V and turn the poti until the display shows a current of around 0.7A. Measure the voltage and the current with a trusty multimeter or a good lab bench power supply.
- Calculate the calibration factors as follows:
- ULCAL = voltage measured with multimeter / voltage shown on OLED.
- ILCAL = current measured with multimeter / current shown on OLED.
- Set the ULCAL and ILCAL value in the sketch, compile and upload again.
- Use a good heatsink with a 5V fan for the MOSFET !
- Be careful with high power loads ! This device is called "tinyLoad" for a reason !
- Always turn the POTI full counter-clockwise before connecting the load !
- Due to the input offset voltage of the OpAmp the minimum load current is 17mA.
- The maximum load current is 4.5A, however for small voltages it might be less.
- Do not exceed the maximum voltage of 26V !