Engineering Blog

Learn it. Build it. Simulate it.

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

2737 articles found.

ESP8266 WiFi Shield Library for Proteus: ESP-12E UART Shield for UNO

ESP8266 WiFi Shield Library for Proteus: the ESP-12E UART WiFi Shield next to the Arduino UNO, on Wi-Fi

Hello friends, I hope you all are doing great. Today, I am going to share the ESP8266 WiFi Shield Library for Proteus. It brings the popular ESP8266 ESP-12E UART WiFi Shield to Proteus: the black shield that plugs on an Arduino UNO and gives it Wi-Fi through AT commands. Your UNO sketch sends AT+CWJAP, AT+CIPSERVER or AT+CIPSTART over its serial port, and the shield joins a router, serves web pages, uploads to the cloud and talks UDP with other boards, right inside the simulation. This is the sixth library of our Wi-Fi series and the first shield of it, after five ESP32 boards. The shield runs the same AT firmware model as our ESP-01 Library for Proteus, so everything you know from the ESP-01 works here too - but on a real shield board with its DIP switches, the ESP RST button and four status LEDs. As always, the demos end with a project that links this module with the previous one: our TTGO T-Display. NOTICE: real ESP8266 shields differ between makers: the number of switches, which switch does what, the LEDs and the buttons. Ours follows the common 4-switch version with PWR, DFU, AP and STA LEDs. Check the silkscreen of your board before you copy a switch setting. Your feedback is the fuel that keeps us going, so please tell us what you think in the comments below or in the ESP8266 WiFi Shield board of our forum. And if our free libraries help you, you can buy us a coffee. So, let's get started with the ESP8266 WiFi Shield Library for Proteus: The ESP8266 ESP-12E UART WiFi ...

TTGO T-Display ESP32 Library for Proteus: TFT Display and Wi-Fi

TTGO T-Display ESP32 Library for Proteus: the board with its 1.14 inch display showing a Wi-Fi clock

Hello friends, I hope you all are doing great. Today, I am going to share the TTGO T-Display ESP32 Library for Proteus. It is the fifth board of our Wi-Fi series, after the ESP32 DevKit V1 Library for Proteus V2.0, the ESP32-DevKitC V4, the ESP32-S3 DevKitC-1 Library for Proteus and the ESP32-C3 SuperMini Library for Proteus: LilyGO's TTGO T-Display, the ESP32 board with a 1.14" 135 x 240 IPS colour display right on it, two buttons and a USB-C port. In Proteus the display really works: every pixel your sketch draws appears on the board. Let us be clear from the first line: Proteus 8 has no model of the ESP32's Xtensa cores, so our team has put a lot of effort into building this board ourselves: the T-Display's pins, its ST7789 display, its buttons and Wi-Fi are all our own model. You write a normal ESP32 Arduino sketch with the Adafruit ST7789 library for the display, WiFi, WebServer or HTTPClient, and compile it with our free Arduino IDE add-on, TEP Boards for Proteus. The simulation has its limits: 8 KB of RAM for your sketch, no FreeRTOS tasks, no Bluetooth - we list every limit below. NOTICE: this board brought two new things to our ESP32 model: a real display (our ST7789 controller model, fed bit by bit from the SPI pins) and hidden pins - the display bus, the buttons and the USB serial are not on the T-Display's header, and on our part they are not either. Your feedback is the fuel that keeps us going, so please tell us what you think in the comments below or in the ...

ESP32-C3 SuperMini Library for Proteus: Tiny Wi-Fi Board

ESP32-C3 SuperMini Library for Proteus: the tiny 16-pin board with its blue LED lit

