TinyML brings machine learning (ML) models to microcontrollers, allowing you to embed intelligence in small, low-power devices like the ESP32. This tutorial will guide you through the process of using TinyML with an ESP32, from model training to deployment.
Read More »Fading an LED using STM32's PWM
In this tutorial, we'll walk through the steps to create a project for fading an LED using Pulse Width Modulation (PWM) on an STM32 microcontroller. We'll use the STM32CubeMX tool to generate the initialization code and set up the PWM, and then we will write the code to control the …
Read More »Arduino RS-485 Protocol Tutorial
RS-485 is a popular serial communication standard used in industrial control systems, automation, and other applications where long-distance communication is required. Unlike RS-232, RS-485 uses differential signaling, which makes it more robust to noise and interference, making it ideal for industrial environments. Moreover, RS-485 supports multi-device communication on the same …
Read More »nRF52 Development Kit Comparison: Which One Should You Choose?
The nRF52 series by Nordic Semiconductor has been a game-changer in the world of low-power wireless communication. Whether you’re working on Bluetooth Low Energy (BLE), ANT, or 2.4 GHz proprietary protocols, the nRF52 family offers versatile and robust solutions. Choosing the right development kit, however, can be overwhelming with several …
Read More »Creating Tones with Arduino
One of the fun and engaging projects with Arduino is creating tones using a piezo buzzer. You can generate simple beeps, melodic tunes, or even popular themes like the Super Mario theme song. In this tutorial, we'll explore how to generate tones, work with melodies, and build a simple sound …
Read More »Converting Between Data Types in Arduino
When writing code for Arduino, you'll often need to convert between different data types. This guide will show you how to easily convert between the most common data types. We'll break it down with clear examples and easy-to-read tables to make it simple to follow. Why Convert Data Types? Sometimes, …
Read More »ESP8266 nRF24L01 Interfacing
In this tutorial, we will explore how to interface an ESP8266 with the nRF24L01 wireless module. The nRF24L01 is a low-power, 2.4GHz wireless transceiver module that is commonly used in short-range wireless communication. It communicates over SPI, while the ESP8266 is a Wi-Fi-enabled microcontroller that can be programmed using the …
Read More »ESP8266 UDP: Sending Data Between Two ESPs
I have shown how you can use ESP8266 to host a web server via HTTP and via WebSocket, use MQTT and ThingSpeak for sensor data, and even use Google Sheets. This time, I will be sharing with you how I send data between two ESP8266.
Read More »Controlling a Stepper Motor with ESP32 Through a Webserver
Stepper motors are widely used in various applications due to their precise control over position and speed. They are commonly found in 3D printers, CNC machines, and robotics. In this article, we’ll explore how to control a stepper motor using an ESP32 microcontroller and set up a simple web server …
Read More »Arduino Interfacing with MLX90614 (GY-906) Sensor
The MLX90614 is a really cool infrared thermometer sensor that can measure temperature without even touching an object. It works by detecting infrared radiation (heat) emitted by an object and converting it into a temperature reading. This makes it perfect for projects where you want to measure temperature from a …
Read More »