Engineering Blog

Learn it. Build it. Simulate it.

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

2752 articles found.

XIAO nRF54L15 Library for Proteus: Bluetooth LE Simulation

XIAO nRF54L15 Library for Proteus simulation: the fridge alarm with the thermistor, the buzzer and the phone

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 ...

433 MHz Rolling-Code Garage Door Opener on ESP32 (Proteus Simulation)

433 MHz Rolling-Code Garage Door Opener on ESP32 (Proteus Simulation): the opener ESP32 with its 433 MHz receiver, the BTS7960 and the actuator, the beam, and the remote ESP32 with its transmitter

Hello friends, I hope you all are doing great. Today, I am going to share the 433 MHz Rolling-Code Garage Door Opener on ESP32 (Proteus Simulation), the fifty-fifth project of our IoT Projects series. If you have searched for an ESP32 garage door opener, a 433 MHz RF remote with the FS1000A and the XY-MK-5V, how a rolling code stops a replay attack, or a Proteus simulation of a garage door opener, here is a complete one. Two ESP32 boards play the key fob and the opener: every press of the fob sends a new code, the opener checks it and drives the door, finds the door's ends and any obstacle from the motor current, reverses when something breaks the safety beam, and shows everything on a web dashboard on a laptop or a phone. Cheap 433 MHz remotes send the same code every time, and anyone with a receiver can record it and play it back later; that is why garage doors moved to rolling codes decades ago. In this tutorial, we will go through the circuit, see how a 433 MHz ASK link works and what rc-switch puts on the air, build a small rolling code with a counter, a keyed check and a sync window, see why a recorded code is refused, drive a 12 V linear actuator with a BTS7960 and read its current through the IS pins, use that current to find the door's ends and its obstacles, add the safety beam, walk through both Arduino sketches, and then run the simulation: the door opens, a replayed code is refused, the beam and an obstacle make it reverse, and the remote is taken out of range ...

Adafruit CLUE Library for Proteus: Display and BLE Simulation

Adafruit CLUE Library for Proteus simulation: the room comfort display on the CLUE screen

Hello friends, I hope you all are doing great. Today, I am going to share the Adafruit CLUE Library for Proteus, so you can run a display and Bluetooth LE simulation of Adafruit's CLUE. The CLUE has the shape of a micro:bit with a colour screen in the middle: a 1.3" 240 x 240 display, two buttons, a set of sensors and an nRF52840 with Bluetooth LE. Our part is drawn at its real size, and it runs your Arduino sketch in Proteus 8.5 - whatever Adafruit_GFX draws appears on its screen. For the demo we built a Bluetooth room comfort display: the CLUE shows the temperature, the humidity and the pressure with a coloured verdict, draws a 2-minute graph, turns its white LEDs into a night light and sends everything to a phone. NOTICE: Proteus has no nRF52840 model, so our team has put a lot of effort into building this board ourselves: the screen, the pins, the buttons, the LEDs, 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 Adafruit CLUE Library for Proteus: The CLUE (Adafruit product 4500) is a development board with the outline and the edge connector of the BBC micro:bit, so it fits micro:bit cases, robots and breakout boards. Instead of the LED matrix it has a 1.3" 240 x 240 IPS display, and under it ...

SparkFun Pro nRF52840 Mini Library for Proteus: BLE Simulation

SparkFun Pro nRF52840 Mini Library for Proteus simulation: the dimmer with the knob, the lamp and the phone

Hello friends, I hope you all are doing great. Today, I am going to share the SparkFun Pro nRF52840 Mini Library for Proteus, so you can run a Bluetooth LE simulation of SparkFun's Pro nRF52840 Mini. It is a compact red board with a Raytac MDBT50Q module, a LiPo charger, a Qwiic socket for I2C sensors and a row of ground pads beside every header. Our part is drawn at true scale from SparkFun's own board file, and it runs your Arduino sketch in Proteus 8.5 with Bluetooth LE to a phone. For the demo we built a Bluetooth desk lamp dimmer: a knob sets the brightness of a white LED, a button switches it on and off, and a phone follows every change. NOTICE: Proteus has no nRF52840 model, so our team has put a lot of effort into building this board ourselves: the pins, the LEDs, 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 SparkFun Pro nRF52840 Mini Library for Proteus: The Pro nRF52840 Mini (DEV-15025) is SparkFun's small development board for the nRF52840, built around a Raytac MDBT50Q module (an Arm Cortex-M4F at 64 MHz, 1 MB of flash, 256 KB of RAM, Bluetooth LE and native USB) with its antenna at one end. It adds what a portable project needs: a LiPo charger with a JST socket, an ON/OFF switch, a ...

