Engineering Blog

Learn it. Build it. Simulate it.

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

2729 articles found.

Arduino Micro Library for Proteus: USB Media Keys Volume Knob

Arduino Micro Library for Proteus: a USB volume knob with a KY-040, an SSD1306 OLED and a W5500

Hello friends, I hope you all are doing great. Today, I am going to share the Arduino Micro Library for Proteus. The Micro is the Leonardo made small: the same ATmega32U4 with USB on the chip, on a 48 x 18 mm board that plugs into a breadboard. Its USB can be a keyboard, a mouse and - the subject of this post - a media-key device: the volume, mute and play buttons of a multimedia keyboard. With this library it runs your Micro sketch in Proteus 8.5, and the keys it sends reach a PC that the board model plays for you. The demo is a USB volume knob, the kind that sits on a desk next to the monitor: a KY-040 rotary encoder turns the volume up and down, a press plays or pauses, a long press mutes, a small OLED shows the level, and a W5500 Ethernet module serves a page that turns the phone into a remote. NOTICE: Proteus has no ATmega32U4 model with its USB, so our team has put a lot of effort into building this board ourselves: the Micro's pins, LEDs, serial monitor and its USB media keys, keyboard and mouse 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 or in the Arduino Micro board of our forum. And if our free libraries help you, you can buy us a coffee. So, let's get started with the Arduino Micro Library for Proteus: Arduino and Adafruit designed the Micro in 2012 as the smallest board of the Leonardo family. It has the Leonardo's ...

Arduino Leonardo Library for Proteus: USB Keyboard + Mouse

Arduino Leonardo Library for Proteus: a 16-key macro pad with a TTP229 touch keypad and an ESP-01S

Hello friends, I hope you all are doing great. Today, I am going to share the Arduino Leonardo Library for Proteus. The Leonardo looks like an Arduino UNO, but its ATmega32U4 has USB built into the chip. Plug it into a computer and it is not only a serial port: it can be a USB keyboard and a USB mouse. With this library it runs your Leonardo sketch in Proteus 8.5 - and what it types lands on a PC that the board model plays for you. A click on the board's ATmega32U4 opens the PC window: a notepad that types what the sketch types, the keys and the modifiers it holds, the shortcuts, and a screen with the mouse pointer, its clicks and the wheel. The demo is a 16-key macro pad: a TTP229 touch keypad whose pads type text, copy and paste, save and move the mouse, with an ESP-01S that puts the same 16 keys on a web page for the phone and the laptop. NOTICE: Proteus has no ATmega32U4 model with its USB, so our team has put a lot of effort into building this board ourselves: the Leonardo's pins, LEDs, serial monitor and its USB keyboard and mouse 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 or in the Arduino Leonardo board of our forum. And if our free libraries help you, you can buy us a coffee. So, let's get started with the Arduino Leonardo Library for Proteus: Arduino released the Leonardo in 2012 as the first UNO-sized board with a ...

Orange Pi Zero 2W Library for Proteus: SIM800L GSM + PIR Alarm

Orange Pi Zero 2W Library for Proteus: a SIM800L GSM module on UART5 and an alarm lamp

Hello friends, I hope you all are doing great. Today, I am going to share the Orange Pi Zero 2W Library for Proteus. The Orange Pi Zero 2W is a Linux computer of the Raspberry Pi Zero's size with a much bigger engine: the Allwinner H618 with four Cortex-A53 cores at 1.5 GHz, 1 GB of LPDDR4 or more, dual-band Wi-Fi 5 and Bluetooth 5.0, a mini-HDMI, two USB-C sockets and the familiar 40-pin header. With this library the board runs your Python program against the circuit in Proteus 8.5, with the Python packages an Orange Pi uses - wiringpi (Orange Pi's wiringOP-Python) and OPi.GPIO - on our virtual Wi-Fi network. Every library of our board series connects the board to a different module and serves a web page. The Orange Pi Zero 2W becomes a GSM security alarm: an HC-SR501 PIR watches a room, a SIM800L GSM module on the board's UART5 texts the owner's phone when somebody walks in, a lamp flashes, and the owner sends SMS commands back - STATUS, LED ON, LED OFF, ARM and DISARM. A web page on a laptop and a phone shows the alarm and arms or disarms it. NOTICE: this library does not run Debian or Ubuntu. It runs your Python program, with the same Python libraries an Orange Pi uses for its pins, its buses and its network, in step with the simulation. Your feedback is the fuel that keeps us going, so please tell us what you think in the comments below or in the Orange Pi Zero 2W section of our forum. And if our free libraries help you, you can buy us a coffee. So, let's get started ...

