Engineering Blog

Learn it. Build it. Simulate it.

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

2697 articles found.

ILI9341 TFT LCD Library for Proteus V1.0 (2.4 / 2.8 inch Touch)

TFT ILI9341 Library for Proteus V1.0: an Arduino UNO V4.0 with the 2.8 inch TFT Simple showing a touch dashboard, the TFT Advance pop-up with the colour test, and the serial monitor printing the touches

Hello friends, I hope you all are doing great. Today, I am going to share the new TFT ILI9341 Library for Proteus V1.0. The red 2.4" and 2.8" TFT with touch is the colour screen that turns an Arduino project into a real device: 240 x 320 pixels, 65,536 colours, a bright backlight and a resistive touch screen you can press, all on a few SPI wires. Buttons, sliders, menus and drawing pads become possible. With this TFT ILI9341 Library for Proteus, your sketch draws on a TFT that behaves like the real one, and you touch it with the mouse: click and drag on the glass, and the touch controller reports the point, just as a finger would. This is our own model of the module, with two chips written from their datasheets: the ILI9341 display controller, with the SPI interface bit by bit, every command, the frame memory, the rotations, the colour order, the backlight and even the register reads; and the XPT2046 touch controller, with its conversions, the pressure and the touch interrupt. You get four devices, the 2.8" and the 2.4" module, each as TFT Simple with a live STATUS panel on the schematic and as TFT Advance with a pop-up window, a bus log and five TFT test tools. The demo runs on our Arduino UNO V4.0, with its serial monitor built into the board. NOTICE: This library is very special to our team. It is our first display you can touch: two chips on one SPI bus, a 76,800-pixel colour glass and a resistive film that turns a mouse click into raw coordinates and pressure. We ...

TM1637 7-Segment Display Library for Proteus V1.0 (4-Digit Module)

TM1637 7-Segment Display Library for Proteus V1.0: an Arduino UNO V4.0 with the 4-digit TM1637 module counting, and the Advance pop-up showing the clock with its display RAM and frames

Hello friends, I hope you all are doing great. Today, I am going to share the new TM1637 7-Segment Display Library for Proteus V1.0. The small blue board with a red "88:88" display is the cheapest way to put a clock, a timer or a counter on an Arduino: four digits, a colon, only two wires and one line of code with the TM1637Display library. Now this TM1637 4-digit display module is ready for your Proteus simulations too, every segment glowing as on the real board. Behind the digits sits our own model of the TM1637, written from the Titan Micro datasheet: the 2-wire bus with its START, STOP and ACK, the data, address and display-control commands, the eight brightness steps, the open-drain lines with the board's pull-ups, and the digit order of the real module, where the first address is the leftmost digit and the colon is a bit of the second one. You get two devices, a Simple one with a live STATUS panel and an Advance one with a pop-up window and four test tools, and the demo runs TM1637Display on our Arduino UNO V4.0 with its serial monitor built into the board. NOTICE: the TM1637 is famous for one surprise: the wiring is right, the code compiles, and the display stays dark. We built this model so you can see why on the screen, and we checked it against the real TM1637Display library, frame by frame. It took our team a lot of hard work. Your feedback is the fuel that keeps us going, so please tell us what you think in the comments below or in the LCD Library board of our ...

LCD 128x64 Library for Proteus V1.0 (ST7920 128x64 + Arduino)

LCD 12864 Library for Proteus V1.0: an Arduino UNO V4.0 with the blue 12864 Simple showing a dashboard, and the LCD 12864 Advance pop-up Display page with the graphics test

