Engineering Blog

Learn it. Build it. Simulate it.

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

2709 articles found.

I2C LCD 20x4 Library for Proteus V1.0 (PCF8574 + Arduino)

I2C LCD 20x4 Library for Proteus V1.0: two Arduino UNOs with a blue and a yellow-green I2C LCD 20x4 and their PCF8574 backpacks, the I2C LCD 20x4 Advance pop-up Display page with four rows of text and a bar graph, and the TEP Serial Monitor printing STATUS

Hello friends, I hope you all are doing great. Today, I am going to share the new I2C LCD 20x4 Library for Proteus V1.0. The I2C LCD 20x4 is the big brother of the 16x2: four rows of 20 characters, 80 characters in all, on a 98 x 60 mm board, with the same small black I2C backpack on its back. It still needs only four wires, GND, VCC, SDA and SCL, so it is the LCD to pick when a 16x2 is too small for your menu, your sensor readings or your status screen. With this I2C LCD 20x4 Library for Proteus, your sketch talks to an LCD that behaves like the real module, including the strange row order of every 20x4. This is the third library of our LCD series, after the LCD 16x2 Library for Proteus V3.0 and the I2C LCD 16x2 Library for Proteus V1.0, and it is our own model of the whole module: the PCF8574 I2C port expander of the backpack and the HD44780 controller of the LCD, wired to a 20x4 glass the way the real one is. You get four devices: a blue and a yellow-green LCD, each as I2C LCD 20x4 Simple, with a live STATUS panel on the schematic, and I2C LCD 20x4 Advance, with a pop-up window, a bus log and four LCD test tools. The demo runs a small dashboard with the popular LiquidCrystal_I2C library on two Arduino UNOs, one LCD at 0x27 and one at 0x3F, with the Simple interface of our TEP Serial Monitor. NOTICE: This library is very special to our team. A 20x4 is not just a 16x2 with more rows: its controller has two lines, and each line runs over two rows of the glass. We modelled ...

I2C LCD 16x2 Library for Proteus V1.0 (PCF8574 + Arduino)

I2C LCD 16x2 Library for Proteus V1.0: two Arduino UNOs with a blue and a yellow-green I2C LCD and their PCF8574 backpacks, the I2C LCD 16x2 Advance pop-up Display page with a bar graph, and the TEP Serial Monitor printing SCAN and STATUS

Hello friends, I hope you all are doing great. Today, I am going to share the new I2C LCD 16x2 Library for Proteus V1.0. The I2C LCD 16x2 is the same blue or yellow-green 1602 character LCD you know, with a small black I2C backpack soldered to its back. Instead of six or more wires, it needs only four: GND, VCC, SDA and SCL. That is why it is the LCD most of us use with an Arduino today. With this I2C LCD 16x2 Library for Proteus, your sketch talks to an LCD that behaves like the real module: the I2C address, the contrast trimmer on the backpack, the backlight jumper, and the real HD44780 behind it. This is the second library of our LCD series, after the LCD 16x2 Library for Proteus V3.0, and it is our own model of the whole module: the PCF8574 I2C port expander of the backpack and the HD44780 controller of the LCD. You get four devices: a blue and a yellow-green LCD, each as I2C LCD 16x2 Simple, with a live STATUS panel on the schematic, and I2C LCD 16x2 Advance, with a pop-up window, a bus log and four LCD test tools, among them a new I2C bus tool. The demo runs the popular LiquidCrystal_I2C library on two Arduino UNOs, one LCD at 0x27 and one at 0x3F, with the Simple interface of our TEP Serial Monitor. NOTICE: This library is very special to our team. We did not just draw a backpack on an LCD: we wrote the PCF8574 I2C chip ourselves, wired it to our HD44780 model exactly like the real backpack, and made the trimmer, the jumper and the address pads clickable. It took our ...

LCD 16x2 Library for Proteus V3.0 (HD44780 + Arduino)

LCD 16x2 Library for Proteus V3.0: two Arduino UNOs with a blue and a yellow-green 16x2 LCD, the LCD 16x2 Advance pop-up Display page with a bar graph, and the TEP Serial Monitor printing the STATUS of the LCD