Raspberry Pi CM4 IO Board Library for Proteus: MAX485 Modbus HMI

Raspberry Pi CM4 IO Board Library for Proteus: a Modbus RTU master with a MAX485 on the UART

Hello friends, I hope you all are doing great. Today, I am going to share the Raspberry Pi CM4 IO Board Library for Proteus. The Raspberry Pi Compute Module 4 is the Pi 4 made for products: the same BCM2711 with four Cortex-A72 cores at 1.5 GHz, 4 GB of RAM and 32 GB of eMMC flash on a module the size of a matchbox, plugged into its official IO Board with the 40-pin GPIO header, a PCIe slot, Gigabit Ethernet and two HDMI sockets. With this library the CM4 runs your Python program against the circuit in Proteus 8.5, on our virtual network. Every library of our board series connects the board to a different module and serves a web page. A Compute Module usually lives inside a machine or a control cabinet, so this time it does what such boards do there: it is the Modbus RTU master of an RS-485 bus. A MAX485 module on its UART talks to a field node - an Arduino UNO with its own MAX485, a BMP280 sensor and a relay for a fan. The CM4 reads the node's registers, switches the fan by the temperature, and shows it all on an HMI page on a laptop and a phone. NOTICE: this library does not run Raspberry Pi OS. It runs your Python program, with the same Python libraries a Pi uses for its pins, its buses and its network, in step with the simulation. Your feedback is the fuel that keeps us going, so please tell us what you think in the comments below or in the Raspberry Pi CM4 IO Board section of our forum. And if our free libraries help you, you can buy us a coffee. So, let's get started ...

LilyGO T-Beam Library for Proteus: GPS + SX1262 LoRa Tracker

LilyGO T-Beam Library for Proteus: a LoRa GPS tracker and its Heltec base station with the OLEDs on

Hello friends, I hope you all are doing great. Today, I am going to share the LilyGO T-Beam Library for Proteus. The T-Beam is the board behind countless LoRa trackers and Meshtastic nodes: an ESP32 with Wi-Fi, a LoRa radio, a u-blox GPS receiver with its big ceramic antenna and a holder for an 18650 cell, all on one long board. With this library it runs your T-Beam sketch in Proteus 8.5 - and the GPS moves. The board's GPS sends real NMEA sentences for a route you set in its properties, and its SX1262 talks to our Heltec WiFi LoRa 32 V3. The demo is a LoRa GPS tracker in a delivery van with a cold box: the T-Beam reports its position and the box's temperature, and a Heltec base station shows how far away the van is, in which direction, on its OLED and on a web page. NOTICE: Proteus has no ESP32, SX1262 or GPS model, so our team has put a lot of effort into building this board ourselves: the T-Beam's pins, GPS, radio, OLED and LEDs 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 or in the LilyGO T-Beam board of our forum. And if our free libraries help you, you can buy us a coffee. So, let's get started with the LilyGO T-Beam Library for Proteus: LilyGO (Xinyuan) designed the T-Beam as a complete tracker on one board. Version 1.2 has an ESP32-D0WDQ6-V3 with 4 MB of flash and 8 MB of PSRAM, a LoRa module - the SX1276 / SX1278 or, in ...

