I want to build an IoT sensor suite to record various weather data elements (temperature, humidity, pressure, wind speed, direction, sunlight, rainfall, etc.) It’ll live at the end of the garden, so will need to be battery/solar powered and WiFi results back to the house.
In the house, I need a device to record and store the data. I want to be able to access (near) real-time data and be able to dig into historical trends and data to show relevant graphs, charts and data visualisation.
Although I plan main access to the data via HTML from my iPhone, it might be cool to build a dedicated visualisation device to show the current state and some limited historical data.
Oh, my father and father-in-law want one each too, so once I’ve built one, I’ll need to make it slightly less fragile and build two more (that I’ll also need to support (remotely)!!)
The Lolin 32 (I actually think it's a Lolin 32 Lite) arrived:
I plugged it into a USB port on my hackinosh, and the LED on 22 flashed. :)
I had to download Arduino IDE again (rebuilt hackintosh since last programming stuff). Also followed the instructions to install the ESP32 capability. Of course, it didn't show up in the IDE under the Tools->Ports. After a big of google-fu and head scratching, I remembered that when I ordered some clone Arduino nanos (some time ago) I had to install some drivers. Inspecting the board (you can see a 16 pin chip bottom left) it says CH340G and this matches the link I found last time. I installed the drivers, selected Board: Wemos Lolin 32, Flash: 80Mhz, Upload speed: 921600, Port: /dev/cu.wchusbserial1410.
I got the example "Blink" sketch. Hit compile & upload and it completed. Except nothing flashed.
Then I realised that the standard sketch assumes a standard Arduino and the pin with the LED is 22 on the board above. So I changed that and it worked!
Also checked the WiFi scan sketch and that worked too.
When the batteries arrived, I tested one of the 18650 Li-ion cells at 3.8V. Having disconnected the USB, I tried plugging it into the holder and touching the wires to the battery leads on the board, and that worked too.