Skip to content
Reinvented firmware for the electronic load 60W
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
control
docs
misc
.gitignore
Makefile
README.md
UNLICENSE
adc.c
adc.h
beep.c
beep.h
button.c
button.h
displays.c
displays.h
encoder.c
encoder.h
encoderbutton.c
encoderbutton.h
fan.c
fan.h
flash.c
flash.h
load.c
load.h
main.c
ringbuffer.c
ringbuffer.h
settings.h
stm8.h
strings.c
strings.h
system.c
system.h
systemtimer.c
systemtimer.h
uart.c
uart.h

README.md

Electronic Load

Reinvented firmware for the electronic load 60W. With PC control Software (Windows/Linux).

Status: beta.

The load can be ordered from China (AliExpress, eBay etc), something like this one:

The electronic load

Added features:

  • full control via UART
  • calibration (via direct EEPROM programming)
  • parameters (e.g. minimal current) are changable
  • bootloader can be enabled

I would recommend to not program the chip in the device, because:

  • then you cannot return to original firmware if you don't like this one
  • it's STM8S005K6T6C, that means you can one program it about 100 times
  • you cannot user a simple USB-UART adapter to program it first time

Take rather a new (empty) STM8S105K4T6C or STM8S105K6T6C and solder it.

Programmer connection:

Programmer connection

Analog part schematic (one correction: PB3 is connected to +12V via 20k).

Calibration values in the code are for my instance, may be you have to adjust them for your one.

You can’t perform that action at this time.