uc: Arduino Uno - Page 23 of 40

398 articles found.

ESP-07 Library for Proteus: ESP8266 Wi-Fi Module with u.FL Antenna

ESP-07 Library for Proteus: the ESP8266 ESP-07 Wi-Fi module with an Arduino UNO and an LED on GPIO4

Hello friends, I hope you all are doing great. Today, I am going to share the ESP-07 Library for Proteus. The ESP-07 is the ESP8266 Wi-Fi module for projects where the signal matters: next to its small ceramic antenna it has a u.FL socket for an external antenna. With this library you can place it in Proteus, wire it to an Arduino, send it AT commands and watch it join the Wi-Fi, serve web pages, switch its own GPIO pins and talk TCP to other modules - all inside the simulation. This is the ninth library of our Wi-Fi series, and it brings three things our earlier ESP8266 modules did not have: the antenna jumper (click it and the RSSI goes up by 7 dB), the boot pins that a bare ESP-07 needs (EN, RST, GPIO0 and GPIO15, checked like on the bench) and six free GPIO pins that your Arduino drives with AT commands. As always, the demos end with a project that links this module with the previous library of the series: the ESP-07 and our ESP-01 adapter become a two-way Wi-Fi chat between two Arduinos. NOTICE: real ESP-07 modules differ between makers and batches: some have only the blue LED, the antenna selector sits in different places, and the newer ESP-07S has no ceramic antenna at all. Check your module before you wire it. Your feedback is the fuel that keeps us going, so please tell us what you think in the comments below or in the ESP-07 board of our forum. And if our free libraries help you, you can buy us a coffee. So, let's get started with the ESP-07 Library for Proteus: The ...

ESP-01 Adapter Library for Proteus: ESP8266 ESP-01 on 5V Arduino

ESP-01 Adapter Library for Proteus: the ESP8266 ESP-01 on its 5 V adapter next to the Arduino UNO

Hello friends, I hope you all are doing great. Today, I am going to share the ESP-01 Adapter Library for Proteus. It brings the famous ESP-01 adapter board to Proteus: the small 5 V board with a regulator and a level shifter that the ESP-01 plugs into, so that an Arduino UNO can use the ESP8266 Wi-Fi module with four wires and no extra parts. Your sketch sends AT+CWJAP, AT+CWLAP or AT+CIPSTART over a serial port, and the module scans, joins, serves pages and talks TCP and UDP, right inside the simulation. This is the eighth library of our Wi-Fi series. After the ESP-01S, it is the classic blue ESP-01 again - this time sitting in its adapter, drawn at its real size next to our UNO, with its red power LED and the blue LED on TX. It runs the same AT firmware model as our ESP-01 Library for Proteus. As always, the demos end with a project that links this module with the previous one: the adapter becomes a Wi-Fi remote for the blue LED of the ESP-01S. NOTICE: real ESP-01 adapters differ between makers: the regulator, the input voltage range and the order and labels of the header pins - some print RX and TX from the Arduino's side. Check the silkscreen of your board before you wire it. Your feedback is the fuel that keeps us going, so please tell us what you think in the comments below or in the ESP-01 Adapter board of our forum. And if our free libraries help you, you can buy us a coffee. So, let's get started with the ESP-01 Adapter Library for Proteus: The ESP-01 is a tiny ...

ESP-01S Library for Proteus: ESP8266 WiFi Module for Arduino

ESP-01S Library for Proteus: the ESP8266 ESP-01S Wi-Fi module next to the Arduino UNO, blue LED on

Hello friends, I hope you all are doing great. Today, I am going to share the ESP-01S Library for Proteus. It brings the ESP-01S to Proteus: the tiny black ESP8266 Wi-Fi module with eight pins that gives any Arduino Wi-Fi through AT commands. Your sketch sends AT+CWJAP, AT+CIPSERVER or AT+CIPSTART over a serial port, and the module joins a router, serves web pages and talks TCP and UDP with other boards, right inside the simulation. And it has the one thing that makes the ESP-01S different from its older brother: the blue LED on GPIO2, which your sketch can switch with AT commands. This is the seventh library of our Wi-Fi series. After five ESP32 boards and the ESP8266 WiFi Shield, it is the smallest member of the family. It runs the same AT firmware model as our ESP-01 Library for Proteus and the shield, with the GPIO commands added. As always, the demos end with a project that links this module with the previous one: here the ESP-01S becomes a Wi-Fi doorbell and the WiFi Shield is the bell. NOTICE: real ESP-01S modules differ a little between makers: the antenna shape, the flash chip and the small parts. Ours follows the common black Ai-Thinker style board with the blue LED on GPIO2. Your feedback is the fuel that keeps us going, so please tell us what you think in the comments below or in the ESP-01S board of our forum. And if our free libraries help you, you can buy us a coffee. So, let's get started with the ESP-01S Library for Proteus: The ESP-01S is the improved ...

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

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

433MHz RF Module Library for Proteus V1.0: FS1000A + XY-MK-5V

433MHz RF Module Library for Proteus V1.0: the FS1000A transmitter sending a code

Hello friends, I hope you all are doing great. Today, I am going to share the new 433MHz RF Module Library for Proteus V1.0. The FS1000A transmitter and the XY-MK-5V receiver are the cheapest wireless pair in every Arduino kit: two tiny boards that send a remote-control code across a room, switch a socket, open a gate or carry the reading of a weather sensor. They are also famous for confusing beginners, because the receiver's output is never quiet - it shows noise all the time - and because the range depends so much on the antennas. In Proteus they could not be tried at all. Behind the parts sits our own model of how this pair behaves. The transmitter keys its 433.92 MHz carrier while DATA is HIGH, every receiver of the design hears it 20 us later, and without a carrier the receiver's DATA shows the noise of the band, as on a real module. The distance and the antennas decide what arrives: a perfect signal, a weak one that loses pulses, or nothing but noise. The unmodified rc-switch library sends and receives the codes on two Arduinos. You get Simple devices with a live STATUS panel and Advance devices with a pop-up window that draws every burst and decodes its code. The demo runs on our Arduino UNO V4.0. NOTICE: a 433 MHz pair is easy to fake: a wire from one DATA pin to the other. We wanted more. Our receiver is noisy when nothing is sent, loses pulses when the signal is weak, hears nothing beyond its range, and two transmitters at once collide - so the rc-switch receiver ...