Engineering Blog

Learn it. Build it. Simulate it.

2,714 step-by-step tutorials and projects on Arduino, ESP32, Raspberry Pi and Proteus.

2714 articles found.

GC9A01 Round TFT Library for Proteus Simulation

GC9A01 Round TFT Library for Proteus Simulation: an Arduino UNO V4.0 driving the 1.28 inch round display with a watch face

Hello friends, I hope you all are doing great. Today, I am going to share the new GC9A01 Round TFT Library for Proteus Simulation. The GC9A01 is the controller behind the popular 1.28-inch round colour display: 240 x 240 pixels in a 32 mm circle, the screen you see in smart-watch projects, car gauges, round dashboards and robot eyes. With this library you can run a full Proteus simulation of that round display: the 4-line SPI bus, the maker's command set, the 240 x 240 frame memory and the round glass that shows only its circle, so that your drawing code is right before the first module arrives. The picture comes alive on the sheet at run time: what your sketch draws appears in the round glass, and two LEDs on the module show the supply and the SPI traffic. The demo is an analog watch: an Arduino resets the display, sends the maker's init, runs a quick colour test and then draws a watch face whose hands move every second. NOTICE: Our team has put a lot of effort into these small parts: the bodies, the animation and the pop-ups are all our own design, and you get them free. Your feedback is the fuel that keeps us going, so please tell us what you think in the comments below or in the LCD board of our forum. And if our free libraries help you, you can buy us a coffee. So, let's get started with the GC9A01 Round TFT Library for Proteus Simulation: The GC9A01 from GalaxyCore is a single-chip driver for small colour TFT panels: it holds a 240 x 240 frame memory of 18-bit colour, ...

Touchless Gesture Lamp with APDS-9960 and ESP32 - Proteus Simulation

Touchless Gesture Lamp with APDS-9960 and ESP32 - Proteus Simulation: the ESP32, the APDS-9960 sensor, the WS2812B ring in RAINBOW and the OLED

Hello friends, I hope you all are doing great. Today, I am going to share the Touchless Gesture Lamp with APDS-9960 and ESP32 - Proteus Simulation, the seventy-ninth project of our IoT Projects series. If you have searched for an APDS-9960 with an ESP32, how a gesture sensor tells a left swipe from a right one, a touchless light switch, or WS2812B lighting in a Proteus simulation, here is a complete one. A light switch is touched by every hand in the house, and a wet or floury hand in the kitchen is the last thing you want on it. A gesture sensor lets you wave instead. This ESP32 reads an APDS-9960, a tiny sensor that sees hand gestures, proximity, ambient light and colour, and drives a ring of 16 WS2812B LEDs. Swipe left or right to change the scene, up or down to change the brightness, hold your hand still over it to switch it on or off. It also dims itself when the room is full of daylight, and in one scene it copies the colour of the light around it. In this tutorial, we will go through the circuit, how the APDS-9960's gesture engine works, decoding a swipe from its four photodiodes, measuring light and colour, the WS2812B protocol, and the lamp's logic, all with plain I2C and no gesture library. Then we run the whole story in the simulation. At the end, you can download the project with the sketch and every library file. NOTICE: Our team has put a lot of effort into this project: the circuit, the code and every part in the simulation are our own work, and you get them ...

PZEM-004T Prepaid Energy Meter on Raspberry Pi 5 - Proteus Simulation

PZEM-004T Prepaid Energy Meter on Raspberry Pi 5 - Proteus Simulation: the Raspberry Pi 5, the PZEM-004T on the mains, the relay, the AC fan, the keypad and the LCD

Hello friends, I hope you all are doing great. Today, I am going to share the PZEM-004T Prepaid Energy Meter on Raspberry Pi 5 - Proteus Simulation, the seventy-eighth project of our IoT Projects series. If you have searched for a PZEM-004T with a Raspberry Pi, reading an energy meter over Modbus RTU in Python, how a prepaid electricity meter works, or a smart meter project in a Proteus simulation, here is a complete one. Millions of homes pay for electricity before they use it: they buy a token, type its number on the meter, and the meter keeps the power on until the credit runs out. No meter reader, no bill, no debt. This Raspberry Pi 5 turns a PZEM-004T energy meter into exactly that. It reads the voltage, current, power and power factor of a small house on 230 V mains over Modbus, counts the credit down by the energy really used, beeps when it runs low and opens a relay at zero. Typing a token on a touch keypad brings the power back, and the Pi refuses a mistyped token and a token used twice. In this tutorial, we will go through the circuit, measuring AC power and power factor, the Modbus RTU protocol with its CRC, turning power into energy, and token check digits. Then we run the whole story in the simulation. At the end, you can download the project with the program and every library file. NOTICE: Our team has put a lot of effort into this project: the circuit, the code and every part in the simulation are our own work, and you get them all free. Your feedback is the ...

VL53L1X Distance Sensor Library for Proteus Simulation

VL53L1X Distance Sensor Library for Proteus Simulation: an Arduino UNO V4.0, the VL53L1X time-of-flight module, an OLED and two LEDs

