Arduino

Diese Seite gibt es auch in Deutsch

Stories for "Arduino"

ESP32 programming, Arduino - install requirements

ESP32 programming, Arduino - install requirements

created: 2022-11-04 from Bernhard

I have not had much to do with Arduino or microcontrollers, apart from updating and operating my 3D printer. Microcontrollers, for example the ESP32, offer a cheap alternative to the Raspberry Pi for certain purposes, such as collecting data or certain control or monitoring tasks : WLAN and Bluetooth included . After entering new territory for me here, I wanted to share my experience from a beginner's point of view. Background of my efforts was a concrete use case. ... continue reading

ESP32 WiFi example

ESP32 WiFi example

created: 2022-11-04 from Bernhard

In preparation for uploading sketches to a microcontroller, I installed the ESP32 board infromations and a USB to UART Bridge driver, see: Preparations for Programming an ESP32. ... continue reading

ESP32 MQTT - Send data

ESP32 MQTT - Send data

created: 2022-11-04 from Bernhard

To be able to receive data from an ESP32, I have prepared an MQTT broker as a Docker container. The container can be integrated into Home-Assistant and thus forward the data from the ESP32 to Home-Assistant via MQTT. On the part of ESP32, I tested sending with the following sketch and later integrated the relevant parts into another sketch. ... continue reading

ESP32 Flowmeter - RS485 Modbus

ESP32 Flowmeter - RS485 Modbus

changed: 2022-11-04 from Bernhard (Initial Release: 2022-11-04)

As described in the first article of this series, my first goal was to read out a TUF-2000M Ultrasonic Flow Meter via an ESP32. For this purpose I found an example for an ESP8266 on the internet: Reading a TUF-2000M Ultrasonic Flow Meter with an Arduino or ESP8266 and https://forum.arduino.cc/t/comunicacion-rs485/698786/2. I described the setup of the TUF-2000M in the following article: Field Report: Ultrasonic Flow Meter TUF-2000M. To be able to read the TUF-2000M via RS485, it must first be c... ... continue reading

DS18B20 Temperature Sensors ESP32, MQTT and WiFi - HowTo

DS18B20 Temperature Sensors ESP32, MQTT and WiFi - HowTo

created: 2022-11-04 from Bernhard

In addition to connecting a flow meter via RS485, I plugged 5-piece DS18B20 temperature sensors to the ESP32 so that their values are also transmitted to HomeAssistant via MQTT. ... continue reading