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 ...
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: ...
Hello friends, I hope you all are doing great. Today, I am going to share the Coupled Tank Water Level Control on Raspberry Pi 5 in Proteus Simulation, the sixtieth project of our IoT Projects series. If you have searched for a Raspberry Pi water level controller, a PID level control project, or a Proteus simulation of cascade control, here is a complete one. Two tanks hang one above the other: a pump fills the top tank, the top tank drains into the bottom one, and the bottom one drains away. The Raspberry Pi 5 reads both levels, drives the pump, and holds either tank at the level you set with a knob, while a dashboard on a laptop or a phone shows everything. Then a leak opens in the bottom tank, and the Pi not only keeps the level, it works out how much water is being lost and how big the hole is. Coupled tanks are the classic process control lab of engineering courses, because they behave like the real thing: chemical reactors, boilers, water towers and treatment plants are all tanks connected by pipes and valves. In this tutorial, we will go through the circuit, see how Torricelli's law gives the flow out of a tank, turn that into a model the Pi can use, design the PI controllers from the model with a little algebra instead of trial and error, see why a textbook PI overshoots and how setpoint weighting fixes it, build a cascade for the bottom tank, and find a leak with a mass balance. Then we run the simulation: a fill, two setpoint steps, the cascade, the leak, and manual ...
Hello friends, I hope you all are doing great. Today, I am going to share the SMS Solar Pump Controller with ESP32 and SIM800L in Proteus Simulation, the fifty-ninth project of our IoT Projects series. If you have searched for an ESP32 SIM800L project, a GSM pump controller, or a Proteus simulation of an SMS-controlled relay, here is a complete one. A solar water pump stands in a field far from any WiFi; its owner switches it on and off from any phone, with a text message or simply a missed call, and the ESP32 answers every command by SMS. When the tank runs low, the pump stops before it can run dry and the owner gets an alert; in AUTO mode a soil moisture sensor decides when to water. GSM control is still the way many farmers run pumps in remote fields: a mobile signal reaches places that WiFi and wired internet never will, and every phone can send an SMS. In this tutorial, we will go through the circuit, see how the ESP32 talks to the SIM800L with AT commands, how an SMS arrives and how one is sent, why a missed call is a free remote control, how the soil sensor is calibrated, how the pump is protected from running dry, walk through the code, and then run the simulation: commands by SMS, a status report, an empty tank with its alert, a missed call, AUTO watering on dry and wet soil, and an unknown message. 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 ...
Hello friends, I hope you all are doing great. Today, I am going to share the Cashless NFC Vending Machine on Raspberry Pi 5 in Proteus Simulation, the fifty-eighth project of our IoT Projects series. If you have searched for a Raspberry Pi vending machine, a PN532 NFC project with the Raspberry Pi, or a Proteus simulation of cashless payment with MIFARE cards, here is a complete one. The money is kept on the card itself, as on campus, canteen and transport cards: the Raspberry Pi 5 reads the credit from the card with a PN532 reader, takes the price off and writes it back, turns a spiral exactly one turn with an encoder gear motor, and checks with an infrared beam that the item really fell, giving the money back if it did not. A 20x4 LCD guides the customer, and a dashboard on a laptop or a phone tops up cards and restocks the machine. Vending machines have quietly gone cashless, and stored-value cards are one of the oldest ways to do it. In this tutorial, we will go through the circuit, see how an NFC reader talks to a MIFARE Classic card, store a wallet in one 16-byte block with a check that catches a wrong value, take the payment before anything moves and refund it when the item sticks, count one spiral turn with a motor encoder, catch the falling item with an infrared beam, ignore a bouncing button, walk through the Python program, and then run the simulation: a new card, a top-up, purchases, an item that does not drop, a card with too little credit, and the credit still ...
Hello friends, I hope you all are doing great. Today, I am going to share the MAX30102 Heart Rate Zone Trainer on ESP32 in Proteus Simulation, the fifty-seventh project of our IoT Projects series. If you have searched for an ESP32 heart rate monitor, a MAX30102 pulse oximeter project, or a Proteus simulation of SpO2 measurement, here is a complete one. A fingertip rests on a MAX30102 sensor; the ESP32 turns the light it measures into the pulse and the blood oxygen, shows them on a small OLED, beeps with every heartbeat like a hospital monitor, and coaches a workout: it names the heart-rate zone you are training in, counts the seconds in each zone, and raises an alarm when the oxygen drops. A dashboard on a laptop or a phone starts and stops the workout and draws the last 160 seconds. Pulse oximeters clip onto a finger in every hospital ward, and the same sensor sits on the back of every fitness watch. In this tutorial, we will go through the circuit, see how two LEDs and a photodiode can measure a pulse and the oxygen in the blood, find the beats in the infrared wave, work out SpO2 from the red and infrared pulses, turn the pulse into training zones, make the beep's pitch follow the oxygen, walk through the code, and then run the simulation: rest, a walk, a run, a drop in oxygen that sets off the alarm, a finger taken off the sensor, and the workout summary. At the end, you can download the project with the sketch 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 nRF9160 Feather Library for Proteus, so you can run a cellular IoT simulation of Circuit Dojo's nRF9160 Feather. This small Feather board carries Nordic's nRF9160 - an Arm Cortex-M33 with an LTE-M and NB-IoT modem and GPS under one shield - so a project can send data and SMS from anywhere with mobile coverage. With this library the board runs your Arduino sketch in Proteus 8.5, talks to its modem with AT commands and sends and receives SMS. For the demo we built a cellular tank level alarm for a water tank on a farm, far from any Wi-Fi. A float sender reports the level; when the tank runs low the board sends a LOW LEVEL SMS, it counts the water used, and the owner asks for a report by SMS. NOTICE: Proteus has no nRF9160 model, so our team has put a lot of effort into building this board ourselves: the pins, the blue LED, the MODE button and the cellular modem with SMS 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 nRF9160 Feather Library for Proteus: The nRF9160 Feather is Circuit Dojo's development board for Nordic's nRF9160 SiP, in the popular Feather size: 50.8 x 22.86 mm, the same outline and pin layout as Adafruit's Feather boards. Besides the SiP it carries ...
Hello friends, I hope you all are doing great. Today, I am going to share the G-code XY Pen Plotter with Raspberry Pi 5 in Proteus Simulation, the fifty-sixth project of our IoT Projects series. If you have searched for a Raspberry Pi pen plotter, a G-code interpreter in Python, or a Proteus simulation of two stepper axes drawing together, here is a complete one. A 100 mm linear stage moves the pen left and right, a small linear stepper riding on it moves the pen forward and back, and a linear servo lifts and lowers the pen. The Raspberry Pi 5 reads G-code, the language of CNC machines and 3D printers, homes both axes, and drives them so that every line comes out straight. An OLED screen is the paper: every line the pen draws appears on it, and a web dashboard on a laptop or a phone picks the drawing and shows the sheet as it grows. Pen plotters were the first machines that drew computer graphics on paper, and the same idea, two axes and a tool, runs every CNC router, laser cutter and 3D printer today. In this tutorial, we will go through the circuit, work out how many steps a millimetre each axis needs from its lead screw and its driver, set the current of a TMC2209 and an A4988, home one axis with a limit switch and the other against its end stop, move both axes at once so that a slanted line stays straight, lift the pen with an RC servo pulse, read G-code line by line, walk through the Python program, and then run the simulation: homing, a square, a star and the letters ...
Hello friends, I hope you all are doing great. Today, I am going to share the Heltec T114 Library for Proteus, so you can run a LoRa and Bluetooth LE simulation of Heltec's Mesh Node T114. The T114 is a slim 50.8 x 22.9 mm board with an nRF52840 for Bluetooth, a Semtech SX1262 for long-range LoRa radio and a 1.14" colour display - a favourite for off-grid mesh messengers. Our part has its real size, both 13-pin headers and a working display, and it runs your Arduino sketch in Proteus 8.5. For the demo we built a LoRa messenger with two T114s: a node in the field sends temperatures and an SOS, and a base station shows them on its display and hands them to a phone - with no wire, no Wi-Fi and no phone network in between. NOTICE: Proteus has no nRF52840 or SX1262 model, so our team has put a lot of effort into building this board ourselves: the display, the LoRa radio, the pins, the LED, the button 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 Heltec T114 Library for Proteus: The Mesh Node T114 is Heltec's low-power LoRa node built around Nordic's nRF52840 (an Arm Cortex-M4F with Bluetooth LE) and Semtech's SX1262 LoRa transceiver. It is very popular with the Meshtastic and MeshCore communities because it sleeps ...
Hello friends, I hope you all are doing great. Today, I am going to share the XIAO nRF54L15 Library for Proteus, so you can run a Bluetooth LE simulation of Seeed Studio's XIAO nRF54L15. It is the thumb-sized XIAO board with Nordic's new nRF54L15: an Arm Cortex-M33 at 128 MHz, a RISC-V coprocessor and a radio for Bluetooth LE 6.0. Our part has the XIAO's 7 + 7 pins, the USB-C, the user LED and the USER key, and it runs your Arduino sketch in Proteus 8.5. For the demo we built a Bluetooth fridge alarm: an NTC thermistor measures the temperature, a buzzer beeps when the door stays open, and a phone follows the fridge from the next room. NOTICE: Proteus has no nRF54L15 model, so our team has put a lot of effort into building this board ourselves: the pins, the user LED, the USER key 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 XIAO nRF54L15 Library for Proteus: The XIAO nRF54L15 is a member of Seeed Studio's XIAO family: boards of only 21 x 17.8 mm with the same seven castellated pads on each side, so they can be soldered flat onto another PCB or plugged into a breadboard. This one carries Nordic's nRF54L15, the first of the nRF54L series: an Arm Cortex-M33 at 128 MHz with a 128 MHz RISC-V coprocessor, 1.5 MB ...