Article
MQTT Sensor Hub
Take sensor readings and transmit them using an ESP32-PICO-KIT
One of the main projects we published in a recent issue was the Monster LED Clock, featuring huge seven-segment displays. These were not just able to show the time of day: it was also possible to use them to display sensor values received over a wireless network using MQTT. In this article we look at some alternative firmware that allows the direct connection of sensors to the ESP32 in the clock. The data are sent using MQTT to a central broker, which can be implemented using a Raspberry Pi running Mosquitto and Node-RED. The firmware for this MQTT sensor hub was built with the help of software modules recycled from various projects, which saved a lot of development time.
Gerber file
CAM/CAD data for the PCB referred to in this article is available as a Gerber file. Elektor GREEN and GOLD members can exclusively download these files for free as part of their membership. Gerber files allow a PCB to be produced on an appropriate device available locally, or through an online PCB manufacturing service.
Elektor recommends the Elektor PCB Service service from its business partner Eurocircuits or AISLER as the best services for its own prototypes and volume production.
The use of our Gerber files is provided under a modified Creative Commons license. Creative Commons offers authors, scientists, educators and other creatives the freedom to handle their copyright in a more free way without losing their ownership.
PCB
Discussion (0 comments)