Design a site like this with WordPress.com
Get started

Guide for Relay Module with Arduino

This article shows how to control mains voltage with the Arduino using a relay module. We make a brief introduction to the relay module and build a simple project example with the Arduino. The example we’ll build shows how to control a relay module with an Arduino and a PIR motion sensor. By the endContinue reading “Guide for Relay Module with Arduino”

Guide for I2C OLED Display with Arduino

This article shows how to use the SSD1306 0.96 inch I2C OLED display with the Arduino. We’ll show you some features of the OLED display, how to connect it to the Arduino board, and how to write text, draw shapes and display bitmap images. Lastly, we’ll build a project example that displays temperature and humidityContinue reading “Guide for I2C OLED Display with Arduino”

MicroPython: ESP32/ESP8266 with DHT11/DHT22 Temperature and Humidity Sensor

This tutorial shows how to use the DHT11 or DHT22 temperature and humidity sensors with the ESP32 and ESP8266 development boards using MicroPython firmware. DHT Module Usage There is a dht module that comes with the MicroPython firmware by default. So, it is easy to get temperature and humidity. 1. Start by importing the dht and machine modules: 2. Create a dht object that refersContinue reading “MicroPython: ESP32/ESP8266 with DHT11/DHT22 Temperature and Humidity Sensor”

Installing ESP8266 Board in Arduino IDE (Windows, Mac OS X, Linux)

The ESP8266 community created an add-on for the Arduino IDE that allows you to program the ESP8266 using the Arduino IDE and its programming language. This tutorial shows how to install the ESP8266 board in Arduino IDE whether you’re using Windows, Mac OS X or Linux. Before starting this installation procedure, make sure you haveContinue reading “Installing ESP8266 Board in Arduino IDE (Windows, Mac OS X, Linux)”

ESP32 with Multiple DS18B20 Temperature Sensors

This guide shows how to read temperature from multiple DS18B20 temperature sensors with the ESP32 using Arduino IDE. We’ll show you how to wire the sensors on the same data bus to the ESP32, install the needed libraries, and a sketch example you can use in your own projects. This tutorial is also compatible withContinue reading “ESP32 with Multiple DS18B20 Temperature Sensors”

ESP32 Built-In Hall Effect Sensor with Arduino IDE and MicroPython

The ESP32 development board features a built-in hall effect sensor that detects changes in the magnetic field in its surroundings. This tutorial shows how to use the ESP32 hall effect sensor with Arduino IDE and MicroPython. Watch the Video Tutorial You can watch the video tutorial or keep reading this page for the written instructionsContinue reading “ESP32 Built-In Hall Effect Sensor with Arduino IDE and MicroPython”

MicroPython: Interrupts with ESP32 and ESP8266

Learn how to configure and handle interrupts using MicroPython firmware with ESP32 and ESP8266 boards. You’ll also build a project example with a PIR Motion Sensor. Prerequisites To follow this tutorial you need MicroPython firmware flashed in your ESP32 or ESP8266. You also need an IDE to write and upload the code to your board.Continue reading “MicroPython: Interrupts with ESP32 and ESP8266”