Hello friends, I hope you all are doing great. Today, I am going to share the new LCD 12864 Library for Proteus V1.0. The 12864 is the big graphic LCD of the Arduino world: 128 x 64 dots on a 93 x 70 mm board, white dots on a blue glass or dark dots on a yellow-green one, with the ST7920 controller behind it. It is the screen of many 3D printer controllers, and the natural next step when a 16 x 2 character LCD is too small for your menus, graphs and icons. With this LCD 12864 Library for Proteus, your sketch draws on a 12864 that behaves like the real one, including its famous puzzles: the PSB pin, the G bit and the folded memory. This is our own model of the module, with the ST7920 written from its datasheet: the serial bus and the 8-bit / 4-bit parallel bus, both instruction sets, the graphics memory, the text layer with the chip's own font, the busy times, the contrast trimmer and the backlight. You get four devices, the blue and the yellow-green module, each as LCD 12864 Simple with a live STATUS panel on the schematic and as LCD 12864 Advance with a pop-up window, a bus log and four LCD test tools. The demo runs on our Arduino UNO V4.0, with its serial monitor built into the board. NOTICE: This library is very special to our team. The ST7920 looks simple, 128 x 64 dots, but inside it is a 256 x 32 chip folded in two, with two buses, two instruction sets and two layers on one glass. We modelled it from the datasheet, tested it dot by dot against the real U8g2 library on ...

MAX7219 7-Segment Display Library for Proteus V1.0 (8-Digit Module)

MAX7219 7-Segment Display Library for Proteus V1.0: an Arduino UNO V4.0 with the 8-digit module counting, and the Advance pop-up showing the clock 12-00-07 with the MAX7219 registers and frames

Hello friends, I hope you all are doing great. Today, I am going to share the new MAX7219 7-Segment Display Library for Proteus V1.0. The long blue board with eight red digits is the quickest way to give an Arduino a real display: a counter, a clock, a voltmeter reading, a score. One MAX7219 on the back does all the multiplexing, the Arduino needs only three pins, and with the LedControl library a number is one line of code. Now this 8-digit 7-segment module is ready for your Proteus simulations too, every segment glowing as on the real board. Behind the digits sits our own model of the MAX7219, written from the Maxim datasheet: the 16-bit serial packets, the digit, Code B decode, intensity, scan-limit, shutdown and display-test registers, DOUT for the next module, and the digit order of the real board, where digit 0 is the rightmost one. You get two devices, a Simple one with a live STATUS panel and an Advance one with a pop-up window and four test tools, and the demo runs LedControl on our Arduino UNO V4.0 with its serial monitor built into the board. NOTICE: a 7-segment module looks like the easiest display there is, and yet the same questions come back again and again: why does my display stay dark, why are my numbers backwards, why does it show strange characters? We built this model to show the answers on the screen, and we checked it against the real LedControl library, digit by digit. It took our team a lot of hard work. Your feedback is the fuel that keeps us going, ...

MAX7219 LED Matrix Library for Proteus V1.0 (8x8 and 4-in-1 FC-16)

MAX7219 LED Matrix Library for Proteus V1.0: an Arduino UNO V4.0 with the single 8x8 MAX7219 module scrolling text and the Advance pop-up of the 4-in-1 FC-16 module with its 32 x 8 matrix and the MAX7219 registers

Hello friends, I hope you all are doing great. Today, I am going to share the new MAX7219 LED Matrix Library for Proteus V1.0. The red 8x8 LED dot matrix with a MAX7219 behind it is the display that turns any Arduino project into a sign: scrolling names, clocks, counters, little animations. It comes as a single 8x8 module and as the long 4-in-1 FC-16 board with 32 x 8 LEDs, and both are now ready for your Proteus simulations, glowing LED by LED as the real ones do. Behind every matrix sits our own model of the MAX7219, written from the Maxim datasheet: the 16-bit serial packets, the daisy chain through DOUT, the digit, intensity, scan-limit, shutdown and display-test registers, and the exact way each module wires its LEDs to the chip. You get four devices, the single and the 4-in-1 module, each as a Simple device with a live STATUS panel and an Advance device with a pop-up window and four test tools, and the demo runs the popular MD_Parola library on our Arduino UNO V4.0 with its serial monitor built into the board. NOTICE: LED matrices look simple, but the questions we get are always the same: why is my text mirrored, why is one matrix dark, why does my Arduino reset when the whole display lights up? We built this model to show the answers on the screen: the module wiring, the chain and the current are all part of it, and we checked it pixel by pixel against MD_MAX72XX's own display buffer. It took our team a lot of hard work. Your feedback is the fuel that keeps us going, ...