Hello friends, I hope you all are doing great. Today, I am going to share the new LCD 16x2 Library for Proteus V3.0. The 16x2 character LCD, the blue or yellow-green "1602" display with 16 pins, is the first display most of us connect to an Arduino. It shows two lines of 16 characters and is driven by the famous HD44780 controller. With this LCD 16x2 Library for Proteus, your sketch writes to an LCD that behaves like the real one: the real timing, the contrast pot, the backlight, your own characters, and even the row of blocks you see when the LCD is not initialised. Version 3.0 is the next version of our LCD libraries, and this time it is our own HD44780 model, not a new symbol on top of Proteus's built-in LCD. You get four devices: a blue and a yellow-green LCD, each as LCD 16x2 Simple, with a live STATUS panel on the schematic, and LCD 16x2 Advance, with a pop-up window, a bus log and four LCD test tools. The new LCD 16x2 Arduino Proteus demo runs Arduino's LiquidCrystal library on two Arduino UNOs, with the Simple interface of our TEP Serial Monitor. NOTICE: This library is very special to our team. Instead of drawing one more symbol over Proteus's LCD, we wrote the HD44780 controller ourselves: every command, the busy times, the character ROM, the custom characters, the contrast and the backlight. It took our team a lot of hard work, many test runs and many design changes. Your feedback is the fuel that keeps us going, so please tell us what you think in the comments ...

Heart Beat Sensor Library for Proteus V3.0 (Pulse Sensor + Arduino)

Heart Beat Sensor Library for Proteus V3.0: two Arduino UNOs with round green pulse sensor boards, the Heart Beat Sensor Advance pop-up Pulse page at 77 BPM with the PPG wave and the event log, and the TEP Serial Monitor printing BPM lines

Hello friends, I hope you all are doing great. Today, I am going to share the new Heart Beat Sensor Library for Proteus V3.0. The heart beat sensor, best known as the round green "Pulse Sensor" board, shines green light into your fingertip and turns the tiny change of that light at every heartbeat into a voltage. With this Heart Beat Sensor Library for Proteus, you set the person's heart rate, the finger and the light with buttons, and your Arduino measures the BPM from a real analog pulse signal with analogRead(), as on real hardware. Version 3.0 is the next version of our heart beat sensor library, and it is a new analog model. You get two devices: Heart Beat Sensor Simple, with a live PULSE SCENE panel on the schematic, and Heart Beat Sensor Advance, with a pop-up window and four measured pulse sensor test tools. The new heart beat sensor Arduino Proteus demo runs on two Arduino UNOs with the Simple interface of our TEP Serial Monitor. Please keep in mind: this is a simulation for learning, not a medical device. NOTICE: This library is very special to our team. Our heart beat sensor model is an analog model inside Proteus's SPICE simulator: the voltage on S carries a realistic pulse wave for every heartbeat, with the person's heart rate, breathing, exercise and arrhythmia, the finger's pressure and movement, and the room light. It took our team a lot of hard work, many test runs and many design changes. Your feedback is the fuel that keeps us going, so please tell us what ...

Water Sensor Library for Proteus V2.0 (Water Level Sensor + Arduino)

Water Sensor Library for Proteus V2.0: two Arduino UNOs with red water sensors, the Water Sensor Advance pop-up Tank page at 20 mm reading ADC 495 Medium, and the TEP Serial Monitor in its Simple interface

Hello friends, I hope you all are doing great. Today, I am going to share the new Water Sensor Library for Proteus V2.0. The water sensor is the long red board with a comb of copper traces and three pins, S, + and -, that makers use as a water level sensor in tanks, cups and plant pots. Water on the traces drives a small S8050 transistor, so the S pin gives a voltage that rises with the water. With this Water Sensor Library for Proteus, you fill and drain a virtual tank with buttons, and your Arduino reads S with analogRead(), just like on a real board. Version 2.0 is the next version of our water sensor library: a real analog model inside Proteus's SPICE simulator, with two devices. Water Simple has a live tank scene on the schematic, and Water Advance has a pop-up window with four measured test tools. The new water level sensor Arduino Proteus demo runs on two Arduino UNOs. It powers the sensor from pin D7 only while reading it, the classic trick against corrosion, and shows why such a pin sags under the load. NOTICE: This library is very special to our team. Our water sensor is an analog model: the water between the copper traces, the S8050 emitter follower with its 100 Ω and 1 MΩ resistors, and the PWR LED's load are modelled as SPICE parts, so S is a real voltage in Proteus, and a pin that powers the board really sags. It took our team a lot of hard work, many test runs and many design changes. Your feedback is the fuel that keeps us going, so please tell us what you ...