Heltec WiFi LoRa 32 V3 Library for Proteus: SX1262 LoRa + OLED

Heltec WiFi LoRa 32 V3 Library for Proteus: a LoRa field node and its Wi-Fi gateway with the OLEDs on

Hello friends, I hope you all are doing great. Today, I am going to share the Heltec WiFi LoRa 32 V3 Library for Proteus. The Heltec V3 is the little white board that so many LoRa projects start with: an ESP32-S3 with Wi-Fi, a Semtech SX1262 LoRa radio for links of kilometres, and a 0.96" OLED to show what is going on - all on one board the size of a matchbox. With this library it runs your Heltec V3 sketch in Proteus 8.5, radio and OLED included. Because the radio lives inside the board, two Heltec boards in one design talk to each other. The demo uses that: a LoRa field node with a temperature and humidity sensor, a light sensor and a soil moisture probe sends its readings to a LoRa to Wi-Fi gateway, which shows them on its OLED and on a web page - and the page sends commands back to the node over LoRa. NOTICE: Proteus has no ESP32-S3 or SX1262 model, so our team has put a lot of effort into building this board ourselves: the Heltec's pins, radio, OLED and LEDs 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 or in the Heltec WiFi LoRa 32 V3 board of our forum. And if our free libraries help you, you can buy us a coffee. So, let's get started with the Heltec WiFi LoRa 32 V3 Library for Proteus: Heltec Automation makes development boards for LoRa, and the WiFi LoRa 32 is their best-known one. The third version (V3) moved to ...

Arduino Due Library for Proteus: DAC Signal Generator, 3.5" TFT

Arduino Due Library for Proteus: a DAC signal generator with a 3.5 inch TFT scope and an Ethernet Shield 2

Hello friends, I hope you all are doing great. Today, I am going to share the Arduino Due Library for Proteus. The Due was the first Arduino with a 32-bit ARM processor: an Atmel SAM3X8E - a Cortex-M3 at 84 MHz with 512 KB of flash and 96 KB of RAM - on the big Mega-sized board, with the Mega's headers and two things no AVR Arduino has: two real DACs. With this library it runs your Arduino Due sketch in Proteus 8.5, with the Due's own pin numbers. The demo puts those DACs to work. It is a two-channel signal generator - sine, triangle, saw and square from 20 to 200 Hz - that measures its own outputs and draws them on a 3.5 inch TFT LCD shield like a small oscilloscope, while an Arduino Ethernet Shield 2 gives it a web page to change the wave from a phone or a laptop. NOTICE: Proteus has no SAM3X8E model, so our team has put a lot of effort into building this board ourselves: the Due's pins, DACs and LEDs 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 or in the Arduino Due board of our forum. And if our free libraries help you, you can buy us a coffee. So, let's get started with the Arduino Due Library for Proteus: Arduino released the Due in 2012. It keeps the size and the header layout of the Arduino Mega 2560 - 54 digital pins, 12 analog inputs, four serial ports - but replaces the 8-bit AVR with Atmel's SAM3X8E, so the same ...

Teensy 4.1 Library for Proteus: MCP2515 CAN Logger, SD, W5500

Teensy 4.1 Library for Proteus: a CAN bus logger with an MCP2515, a micro SD card module and a W5500

