Today, I’m sharing one of my favorite ESP32 projects — a GPS-powered weather station. It’s perfect if you’ve got an ESP32 lying around, a little 1.8" ST7735 TFT screen, and a NEO-6M GPS module. We’ll use your real-time coordinates to fetch live weather data from the free Open-Meteo API, then …
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 »Interfacing MLX90614 Non-Contact Infrared Temperature Sensor with ESP32
Introduction Ever wanted to measure temperature without actually touching anything? Meet the MLX90614, a cool little infrared sensor that lets you do just that! Whether you're building a DIY thermometer, automating your home, or monitoring industrial equipment, this sensor has got you covered. We have already covered how to use …
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 »ESP12F Pinout Diagram
The ESP-12F is an advanced version of the popular ESP8266 Wi-Fi module, offering improved RF performance and a compact design. Manufactured by Ai-Thinker, this module is ideal for IoT projects requiring wireless connectivity.
Read More »STM32 I2C Calculator
I2C (Inter-Integrated Circuit) is a widely used communication protocol in embedded systems, particularly in STM32 microcontrollers. Configuring the correct clock settings for I2C communication is crucial for reliable data transmission. However, calculating the necessary parameters, such as the Clock Control Register (CCR), the Rise Time Register (TRISE), and the Timing …
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 »