Dominik-Workshop / Electronic_load

Electronic load 2022
GNU General Public License v3.0
54 stars 11 forks source link
atmega328p diy electronic load precision programmable qtcreator qtdesigner

DC Electronic load

More info about this project can be found on my channel:

https://youtu.be/NScaRQj53l0

Used tools:

                           

Project status: :heavy_check_mark: ready for construction!

The project is poised for construction and operational use. However, ongoing development persists, addressing minor bug fixes and introducing new features. Stay tuned for updates!

Project overwiev

Commercially available electronic loads often come with a hefty price tag, so I decided to build my own.

Project Goals:

Electronics:

There are two PCBs:

Mechanical construction:

The case for this project is made with 1mm thick bent sheet metal, with a 3D printed front panel.

PC remote controll battery mode app

The app is currently available for Windows only. To run it, simply double-click on

\desktop_app\release\windows-64bit\electronic_load_control_app.exe

Uploading the code using USBASP

add following code to the platformio.ini file

upload_protocol = custom
upload_port = usb
upload_flags = 
    -C
    ${platformio.packages_dir}/tool-avrdude/avrdude.conf
    -p
    $BOARD_MCU
    -P
    $UPLOAD_PORT
    -c
    usbasp
upload_command = avrdude $UPLOAD_FLAGS -U flash:w:$SOURCE:i

Uploading the code this way will reduce the boot up time.

Note: since this method removes the bootloader, in order to program the uC via UART next time, you have to burn the bootloader.

What could be improved in the next version:

Special thanks

Special thanks to Eryk Możdzeń, who helped solving a software problem with a memory leak.