Skip to content

Latest commit

 

History

History
 
 

firmware

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Firmware

Firmware is created with ESPHome - it is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.

I am not going to explain in details the configuration yaml file. If you want to modify it, you need to get familiar with esphome. The config file is fairly complicated compared with the usual esphome configurations, so there is some steeper learning curve, especially if you never programmed an MCU before. However by using esphome, you can build very complex logic without writing a single line of code, as the whole instruction is in the yaml config file. It's amazing how much time it saves!

  • iaq_board.yaml - this is the configuration for esphome
  • iaq_board.bin - this is the binary file of the compiled firmware and can be directly uploaded in the MCU

How to flash (or program) the controller?

  1. Download the bin file on your PC.
  2. Install esphome-flasher.
  3. Connect the MCU board with mini USB cable not yet connecting it on PCB.
  4. Start esphome-flasher, select the correct COM port which is the MCU as explained here and flash it.

That's it! Connect the MCU on the board, then power it on and it should work.

If you want to go deeper, follow the instructions how to build the binary file from the yaml and upload it to the MCU from command line.

Changelog

yaml 1.1.3 / 21 Mar 2021

  • update esphome to 1.16.2
  • default brightness correction set to +15%