PCB-reflow-solder-heat-plate/Firmware/README.md
2022-05-31 13:57:08 -07:00

33 lines
1.1 KiB
Markdown

# PCB reflow firmware
This firmware is for the PCB reflow hotplate designed by Spatz.
It has the following features:
- reflow profiles
- OLED display
- profile PID tracking
- temperature setpoint tracking
- safe voltage calculation
- memory validation
## Build and load process
to build and load, you need a UDPI programmer and core definitions for the Atmega4809.
If you don't have a UDPI programmer you can use another arduino like in this link:
https://github.com/ElTangas/jtag2updi
You can download the Atmega4809 definitions here:
https://github.com/MCUdude/MegaCoreX/tree/master
Make sure the DallasTemperature and Adafruit display libraries are installed.
build and load through the arduino IDE as normal. Select the Atmega4809 as the target
and make sure the correct programmer is selected.
## TODO
- Needs a good amount of cleanup and refactoring
- Has a hack estimation for minimum PWM, need to find a way to improve this
- should switch buttons to bounce2
- if there's no current sense, write a function to approximate resistance based on temperature
- validate temperature estimation function is correct across multiple boards