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 ...
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 ...
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 ...
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: ...
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 ...
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 ...
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 ...
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 ...
Hello friends, I hope you all are doing great. Today, I am going to share the new FSR402 Force Sensor Library for Proteus Simulation. A force-sensing resistor is the simplest way to give a project a sense of touch: a thin round pad whose resistance drops when you press it - the harder the press, the lower the resistance. It sits under drum pads, inside robot grippers and shoe insoles, on chair seats and in toys. With this library you can run a full Proteus simulation of the FSR 402, the round 18 mm sensor most makers start with, so that your divider, your thresholds and your press detection are ready before the real pad arrives. The pad comes alive at run time: its dark active area glows warmer and wider the harder it is pressed. The demo is a press pad: an Arduino reads the FSR through a voltage divider while a finger touches it, presses it, taps it and squeezes it hard, and shows the force, a press counter and a scrolling trend on an OLED, with a TOUCH and a HARD 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 flex 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 FSR402 Force Sensor Library for Proteus Simulation: An FSR is a sandwich of two thin plastic films. One carries a printed ...
Hello friends, I hope you all are doing great. Today, I am going to share the new Rain Gauge Library for Proteus Simulation. Every weather station has one: a small white funnel on a pole that tells you how many millimetres of rain have fallen. Inside it sits one of the cleverest little mechanisms in measurement - a see-saw bucket that tips over every time it fills, and a magnet that closes a switch at every tip. With this library you can run a full Proteus simulation of a tipping-bucket rain gauge, switch bounce and all, so that your pulse counting is right before the gauge goes up the pole. The gauge comes alive at run time: in a window on its front the bucket fills, tips and rocks back, drops fall from the funnel, and the reed switch lights at every tip. The demo is a weather station's rain display: an Arduino counts the tips through a storm - light rain, heavy rain, a downpour and the easing - and shows the rainfall, the rate and a bar chart of the storm on an OLED, with a RAIN and a HEAVY 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 rain 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 Rain Gauge Library for Proteus Simulation: Rainfall is measured as a depth: one millimetre of ...