Hello friends, I hope you all are doing great. Today, I am going to share the ESP32-C3 SuperMini Library for Proteus. It is the fourth board of our Wi-Fi series, after the ESP32 DevKit V1 Library for Proteus V2.0, the ESP32-DevKitC V4 Library for Proteus and the ESP32-S3 DevKitC-1 Library for Proteus: the tiny ESP32-C3 SuperMini, a board smaller than a postage stamp with sixteen pins, a USB-C port, two buttons and a blue LED - the cheapest way to put a Wi-Fi chip into a small project. Let us be clear from the first line: Proteus 8 has no model of the C3's RISC-V core, so our team has put a lot of effort into building this board ourselves: the C3's pins, its LEDs, its buttons and Wi-Fi are all our own model. You write a normal ESP32-C3 Arduino sketch (GPIO numbers 0 to 10, 20 and 21, LED_BUILTIN on GPIO8, analogRead() from 0 to 4095, attachInterrupt() on any pin, WiFi, WebServer, HTTPClient) and compile it with our free Arduino IDE add-on, TEP Boards for Proteus. The simulation has its limits: 8 KB of RAM for your sketch, no FreeRTOS tasks, no Bluetooth and no native USB - we list every limit below. NOTICE: the real SuperMini has no RESET pin, so this board taught our model and our Arduino add-on a new trick: its RST button restarts the board through the watchdog - TEP Boards for Proteus is now version 1.3.0. Your feedback is the fuel that keeps us going, so please tell us what you think in the comments below or in the ESP32-C3 SuperMini board of our forum. And if our free ...

ESP32-S3 DevKitC-1 Library for Proteus: RGB LED and Wi-Fi

ESP32-S3 DevKitC-1 Library for Proteus: the 44-pin board with its RGB LED in magenta

Hello friends, I hope you all are doing great. Today, I am going to share the ESP32-S3 DevKitC-1 Library for Proteus. It is the third board of our Wi-Fi series, after the ESP32 DevKit V1 Library for Proteus V2.0 and the ESP32-DevKitC V4 Library for Proteus: Espressif's newer ESP32-S3 on its official 44-pin development board, with the feature everybody loves on it - the addressable RGB LED on GPIO48. Let us be clear from the first line: Proteus 8 has no model of the S3's Xtensa LX7 cores, so our team has put a lot of effort into building this board ourselves: the S3's pins, its RGB LED and Wi-Fi are all our own model. You write a normal ESP32-S3 Arduino sketch (GPIO numbers up to 48, rgbLedWrite(), analogRead() from 0 to 4095, attachInterrupt() on any pin, WiFi, WebServer, HTTPClient) and compile it with our free Arduino IDE add-on, TEP Boards for Proteus. The simulation has its limits: 8 KB of RAM for your sketch, no FreeRTOS tasks, no Bluetooth and no native USB - we list every limit below. NOTICE: the S3 numbers its GPIOs up to 48 and carries an RGB LED, so this board taught our model and our Arduino add-on new things: GPIO numbers beyond 39, rgbLedWrite() and neopixelWrite(), and analog readings taken by the board model itself. Your feedback is the fuel that keeps us going, so please tell us what you think in the comments below or in the ESP32-S3 DevKitC-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 ...

ESP32-DevKitC V4 Library for Proteus: 38-Pin Wi-Fi Board

ESP32-DevKitC V4 Library for Proteus: the 38-pin board on Wi-Fi

Hello friends, I hope you all are doing great. Today, I am going to share the ESP32-DevKitC V4 Library for Proteus. This is the second board of our Wi-Fi series. The first was the ESP32 DevKit V1 Library for Proteus V2.0, the 30-pin DOIT board that runs your ESP32 sketch with Wi-Fi inside Proteus. Today it is the turn of Espressif's own development board, the 38-pin ESP32-DevKitC V4 - the board in Espressif's documentation, with every GPIO on its headers and the BOOT button on GPIO0. Let us be clear from the first line: Proteus 8 has no model of the ESP32's Xtensa processor, so our team has put a lot of effort into building this board ourselves: the ESP32's pins, rules and Wi-Fi are all our own model. You write a normal ESP32 Arduino sketch (GPIO numbers, analogRead() from 0 to 4095, ledcWrite(), attachInterrupt() on any pin, touchRead(), WiFi, WiFiUDP, WebServer, HTTPClient) and compile it with our free Arduino IDE add-on, TEP Boards for Proteus. The simulation has its limits: 8 KB of RAM for your sketch, no FreeRTOS tasks and no Bluetooth - we list every limit below. NOTICE: the DevKitC V4 shares its model with our DevKit V1, so the hard part - a board package for the Arduino IDE and a Wi-Fi network inside Proteus - was already there. For this board we drew Espressif's layout pin for pin, put GPIO0 on the header, and taught the model to drive an LED with PWM. Your feedback is the fuel that keeps us going, so please tell us what you think in the comments below or in the ...

