
Circuit Designing of LCD with Arduino in Proteus ISIS

Coming to today's post, as we have done adding the Arduino Library in Proteus, so I thought to do some projects on it and the first one I chose is quite simple one i.e. Circuit Designing of LCD with Arduino in Proteus ISIS. So we will have a look on how to show some characters on LCD using Arduino in Proteus. If you are working on LCD then you should also have a look at my new post Scrolling Text on LCD using Arduino. Let's get started with Circuit Designing of LCD with Arduino in Proteus ISIS:
Circuit Designing of LCD with Arduino in Proteus ISIS
- First of all, design a circuit of LCD and Arduino in Proteus ISIS, if you have already added the Arduino Library then you won't find any problem in finding the Arduino in components library of Proteus.
- You should also download this New LCD Library for Proteus.
- Design the circuit as shown in below figure:
- Now, we need to design Arduino sketch for LCD, so open Arduino software and place below code into it.
- You should have a look at How to get Hex File from Arduino.
#include <LiquidCrystal.h>
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
void setup()
{
lcd.begin(16, 2);
lcd.print("www.TheEngineer");
lcd.setCursor(0,1);
lcd.print("ingProjects.com");
}
void loop() {}
Note:
- For Arduino code, I have used Liquid Crystal Arduino Library, which you can download from the below link and add it in the libraries folder of Arduino software.
Download LiquidCrystal Arduio Library
- If you haven’t bought your Arduino UNO and LCD yet, then you can buy it from this reliable source:
- Now compile the code, and get the Arduino hex file which will be in the tmp folder, you can read Arduino Library for Proteus to know in detail how to get the hex file of Arduino sketch.
- Now double click the Arduino in Proteus ISIS and properties window will pop up.
- In properties panel, under the Program File section, browse to Arduino hex file as shown in below figure and upload it.
- Now click Ok and Run your simulation, if everything goes fine then your LCD will start showing the characters as shown in below figure:
- You should also have a look at these Arduino Projects for Beginners.
- That's all, was it difficult ??? I dont think so :) Anyways, if you got into any trouble, do ask in comments.
- In the coming posts, we will explore Arduino in Proteus ISIS more. Till then take care !!!
Is it possible to simulate Arduino DUE in proteus?
1 reply
Not rite now, the arduino library for proteus doesn't support Arduino DUE
Which pins of the lcd are grounded?4,5,6 or only 5?
1 reply
Only pin # 5 is grounded.
hi, im receiving Errors when compiling your code above , any suggestions? Would this cause an issue when i upload he Hex code in Proteus ?
1 reply
Hi, The error comes is because of " this sign so simply remove this sign and add it again your code and it will start working. Thanks.
Can you explain on how to debug this code on Proteus? That's something I really wanna learn. Thank you.
1 reply
Hi, We can't debug code on Proteus, we just upload the hex file in proteus. Although, we can debug the code in almost all compilers. Thanks.
hello i just uploaded your code but data from digital pins is not going to lcd..and so that it shows blank lcd ..can u suggest me what to do????
Hello, Dear Syed Zain Nasir When programming MK I have a problem simulating the operation of the LCD display on the 12864 DFRobot SPI (controller ST7920) in Proteus 8. Here the link to the display: "3-wire Serial LCD Module (Arduino Compatible) (SKU:DFR0091)" . Where can I find this display of the VSM model? In this library it is? I work with the display in parallel mode. Is that possible? Or not? I need to look sophisticated multi-level menu options, and graphics. I really important is your answer. Regards
1 reply
Hi, Yeah it can be done quite easily, add me on Skype and let me know the details. My Skype id is "theenggprojects". Thanks.
there is no error while compiling,the LCD turns on,the led's showing the same way but the letters on the lcd are not showing up,i see a blank lcd in light green colour,please can u help me?
Hi, i use proteus 8.5 and available arduino library from proteus. i try wiring lcd to pin arduino but i cant wire it. how should i do? i hope you can make tutorial with proteus 8.5 :) Thanks
Syed Zain Nasir First thank you for all your great works. I wonder if you have the library for Arduino GY-521 MPU-6050 Module 3 Axial Gyroscope Accelerometer Stance Tilt, by any chance. Tony
hey dear , what is invalid opcode 0x9419 at pc=0x095A mean? and how can i fix it? thanks for ur help.
hye.. i gkt this problem which make me complete blunt on my project.. i have seen many connection for lcd, i make connection gnd(1,5) vdd and vee loop (2,3) pin lcd 4 to arduino 12 and pin lcd 5 to arduino 11 for D4(11),D5(12),D6(13),D7(14) at arduino 5,4,3,2 .. please help me is this right or wrong or contact me at adamizrul@gmail.com.. earnest needed help
1 reply
You can download working simulation from this tutorial. Click on the button above to download.
please I need RFID library am designing a project that required it thanks
Hi Syed, I run the simulation and I got "Invalid opcode 0x9419 at PC=0x0A94".
1 reply
Have you added the hex files of Arduino and LCD ?

























Comments
22