Hello friends, I hope you all are doing great. Today, I am going to share the new VL53L1X Distance Sensor Library for Proteus Simulation. The VL53L1X is ST's long-range time-of-flight sensor: a laser, a light detector fast enough to count single photons and a small processor in a package smaller than a grain of rice, which tells you the distance to the nearest object up to about 4 metres - by timing light. It sits in robots, drones, parking aids and people counters. With this library you can run a full Proteus simulation of the sensor over its real register interface: the boot, the model ID, ST's configuration, the distance modes, the timing budget, the range status and the data-ready pin, so that your driver code works before the module arrives. The module comes alive at run time: a DATA LED blinks with every measurement and the emitter window glows while it ranges. The demo is a parking distance meter: a white car backs into a garage, parks, leaves, a black car rolls in and then the sun shines on the wall - and an Arduino shows the distance, a bar, the signal and the status on an OLED, with an OK and a NEAR LED. NOTICE: Our team has put a lot of effort into these small parts: the bodies, the animation and the pop-ups are all our own design, and you get them free. Your feedback is the fuel that keeps us going, so please tell us what you think in the comments below or in the VL53L0X board of our forum. And if our free libraries help you, you can buy us a coffee. So, let's get ...

LD2410 Radar Room Monitor with ESP32 - Proteus Simulation

LD2410 Radar Room Monitor with ESP32 - Proteus Simulation: the ESP32, the LD2410 radar, the OLED with the gate energies and the lamp

Hello friends, I hope you all are doing great. Today, I am going to share the LD2410 Radar Room Monitor with ESP32 - Proteus Simulation, the seventy-seventh project of our IoT Projects series. If you have searched for an LD2410 with an ESP32, a 24 GHz mmWave presence sensor, how a radar sees a person who is sitting still, or an inactivity alert for someone living alone, here is a complete one. A PIR motion sensor only sees movement: sit still to read a book and the light goes out. A millimetre-wave radar is different. It feels the tiny movement of breathing, so it knows a person is still in the room even when they do not move at all. This ESP32 turns an HLK-LD2410 radar into a room monitor. The lamp follows the person in and out. And if they stop moving for too long, perhaps after a fall or a faint, the monitor raises an alert on a laptop or a phone, so a carer can call or come round. In this tutorial, we will go through the circuit, how a 24 GHz radar measures distance and tells moving from still, the distance gates and their energies, the LD2410's serial protocol and its engineering mode, the inactivity timer, the walking speed, and the lamp's fade. Then we run a whole visit in the simulation: someone walks in, sits down, stays still too long, moves again, and leaves. At the end, you can download the project with the sketch and every library file. NOTICE: Our team has put a lot of effort into this project: the circuit, the code and every part in the simulation are our own ...

MC-38 Door Sensor Library for Proteus Simulation

MC-38 Door Sensor Library for Proteus Simulation: an Arduino UNO V4.0, the MC-38 magnetic door contact, an OLED and two LEDs

Hello friends, I hope you all are doing great. Today, I am going to share the new MC-38 Door Sensor Library for Proteus Simulation. The MC-38 is the little pair of white plastic blocks on almost every alarmed door and window: one block with a reed switch and two wires on the frame, one block with a magnet on the door. Shut the door and the magnet closes the switch; open it and the switch opens. It is the simplest, cheapest and most reliable security sensor there is. With this library you can run a full Proteus simulation of the contact, bounce and all, so that your door alarm logic is right before you drill a single hole. The contact comes alive at run time: through a window in its body you see the two reeds touch or spring apart, and its LED shows green with the door shut and red when it opens. The demo is a door monitor: an Arduino watches a door being opened, left open, closed, and quickly opened and closed again; it counts and times the openings, warns when the door is left open, and shows it all on an OLED with a SHUT and an OPEN LED. NOTICE: Our team has put a lot of effort into these small parts: the bodies, the animation and the pop-ups are all our own design, and you get them free. Your feedback is the fuel that keeps us going, so please tell us what you think in the comments below or in the PIR sensor board of our forum. And if our free libraries help you, you can buy us a coffee. So, let's get started with the MC-38 Door Sensor Library for Proteus Simulation: ...

INMP441 Microphone Library for Proteus Simulation

INMP441 Microphone Library for Proteus Simulation: an Arduino UNO V4.0, the INMP441 I2S microphone module, an OLED and two LEDs

Hello friends, I hope you all are doing great. Today, I am going to share the new INMP441 Microphone Library for Proteus Simulation. The INMP441 is the tiny round board you find in almost every ESP32 voice project: a MEMS microphone with its own ADC and filter inside, which sends the sound as 24-bit digital samples over I2S - no amplifier, no analog noise on long wires, no ADC to calibrate. With this library you can run a full Proteus simulation of that I2S microphone: the bit clock, the word select, the 24-bit samples with the right one-clock delay, the left and right channels and even its start-up time, so that your code that reads and decodes the samples is right before you solder anything. The module comes alive at run time: five level LEDs on the board climb with the sound while the host is reading it. The demo is a sound level meter: an Arduino clocks the microphone in software, works out the level in dB SPL, the peak and a frequency, counts claps, and draws it all - with the waveform itself - on an OLED, while a SOUND and a LOUD LED sit beside it. NOTICE: Our team has put a lot of effort into these small parts: the bodies, the animation and the pop-ups are all our own design, and you get them free. Your feedback is the fuel that keeps us going, so please tell us what you think in the comments below or in the sound sensor board of our forum. And if our free libraries help you, you can buy us a coffee. So, let's get started with the INMP441 Microphone Library for Proteus ...

