Engineering Blog

Learn it. Build it. Simulate it.

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

2756 articles found.

IoT Smart Energy Meter with ESP32 - Proteus Simulation

IoT Smart Energy Meter with ESP32 - Proteus Simulation: the ESP32, two INA219s, the relay module, the bulb, the gear motor and the LCD

Hello friends, I hope you all are doing great. Today, I am going to share the IoT Smart Energy Meter with ESP32 - Proteus Simulation, the seventh project of our IoT Projects series. If you have searched for a Proteus simulation of an energy meter or a smart plug with an ESP32, here is a complete one. An ESP32 measures two 12 V loads with INA219 current sensors, switches them with relays, adds up the energy they use, works out what it costs, trips a load that draws too much, and shows everything on an LCD and on a live web dashboard for your laptop and your phone. Smart plugs and energy monitors are among the most useful IoT devices: they tell you what each appliance really uses and let you switch it from anywhere. In this tutorial, we will go through the circuit, learn how an INA219 measures current with a tiny shunt resistor, see how power becomes energy and energy becomes cost, walk through the ESP32 code, and then run the simulation: a bulb and a motor switched from the phone, a motor loaded until its overload trip switches it off, and the trip reset. At the end, you can download the project with the code and every library file it needs. 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 fuel that keeps us going, so please tell us what you think in the comments below. And if our free projects help you, you can buy us a coffee. So, let's get ...

Raspberry Pi 5 Gas Leak and Fire Alarm - Proteus Simulation

Raspberry Pi 5 Gas Leak and Fire Alarm - Proteus Simulation: the Raspberry Pi 5, the MQ-2 and flame sensors, the ADS1115, the fan and the buzzer

Hello friends, I hope you all are doing great. Today, I am going to share the Raspberry Pi 5 Gas Leak and Fire Alarm - Proteus Simulation, the sixth project of our IoT Projects series. If you have searched for a Proteus simulation of a gas leak detector or a fire alarm with a Raspberry Pi, here is a complete one. A Raspberry Pi 5 watches a kitchen or a workshop with an MQ-2 gas sensor and a flame sensor, sounds a buzzer, runs an exhaust fan to clear the gas, and shows everything on a live web dashboard for your laptop and your phone. Gas leaks and fires are the two dangers every home and workshop alarm watches for, and they make a great IoT project because they bring together analog sensors, a converter, power electronics and a web page. In this tutorial, we will go through the circuit, see why a Raspberry Pi 5 needs an ADS1115 to read analog sensors, learn how an MQ-2 turns gas into a resistance and how the program turns that into parts per million, walk through the Python code, and then run the simulation through a gas leak, a fire and a blocked fan. At the end, you can download the project with the program, every library file and the Python runtime the Pi needs. 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 fuel that keeps us going, so please tell us what you think in the comments below. And if our free projects help you, you can buy us a ...

IoT Weather Station with ESP32 - Proteus Simulation

IoT Weather Station with ESP32 - Proteus Simulation: the ESP32, the BME280 and BH1750 sensors, the OLED, a laptop and a phone

Hello friends, I hope you all are doing great. Today, I am going to share the IoT Weather Station with ESP32 - Proteus Simulation, the fifth project of our IoT Projects series. If you have searched for a Proteus simulation of an ESP32 weather station, here is a complete one. An ESP32 measures the temperature, the humidity, the air pressure and the light, shows them on an OLED display, works out the dew point, the heat index and a barometer forecast, and serves everything on a live web dashboard for your laptop and your phone. A weather station is the classic first IoT project, and for good reason: it touches everything that matters, from sensors on an I2C bus and a local display to a web server and a little data science. In this tutorial, we will go through the circuit, learn how a single I2C bus carries three devices, see how a barometer forecasts the weather from the pressure and its trend, walk through the ESP32 code, and then run the simulation through a sunny day, a storm and the sky clearing again. At the end, you can download the project with the code and every library file it needs. 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 fuel that keeps us going, so please tell us what you think in the comments below. And if our free projects help you, you can buy us a coffee. So, let's get started with the IoT Weather Station with ESP32 - ...

Raspberry Pi 5 RFID Door Access - Proteus Simulation

Raspberry Pi 5 RFID Door Access - Proteus Simulation: the Raspberry Pi 5, the MFRC522 reader, the LCD, the relay and the solenoid lock