Rotary Encoder Library for Proteus (KY-040 + Arduino)

Rotary Encoder Library for Proteus V1.0: two Arduino UNOs with KY-040 boards, the KY-040 Advance pop-up spinning clockwise at position 56 and the TEP Serial Monitor in its Simple interface counting Position 40 to 52 (CW)

Hello friends, I hope you all are doing great. Today, I am going to share our new Rotary Encoder Library for Proteus. The KY-040 is the small black rotary encoder module you find in almost every Arduino kit: a knurled knob that turns endlessly in 20 clicks per turn, with a push switch built into the shaft. It is the knob behind many volume controls, menus and set-point inputs. With this Rotary Encoder Library for Proteus, you turn that knob in the simulation (one click, five clicks or a non-stop spin) and press it, and your Arduino reads the CLK, DT and SW pins exactly as it would read the real module, contact bounce included. This is the first version (V1.0) of our rotary encoder library, and it comes with two devices: KY-040 Simple, with an encoder scene and a logic analyzer on the schematic, and KY-040 Advance, with a pop-up window, an event log and four measured encoder test tools. The KY-040 Arduino Proteus demo runs on two Arduino UNOs, counts the clicks with the INT0 interrupt and a 2 ms debounce, and shows everything in the compact Simple interface of our TEP Serial Monitor. NOTICE: This library is very special to our team. Our KY-040 model drives CLK and DT at the exact quadrature edge times of every click, adds contact bounce bursts to every edge, models the push switch with and without its missing pull-up, and measures everything it does: the lead of the leading contact, the time per click, the bounce of every edge and the length of every press. It took our team a ...

Joystick Module Library for Proteus (KY-023 + Arduino)

Joystick Module Library for Proteus: two Arduino UNOs with black KY-023 joystick boards, the Joystick Advance pop-up Stick page held at UP-RIGHT with X 1023 Y 1012 and the TEP Serial Monitor in its Simple interface printing UP-RIGHT

Hello friends, I hope you all are doing great. Today, I am going to share our new Joystick Module Library for Proteus. The KY-023 is the small black thumb joystick module, the same kind of stick you find on a game controller: two 10 k potentiometers measure where the stick is, and a push switch sits under it. With this Joystick Module Library for Proteus, you click or drag the stick in Proteus, and your Arduino reads it with analogRead() and digitalRead(), exactly as it reads a real board. This is version 1.0, the first joystick library from our team. You get two devices: Joystick Simple, with a big control panel on the schematic, and Joystick Advance, with a pop-up window and four measured joystick test tools. The model behaves like a real cheap stick: it does not rest at exactly 512, it springs back to the centre, and its button bounces. The Joystick Arduino Proteus demo runs on two Arduino UNOs and prints the direction ("UP", "DOWN-LEFT", "CENTER"...) in the compact Simple interface of our TEP Serial Monitor. NOTICE: This library is very special to our team. Our joystick model is a real analog part in Proteus's simulator: two pot dividers with the drift, the spring and the round gate of a real stick, and a push switch that bounces like a real tact switch. It took our team a lot of hard work, many test runs and many design changes. Your feedback is the fuel that keeps us going, so please tell us what you think in the comments below or in the Joystick Module Library board of ...

Touch Sensor Library for Proteus V2.0 (TTP223 + Arduino)

Touch Sensor Library for Proteus V2.0: two Arduino UNOs with red TTP223 touch modules, the TTP223 Advance pop-up Touch page with the finger held on the pad and OUT HIGH, and the TEP Serial Monitor in its Simple interface

