PicoMQTT is a lightweight MQTT library for Arduino/PlatformIO optimized for ESP8266 and ESP32. It not only supports the MQTT Client mode like most existing solutions but also the MQTT Broker mode which transforms an ESP8266 or ESP32 board into an MQTT gateway replacing a Raspberry Pi board or an IoT gateway typically used for this task.
The library follows MQTT 3.1.1 specification, supports the publishing and consuming of arbitrary-sized messages, can deliver thousands of messages per second, and supports easy integration with the ArduinoJson library to publish and consume JSON messages.
MicroBlocks is a visual programming IDE for 32-bit microcontrollers currently supporting the BBC Micro:bit V1/V2, Calliope mini (aka the German Micro:bit), Adafruit Circuit Playground Express and Bluefruit, Raspberry Pi Pico and Pico W, and various other boards including ESP32 and ESP8266-based boards. I discovered MicroBlocks in the list of talks for FOSDEM 2023, and although it did not make it to my virtual schedule, I thought it was interesting to look into and write about it. In their upcoming FOSDEM talk, Bernat Romagosa and Kathy Giori refer to MicroBlocks as small, fast, and human-friendly with development guided by four guiding principles: liveness, parallelism, portability, and autonomy. The IDE is inspired by Scratch, and as such, looks very similar to other visual programming interfaces I have used over the years. You can launch MicroBlocks from Google Chrome or Microsoft Edge on a PC (not a mobile device) without having to install […]
ArduCam Mega is a 3MP or 5MP camera specifically designed for microcontrollers with an SPI interface, and the SDK currently supports Arduino UNO and Mega2560 boards, ESP32/ESP8266 boards, Raspberry Pi Pico and other boards based on RP2040 MCU, BBC Micro:bit V2, as well as STM32 and MSP430 platform. Both cameras share many of the same specifications including their size, but the 3MP model is a fixed-focus camera, while the 5MP variant supports autofocus. Potential applications include assets monitoring, wildfire monitoring, remote meter reading, TinyML applications, and so on. ArduCam Mega specifications: Camera Type 3MP with fixed focus 5MP with auto-focus from 8cm to infinity Optical size – 1/4-inch Shutter type – Rolling Focal ratio 3MP – F2.8 5MP – F2.0 Still Resolutions 320×240, 640×480, 1280×720 x 1600 x1200x 1920 x 1080 3MP – 2048 x 1536 5MP – 2592×1944 Output formats – RGB, YUV, or JPEG Wake-up time 3MP – […]
OpenPLC is an open-source, free-to-use Programmable Logic Controller Suite, compliant with the IEC 61131-3 standard, and working with a range of hardware platforms such as Arduino, ESP8266/ESP32, Raspberry Pi SBCs, as well as Windows and Linux machines. When Arduino unveiled the Arduino PLC IDE, we noted the languages defined by the IEC 61131-3 standard were licensed, and the PLC key for the Portenta Machine Control unit sold for $17.60. One reader complained about the high license cost per device, but Massimo Banzi, the co-founder of the Arduino project, replied it was cost-effective for smaller deployments: Actually it’s not that much money compared to the cost of other PLC software (thousands of dollars per seat!). This model helps small companies with not that many devices.. It’s possible to negotiate bulk licenses for companies. But there’s also another option with OpenPLC open-source PLC suite that does not require any license fee. That’s […]
Open AirGradient is a DIY air quality monitor based on the Wemos D1 mini ESP8266 WiFi IoT board programmed with Arduino and fitted with a range of sensors including an optional Sensirion SGP41 TVOC sensor through a custom PCB designed with EasyEDA. Two versions of Open AirGradient are available. The Basic model includes an OLED display, a Plantower PMS5003 PM sensor, a Senseair S8 CO2 sensor, and SHT30 or SHT31 temperature & humidity sensor, while the Pro version adds a larger display, a plastic enclosure, and support for the SGP41 TVOC sensor. Open AirGradient key components: MCU board Basic – Wemos D1 Mini Pro Pro – Lolin D1 Mini v4 with USB-C port Display Basic – Wemos OLED shield Pro – 1.3-inch OLED display Sensors Plantower PMS5003 PM sensor Senseair S8 CO2 sensor SHT30 or SHT31 temperature and humidity sensor module Optional Sensirion SGP41 TVOC & NOx sensor (Pro version […]
The AquaPing is an open-source hardware, ultra-low power acoustic water leak detector sensor based on Texas Instruments MSP430 microcontroller and a microphone that can detect leaks without having to do any plumbing, instead capturing audio for water leak detection, and it even works for leaks behind walls. All signal processing and analysis occur on the MSP430 MCU, so no audio is streamed to the cloud and eavesdropping is impossible, plus the sensor only captures high frequencies out of the range of normal conversations, so eavesdropping is not feasible, plus those higher frequencies are also said to provide highest sensitivity and reliability. AquaPing specifications: MCU – Texas Instruments MSP430FR5994 microcontroller to perform FFT spectral analysis (10x faster/efficient than ARM-Cortex M0+) Audio capture – MEMS microphone covered by a small rectangular plastic structure to form a Helmholtz resonator. Minimum detectable leak rate – 0.01 gpm (gallon per minute) depending on stand-off distance […]
Theengs is a manufacturer agnostic open-source set of tools to decode BLE sensors and integrate those into smart home and IoT solutions such as Home Assistant with notably support for autodiscovery to automatically create the sensor. Theengs can be installed on various hardware from ESP32 to an Android phone or a Raspberry Pi SBC, and the solution currently supports close to forty BLE sensors from various companies including Xiaomi, Honeywell, and RuuviTag. There are six components: The Theengs Decoder library developed in C++ for portability and translating data from sensors into human-readable data using the JSON format. The Python-based Theengs Gateway acting as a BLE to MQTT bridge for Home Assistant, OpenHAB, and NodeRED integration. It relies on the Theengs Decoder library and publishes the sensors broadcasted BLE information to an MQTT broker. The OpenMQTTGateway is also BLE to MQTT bridge, but instead of targetting Linux-capable hardware like Raspberry […]
SB Components PiSquare is a board following the Raspberry Pi HAT form factor, and based on Raspberry Pi RP2040 microcontroller & ESP-12E Wireless module in order to control multiple Raspberry Pi HATs wirelessly without stacking them on their Raspberry Pi. The PiSquare uses Socket programming to control multiple Raspberry Pi HATs wirelessly, and for instance, you could connect multiple HATs with SPI or UART without the expansion boards conflicting with each other since the physical interface is handled by the Raspberry Pi RP2040 on each PiSquare connected over WiFi (ESP8266) to the Raspberry Pi SBC. PiSquare hardware specifications: MCU – Raspberry Pi RP2040 dual-core Cortex-M0+ microcontroller @ up to 133 MHz Storage – 16Mbit SPI flash Display – 0.91-inch OLED display Connectivity – 802.11b/g/n WiFi 4 via ESP-12 (ESP8266) module USB – 1x USB Type-C port 40-pin header and form factor compatible with the official Raspberry Pi HATs Power Supply […]