Hello friends, I hope you all are doing great. Today, I am going to share the Raspberry Pi 5 RFID Door Access - Proteus Simulation, the fourth project of our IoT Projects series. If you have searched for a Proteus simulation of an RFID door lock with a Raspberry Pi, here is a complete one. A Raspberry Pi 5 reads RFID cards with an MFRC522 reader, opens a solenoid lock through a relay for the cards it knows, shows each event on an I2C LCD, and keeps a log on a web page. From a phone or a laptop you can read the log, enrol a new card, lock the door down, or open it remotely. Access control is a classic IoT project: offices, labs, hostels and homes all use cards to open doors and need to know who came in and when. In this tutorial, we will go through the circuit, learn how the MFRC522 finds a card and reads its unique ID, see how the Raspberry Pi drives an LCD over I2C, walk through the Python program, and then run the simulation: a known card, a refused visitor who is then enrolled, a lockdown and a remote opening. At the end, you can download the project with the program, every library file and the Python runtime the Pi needs. 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 fuel that keeps us going, so please tell us what you think in the comments below. And if our free projects help you, you can buy us a coffee. So, let's get started with the ...

IoT Smart Irrigation System with ESP32 - Proteus Simulation

IoT Smart Irrigation System with ESP32 - Proteus Simulation: the ESP32, the soil, DHT22 and rain sensors, the relay and the pump

Hello friends, I hope you all are doing great. Today, I am going to share the IoT Smart Irrigation System with ESP32 - Proteus Simulation, the third project of our IoT Projects series. If you have searched for a Proteus simulation of an automatic plant watering system, this one is complete and ready to run. An ESP32 measures the soil moisture, the air temperature and humidity and the rain, decides by itself when the plant needs water, switches a water pump through a relay, and shows everything on a live web dashboard that you can open on a laptop or a phone. You can also water by hand from the phone. Smart irrigation is one of the most popular IoT projects, because it saves real water and real effort: the plant gets water only when the soil is dry, never while it rains, and never too much. In this tutorial, we will go through the circuit, see how each sensor is read and calibrated, walk through the ESP32 code, and then run the simulation through a whole story: the soil dries out, the pump waters it, the rain arrives and the system waits, and finally a manual watering from the laptop. At the end, you can download the project with the code and every library file it needs. 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 fuel that keeps us going, so please tell us what you think in the comments below. And if our free projects help you, you can buy ...

Raspberry Pi 5 PID Temperature Control - Proteus Simulation

Raspberry Pi 5 PID Temperature Control - Proteus Simulation: the Raspberry Pi 5, the Temperature Control Lab shield, the MCP3008, a laptop and a phone

Hello friends, I hope you all are doing great. Today, I am going to share the Raspberry Pi 5 PID Temperature Control - Proteus Simulation, the second project of our IoT Projects series. If you have searched for a Proteus simulation of a PID controller on a Raspberry Pi, here is a complete one that you can download and run. A Raspberry Pi 5 reads two temperature sensors through an MCP3008 ADC, runs a PID controller written in Python, drives a heater with PWM to hold the temperature at a setpoint, and serves a live dashboard with a trend chart to a laptop and a phone. You change the setpoint and switch a disturbance on and off from the phone, and watch the controller fight back. PID control is taught in every control engineering course, but a real process to practise on is not always at hand. Our Temperature Control Lab shield brings the classic two-heater lab into Proteus, with the physics of a real kit, so the PID in this simulation meets the same slow, lagging process it would meet on the bench. In this tutorial, we will go through the circuit, the theory behind the PID and its tuning, the Python program line by line, and then the simulation results: a setpoint step, a disturbance and the HOT alarm. At the end, you can download the project with the program, every library file and the Python runtime the Pi needs. 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 ...

IoT Patient Health Monitor with ESP32 - Proteus Simulation

IoT Patient Health Monitor with ESP32 - Proteus Simulation: the ESP32, the ECG, temperature and GSR sensors, a laptop and a phone

Hello friends, I hope you all are doing great. Today, I am going to share a complete IoT Patient Health Monitor with ESP32 - Proteus Simulation, the first project of our new IoT Projects series. If you have searched for a Proteus simulation of an IoT health monitoring system, this is one you can download and run in a few minutes. An ESP32 reads a patient's ECG, body temperature and skin response, finds the heart rate, raises alarms, and serves a live dashboard over Wi-Fi to a laptop and a phone. Everything happens inside one Proteus simulation: the sensors, the ESP32, the Wi-Fi network, the web pages and the two screens that open them. All the parts come from our own Proteus libraries, so every sensor behaves like the real module and has a pop-up that shows what is going on inside it. In this tutorial, we will go through the circuit, see how each sensor is read, walk through the ESP32 code block by block, and then run the simulation and watch it work: a normal heart, a fever that sets off the alarm, the alarm silenced from the phone, and an electrode that comes off. At the end, you can download the whole project, with the code, the firmware and every library file it needs. 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 fuel that keeps us going, so please tell us what you think in the comments below. And if our free projects help you, you can ...

