ESP32 Development Board WiFi+Bluetooth Ultra-Low Power Consumption Dual Cores ESP-32 ESP-32S Board can be ordered at SmartArduino. I ordered today.
There is a Lua firmware for this device at Github. Will this be the next chapter of the Lua story on Espressif microcontrollers?
To get data from several measuring stations I implemented MQTT on DHT11/D1 mini-Module publishing temperature and humidity data to a MQTT broker.
To monitor these data I use myMQTT Android app on my Galaxy S5 and subscribed to the topic DHT11/+/# to see all messages send with the topic DHT11/<ESP-ID>/temperature, DHT11/<ESP-ID>/humidity and DHT11/<ESP-ID>/state.
The screenshot from that app shows temperature and humidity values sent by two sensor nodes with the ESP-ID ESP8266-1138645 and ESP8266-1138432.
As subscriber node I used a NodeMCU LoLin board which sends each minute the message “in operation” to the topic DHT11/<ESP-IS>/state. This messages is usefull to monitor the operation of such a subsriber node remotely. The screenshot shows this state sent by the node with the ESP-ID ESP8266-14695321.
These ESP-IDs are generated automatically from device ID.
The program samples dht_mqtt.lua and dht_subtemp.lua can be found at Sourceforge.
I got post from Aliexpress today. The WIFI Witty / Gizwits ESP-12F module arrived.
The ESP8266 module family grows and grows and prices come down. You can order such a module for 3 $ and less.
You get an ESP-12F module and a LDR, a RGB-LED and a switch on this board. Additionally there is a stackable programming board w/ a CH-341 USB chip. I flashed NodeMCU Firmware and now Lua is running on it. Two simple test programs (witty.lua & witty_pwm.lua) for this module showing the pin configuration for the existing peripherals (LDR, RGB-LED, Switch) are available on Sourceforge.
…build from DHT shield and D1 mini board
- Install last firmware version (for DHT commands)
- Use the floating point version nodemcu_float_0.9.6-dev_20150704.bin
- Download dht.lua and run it on DHT shield/D1 board package
- You will get the following output:
You can add a time stamp after calling a timeserver, for example.
Still on time in the old year, the Wemos delivery has arrived.
I ordered the D1 board, the D1 mini and a DHT shield. In the mean time there are further D1 mini shields.
You can order components via Aliexpress store.
After installation of NodeMCU firmware we can use Arduino shields w/ the D1 board to build IoT nodes.
Program examples will follow.
Wemos.cc offers the D1 mini – an ESP12F module based on ESP8266 WiFi-enabled microcontroller – and a DHT11 shield for temperature & humidity measurement.
Connecting both boards together builds a matchbox-sized weather station which can be powered by USB-mini connector.
NodeMCU sample code will be placed here after arriving of the ordered boards.
At the Feather HUZZAH’s heart is an ESP-12 module. You can progam the microcontroller using the Arduino IDE for an easy-to-run Internet of Things core or using the NodeMCU firmware. Fast code download with 921600 and auto-reset before download are available.
To make it easy to use for portable projects, a connector for a 3.7V Lithium polymer batteries and built in battery charging are added. No battery is needed when powering over the micro USB connector. But, if you do have a battery, you can take it on the go as wearable for example, then plug in the USB to recharge.