ESP32 DevKit V1 Library for Proteus V2.0: Wi-Fi Simulation

ESP32 DevKit V1 Library for Proteus V2.0: the board on Wi-Fi with its blue D2 LED on

Hello friends, I hope you all are doing great. Today, I am going to share the new ESP32 DevKit V1 Library for Proteus V2.0. Back in 2023 we shared the first ESP32 Library for Proteus: a nice ESP32 board you could place on the sheet, but it ran an Arduino UNO HEX file and had no Wi-Fi - Proteus simply has no ESP32 processor inside. Many of you asked for more: you wanted to run a real ESP32 sketch, with WiFi.begin(), a web server and a phone that opens its page. Version 2.0 does exactly that. Let us be clear from the first line: Proteus 8 has no model of the ESP32's Xtensa processor, so our team has put a lot of effort into building this board ourselves: the ESP32's pins, rules and Wi-Fi are all our own model. You write a normal ESP32 Arduino sketch (GPIO numbers, analogRead() from 0 to 4095, ledcWrite(), attachInterrupt() on any pin, WiFi, WebServer, HTTPClient, ESPmDNS, NTP time) and compile it with our free Arduino IDE add-on, TEP Boards for Proteus. The board joins a virtual router, gets an address, serves pages to a phone in its panel, talks to an internet host and to our ESP-01 modules on the same network. The simulation has its limits: 8 KB of RAM for your sketch, no FreeRTOS tasks and no Bluetooth - we list every limit below. NOTICE: a board that only looks like an ESP32 would have been easy. We wanted your ESP32 sketch to work as it is: the same pin numbers, the same Wi-Fi calls, a web server a phone can open, an ESP-01 on the same router. It took our team a lot of ...

MCP2515 CAN Bus Module Library for Proteus V1.0: Arduino CAN

MCP2515 CAN Bus Module Library for Proteus V1.0: the module with its STATUS panel next to an Arduino UNO

Hello friends, I hope you all are doing great. Today, I am going to share the new MCP2515 CAN Bus Module Library for Proteus V1.0. CAN is the network inside every modern car: the engine, the brakes, the dashboard and dozens of other controllers share two wires, CANH and CANL, and talk without a master. Tractors, lifts, robots and factory machines use it too. The cheap blue MCP2515 module with its TJA1050 transceiver puts an Arduino on such a bus over SPI. Until now there was no MCP2515 in Proteus on which you could watch two Arduinos talk over CAN. Behind the parts sits our own model, written from the MCP2515 datasheet and the CAN 2.0 specification. It answers the SPI instructions of the chip, keeps its registers, and puts every frame on CANH and CANL bit by bit: the identifier, the data, the CRC-15, the stuff bits and the ACK slot. Two nodes that start together go through a real arbitration, a broken frame ends in an error frame and is sent again, and the error counters climb exactly as on a real chip. You get a Simple device with a STATUS panel of the last frames, and an Advance device with a pop-up window where you can click any frame to see it field by field and bit by bit. The demo runs on two of our Arduino UNO V4.0 boards: an engine and a dashboard. NOTICE: a CAN module is easy to fake: a wire that copies one Arduino's data to the other. We wanted more. Our module puts each bit on the bus at its own bit time, so a dominant bit of one node overwrites a recessive bit of ...

MAX485 RS485 Module Library for Proteus V1.0: Modbus RTU + Arduino

MAX485 RS-485 Module Library for Proteus V1.0: the module with its STATUS panel next to an Arduino UNO