74HC595 Shift Register Library for Proteus Simulation

74HC595 Shift Register Library for Proteus Simulation: an Arduino UNO V4.0, the 74HC595 and eight lit LEDs

Hello friends, I hope you all are doing great. Today, I am going to share the new 74HC595 Shift Register Library for Proteus Simulation, the sixth of the lab ICs in our University Lab series. If you have searched for a Proteus simulation of the 74HC595, this one shows what happens inside the chip, not only at its pins. The 74HC595 is the classic way to get more outputs from a microcontroller: three pins drive eight outputs, and chained chips drive 16, 24 or more. LED bars, seven-segment displays, LED matrices and relay boards all use it, and digital-electronics courses use it to teach shift registers, latches and serial data. Our library brings the real chip into your Proteus simulation: the 74HC595 in its PDIP-16 package, drawn at its true size of 19.3 x 6.35 mm. The simulation model follows TI's datasheet. It has the shift register and the storage register, OE and SRCLR, and QH' for chaining. The outputs are real CMOS drivers, so every LED draws a real current and the chip's current limits show up. The timing is checked against the datasheet too. The pop-up shows both registers bit by bit and draws the last 24 clocks. The demo is an Arduino driving eight LEDs, first with shiftOut() and then with SPI. It lights all eight at once, which turns out to be just over the chip's limit, and dims them with OE. 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 ...

INA128 Instrumentation Amplifier Library for Proteus Simulation

INA128 Instrumentation Amplifier Library for Proteus Simulation: an Arduino UNO V4.0, the INA128 and a Wheatstone bridge

Hello friends, I hope you all are doing great. Today, I am going to share the new INA128 Instrumentation Amplifier Library for Proteus Simulation, the fifth of the lab ICs in our University Lab series. If you have looked for a Proteus simulation of an instrumentation amplifier, this is it. Strain gauges, load cells, pressure sensors, thermocouples and ECG electrodes all give tiny signals, a few millivolts or less, sitting on top of a much larger common voltage. An ordinary op-amp circuit struggles with that. An instrumentation amplifier is built for it, and the INA128 is the one most university labs use. Our library brings the real chip into your Proteus simulation: the INA128 in its PDIP-8 package, drawn at its true size of 9.81 x 6.35 mm. The simulation model follows TI's datasheet and its three-op-amp design. The gain is set by the actual resistor you wire between pins 1 and 8, and the model measures it back from its current. It also has the internal amplifiers' limited range, the output swing, the offset, the CMRR and the bandwidth. The pop-up shows all three amplifiers inside the chip live. The demo is a Wheatstone bridge read by an Arduino: first directly, where it sees almost nothing, then through the INA128, where it resolves tens of microvolts. 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 ...

NE555 Timer Library for Proteus Simulation

NE555 Timer Library for Proteus Simulation: an Arduino UNO V4.0, the NE555 astable, its resistors, capacitors and LED

Hello friends, I hope you all are doing great. Today, I am going to share the new NE555 Timer Library for Proteus Simulation, the fourth of the lab ICs in our University Lab series. If you have searched for a Proteus simulation of the 555 timer, this library is for you. The 555 is the most famous chip in electronics: since 1972 it has blinked LEDs, made tones, debounced switches, generated PWM and timed everything from toasters to traffic lights. Every electronics course has a 555 lab, and every student builds the astable blinker at least once. Our library brings the real chip into your Proteus simulation: the NE555 in its PDIP-8 package, drawn at its true size of 9.81 x 6.35 mm. Inside, the simulation model follows TI's datasheet: the resistor divider that sets the 1/3 and 2/3 levels, the two comparators, the latch with RESET in charge, the output stage and the discharge switch. The pop-up shows the inside of the chip live, with a scope of the capacitor and the output. The demo is the classic astable with an LED, timed and reset by an Arduino, and the simulation results agree with the formulas to a fraction of a percent, except where the real chip itself does not. 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 NE555 board of our forum. And if our free ...