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 »Setting up a New Project in Segger Embedded Studio for nRF52 Using a Project Template
When working with Segger Embedded Studio (SES) and Nordic's nRF52 chips, one of the quickest ways to get started is by using an existing project template. It simplifies project setup, reducing the need for manual configuration, and you can focus on development right away. In this guide, I'll walk you …
Read More »ESP32 FreeRTOS Tutorial: Tasks, Multitasking & Dual Core
Consider a project where the ESP32 needs to read a sensor, update a display, maintain a Wi-Fi connection, and flash a status LED at the same time. You could put everything inside loop() and carefully manage the timing with millis(), but the program quickly becomes difficult to maintain as more …
Read More »Using BLE with ESP32 on the Arduino
The ESP32 microcontroller is a powerful and versatile platform, widely used in IoT applications due to its built-in Wi-Fi and Bluetooth capabilities. One of its standout features is support for Bluetooth Low Energy (BLE), which is an energy-efficient version of Bluetooth designed for IoT devices, wearable tech, smart home gadgets, …
Read More »How to Set Up LwIP Raw on STM32F407
LwIP (Lightweight IP) is a small TCP/IP stack used in embedded systems like STM32. It helps devices communicate over networks using internet protocols. In this post, I will show how to set up LwIP in "raw" mode for an STM32F407 microcontroller. What is LwIP Raw Mode? In raw mode, LwIP …
Read More »