Skip to content
This repository has been archived by the owner on Oct 15, 2021. It is now read-only.

herm/electronic_load

 
 

Repository files navigation

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 (connected to pins T and R)
  • calibration (via direct EEPROM programming)
  • parameters (e.g. minimal current) are changable
  • bootloader can be enabled

Programming

Programming the chip in the device has some drawbacks:

  • you cannot return to original firmware if you don't like this one
  • you cannot use a simple USB-UART adapter to program it first time

Also the datasheet claims a write endurance of only 100 flash cycles but this is probably only for marketing purposes as it contains the same die as the STM8S105 which is rated for 10000 cycles.

Programmer connection

Connect an STLink V2 to the pins at the bottom of the board:

Programmer connection

Flashing

If you are using the chip which is already on the board you first have to unlock it via

make unlock

Then you write the new firmware with

make flash

and if you are flashing for the first time you also have to program the EEPROM:

make eeprom

Analog part schematic (corrections: PB3 is connected to +12V via 20k, R27 is 510 Ohm). Full schematic (one correction: polarity of D6 is reversed).

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

About

Reinvented firmware for the electronic load 60W

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 64.0%
  • C++ 35.0%
  • Other 1.0%