SW-420 Vibration Sensor Library for Proteus Simulation

SW-420 Vibration Sensor Library for Proteus Simulation: an Arduino UNO V4.0, the SW-420 vibration sensor module, an OLED and two LEDs

Hello friends, I hope you all are doing great. Today, I am going to share the new SW-420 Vibration Sensor Library for Proteus Simulation. The SW-420 module is the cheapest way to make a project feel a knock, a bump or a running machine: a tiny spring switch in a metal can, a comparator and a trimmer on a little blue board, and one digital output that pulses when the board is shaken. It guards doors and bicycles, tells you when the washing machine has stopped and makes earthquake toys. With this library you can run a full Proteus simulation of the module, pulse by pulse, so that your counting and your alarm logic are ready before the module is screwed to anything. The module comes alive at run time: its PWR LED lights with the supply, and the DO LED - on while all is still - flickers off with every opening of the switch. The demo is a vibration monitor: an Arduino counts the pulses while the table is knocked, a machine runs and the whole thing is shaken hard, and shows the vibration class, the pulse rate, the bursts and a bar chart on an OLED, with a STILL and an ALARM LED. NOTICE: Our team has put a lot of effort into these small parts: the bodies, the animation and the pop-ups are all our own design, and you get them free. Your feedback is the fuel that keeps us going, so please tell us what you think in the comments below or in the accelerometer board of our forum. And if our free libraries help you, you can buy us a coffee. So, let's get started with the SW-420 Vibration ...

AMG8833 Thermal Stove Guard on Raspberry Pi 5 - Proteus Simulation

AMG8833 Thermal Stove Guard on Raspberry Pi 5 - Proteus Simulation: the Raspberry Pi 5, the AMG8833 camera, the TFT with the thermal picture, the relay and the valve

Hello friends, I hope you all are doing great. Today, I am going to share the AMG8833 Thermal Stove Guard on Raspberry Pi 5 - Proteus Simulation, the seventy-sixth project of our IoT Projects series. If you have searched for an AMG8833 thermal camera with a Raspberry Pi, a Python thermal imaging project, an unattended cooking alarm or an automatic stove shut-off, here is a complete one in a Proteus simulation. Unattended cooking is the leading cause of kitchen fires: a pan is left on the hob, someone answers the door or the phone, and the oil keeps heating. A smoke alarm only speaks once there is smoke. A stove guard acts earlier: it knows the pan is hot and that nobody is with it. This Raspberry Pi 5 watches the stove with an AMG8833, an 8 x 8 thermal camera. From 64 temperatures four times a second it tells a hot pan from a person, starts a countdown when the pan is left alone, beeps, and then closes the stove's supply valve. It also notices a hand or a cloth over the lens. In this tutorial, we will go through the circuit, how a thermopile camera sees, why a person at a distance looks cooler than skin, the median and the room temperature, finding a person as a group of warm pixels, the state machine with its countdown and its latch, the fail-safe valve, and the thermal picture on a 1.8" TFT and on a web dashboard. Then we run the whole story in the simulation. At the end, you can download the project with the program and every library file. NOTICE: Our team has put a lot of ...

A3144 Hall Sensor Library for Proteus Simulation

A3144 Hall Sensor Library for Proteus Simulation: an Arduino UNO V4.0, the A3144 Hall sensor module, an OLED and two LEDs

Hello friends, I hope you all are doing great. Today, I am going to share the new A3144 Hall Sensor Library for Proteus Simulation. The A3144 is the little black three-legged chip behind countless speedometers, RPM meters and end stops: a Hall-effect switch that turns on when a magnet comes close and off when it goes. On the KY-003 style module it sits with a pull-up and an LED, ready for an Arduino pin. With this library you can run a full Proteus simulation of the module - its operate and release points, its south-pole-only switching, its clean edges - so that your counting code is right before you glue a magnet to a wheel. The module comes alive at run time: its PWR LED lights with the supply, and the signal LED flashes every time the magnet passes. The demo is a tachometer: a magnet is held in front of the sensor, then its north pole, then a wheel carrying a magnet spins at 120, 360 and 600 RPM and stops - and an Arduino shows the RPM, the turns and a trend on an OLED, with a MAGNET and a FAST LED. NOTICE: Our team has put a lot of effort into these small parts: the bodies, the animation and the pop-ups are all our own design, and you get them free. Your feedback is the fuel that keeps us going, so please tell us what you think in the comments below or in the compass board of our forum. And if our free libraries help you, you can buy us a coffee. So, let's get started with the A3144 Hall Sensor Library for Proteus Simulation: When a current flows through a thin slab of ...