In the previous project, we built an ESP32+INMP441 microphone visualizer, a web page hosted on ESP32 that displays the microphone’s live audio waveform in a browser. It helped us confirm the microphone was working properly, but it only displayed the audio. Digital audio becomes truly useful once it’s stored, streamed, and edited, and that’s what…
How to upgrade an ESP32 audio recorder with MP3 output and noise cancellation
In the previous project, we built a WAV-only audio recorder using ESP32 and an INMP441 microphone. WAV is a lossless, uncompressed format that stores every sample exactly as it’s captured, with nothing thrown away. That makes WAV the ideal format when fidelity matters most. It’s well suited to archiving and editing audio, and to precise…
Building a touchscreen calculator with Arduino and an ILI9486 TFT display
Building a calculator on a microcontroller with a touchscreen involves more than arithmetic. The sketch has to draw every button on the screen and determine which key each touch lands on. It also has to keep track of the numbers and operators entered between presses. This project uses an Arduino Mega 2560 and a 3.5-inch…
Interfacing an OLED display with MicroPython and NodeMCU (Part 11)
This series covers embedded system design using MicroPython and the NodeMCU development board. Throughout each tutorial, you’ll learn embedded programming with MicroPython, along with how to interface different I/O devices, sensors, actuators, and other components with the NodeMCU board. In this tutorial, you’ll use MicroPython and a NodeMCU (ESP8266) board to show text and live…
Best practices for securing LoRa networks
This article explains how to establish secure communication between two LoRa end-node devices using Lora E5 mini boards. LoRa, which stands for “long range,” is a wireless technology with the ability to send small amounts of data over large distances. Two end-node devices can exchange encrypted messages. The transmitting device encrypts the message before sending…
Understanding LoRa architecture: nodes, gateways, and servers
To understand all about nodes, gateways, and servers, first, we must understand what a LoRaWAN or LoRa network is. LoRaWAN (long-range wide area network) LoRaWAN is a low-power, wide-area network (LPWAN) protocol designed to enable long-range communication between LoRa-based devices and the internet. LoRaWAN builds on the underlying LoRa technology, adding network and application layer…
Revolutionizing RF: LoRa applications and advantages
In the world of wireless communication, LoRa (long-range) technology has been gaining popularity due to its long-range capabilities, low power consumption, and cost-effectiveness. There can be serval applications deployed because of the features like low cost and long range where only one temperature sensor is used to monitor the temperature of a city; with the…
How to build a LoRa gateway using Raspberry Pi
As its name suggests, long-range wide-area network or LoRaWAN technology is widely used for long-range, low-power communication in Internet-of-things (IoT) applications. In this article, we’ll guide you through the process of connecting an SX130x 868M LoRaWAN Gateway Module to a Raspberry Pi 4 using hardware attached on top (HAT). This setup creates a LoRaWAN gateway,…
How LoRa enables long-range communication
LoRa (Long Range) is a type of wireless communication technology designed to send information over long distances with low power consumption. It uses a special technique called chirp spread spectrum (CSS) modulation, which operates by continuously changing the frequency of a transmitted signal over time. This varying frequency generates a waveform (resembling the sound of…
How communication works between two LoRa end-node devices
Communication between two LoRa end-node devices can happen seamlessly. Both end-node devices include the LoRa E5 Mini Board, which switches quickly between sending and receiving messages — making two-way communication possible. In this setup, communication begins with one device sending a message and waiting for confirmation. Upon receipt, the receiving device sends a reply confirming…
TDK adds NTC sensors for high-voltage systems
TDK Corporation has expanded its NTC temperature sensor portfolio with the M704 and M705 series for temperature measurement in high-voltage systems. The M704 supports voltage ratings up to 4,000 V AC and temperatures from −40°C to +125°C while the M705 supports up to 2,500 V AC, temperatures up to +180°C and a thermal time constant…
Using I2S on ESP32 microcontrollers
In the previous article, we covered how the I2S protocol works, from its three wires (BCLK, WS, SD) to the clock arithmetic that ties them together. We also looked at the one-bit delay that trips everyone up and the controller/target and transmitter/receiver roles. That’s the foundation for everything that follows. In case you could use…
Using a joystick with MicroPython and NODEMCU (Part 10)
This tutorial series covers embedded system design using MicroPython and the NODEMCU development board. Each article covers embedded programming with MicroPython and interfacing different I/O devices, sensors, and actuators with the NODEMCU board. The previous tutorial covered how to control the speed of a dc motor and the angle of a servo motor using a…
Using a potentiometer with MicroPython and NODEMCU (Part 9)
This tutorial series covers embedded system design using MicroPython and the NODEMCU development board. Each article covers embedded programming with MicroPython and interfacing different I/O devices, sensors, and actuators with the NODEMCU board. Previous tutorials covered different types of sensors, including analog, digital, and advanced sensors, as well as actuators such as dc and servo…
VHDL Tutorial 17: Design a JK flip-flop (with preset and clear) using VHDL
Note: it’s recommended to follow this VHDL tutorial series in order, starting with the first tutorial. In the previous tutorial – VHDL tutorial 16 – we designed a D flip-flop circuit by using VHDL. For this project, we will: Write a VHDL program to build a JK flip-flop circuit Verify the output waveform of the program…
VHDL Tutorial 18: Design a T flip-flop (with enable and an active high reset input) using VHDL
Note: it’s recommended to follow this VHDL tutorial series in order, starting with the first tutorial. In the previous tutorial, VHDL tutorial – 17, we designed a JK flip-flop circuit by using VHDL. For this project, we will: Write a VHDL program to build the T flip-flop circuit Verify the output waveform of the program (the…
VHDL Tutorial – 19: Designing a 4-bit binary counter using VHDL
Note: it’s recommended to follow this VHDL tutorial series in order, starting with the first tutorial. In the previous tutorial, VHDL – 18, we designed a T-flip flop using VHDL. For this project, we will: Write a VHDL program a VHDL program to build a 4-bit binary counter Verify the output waveform of the program (the…
VHDL Tutorial – 20: Designing 4-bit binary-to-gray & gray-to-binary code converters
Note: it’s recommended to follow this VHDL tutorial series in order, starting with the first tutorial. In the previous tutorial, VHDL Tutorial – 19, we designed a 4-bit binary counter using VHDL. In this tutorial, we will: Write a VHDL program to build a 4-bit binary to gray, and gray to the binary code converter Verify…
VHDL Tutorial – 21: Designing an 8-bit, full-adder circuit using VHDL
Note: it’s recommended to follow this VHDL tutorial series in order, starting with the first tutorial. In the previous tutorial, VHDL Tutorial – 20, we learned how to design 4-bit binary-to-gray & gray-to-binary code converters by using VHDL. In this tutorial, we will: Write a VHDL program that builds an 8-bit, full-adder circuit Verify the output…
VHDL Tutorial – 22: Designing a 1-bit & an 8-bit comparator by using VHDL
Note: it’s recommended to follow this VHDL tutorial series in order, starting with the first tutorial. In the previous tutorial, VHDL Tutorial – 21, we designed an 8-bit, full-adder circuit by using VHDL. In this tutorial, we will: Write a VHDL program that builds a 1-bit and an 8-bit comparator circuit Verify the output waveform of the…



