Raspberry Pi 5 Colour Sorter with TCS34725 in Proteus Simulation

Raspberry Pi 5 Colour Sorter with TCS34725 in Proteus Simulation: the Raspberry Pi 5, the TCS34725 over the belt, the belt motor, the TB6612FNG, two pushers and the LCD

Hello friends, I hope you all are doing great. Today, I am going to share the Raspberry Pi 5 Colour Sorter with TCS34725 in Proteus Simulation, the fifty-fourth project of our IoT Projects series. If you have searched for a Raspberry Pi colour sorting machine, a TCS34725 project with the Raspberry Pi, or a Proteus simulation of a conveyor belt, here is a complete one. Items ride a black belt past a colour sensor; the Raspberry Pi 5 reads each item's colour, remembers where it is on the belt, and fires a solenoid pusher at exactly the right moment: red items into bin 1, green items into bin 2, everything else to bin 3 at the end of the belt. An LCD shows the bins, and a web dashboard on a laptop or a phone starts and stops the line. Sorting by colour is everywhere in industry: fruit and grain sorters, recycling lines that separate plastics, pharmaceutical lines that reject a wrongly coloured tablet. In this tutorial, we will go through the circuit, see how the TCS34725 measures colour and why the black belt makes items easy to find, turn red, green and blue counts into a hue the way a colour wheel does, track every item along the belt with the motor's encoder instead of a timer, drive both the belt and two solenoids from one TB6612FNG, catch a jammed belt, walk through the Python program, and then run the simulation: a red, a green and an orange item, two items close together, and a jam. At the end, you can download the project with the program and every library file. NOTICE: ...

ItsyBitsy nRF52840 Library for Proteus: Bluetooth LE Simulation

ItsyBitsy nRF52840 Library for Proteus simulation: the doorbell ringing, the red LED lit, with the phone

Hello friends, I hope you all are doing great. Today, I am going to share the ItsyBitsy nRF52840 Library for Proteus, so you can run a Bluetooth LE simulation of Adafruit's ItsyBitsy nRF52840 Express. The ItsyBitsy is one of the smallest nRF52840 boards: 1.4 x 0.7 inches with a Raytac MDBT50Q module, native USB, 2 MB of flash, a red LED, a DotStar, a user switch and two rows of 14 pins. Our part is drawn at true scale from Adafruit's own board file, and it runs your Arduino sketch in Proteus 8.5 with Bluetooth LE to a phone. For the demo we built a Bluetooth doorbell: a bell push at the door, a two-tone chime and a phone that counts the visitors - with a do-not-disturb switch that keeps the chime quiet but still tells the phone. NOTICE: Proteus has no nRF52840 model, so our team has put a lot of effort into building this board ourselves: the pins, the LED, the switch 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 ItsyBitsy nRF52840 Library for Proteus: The ItsyBitsy nRF52840 Express is Adafruit's smallest Bluetooth board in its ItsyBitsy family: the size of a stick of gum, breadboard-friendly, and built around a Raytac MDBT50Q module with the nRF52840 (an Arm Cortex-M4F at 64 MHz with 1 MB of flash, 256 KB of ...

Nordic Thingy:91 Library for Proteus: Cellular IoT Simulation

Nordic Thingy:91 Library for Proteus simulation: the beehive monitor, HIVE MOVED, the LED red

Hello friends, I hope you all are doing great. Today, I am going to share the Nordic Thingy:91 Library for Proteus, so you can run a cellular IoT sensor simulation of Nordic Semiconductor's Thingy:91. The Thingy:91 is a battery-powered prototyping platform with the nRF9160 cellular SiP, an nRF52840 for Bluetooth, environment, colour and motion sensors, a buzzer, an RGB LED and a big button in one rubber case. With this library it runs your Arduino sketch in Proteus 8.5, reads its sensors and sends and receives SMS over LTE-M or NB-IoT with a GNSS position. For the demo we built a cellular beehive monitor: the Thingy:91 sits under the lid of a hive in a field far from any Wi-Fi. It warns the beekeeper by SMS when the brood gets cold, when the lid is opened and - with the theft watch on - when somebody moves the hive, with a map link to follow it. NOTICE: Proteus has no nRF9160 model and no model of the Thingy's sensors, so our team has put a lot of effort into building this device ourselves: the RGB LED, the button, the sensors and the cellular modem with SMS and GNSS 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 Nordic Thingy:91 Library for Proteus: The Thingy:91 (PCA20035) is Nordic Semiconductor's first cellular Thingy: a ready-made ...

