Skip to main content

Posts

Showing posts with the label ESP32

Using Google App Scripts to collect telemetry data - part 2 (ESP32 and Mongoose OS setup)

There are many ESP32 form factor breakout boards that can be purchased cheaply. In this mini project, I am using a form factor that looks like Wemos D1 Mini, so that I can reuse my shield without any wiring. Although no wiring is required, the pinout is different from Wemos D1 Mini. The DHT11 GPIO is 16 in ESP32 instead of 2 (note that Mongoose is using port pin definition. in Arduino, it is defined as D4 but it is mapped IO2).   ESP32 mini board is quite warm when in operation. I have put a dummy shield in between to reduce the interference it may cause to the DHT11 temperature reading. The source code for the mongoose-os javascript can be found on  github . The setup of Mongoose OS is straightforward. Go to  Mongoose  site and download the binary, select the board type and change the init.js. Part 1 Using Google App Scripts to collect telemetry data