Firmware for an PowerSupply and Functiongenerator build from an ATX power supply.
- UI: User interface with GLCD and user inputs via keypad and encoder.
- SCPI: Support for SCPI (Standard Commands for Programmable Instruments) commands that can be used for remote control.
- Channels: Support for different channel types including PowerSupply, DDS and DMM.
For more informations visit the detailed documentation: https://m1s2.github.io/PS_Fgen_FW
The firmware is developed with the following environment:
Name | Value |
---|---|
Microcontroller | ATmega1284P (Datasheet) |
IDE | Visual Studio Code with PlatformIO (Windows 11 Environment) Info |
Programmer | USBasp - USB programmer for Atmel AVR controllers |
To download the firmware to the microcontroller either use a precompiled .hex file from a release or rebuild the project from the source files using the above IDE.
To download the .hex file you can use any programmer of your choice.
Make sure the fuse bits of the microcontroller are set as described in the main.cpp
file.
For the full doxygen generated documentation visit https://m1s2.github.io/PS_Fgen_FW
Do the following steps to create a release:
- Make sure that everything is committed to the master branch and builds without errors.
- Update the Changelog and commit it to the master.
- Checkout a new release branch (adapt the version accordingly):
git checkout -b release/v0.0.0
- Update the VERSION in the version.h file: Replace the "[NO_RELEASE]" string by the version number (e.g. "v0.0.0")
- Create a new commit (adapt the version accordingly):
git add .
andgit commit -m "Created release v0.0.0"
- Tag the release commit (adapt the version accordingly):
git tag v0.0.0
- Push everything:
git push --set-upstream origin release/v0.0.0
andgit push --tags
The hardware for this power supply and function generator is developed in another repository: GitHub - M1S2/PS_Fgen_HW: Hardware for an Power Supply and Function Generator build from an ATX power supply