Nordic Thingy:52 Library for Proteus: BLE Sensor Simulation

Nordic Thingy:52 Library for Proteus simulation: the cold-chain monitor TOO WARM, the LED red, with the phone

Hello friends, I hope you all are doing great. Today, I am going to share the Nordic Thingy:52 Library for Proteus, so you can run a Bluetooth LE sensor simulation of Nordic Semiconductor's Thingy:52. The Thingy:52 is a small battery-powered IoT sensor kit: an nRF52832 with temperature, humidity, pressure, gas, colour and motion sensors, a speaker, a microphone, an RGB LED and one big button, all in a rubber case. With this library it runs your Arduino sketch in Proteus 8.5, reads its sensors and talks to a phone over Bluetooth LE. For the demo we built a cold-chain shipping monitor: the Thingy:52 travels in a box of medicine that must stay between 2 and 8 C. It records the time out of range, the minimum, the maximum and every shock, shows the state on its RGB LED, and a phone reads it all at the end of the trip. NOTICE: Proteus has no nRF52832 model and no model of the Thingy's sensors, so our team has put a lot of effort into building this board ourselves: the RGB LED, the button, 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 Nordic Thingy:52 Library for Proteus: The Thingy:52 (PCA20020) is Nordic Semiconductor's first Thingy: a ready-made sensor device for trying Bluetooth LE ideas without ...

Three-Floor Elevator Controller on Raspberry Pi 5 - Proteus Simulation

Three-Floor Elevator Controller on Raspberry Pi 5 - Proteus Simulation: the Raspberry Pi 5, the A4988 and the linear stepper car at floor 2, the floor digit, the call lamps and the door open

Hello friends, I hope you all are doing great. Today, I am going to share the Three-Floor Elevator Controller on Raspberry Pi 5 - Proteus Simulation, the fifty-second project of our IoT Projects series. If you have searched for a Raspberry Pi elevator project, an elevator controller in Python, or a Proteus simulation of a lift with call buttons, a floor display and a safe door, here is a complete one. A Raspberry Pi 5 runs a scale-model three-floor elevator: the car rides on a micro linear stepper's lead screw, it finds its own position at power-up, it answers the call buttons in the order real elevators do, it shows the floor on a 7-segment digit, it opens and closes the door with a servo, and it opens the door again when something steps into the doorway, all with a web dashboard on a laptop or a phone. An elevator looks like a box on a rope, but its controller makes a long series of decisions every second: where the car is, which calls are waiting, which way to go, when to stop, when the door may close. In this tutorial, we will go through the circuit, see how a lead screw turns a stepper's steps into millimetres, why an open-loop stepper must find home at power-up and how it can do it without a switch, set the A4988's current for a tiny motor, look at the SCAN algorithm that real elevators use to serve calls, drive a servo door with a safety beam, walk through the Python program, and then run the simulation: homing, a call to floor 3 with a call to floor 2 picked up on the ...

Classroom Noise Meter: ESP32, KY-038 and SHT31 Proteus Simulation

Classroom Noise Meter: ESP32, KY-038 and SHT31 Proteus Simulation: the ESP32, the KY-038 sound sensor, the SHT31, the SH1106 OLED and the green, amber and red noise light

Hello friends, I hope you all are doing great. Today, I am going to share the Classroom Noise Meter: ESP32, KY-038 and SHT31 Proteus Simulation, the fifty-third project of our IoT Projects series. If you have searched for an ESP32 sound level meter, a KY-038 sound sensor project with the ESP32, or a Proteus simulation of a noise monitor, here is a complete one. A traffic light on the classroom wall turns amber when the class talks and red when it gets too loud, a 1.3" OLED shows the level and the room's temperature and humidity, the meter counts the claps and the bangs, and the teacher sees it all on a web dashboard on a laptop or a phone. A noisy room is tiring for everyone in it: speech gets harder to follow, so people speak louder, which makes the room noisier still. A light that everyone can see breaks that loop without anybody having to shout "quiet!". In this tutorial, we will go through the circuit, see what a decibel is and why the KY-038 can only give a relative level, measure a sound's swing with the ESP32's ADC, build a meter needle with a fast rise and a slow fall, add hysteresis so the light does not flicker, tell a clap from a shout with the KY-038's digital output and an interrupt, check the room's comfort with the SHT31, walk through the Arduino code, and then run the simulation: an empty room, group work, a shouting class, two claps, the school bell and a stuffy afternoon. At the end, you can download the project with the sketch and every library file. ...