ST7789 TFT LCD Library for Proteus V1.0 (1.3 / 1.54 inch IPS)

ST7789 TFT LCD Library for Proteus V1.0: an Arduino UNO V4.0 with the 1.3 inch ST7789 IPS TFT showing a dashboard and the Advance pop-up of the 1.54 inch board showing the colour test

Hello friends, I hope you all are doing great. Today, I am going to share the new ST7789 TFT LCD Library for Proteus V1.0. If you have bought a tiny colour screen for an Arduino project lately, there is a good chance it was one of the small blue 1.3" or 1.54" IPS TFT modules: a square 240 x 240 picture, sharp from any angle, driven over SPI by the ST7789 controller. They are cheap, bright and perfect for watches, gauges and little dashboards, and now you can design for them in Proteus before you solder a single wire. This library is our own model of the ST7789, written from its datasheet: the 240 x 320 frame memory, the SPI interface, the rotations, the start-up waits and, most important, the habits of the IPS glass that surprise people on their first try. It covers both popular boards, the 1.3" one with 7 pins and no CS pin and the 1.54" one with 8 pins, each as a Simple device with a live STATUS panel and an Advance device with a pop-up window and four test tools. The demo runs on our Arduino UNO V4.0 with its serial monitor built into the board. NOTICE: The 240 x 240 IPS boards are some of the most asked-about displays in our comments: why are the colours inverted, why is the picture cut off at the top, why does the board without CS stay black? We built this model to answer those questions on the screen itself, and tested it bit by bit with the real Adafruit library. It took our team a lot of hard work. Your feedback is the fuel that keeps us going, so please tell us what ...

TFT ST7735 Library for Proteus V1.0 (1.8 inch 128x160 + Arduino)

TFT ST7735 Library for Proteus V1.0: an Arduino UNO V4.0 with the 1.8 inch TFT Simple showing a colour dashboard, and the TFT Advance pop-up Display page with the colour test

Hello friends, I hope you all are doing great. Today, I am going to share the new TFT ST7735 Library for Proteus V1.0. The 1.8" TFT is the little colour screen you find in so many Arduino kits: 128 x 160 pixels, 65,536 colours, a bright backlight and just a few SPI wires. It is the next step after a character LCD or a small OLED, when your project needs colours, graphs and icons. With this TFT ST7735 Library for Proteus, your sketch draws on a 1.8" TFT that behaves like the real one, including its two famous puzzles: the white screen and the wrong tab. This is our own model of the module, with the ST7735S controller written from its datasheet: the SPI interface bit by bit, every command with its parameters, the frame memory, the rotations, the colour order and the backlight. You get two devices: TFT Simple, with a live STATUS panel on the schematic, and TFT Advance, with a pop-up window, a bus log and four TFT test tools. The demo runs on our Arduino UNO V4.0, with its serial monitor built into the board. NOTICE: This library is very special to our team. A colour TFT is a big step from a monochrome display: 20,480 pixels, 16 bits each, a controller with dozens of commands, four rotations and three kinds of glass. We modelled it from the datasheet, tested it pixel by pixel against the real Adafruit library in all four rotations, and made the model tell you what went wrong: a white screen, a wrong tab, a command sent too early. It took our team a lot of hard work and many test ...

3.5 inch TFT LCD Shield Library for Proteus V1.0 (ILI9486 Touch)

3.5" TFT LCD Shield Library for Proteus V1.0: an Arduino UNO V4.0 with the 3.5 inch ILI9486 TFT LCD shield showing a touch dashboard, the Advance pop-up with the colour test, and the serial monitor printing the touches