Hello friends, I hope you all are doing great. Today, I am going to share the new MAX485 RS-485 Module Library for Proteus V1.0. RS-485 is how microcontrollers talk across a factory floor, a farm or a building: two wires, A and B, carry the data hundreds of meters, and many devices share them - energy meters, temperature controllers, VFDs, PLCs. Most of them speak Modbus RTU. The small MAX485 module puts an Arduino on that bus. Until now there was no MAX485 module in Proteus on which you could watch a Modbus master and a slave talk. Behind the parts sits our own model, written from the MAX485 datasheet and the Modbus RTU specification. DE turns the driver on and RE the receiver, the board's bias resistors hold the idle line, and the A and B pins of two modules form a real half-duplex bus - two drivers at once is a collision. Every byte on the bus is decoded, grouped into Modbus RTU frames, checked with its CRC and explained: which slave, which function, which registers. You get a Simple device with a STATUS panel of the last frames, and an Advance device with a pop-up window where you can click any frame to see it field by field. The demo runs on two of our Arduino UNO V4.0 boards: a Modbus master with the ModbusMaster library and a Modbus slave. NOTICE: an RS-485 module is easy to fake: a wire that copies TX to RX. We wanted more. Our module only drives the bus while DE is HIGH, so a sketch that drops DE too early loses its last byte, a node that leaves RE LOW hears itself, ...

Micro SD Card Module Library for Proteus V1.0: Arduino Data Logger

Micro SD Card Module Library for Proteus V1.0: the module with its STATUS panel and file browser

Hello friends, I hope you all are doing great. Today, I am going to share the new Micro SD Card Module Library for Proteus V1.0. The micro SD card module is how an Arduino keeps data: a data logger writes its readings to a CSV file, a game loads its levels, a clock keeps a record of every event, and you take the card to your PC afterwards. The Arduino talks to the card over SPI with four wires, and the SD library does the rest. Until now there was no SD card module in Proteus that the real SD library could read and write. Behind the parts sits our own model, written from the SD card specification. The card wakes up in SD mode and enters SPI mode on CMD0, answers CMD8, needs ACMD41 until it has finished its power-up, reports itself as a standard-capacity card with CMD58, then reads and writes blocks of 512 bytes with the data tokens, the CRC and the busy time of a real card. On the card is a real FAT16 file system - a 64 MB card partitioned as a PC formats it - so the unmodified SD library mounts it, lists its folders, reads files and writes new ones. You get a Simple device with a STATUS panel that is a file browser, and an Advance device with a pop-up window that also shows every SPI command. The demo runs on our Arduino UNO V4.0. NOTICE: an SD card is easy to fake: a part that hands the sketch a file when it asks for one. We wanted more. Our card does not know what a file is - it only knows blocks, like the real one. The SD library on the Arduino finds the partition, the ...

DS3231 RTC Module Library for Proteus V1.0: Real Time Clock + Arduino

DS3231 RTC Module Library for Proteus V1.0: the ZS-042 module with its STATUS panel while an alarm fires

Hello friends, I hope you all are doing great. Today, I am going to share the new DS3231 RTC Module Library for Proteus V1.0. The DS3231 is the real-time clock of almost every Arduino clock, data logger, timer and alarm project: a small blue board with a coin cell that keeps the time and the date even while the Arduino is off. The Arduino reads the time over I2C whenever it needs it, sets alarms that pull a pin LOW at a given second, and stores data in the EEPROM chip next to the clock. Until now there was no DS3231 module to try all that in Proteus. Behind the parts sits our own model, written from the DS3231 and AT24C32 datasheets. The clock counts in BCD in the same registers as the real chip, a fresh module starts at 2000-01-01 with OSF set, the two alarms pull INT / SQW LOW at their exact simulation time, the pin can give a 1 Hz square wave, the temperature is converted every 64 s, the coin cell keeps the time when VCC goes, and the AT24C32 keeps 4 KB of your data. The unmodified RTClib drives it on the Arduino. You get a Simple device with a live STATUS panel and an Advance device with a pop-up window that shows the clock, every register and every I2C transaction. The demo runs on our Arduino UNO V4.0. NOTICE: a real-time clock is easy to fake: a part that answers the PC's time whenever it is asked. We wanted more. Our module keeps its own time from the moment the simulation starts, latches the seven time registers at the start of a read as the real chip does, refuses ...