Hello friends, I hope you all are doing great. Today, I am going to share the Teensy 4.1 Library for Proteus. The Teensy 4.1 from PJRC is one of the fastest boards you can program in the Arduino IDE: an NXP i.MX RT1062 - an ARM Cortex-M7 at 600 MHz with 1 MB of RAM and 8 MB of flash - on a stick of a board 61 mm long. With this library it runs your Teensy Arduino sketch in Proteus 8.5, with the Teensy's own pin numbers. The demo is a CAN bus data logger, a job the Teensy 4.1 often gets in cars, tractors and machines. An MCP2515 CAN module listens to an engine node, a micro SD card module keeps every frame in a CSV file, and a W5500 Ethernet module gives the logger a web page for a phone and a laptop - with buttons that send frames back onto the bus. NOTICE: Proteus has no i.MX RT1062 model, so our team has put a lot of effort into building this board ourselves: the Teensy's pins and LEDs 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 or in the Teensy 4.1 board of our forum. And if our free libraries help you, you can buy us a coffee. So, let's get started with the Teensy 4.1 Library for Proteus: The Teensy boards are designed by Paul Stoffregen of PJRC in Oregon, and Teensyduino, the add-on that brings them to the Arduino IDE, has been around since the first Teensy in 2008. The Teensy 4.1 is the biggest of the fourth generation: ...

STM32 Blue Pill Library for Proteus: A4988 Stepper, KY-040, LCD

STM32 Blue Pill Library for Proteus: a rotary table with an A4988, a KY-040, an ST7920 LCD and a W5500

Hello friends, I hope you all are doing great. Today, I am going to share the STM32 Blue Pill Library for Proteus. The Blue Pill is the board that brought STM32 to hobbyists: an STM32F103C8T6 - an ARM Cortex-M3 at 72 MHz with 64 KB of flash and 20 KB of RAM - on a small blue board that costs less than an Arduino Nano. With this library it runs your STM32 Arduino sketch in Proteus 8.5, with the STM32 core's pin names. The demo is a motorised rotary table, the kind that indexes a part under a drill or turns a camera for a panorama. A KY-040 encoder sets the angle, an A4988 driver turns a NEMA 17 stepper to it, a 128 x 64 ST7920 LCD shows a dial, and a W5500 Ethernet module gives the table a page with presets for a phone and a laptop. NOTICE: Proteus has no STM32F103 model, so our team has put a lot of effort into building this board ourselves: the Blue Pill's pins, button and LEDs 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 or in the STM32 Blue Pill board of our forum. And if our free libraries help you, you can buy us a coffee. So, let's get started with the STM32 Blue Pill Library for Proteus: "Blue Pill" is the nickname of a generic board made by many Chinese factories since about 2016. It carries the STM32F103C8T6, a chip turned 45 degrees in the middle of the board, an 8 MHz crystal for the CPU and a 32.768 kHz crystal for ...

Raspberry Pi Pico 2 Library for Proteus: MAX30102 Oximeter

Raspberry Pi Pico 2 Library for Proteus: a pulse oximeter with a MAX30102, an SSD1306 OLED and a W5500

Hello friends, I hope you all are doing great. Today, I am going to share the Raspberry Pi Pico 2 Library for Proteus. The Pico 2 is the second generation of the Raspberry Pi Pico: the same 51 x 21 mm board and the same pins, with the new RP2350 - two Arm Cortex-M33 cores (or two RISC-V cores) at 150 MHz and 520 KB of RAM - in place of the RP2040. With this library it runs your Pico 2 Arduino sketch in Proteus 8.5, with the GP pin numbers of the arduino-pico core. The demo is a finger pulse oximeter. A MAX30102 measures the pulse and the blood oxygen through the finger, a 0.96" SSD1306 OLED shows them with the pulse waveform, and a W5500 Ethernet module puts the Pico 2 on the network with a page for a phone and a laptop. When the oxygen falls or the pulse races, the alarm shows everywhere at once. NOTICE: Proteus has no RP2350 model, so our team has put a lot of effort into building this board ourselves: the Pico 2's pins, button and LED 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 or in the Raspberry Pi Pico 2 board of our forum. And if our free libraries help you, you can buy us a coffee. So, let's get started with the Raspberry Pi Pico 2 Library for Proteus: Raspberry Pi made the Pico 2 a drop-in upgrade: every pin, the BOOTSEL button, the micro-USB and the board outline stayed where they were on the first Pico, so old ...