Hello friends, I hope you all are doing great. Today, I am going to share the new 3.5" TFT LCD Shield Library for Proteus V1.0. When the 2.4" screen gets too small for your menus, meters and buttons, the next step on an Arduino UNO is the red 3.5 inch TFT LCD shield: 480 x 320 pixels, twice the pixels of the 2.4" shield, the same 65,536 colours and the same resistive touch screen, and it still plugs straight on the UNO. With this 3.5" TFT LCD Shield Library for Proteus, you can design a full-size touch interface, test it in the simulation and see exactly what the real shield would show, pressing the glass with your mouse. Inside the shield sits the ILI9486 controller, and that is what our own model simulates, written from the ILI9486 datasheet: the 320 x 480 frame memory, the 8-bit parallel bus, the register reads that MCUFRIEND_kbv uses to recognise the chip, the rotations and the start-up waits. The touch film is a real resistor network in the analog simulation on the shield's shared pins, so analogRead() sees what it would see on the bench. There are two devices, Simple with a live STATUS panel and Advance with a pop-up window and five test tools, and the demo runs on our Arduino UNO V4.0 with its serial monitor built into the board. NOTICE: We built this library right after our 2.4" shield, and the bigger glass taught us something new: a 3.5" screen has twice the pixels on the same 8-bit bus, so every design decision about what to redraw matters twice as much. We modelled ...

OLED Library for Proteus V1.0 (SSD1306, 128x32 and SH1106)

OLED Library for Proteus V1.0: one Arduino UNO V4.0 driving a 0.96 inch SSD1306 OLED, a 1.3 inch SH1106 OLED and a 0.91 inch 128x32 OLED, with the built-in serial monitor showing ALL, BAR and STATUS

Hello friends, I hope you all are doing great. Today, I am going to share the new OLED Library for Proteus V1.0. It brings all our OLED displays together in one library: the popular 0.96" OLED with its SSD1306 controller, the long and thin 0.91" 128x32 OLED, and the bigger 1.3" OLED with its SH1106 controller. You get one LIB file with 14 parts, one model file that runs them all, and a new demo in which a single Arduino UNO drives all three OLEDs at the same time. Each of these OLEDs already has its own library and its own article: the OLED SSD1306 Library for Proteus V1.0, the OLED 128x32 Library for Proteus V1.0 and the OLED SH1106 Library for Proteus V1.0. This OLED Library for Proteus puts the three of them in one package, the same way our LCD Library for Proteus V3.0 does for the character LCDs, so you install one LIB file and one DLL and find every OLED in Pick Devices. It is our own OLED model, written from the SSD1306 and SH1106 datasheets: the I2C address, the control byte, the RAM with its random dots at power-on, the charge pump and the DC-DC, contrast, inverse and the classic mistakes, each one shown on the board. NOTICE: This library is very special to our team. Three OLED modules, two controllers written from their datasheets, and now all of it in one library, with a demo that runs three OLEDs on one Arduino UNO. 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 ...

TFT LCD Shield Library for Proteus V1.0 (2.4 inch ILI9341 Touch)

TFT LCD Shield Library for Proteus V1.0: an Arduino UNO V4.0 with the 2.4 inch TFT LCD shield showing a touch dashboard, the TFT Shield Advance pop-up with the colour test, and the serial monitor printing the touches

Hello friends, I hope you all are doing great. Today, I am going to share the new TFT LCD Shield Library for Proteus V1.0. The red 2.4" TFT LCD shield is the easiest colour touch screen for an Arduino UNO: it plugs straight on the board, with no wires at all, and gives you 240 x 320 pixels, 65,536 colours and a resistive touch screen. It is the shield of countless Arduino projects: menus, games, meters, paint programs, home controls. With this TFT LCD Shield Library for Proteus, your sketch draws on a shield that behaves like the real one, and you touch it with the mouse: click and drag on the glass, and the sketch reads the point with analogRead(), exactly as on the real board. This is our own model of the shield, written from the datasheet and from the physics of the touch film: the ILI9341 controller on its 8-bit parallel bus, with every command, the frame memory, the rotations, the colour order and the register reads that the MCUFRIEND_kbv library uses to find out which controller it talks to; and the 4-wire resistive film as a real resistor network in the analog simulation, sharing four LCD pins as on the real shield. You get two devices: TFT Shield Simple with a live STATUS panel on the schematic and TFT Shield Advance with a pop-up window, a bus log and five test tools. The demo runs on our Arduino UNO V4.0, with its serial monitor built into the board. NOTICE: This library is very special to our team. The 2.4" shield is the first display we modelled with a touch ...