PCB-reflow-solder-heat-plate/Firmware
2022-06-27 15:12:26 +02:00
..
pcb_reflow_fw Restored Arduino based firmware 2022-06-27 15:12:26 +02:00
pcb_reflow_fw_PlatformIO Restored Arduino based firmware 2022-06-27 15:12:26 +02:00
testing Version fixes and cleanup 2022-05-31 13:54:43 -07:00
README.md Moved files and added TODOs 2022-05-31 13:57:08 -07:00

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