Hello friends, I hope you all are doing great. Today, I am going to share the new Touch Sensor Library for Proteus V2.0. It simulates the popular TTP223 capacitive touch module: the small red board with a round touch pad that works like a push button without any moving parts. With this Touch Sensor Library for Proteus, you touch the pad with the mouse or with buttons, and your Arduino reads the I/O pin exactly as it reads a real module: LOW while the pad is free and HIGH while a finger is on it. Version 2.0 is the next version of our touch sensor library, built around the behaviour of the real chip: the calibration after power-on, the slower first touch while the chip sleeps, the four jumper modes, the max on time and cover sheets in front of the pad. You get two devices: TTP223 Simple, with a touch scene on the schematic, and TTP223 Advance, with a pop-up window and four measured touch sensor test tools. The new TTP223 Arduino Proteus demo is a touch lamp on two Arduino UNOs, shown in the compact Simple interface of our TEP Serial Monitor. Have you used an earlier version? Then jump to "What's New" below. NOTICE: This library is very special to our team. Our TTP223 model has the chip's calibration, its low-power and fast response times, the four jumper modes, the max on time with its re-calibration, cover sheets, and an event log that measures every touch. It took our team a lot of hard work, many test runs and many design changes. Your feedback is the fuel that keeps us ...

Rain Sensor Library for Proteus V2.0 (FC-37 / YL-83 + Arduino)

Rain Sensor Library for Proteus V2.0: two Arduino UNOs with blue FC-37 rain sensor boards, the Rain Sensor Advance pop-up at RAIN with ADC 664, 45 % and D0 LOW, and the TEP Serial Monitor in its Simple interface

Hello friends, I hope you all are doing great. Today, I am going to share the new Rain Sensor Library for Proteus V2.0. The rain sensor, also called the raindrop sensor, is the popular two-part module: the blue YL-83 rain plate with its two comb-shaped traces, and the small blue FC-37 board with the LM393 comparator. With this Rain Sensor Library for Proteus, you set the weather with a click, from a light drizzle to a storm, and your Arduino reads the plate the same way it reads a real module: analogRead() on A0 and digitalRead() on D0. We have shared earlier versions of our rain sensor library before, but version 2.0 is a big step. The board is now an analog model inside Proteus's SPICE simulator, so A0 is a real voltage. You get Rain Sensor Simple with an animated rain scene on the schematic, and Rain Sensor Advance with a pop-up window and four measured sensor test tools. The new Rain Sensor Arduino Proteus demo runs a rain alarm on two Arduino UNOs, shown in the Simple interface of our TEP Serial Monitor. NOTICE: This library is very special to our team. Its rain sensor board is made of real resistors inside Proteus's SPICE simulator, the plate gets wet and dries with the weather, and the LM393 comparator switches D0 at the moment A0 crosses the pot's voltage. It took our team a lot of hard work, many test runs and many design changes. Your feedback is the fuel that keeps us going, so please tell us what you think in the comments below or in the Rain Sensor Library board ...

Arduino Mini Library for Proteus V4.0 (Mini 05 + Serial Monitor)

Arduino Mini Library for Proteus V4.0: the teal Arduino Mini 05 board ARD1 running the demo in Proteus 8.5, next to its built-in serial monitor in the Simple interface with the demo's start-up text and command list

Hello friends, I hope you all are doing great. Today, I am going to share our new Arduino Mini Library for Proteus V4.0. The Arduino Mini is one of the smallest classic Arduino boards: the same ATmega328P at 16 MHz as the Arduino UNO, on a tiny teal board of only 30 x 18 mm, with no USB port. With this library, you place Arduino's Mini 05 in Proteus, load your sketch's HEX file and watch the board behave like the real one: its pin-13 LED follows your code, its reset button restarts the sketch through the bootloader, and its +5V pin powers the other parts of your circuit. V4.0 is the next version of our Arduino libraries for Proteus. The Mini is one of six boards in it; this post is all about the Mini, and our Arduino Library for Proteus V4.0 post shows all six boards side by side. The Mini V4.0 also gets something the real board does not have: a built-in serial monitor, so you see what your sketch prints without wiring a Virtual Terminal. In the monitor screenshots, it runs in its compact Simple interface. NOTICE: This library is very special to our team. We drew the Mini 05 again from the real board, gave it a working LED, a working reset button with the bootloader, a real +5V pin, and built our TEP Serial Monitor right into it. It took our team a lot of hard work and many test runs. Your feedback is the fuel that keeps us going, so please tell us what you think in the comments below or in the Arduino Proteus Library board of our forum. And if our free libraries help you, ...