If you’ve just started tinkering with ESP32 microcontrollers, you’ve probably noticed there isn’t just one “ESP32 board” — there are many, each with its own quirks and strengths. Some are built for general prototyping, others come with cameras or extra memory, while newer ones focus on AI, USB gadgets, or …
Read More »Using a 16x2 Monochrome LCD with the PIC16F84A (Assembly Tutorial)
Introduction A 16x2 monochrome LCD module is a widely used display in microcontroller projects. It can show two lines of text, each up to 16 characters long, making it ideal for simple user interfaces. These LCDs are based on the HD44780 controller (or compatible), which accepts commands and data via …
Read More »How to Use the ESP32 to Listen for TCP Packets on a Specific Port
The ESP32 is a powerful microcontroller with Wi-Fi and Bluetooth capabilities, making it perfect for network-based applications. In this tutorial, you’ll learn how to use your ESP32 to act as a TCP server, listening for incoming TCP packets on a specific port.
Read More »Using Raspberry Pi Pico as an HID to Control Mouse Movements and Keyboard Strokes
The Raspberry Pi Pico, a microcontroller based on the RP2040 chip, can emulate a Human Interface Device (HID) like a keyboard or mouse. This tutorial will guide you through setting up your Raspberry Pi Pico as an HID device to send keyboard strokes and control mouse movements.
Read More »What are Linker Files in STM32?
Linker scripts play a crucial role in STM32 firmware development by defining how the compiler organizes the program in memory. Understanding linker files is essential for embedded engineers working with STM32 microcontrollers, as it allows them to control memory layout, define sections, and optimize RAM/Flash usage. This tutorial will cover: …
Read More »Building BuildRoot for BeagleBone Black
I purchased my first Beaglebone Black in 2017 and, coming from a PIC microcontroller background, was amazed at all the things it can do. And so I started documenting everything I learned about it which is essentially what became teachmemicro.com.
Read More »How to Turn a Raspberry Pi into a WiFi Repeater/Extender
In this tutorial, we’ll walk you through the steps to turn your Raspberry Pi into a WiFi repeater or extender. Each step includes explanations to help you understand why the commands and configurations are necessary.
Read More »How to Use ESPHome with ESP32: A Beginner's Guide
ESPHome is a powerful and user-friendly tool that allows you to program ESP32 (and other ESP devices) to interact with sensors, actuators, and Home Automation systems like Home Assistant. This tutorial will guide you through setting up ESPHome, flashing it onto an ESP32, and configuring your first project.
Read More »Interfacing BH1750 Light Intensity Sensor with ESP32
The BH1750 is a digital light intensity sensor capable of measuring light in lux (lumens per square meter). Its high resolution and ease of use make it an excellent choice for projects that require accurate light measurement. In this tutorial, we will explore how the BH1750 works, how to calculate …
Read More »ESP32 SPIFFS Tutorial: Storing Files and Building a Web Server
The ESP32 is a powerful microcontroller with built-in Wi-Fi and Bluetooth capabilities, making it a favorite for IoT applications. One of its standout features is the ability to store files using the SPIFFS (SPI Flash File System). This tutorial will show you how to set up SPIFFS on the ESP32 …
Read More »