Skip to content

Flashing

mcer12 edited this page Jan 22, 2020 · 1 revision

Flashing firmware

After you solder all the components, you probably want to flash firmware on Temper. Here's how to do that.

A) Using NodeMCU or D1 mini as flash tool

  1. Connet EN and GND pins on NodeMCU.
  2. Connect the Temper to NodeMCU: Temper -> NodeMCU
    GND -> GND
    GPIO0 -> GND
    RX -> RX
    TX -> TX
    NOTE: If you don't have the battery attached yet, connect also 3.3V pin to NodeMCU.
  3. Set ArduinoIDE as seen in the screenshot below (make sure to have latest Arduino IDE + latest ESP8266 core):
  4. Connect NodeMCU to your PC
  5. Push Reset button on Temper.
  6. Flash as usual.
  7. Once that's done you can disconnect the temper from NodeMCU and push a button to enter Config portal.

B) FTDI breakout board

  1. Connect Temper to FTDI: Temper -> FTDI
    GND -> GND
    GPIO0 -> GND
    RX -> TX
    TX -> RX
    NOTE: Some FTDI breakouts don't provide enough current for ESP8266, so if you're having issues, try using option A).

C) OTA

OTA is only available on an already flashed Temper, head to Config portal section for a guide.

Clone this wiki locally