Engineering Blog

Learn it. Build it. Simulate it.

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

2769 articles found.

nice!nano v2 nRF52840 Library for Proteus: BLE Macro Pad Simulation

nice!nano v2 Library for Proteus simulation: the macro pad with four keys, the knob, the MUTE LED and the phone

Hello friends, I hope you all are doing great. Today, I am going to share the nice!nano v2 Library for Proteus, so you can run a Bluetooth LE simulation of the nice!nano v2 - the tiny nRF52840 board that wireless keyboard makers drop into the place of a Pro Micro. It has the Pro Micro's pinout, a USB-C port, a Li-Po charger and a blue LED. Our part is drawn at true scale, and it runs your Arduino sketch in Proteus 8.5 with Bluetooth LE to a phone. For the demo we built a Bluetooth macro pad: four keys for PLAY/PAUSE, MUTE, PREVIOUS and NEXT, a volume knob, a red MUTE light, and a phone that receives every key. NOTICE: Proteus has no nRF52840 model, so our team has put a lot of effort into building this board ourselves: the pins, the LEDs and Bluetooth LE to the phone are all our own model, and your sketch compiles with our free TEP Boards for Proteus add-on. Your feedback is the fuel that keeps us going, so please tell us what you think in the comments below. And if our free libraries help you, you can buy us a coffee. So, let's get started with the nice!nano v2 Library for Proteus: The nice!nano is a development board by Nice Technologies made to replace the Pro Micro in mechanical keyboards. Hundreds of keyboard designs - split boards like the Corne and the Lily58, macro pads, numpads - have a Pro Micro footprint. Put a nice!nano into that socket and the keyboard becomes wireless: the board carries the Nordic nRF52840 (an Arm Cortex-M4F with 1 MB of flash, 256 KB of RAM and ...

HC-12 433 MHz Mailbox and Gate Alert with ESP32 - Proteus Simulation

HC-12 433 MHz Mailbox and Gate Alert with ESP32 - Proteus Simulation: the gate ESP32 with its HC-12, the PIR and the mailbox switches, and the house ESP32 with its HC-12, the OLED and the MAIL lamp

Hello friends, I hope you all are doing great. Today, I am going to share the HC-12 433 MHz Mailbox and Gate Alert with ESP32 - Proteus Simulation, the sixty-seventh project of our IoT Projects series. If you have searched for an HC-12 ESP32 project, a 433 MHz mailbox alert, a wireless gate sensor, or a Proteus simulation of a long-range radio link, here is a complete one. A garden gate and its mailbox sit far from the house. At the gate, an ESP32 with a PIR sensor and two switches notices a visitor, the post arriving and the post being collected, and tells the house over an HC-12 radio. In the house, a second ESP32 answers every message, lights a MAIL lamp, shows the news on an OLED and serves a dashboard to a laptop and a phone. A one-way radio alert has a weakness: when a message is lost, nobody knows. This project fixes that in three ways. Every message is answered, so the gate knows whether it got through. A heartbeat every 5 seconds lets the house notice when the gate has gone quiet. And the gate finds the least transmit power that still reaches the house, because a battery-powered radio that shouts at 100 mW to cover 50 metres wastes most of its energy. In this tutorial, we will go through the circuit, see how the HC-12 works and how far its signal goes with a simple link budget, design the answered messages, the power steps and the AT commands that change the power while the link runs, walk through both Arduino sketches, and then run the simulation: the gate comes ...

Supercapacitor ESR Tester with Raspberry Pi 5 (Proteus Simulation)

Supercapacitor ESR Tester with Raspberry Pi 5 (Proteus Simulation): the Raspberry Pi 5, the relay module, the ADS1115, the OLED and the supercapacitor

Hello friends, I hope you all are doing great. Today, I am going to share the Supercapacitor ESR Tester with Raspberry Pi 5 in Proteus Simulation, the sixty-sixth project of our IoT Projects series. If you have searched for a supercapacitor tester, an ESR meter project, or a Proteus simulation of capacitance measurement with a Raspberry Pi, here is a complete one. A Raspberry Pi 5 charges a supercapacitor from 5 V through a resistor, holds it, discharges it through another resistor, and reads the voltage all the way with a 16-bit ADC. From that one curve it works out the two numbers that matter for any supercap: its capacitance and its equivalent series resistance, the ESR. Then it tells you how much energy the part holds, how much power it can deliver, and which standard value it really is. Supercapacitors are everywhere now: they keep a clock alive through a power cut, buffer the pulses of a GSM modem, store the trickle from a solar cell or a vibration harvester, and catch the braking energy of buses and trams. Their weakness is the ESR: a supercap can hold a lot of charge but often cannot give it back quickly, and an old one loses capacitance and gains resistance. In this tutorial, we will go through the circuit, see what happens at the terminals when a capacitor with a series resistance is charged, turn the exponential curve into a straight line, find both numbers from it, check them a second way on the discharge, and then test a second part. At the end, you can download ...

LilyGO T-Echo Library for Proteus: LoRa e-Paper Simulation

LilyGO T-Echo Library for Proteus simulation: two T-Echos showing the distance to each other on their e-paper

Hello friends, I hope you all are doing great. Today, I am going to share the LilyGO T-Echo Library for Proteus, so you can run a LoRa, GPS and e-paper simulation of LilyGO's T-Echo. The T-Echo is a pocket-sized handheld with an nRF52840 for Bluetooth, a Semtech SX1262 LoRa radio, an L76K GPS and a 1.54" e-paper screen that keeps its picture without power - a favourite device for off-grid messaging. Our part has its real size and a working e-paper, and it runs your Arduino sketch in Proteus 8.5. For the demo we built a LoRa friend finder with two T-Echos: each one reads its GPS and sends its position by LoRa, and the other one shows on its e-paper how far away its friend is and in which direction - no phone network needed. NOTICE: Proteus has no nRF52840, SX1262 or e-paper model, so our team has put a lot of effort into building this board ourselves: the e-paper, the LoRa radio, the GPS, the LEDs and the keys are all our own model, and your sketch compiles with our free TEP Boards for Proteus add-on. Your feedback is the fuel that keeps us going, so please tell us what you think in the comments below. And if our free libraries help you, you can buy us a coffee. So, let's get started with the LilyGO T-Echo Library for Proteus: The T-Echo is LilyGO's compact LoRa device in a white case. Inside are Nordic's nRF52840 (an Arm Cortex-M4F with Bluetooth LE), Semtech's SX1262 LoRa transceiver, a Quectel L76K GPS, a PCF8563 real-time clock and an 850 mAh battery; on the front sits a ...

Circuit Playground Bluefruit Library for Proteus Simulation

Circuit Playground Bluefruit Library for Proteus simulation: the ring of NeoPixels in rainbow mode

Hello friends, I hope you all are doing great. Today, I am going to share the Circuit Playground Bluefruit Library for Proteus, so you can run a NeoPixel and Bluetooth LE simulation of Adafruit's Circuit Playground Bluefruit. This round board packs an nRF52840, a ring of ten NeoPixels, two buttons, a light sensor, a temperature sensor and an accelerometer onto 50.6 mm - everything a first project needs without a single wire. Our part has its real size and its 14 alligator pads, and it runs your Arduino sketch in Proteus 8.5. For the demo we built a Bluetooth LE mood ring: the NeoPixels show the room's temperature, turn into a night light in the dark, play a rainbow on a button press and sparkle when you shake the board - and a phone reads it all over Bluetooth. NOTICE: Proteus has no nRF52840 model, so our team has put a lot of effort into building this board ourselves: the ten NeoPixels, the buttons, the sensors and Bluetooth LE to the phone are all our own model, and your sketch compiles with our free TEP Boards for Proteus add-on. Your feedback is the fuel that keeps us going, so please tell us what you think in the comments below. And if our free libraries help you, you can buy us a coffee. So, let's get started with the Circuit Playground Bluefruit Library for Proteus: The Circuit Playground Bluefruit is Adafruit's round learning board built around Nordic's nRF52840 (an Arm Cortex-M4F with Bluetooth LE). It was made for classrooms, wearables and makers: the parts you ...

ESP32 Ball and Beam PID Balancer in Proteus Simulation

ESP32 Ball and Beam PID Balancer in Proteus Simulation: the ESP32, the ball and beam lab, the knob and the OLED

Hello friends, I hope you all are doing great. Today, I am going to share the ESP32 Ball and Beam PID Balancer in Proteus Simulation, the sixty-fifth project of our IoT Projects series. If you have searched for a ball and beam PID project, an ESP32 servo control loop, or a Proteus simulation of a classic control lab, here is a complete one. A table-tennis ball rolls in a 250 mm aluminium channel, an MG996R servo tilts the channel, and a Sharp infrared sensor at one end watches the ball. The ESP32 holds the ball wherever you ask, from a knob or from a dashboard on a laptop or a phone. And before it balances anything, it does what a control engineer would do: it measures the lab, works out the model from the measurement, and designs its own gains. The ball and beam is the most famous balancing experiment of control courses, because the ball never settles by itself: tilt the beam a little and the ball keeps speeding up until it hits the end. In this tutorial, we will go through the circuit, see why a rolling ball accelerates less than a sliding one, read the ball's position through the infrared sensor's curved response, run a tilt test and fit the ball's path to find the plant's gain, and turn that number into PD gains for a chosen overshoot and settling time. We will also meet two traps of real measurements on the way. Then we run the simulation: the self-test, steps to new positions, a faster design, a sine to follow, and the knob. At the end, you can download the project with ...

Raspberry Pi 5 Hydrogen Fuel Cell Monitor: INA219 Proteus Simulation

Raspberry Pi 5 Hydrogen Fuel Cell Monitor: INA219 Proteus Simulation: the Raspberry Pi 5, the PEM fuel cell stack, the INA219, the DC load, the OLED and the ALARM LED

Hello friends, I hope you all are doing great. Today, I am going to share the Raspberry Pi 5 Hydrogen Fuel Cell Monitor in Proteus Simulation, the sixty-fourth project of our IoT Projects series. If you have searched for a fuel cell monitoring project, an INA219 project on the Raspberry Pi, or a Proteus simulation of a PEM fuel cell, here is a complete one. A small 12 W hydrogen fuel cell stack feeds an electronic load, an INA219 sensor sits in its positive line, and a Raspberry Pi 5 watches it all. As you turn the load up, the Pi records the stack's polarization curve point by point, works out how much hydrogen it is burning and how efficient it is, and shows everything on an OLED and on a dashboard. Then the hydrogen pressure drops, and the Pi notices the stack starving long before its own controller has to switch it off. Fuel cells are turning up everywhere: in buses, forklifts, backup power for telecom towers, drones and school science kits. They all have the same weak spot: a fuel cell that does not get enough hydrogen or air still gives a voltage, just a lower one, and the cells can be damaged if the load keeps pulling. In this tutorial, we will go through the circuit, see what happens inside a PEM cell, read the three regions of the polarization curve, count the hydrogen with Faraday's law, work out the efficiency against the hydrogen's energy, and build a health check that compares the stack with its own curve. Then we run the simulation: a load sweep, a starving ...

Microchip Cat Flap with ESP32 and EM-18 RFID - Proteus Simulation

Microchip Cat Flap with ESP32 and EM-18 RFID - Proteus Simulation: the ESP32, the EM-18 reader, the two IR beams, the two SG90 latches and the OLED

Hello friends, I hope you all are doing great. Today, I am going to share the Microchip Cat Flap with ESP32 and EM-18 RFID in Proteus Simulation, the sixty-third project of our IoT Projects series. If you have searched for an ESP32 RFID project, a smart pet door, or a Proteus simulation of an EM-18 reader, here is a complete one. An ordinary cat flap lets in every cat in the street; this one opens only for its own cats. A 125 kHz RFID reader round the tunnel reads the tag on each cat's collar, two infrared beams tell whether the cat went in or out, two small servos are the latches, and the ESP32 keeps a record of who is at home. At night a curfew lets the cats come in but not go out, and a dashboard on a laptop or a phone shows it all. Microchip cat flaps are a familiar sight in homes with cats, and they are a neat lesson in RFID, sensors and simple state machines. In this tutorial, we will go through the circuit, see how a 125 kHz reader and its tags work and what the EM-18 sends, check the tag's checksum, find the direction of a trip from the order of two beams, drive the two latches, add the OPEN, IN ONLY and LOCKED modes, walk through the code, and then run the simulation: a cat going out, a neighbour's cat refused, the cat coming back, a cat that changes its mind, and the night curfew. 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 ...

OBD-II Scanner on CAN Bus with Raspberry Pi 5 - Proteus Simulation

OBD-II Scanner on CAN Bus with Raspberry Pi 5 - Proteus Simulation: the Raspberry Pi 5 scan tool, two MCP2515 CAN modules, the UNO engine ECU and the LCD showing P0217

Hello friends, I hope you all are doing great. Today, I am going to share the OBD-II Scanner on CAN Bus with Raspberry Pi 5 in Proteus Simulation, the sixty-second project of our IoT Projects series. If you have searched for a Raspberry Pi OBD-II reader, a CAN bus project with the MCP2515, or a Proteus simulation of car diagnostics, here is a complete one. Every car built in the last twenty-five years has a diagnostic port under the dashboard, and behind it a CAN bus where the engine's control unit answers questions: how fast the engine turns, how hot the coolant is, whether the check engine lamp is on and why. Here a Raspberry Pi 5 is the scan tool, and an Arduino UNO plays the engine's control unit, with a throttle knob and a real coolant temperature sensor. In this tutorial, we will go through the circuit, see how a CAN bus works and why every node hears every frame, how an OBD-II request and its answer fit in one 8-byte frame, how the Pi drives the MCP2515 CAN controller with its own SPI instructions and no library, how the engine values are packed into bytes, how a trouble code like P0217 is stored and decoded, walk through both programs, and then run the simulation: idle, driving, an overheating engine that lights the check engine lamp, reading the code, cooling down and clearing it. At the end, you can download the project with both programs 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 ...

Sign Language Glove with ESP32 and Flex Sensors - Proteus Simulation

Sign Language Glove with ESP32 and Flex Sensors - Proteus Simulation: the ESP32, five flex sensor modules, the OLED and the piezo, showing I LOVE YOU

Hello friends, I hope you all are doing great. Today, I am going to share the Sign Language Glove with ESP32 and Flex Sensors in Proteus Simulation, the sixty-first project of our IoT Projects series. If you have searched for an ESP32 flex sensor project, a smart glove, or a Proteus simulation of gesture recognition, here is a complete one. A flex sensor runs along the back of each finger of a glove; when a finger bends, its sensor's resistance rises. The ESP32 reads all five, works out how far each finger is bent, recognises the hand shape, shows the word on a small OLED, chirps, and builds a sentence on a dashboard that a laptop or a phone can show to someone who does not know the signs. Gloves like this are a well-known assistive technology project and the first step into gesture recognition: the same idea drives data gloves for virtual reality, remote robot hands and rehabilitation tools. In this tutorial, we will go through the circuit, see what a flex sensor is and how a voltage divider reads it, why the program converts the voltage back to a resistance before anything else, how a two-point calibration fits the glove to any hand, how the nearest-shape method recognises a sign, why the hand must be still before a sign counts, walk through the code, and then run the simulation: the calibration, seven signs, the OK sign with two half-bent fingers, and a hand shape that is not a sign. At the end, you can download the project with the sketch and every library file. NOTICE: ...