SlideShare ist ein Scribd-Unternehmen logo
1 von 8
Downloaden Sie, um offline zu lesen
Article No: 3 Ver: 1.0
Author: Engr. Hassan Mehmood Khan Date: 17/1/2017
Article: 3
Learning to Use Arduino with Proteus (Programming of LCD)
By Hassan Mehmood Khan
Date 19/1/2017
Introduction:
This article should help you to do basic setup of Arduino Controller in Proteus, programming
and simulation of Arduino in Proteus. In this article I have tried to make it simple to use LCD
with Arduino with some simulation and programming. As compared to my previous tutorial I
am using here Arduino Controller IC instead of Arduino Uno Board.
Proteusi
:
Proteus combines ease of use with powerful features to help you design, test and layout
professional PCBs like never before. With nearly 800 microcontroller variants ready for
simulation straight from the schematic, one of the most intuitive professional PCB layout
packages on the market and a world class shape based autorouter included as standard,
Proteus Design Suite 8 delivers the complete software package for today and tomorrow's
engineers.
Proteus Arduino 328:
Proteus Arduino LCD Shield:
Article No: 3 Ver: 1.0
Author: Engr. Hassan Mehmood Khan Date: 17/1/2017
Arduinoii
:
Arduino is an open-source electronics platform based on easy-to-use hardware and software.
It's intended for anyone making interactive projects.
Custom Characters for LCD:
Each LCD characters is actually calculated as 5x7.
Initiate the character as a byte and copy the same code above for the byte value.
For Example: byte g[8]= { 0x00, 0x00, 0x0A, 0x04, 0x0A, 0x00, 0x0E, 0x00};
It is very useful tool to create custom characters. And you can display them on LCD.
Article No: 3 Ver: 1.0
Author: Engr. Hassan Mehmood Khan Date: 17/1/2017
Steps:
1. Proteus Project:
To create the project follow the steps:
New Project>Create new project > Create a Schematic from the selected template
(Landscape A4)>Create a PCB layout (Generic)>Next>Firmware Project>Next>Finish.
2. Import Arduino 328 in Proteus:
Article No: 3 Ver: 1.0
Author: Engr. Hassan Mehmood Khan Date: 17/1/2017
Import the Arduino 328 from the snippet folder:
Folder Location:
C:Program Files (x86)Labcenter ElectronicsProteus 8 ProfessionalSnippets
Import Steps:
Goto File>Import Project Clip
3. Import Arduino LCD Shield in Proteus:
Folder and Steps to import are same as of Arduino 328.
Article No: 3 Ver: 1.0
Author: Engr. Hassan Mehmood Khan Date: 17/1/2017
4. Complete Circuit:
The complete circuit showed look like the following:
There is not any other component you need to put for the LCD programming.
5. Programming:
Follow the steps below to setup programming.
Source Code Section>System>Compilers Configuration
Article No: 3 Ver: 1.0
Author: Engr. Hassan Mehmood Khan Date: 17/1/2017
Make Sure it is as per diagram above. If you have Arduino Software Install then it
should be already there. Otherwise just click Download and use “Arduino AVR”.
Use the Following Programme:
/* Main.ino file generated by New Project wizard
*
* Created: Fri Jan 6 2017
* Processor: ATmega328P
* Compiler: Arduino AVR */
#include <LiquidCrystal.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
LiquidCrystal lcd(8,9,4,5,6,7);
// make custom characters
byte g[8]= {0x00, 0x04, 0x0E, 0x1F, 0x1F, 0x04, 0x00, 0x00};
byte n[8]= {0x00, 0x04, 0x0E, 0x1F, 0x1F, 0x04, 0x00, 0x00};
//int motorPin1 = 2;
//int motorPin2 = 3;
void setup() // put your setup code here, to run once:
Article No: 3 Ver: 1.0
Author: Engr. Hassan Mehmood Khan Date: 17/1/2017
{
//pinMode(motorPin1, OUTPUT);
//pinMode(motorPin2, OUTPUT);
lcd.begin(16,2);
//lcd.print("Motor ");
lcd.write(byte(0));
lcd.write(byte(2));
lcd.print(" Galaxian! ");
lcd.write(byte(0));
lcd.write(byte(2));
//lcd.print(" Fwd Dir");
}
void loop() // put your main code here, to run repeatedly:
{
lcd.noDisplay();
delay(500);
// lcd.clear();
// lcd.display();
lcd.createChar(0, g);
lcd.createChar(2, n);
lcd.setCursor(0,1);
lcd.print(millis()/1000);
lcd.setCursor(2,1);
lcd.print(" sec ");
lcd.setCursor(7,1);
lcd.print(millis()/1000*0.0167);
lcd.setCursor(10,1);
lcd.print(" min ");
lcd.display();
delay(500);
}
Article No: 3 Ver: 1.0
Author: Engr. Hassan Mehmood Khan Date: 17/1/2017
6. Output Display:
The output display should look like below:
Resources:
i
https://www.labcenter.com/
ii
https://www.arduino.cc/

Weitere ähnliche Inhalte

Was ist angesagt?

Rdl esp32 development board trainer kit
Rdl esp32 development board trainer kitRdl esp32 development board trainer kit
Rdl esp32 development board trainer kitResearch Design Lab
 
Windows 10 IoT Core, a real sample
Windows 10 IoT Core, a real sampleWindows 10 IoT Core, a real sample
Windows 10 IoT Core, a real sampleMirco Vanini
 
Arduino technical session 1
Arduino technical session 1Arduino technical session 1
Arduino technical session 1Audiomas Soni
 
Using arduino and raspberry pi for internet of things
Using arduino and raspberry pi for internet of thingsUsing arduino and raspberry pi for internet of things
Using arduino and raspberry pi for internet of thingsSudar Muthu
 
Hands-on Labs: Raspberry Pi 2 + Windows 10 IoT Core
Hands-on Labs: Raspberry Pi 2 + Windows 10 IoT CoreHands-on Labs: Raspberry Pi 2 + Windows 10 IoT Core
Hands-on Labs: Raspberry Pi 2 + Windows 10 IoT CoreAndri Yadi
 
Lab Handson: Power your Creations with Intel Edison!
Lab Handson: Power your Creations with Intel Edison!Lab Handson: Power your Creations with Intel Edison!
Lab Handson: Power your Creations with Intel Edison!Codemotion
 
Introduction to ESP32 Programming [Road to RIoT 2017]
Introduction to ESP32 Programming [Road to RIoT 2017]Introduction to ESP32 Programming [Road to RIoT 2017]
Introduction to ESP32 Programming [Road to RIoT 2017]Alwin Arrasyid
 
Arduino as an embedded industrial controller
Arduino as an embedded industrial controllerArduino as an embedded industrial controller
Arduino as an embedded industrial controllerJose Luis Poza Luján
 
IOT Talking to Webserver - how to
IOT Talking to Webserver - how to IOT Talking to Webserver - how to
IOT Talking to Webserver - how to Indraneel Ganguli
 
Arduino Model's
Arduino Model'sArduino Model's
Arduino Model'sAli Izmir
 
Controlling an Arduino with Android
Controlling an Arduino with AndroidControlling an Arduino with Android
Controlling an Arduino with AndroidA. Hernandez
 
Hacker's and painters Hardware Hacking 101 - 10th Oct 2014
Hacker's and painters Hardware Hacking 101 - 10th Oct 2014Hacker's and painters Hardware Hacking 101 - 10th Oct 2014
Hacker's and painters Hardware Hacking 101 - 10th Oct 2014Takeda Pharmaceuticals
 
Interacting with Intel Edison
Interacting with Intel EdisonInteracting with Intel Edison
Interacting with Intel EdisonFITC
 

Was ist angesagt? (13)

Rdl esp32 development board trainer kit
Rdl esp32 development board trainer kitRdl esp32 development board trainer kit
Rdl esp32 development board trainer kit
 
Windows 10 IoT Core, a real sample
Windows 10 IoT Core, a real sampleWindows 10 IoT Core, a real sample
Windows 10 IoT Core, a real sample
 
Arduino technical session 1
Arduino technical session 1Arduino technical session 1
Arduino technical session 1
 
Using arduino and raspberry pi for internet of things
Using arduino and raspberry pi for internet of thingsUsing arduino and raspberry pi for internet of things
Using arduino and raspberry pi for internet of things
 
Hands-on Labs: Raspberry Pi 2 + Windows 10 IoT Core
Hands-on Labs: Raspberry Pi 2 + Windows 10 IoT CoreHands-on Labs: Raspberry Pi 2 + Windows 10 IoT Core
Hands-on Labs: Raspberry Pi 2 + Windows 10 IoT Core
 
Lab Handson: Power your Creations with Intel Edison!
Lab Handson: Power your Creations with Intel Edison!Lab Handson: Power your Creations with Intel Edison!
Lab Handson: Power your Creations with Intel Edison!
 
Introduction to ESP32 Programming [Road to RIoT 2017]
Introduction to ESP32 Programming [Road to RIoT 2017]Introduction to ESP32 Programming [Road to RIoT 2017]
Introduction to ESP32 Programming [Road to RIoT 2017]
 
Arduino as an embedded industrial controller
Arduino as an embedded industrial controllerArduino as an embedded industrial controller
Arduino as an embedded industrial controller
 
IOT Talking to Webserver - how to
IOT Talking to Webserver - how to IOT Talking to Webserver - how to
IOT Talking to Webserver - how to
 
Arduino Model's
Arduino Model'sArduino Model's
Arduino Model's
 
Controlling an Arduino with Android
Controlling an Arduino with AndroidControlling an Arduino with Android
Controlling an Arduino with Android
 
Hacker's and painters Hardware Hacking 101 - 10th Oct 2014
Hacker's and painters Hardware Hacking 101 - 10th Oct 2014Hacker's and painters Hardware Hacking 101 - 10th Oct 2014
Hacker's and painters Hardware Hacking 101 - 10th Oct 2014
 
Interacting with Intel Edison
Interacting with Intel EdisonInteracting with Intel Edison
Interacting with Intel Edison
 

Andere mochten auch

Internet of things and arduino
Internet of things and arduinoInternet of things and arduino
Internet of things and arduinoChristophe Marchal
 
IoTino - Arduino for Internet of Things
IoTino - Arduino for Internet of ThingsIoTino - Arduino for Internet of Things
IoTino - Arduino for Internet of ThingsAbiro AB
 
petunjuk praktis penelitian ilmiah
petunjuk praktis penelitian ilmiahpetunjuk praktis penelitian ilmiah
petunjuk praktis penelitian ilmiahIndra S Wahyudi
 
Arduino, Open Source and The Internet of Things Landscape
Arduino, Open Source and The Internet of Things LandscapeArduino, Open Source and The Internet of Things Landscape
Arduino, Open Source and The Internet of Things LandscapeJustin Grammens
 
Arduino pengenalan
Arduino pengenalanArduino pengenalan
Arduino pengenalanAdama Rahim
 
Impact of dynamic system modelling on the power stability of hvdc systems
Impact of dynamic system modelling on the power stability of hvdc systemsImpact of dynamic system modelling on the power stability of hvdc systems
Impact of dynamic system modelling on the power stability of hvdc systemsIndra S Wahyudi
 
Arduino by bishal bhattarai IOE, Pashchimanchal Campus Pokhara, Nepal
Arduino by bishal bhattarai  IOE, Pashchimanchal Campus Pokhara, NepalArduino by bishal bhattarai  IOE, Pashchimanchal Campus Pokhara, Nepal
Arduino by bishal bhattarai IOE, Pashchimanchal Campus Pokhara, Nepalbishal bhattarai
 
Arduino & Internet of Things - First Step
Arduino & Internet of Things - First StepArduino & Internet of Things - First Step
Arduino & Internet of Things - First StepAlessio Reggiani
 
Arduino dasar untuk orang biasa
Arduino dasar untuk orang biasaArduino dasar untuk orang biasa
Arduino dasar untuk orang biasaGo Asgard
 
Unit 1 prinsip dasar listrik
Unit 1 prinsip dasar listrikUnit 1 prinsip dasar listrik
Unit 1 prinsip dasar listrikIndra S Wahyudi
 
Effect of converter dc fault on the transient stability of a multi machine po...
Effect of converter dc fault on the transient stability of a multi machine po...Effect of converter dc fault on the transient stability of a multi machine po...
Effect of converter dc fault on the transient stability of a multi machine po...Indra S Wahyudi
 
Teknologi sistem pengendalian tenaga listrik berbasis scada
Teknologi sistem pengendalian tenaga listrik berbasis scadaTeknologi sistem pengendalian tenaga listrik berbasis scada
Teknologi sistem pengendalian tenaga listrik berbasis scadaIndra S Wahyudi
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to ArduinoOmer Kilic
 
SMS(GSM)BASED HOME AUTOMATION SYSTEM PROJECTS-ECE/EEE/E&I/ICE
SMS(GSM)BASED HOME AUTOMATION SYSTEM PROJECTS-ECE/EEE/E&I/ICESMS(GSM)BASED HOME AUTOMATION SYSTEM PROJECTS-ECE/EEE/E&I/ICE
SMS(GSM)BASED HOME AUTOMATION SYSTEM PROJECTS-ECE/EEE/E&I/ICEASHOKKUMAR RAMAR
 

Andere mochten auch (20)

Internet of things and arduino
Internet of things and arduinoInternet of things and arduino
Internet of things and arduino
 
Ardunio
ArdunioArdunio
Ardunio
 
IoTino - Arduino for Internet of Things
IoTino - Arduino for Internet of ThingsIoTino - Arduino for Internet of Things
IoTino - Arduino for Internet of Things
 
aplikasi arduino uno
aplikasi arduino unoaplikasi arduino uno
aplikasi arduino uno
 
petunjuk praktis penelitian ilmiah
petunjuk praktis penelitian ilmiahpetunjuk praktis penelitian ilmiah
petunjuk praktis penelitian ilmiah
 
Arduino, Open Source and The Internet of Things Landscape
Arduino, Open Source and The Internet of Things LandscapeArduino, Open Source and The Internet of Things Landscape
Arduino, Open Source and The Internet of Things Landscape
 
Arduino pengenalan
Arduino pengenalanArduino pengenalan
Arduino pengenalan
 
Impact of dynamic system modelling on the power stability of hvdc systems
Impact of dynamic system modelling on the power stability of hvdc systemsImpact of dynamic system modelling on the power stability of hvdc systems
Impact of dynamic system modelling on the power stability of hvdc systems
 
Unit 5 daya ac
Unit 5  daya acUnit 5  daya ac
Unit 5 daya ac
 
Arduino by bishal bhattarai IOE, Pashchimanchal Campus Pokhara, Nepal
Arduino by bishal bhattarai  IOE, Pashchimanchal Campus Pokhara, NepalArduino by bishal bhattarai  IOE, Pashchimanchal Campus Pokhara, Nepal
Arduino by bishal bhattarai IOE, Pashchimanchal Campus Pokhara, Nepal
 
Arduino & Internet of Things - First Step
Arduino & Internet of Things - First StepArduino & Internet of Things - First Step
Arduino & Internet of Things - First Step
 
Arduino dasar untuk orang biasa
Arduino dasar untuk orang biasaArduino dasar untuk orang biasa
Arduino dasar untuk orang biasa
 
Unit 1 prinsip dasar listrik
Unit 1 prinsip dasar listrikUnit 1 prinsip dasar listrik
Unit 1 prinsip dasar listrik
 
Effect of converter dc fault on the transient stability of a multi machine po...
Effect of converter dc fault on the transient stability of a multi machine po...Effect of converter dc fault on the transient stability of a multi machine po...
Effect of converter dc fault on the transient stability of a multi machine po...
 
Home automation
Home    automationHome    automation
Home automation
 
Teknologi sistem pengendalian tenaga listrik berbasis scada
Teknologi sistem pengendalian tenaga listrik berbasis scadaTeknologi sistem pengendalian tenaga listrik berbasis scada
Teknologi sistem pengendalian tenaga listrik berbasis scada
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
 
Instalasi motor 3 fasa
Instalasi motor 3 fasaInstalasi motor 3 fasa
Instalasi motor 3 fasa
 
CARA BELAJAR EFEKTIF
CARA BELAJAR EFEKTIFCARA BELAJAR EFEKTIF
CARA BELAJAR EFEKTIF
 
SMS(GSM)BASED HOME AUTOMATION SYSTEM PROJECTS-ECE/EEE/E&I/ICE
SMS(GSM)BASED HOME AUTOMATION SYSTEM PROJECTS-ECE/EEE/E&I/ICESMS(GSM)BASED HOME AUTOMATION SYSTEM PROJECTS-ECE/EEE/E&I/ICE
SMS(GSM)BASED HOME AUTOMATION SYSTEM PROJECTS-ECE/EEE/E&I/ICE
 

Ähnlich wie PROTEUS - ARDUNIO PROGRAMMING FOR LCD

ESP32 WiFi & Bluetooth Module - Getting Started Guide
ESP32 WiFi & Bluetooth Module - Getting Started GuideESP32 WiFi & Bluetooth Module - Getting Started Guide
ESP32 WiFi & Bluetooth Module - Getting Started Guidehandson28
 
Embedded L1_notes_unit2_architecture.pptx
Embedded L1_notes_unit2_architecture.pptxEmbedded L1_notes_unit2_architecture.pptx
Embedded L1_notes_unit2_architecture.pptxaartis110
 
Programming objects with android
Programming objects with androidProgramming objects with android
Programming objects with androidfirenze-gtug
 
WORKING PRINCIPLE OF ARDUINO AND USING IT AS A TOOL FOR STUDY AND RESEARCH
WORKING PRINCIPLE OF ARDUINO AND USING IT AS A TOOL FOR STUDY AND RESEARCHWORKING PRINCIPLE OF ARDUINO AND USING IT AS A TOOL FOR STUDY AND RESEARCH
WORKING PRINCIPLE OF ARDUINO AND USING IT AS A TOOL FOR STUDY AND RESEARCHijdpsjournal
 
WiFi mesh network(ESP32 mStar and mesh topology)
WiFi mesh network(ESP32 mStar and mesh topology)WiFi mesh network(ESP32 mStar and mesh topology)
WiFi mesh network(ESP32 mStar and mesh topology)Raziuddin Khazi
 
Larson and toubro
Larson and toubroLarson and toubro
Larson and toubroanoopc1998
 
Tac Presentation October 72014- Raspberry PI
Tac Presentation October 72014- Raspberry PITac Presentation October 72014- Raspberry PI
Tac Presentation October 72014- Raspberry PICliff Samuels Jr.
 
Android Things Getting Started
Android Things Getting StartedAndroid Things Getting Started
Android Things Getting StartedRahul Vansh
 
ChromePad - Chromium OS for ThinkPad
ChromePad - Chromium OS for ThinkPadChromePad - Chromium OS for ThinkPad
ChromePad - Chromium OS for ThinkPadAndrewWright224
 
ChromePad - Chromium OS ThinkPad X220
ChromePad - Chromium OS ThinkPad X220ChromePad - Chromium OS ThinkPad X220
ChromePad - Chromium OS ThinkPad X220AndrewWright224
 
Arduino Full Tutorial
Arduino Full TutorialArduino Full Tutorial
Arduino Full TutorialAkshay Sharma
 
Why the yocto project for my io t project elc_edinburgh_2018
Why the yocto project for my io t project elc_edinburgh_2018Why the yocto project for my io t project elc_edinburgh_2018
Why the yocto project for my io t project elc_edinburgh_2018Mender.io
 
Advanced view arduino projects list use arduino for projects
Advanced view arduino projects list   use arduino for projectsAdvanced view arduino projects list   use arduino for projects
Advanced view arduino projects list use arduino for projectsWiseNaeem
 
DeviceHub - First steps using Intel Edison
DeviceHub - First steps using Intel EdisonDeviceHub - First steps using Intel Edison
DeviceHub - First steps using Intel EdisonGabriel Arnautu
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to ArduinoDamien Magoni
 
Intel ndk - a few Benchmarks
Intel ndk - a few BenchmarksIntel ndk - a few Benchmarks
Intel ndk - a few Benchmarksfirenze-gtug
 
Arduino Development For Beginners
Arduino Development For BeginnersArduino Development For Beginners
Arduino Development For BeginnersFTS seminar
 
Getting started with Intel IoT Developer Kit
Getting started with Intel IoT Developer KitGetting started with Intel IoT Developer Kit
Getting started with Intel IoT Developer KitSulamita Garcia
 
Wonho Park_20151209
Wonho Park_20151209Wonho Park_20151209
Wonho Park_20151209Wonho Park
 

Ähnlich wie PROTEUS - ARDUNIO PROGRAMMING FOR LCD (20)

ESP32 WiFi & Bluetooth Module - Getting Started Guide
ESP32 WiFi & Bluetooth Module - Getting Started GuideESP32 WiFi & Bluetooth Module - Getting Started Guide
ESP32 WiFi & Bluetooth Module - Getting Started Guide
 
notes about Arduino
notes about Arduinonotes about Arduino
notes about Arduino
 
Embedded L1_notes_unit2_architecture.pptx
Embedded L1_notes_unit2_architecture.pptxEmbedded L1_notes_unit2_architecture.pptx
Embedded L1_notes_unit2_architecture.pptx
 
Programming objects with android
Programming objects with androidProgramming objects with android
Programming objects with android
 
WORKING PRINCIPLE OF ARDUINO AND USING IT AS A TOOL FOR STUDY AND RESEARCH
WORKING PRINCIPLE OF ARDUINO AND USING IT AS A TOOL FOR STUDY AND RESEARCHWORKING PRINCIPLE OF ARDUINO AND USING IT AS A TOOL FOR STUDY AND RESEARCH
WORKING PRINCIPLE OF ARDUINO AND USING IT AS A TOOL FOR STUDY AND RESEARCH
 
WiFi mesh network(ESP32 mStar and mesh topology)
WiFi mesh network(ESP32 mStar and mesh topology)WiFi mesh network(ESP32 mStar and mesh topology)
WiFi mesh network(ESP32 mStar and mesh topology)
 
Larson and toubro
Larson and toubroLarson and toubro
Larson and toubro
 
Tac Presentation October 72014- Raspberry PI
Tac Presentation October 72014- Raspberry PITac Presentation October 72014- Raspberry PI
Tac Presentation October 72014- Raspberry PI
 
Android Things Getting Started
Android Things Getting StartedAndroid Things Getting Started
Android Things Getting Started
 
ChromePad - Chromium OS for ThinkPad
ChromePad - Chromium OS for ThinkPadChromePad - Chromium OS for ThinkPad
ChromePad - Chromium OS for ThinkPad
 
ChromePad - Chromium OS ThinkPad X220
ChromePad - Chromium OS ThinkPad X220ChromePad - Chromium OS ThinkPad X220
ChromePad - Chromium OS ThinkPad X220
 
Arduino Full Tutorial
Arduino Full TutorialArduino Full Tutorial
Arduino Full Tutorial
 
Why the yocto project for my io t project elc_edinburgh_2018
Why the yocto project for my io t project elc_edinburgh_2018Why the yocto project for my io t project elc_edinburgh_2018
Why the yocto project for my io t project elc_edinburgh_2018
 
Advanced view arduino projects list use arduino for projects
Advanced view arduino projects list   use arduino for projectsAdvanced view arduino projects list   use arduino for projects
Advanced view arduino projects list use arduino for projects
 
DeviceHub - First steps using Intel Edison
DeviceHub - First steps using Intel EdisonDeviceHub - First steps using Intel Edison
DeviceHub - First steps using Intel Edison
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
 
Intel ndk - a few Benchmarks
Intel ndk - a few BenchmarksIntel ndk - a few Benchmarks
Intel ndk - a few Benchmarks
 
Arduino Development For Beginners
Arduino Development For BeginnersArduino Development For Beginners
Arduino Development For Beginners
 
Getting started with Intel IoT Developer Kit
Getting started with Intel IoT Developer KitGetting started with Intel IoT Developer Kit
Getting started with Intel IoT Developer Kit
 
Wonho Park_20151209
Wonho Park_20151209Wonho Park_20151209
Wonho Park_20151209
 

Mehr von Hassan Khan

Proteus Circuits Design and Simulation - Examples and Projects
Proteus Circuits Design and Simulation - Examples and ProjectsProteus Circuits Design and Simulation - Examples and Projects
Proteus Circuits Design and Simulation - Examples and ProjectsHassan Khan
 
Timer Circuit (555 & 7447)
Timer Circuit (555 & 7447)Timer Circuit (555 & 7447)
Timer Circuit (555 & 7447)Hassan Khan
 
A+ B+B- A- Pneumatics and Electrical diagram
A+ B+B-  A- Pneumatics and Electrical diagramA+ B+B-  A- Pneumatics and Electrical diagram
A+ B+B- A- Pneumatics and Electrical diagramHassan Khan
 
Qasidah burdah shareef
Qasidah burdah shareefQasidah burdah shareef
Qasidah burdah shareefHassan Khan
 
FIELD SYSTEM by FANUC
FIELD SYSTEM by FANUCFIELD SYSTEM by FANUC
FIELD SYSTEM by FANUCHassan Khan
 
Light Control Switch
Light Control SwitchLight Control Switch
Light Control SwitchHassan Khan
 
Microsoft certified educator_study_guide
Microsoft certified educator_study_guideMicrosoft certified educator_study_guide
Microsoft certified educator_study_guideHassan Khan
 
3529-12 City&Guilds
3529-12 City&Guilds3529-12 City&Guilds
3529-12 City&GuildsHassan Khan
 
Testing and other equipment (Electronics Beginner Level)
Testing and other equipment (Electronics Beginner Level)Testing and other equipment (Electronics Beginner Level)
Testing and other equipment (Electronics Beginner Level)Hassan Khan
 
Power supply 1.2 30 v (Beginners Level)
Power supply 1.2 30 v (Beginners Level)Power supply 1.2 30 v (Beginners Level)
Power supply 1.2 30 v (Beginners Level)Hassan Khan
 
Basic Electronics for Engineers (Tutorial)
Basic Electronics for Engineers (Tutorial)Basic Electronics for Engineers (Tutorial)
Basic Electronics for Engineers (Tutorial)Hassan Khan
 
555 74192 7447 .pdsprj
555 74192 7447 .pdsprj555 74192 7447 .pdsprj
555 74192 7447 .pdsprjHassan Khan
 
Certificate- City&Guilds L3
Certificate- City&Guilds L3Certificate- City&Guilds L3
Certificate- City&Guilds L3Hassan Khan
 

Mehr von Hassan Khan (13)

Proteus Circuits Design and Simulation - Examples and Projects
Proteus Circuits Design and Simulation - Examples and ProjectsProteus Circuits Design and Simulation - Examples and Projects
Proteus Circuits Design and Simulation - Examples and Projects
 
Timer Circuit (555 & 7447)
Timer Circuit (555 & 7447)Timer Circuit (555 & 7447)
Timer Circuit (555 & 7447)
 
A+ B+B- A- Pneumatics and Electrical diagram
A+ B+B-  A- Pneumatics and Electrical diagramA+ B+B-  A- Pneumatics and Electrical diagram
A+ B+B- A- Pneumatics and Electrical diagram
 
Qasidah burdah shareef
Qasidah burdah shareefQasidah burdah shareef
Qasidah burdah shareef
 
FIELD SYSTEM by FANUC
FIELD SYSTEM by FANUCFIELD SYSTEM by FANUC
FIELD SYSTEM by FANUC
 
Light Control Switch
Light Control SwitchLight Control Switch
Light Control Switch
 
Microsoft certified educator_study_guide
Microsoft certified educator_study_guideMicrosoft certified educator_study_guide
Microsoft certified educator_study_guide
 
3529-12 City&Guilds
3529-12 City&Guilds3529-12 City&Guilds
3529-12 City&Guilds
 
Testing and other equipment (Electronics Beginner Level)
Testing and other equipment (Electronics Beginner Level)Testing and other equipment (Electronics Beginner Level)
Testing and other equipment (Electronics Beginner Level)
 
Power supply 1.2 30 v (Beginners Level)
Power supply 1.2 30 v (Beginners Level)Power supply 1.2 30 v (Beginners Level)
Power supply 1.2 30 v (Beginners Level)
 
Basic Electronics for Engineers (Tutorial)
Basic Electronics for Engineers (Tutorial)Basic Electronics for Engineers (Tutorial)
Basic Electronics for Engineers (Tutorial)
 
555 74192 7447 .pdsprj
555 74192 7447 .pdsprj555 74192 7447 .pdsprj
555 74192 7447 .pdsprj
 
Certificate- City&Guilds L3
Certificate- City&Guilds L3Certificate- City&Guilds L3
Certificate- City&Guilds L3
 

Kürzlich hochgeladen

OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSISrknatarajan
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Christo Ananth
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...ranjana rawat
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 

Kürzlich hochgeladen (20)

OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 

PROTEUS - ARDUNIO PROGRAMMING FOR LCD

  • 1. Article No: 3 Ver: 1.0 Author: Engr. Hassan Mehmood Khan Date: 17/1/2017 Article: 3 Learning to Use Arduino with Proteus (Programming of LCD) By Hassan Mehmood Khan Date 19/1/2017 Introduction: This article should help you to do basic setup of Arduino Controller in Proteus, programming and simulation of Arduino in Proteus. In this article I have tried to make it simple to use LCD with Arduino with some simulation and programming. As compared to my previous tutorial I am using here Arduino Controller IC instead of Arduino Uno Board. Proteusi : Proteus combines ease of use with powerful features to help you design, test and layout professional PCBs like never before. With nearly 800 microcontroller variants ready for simulation straight from the schematic, one of the most intuitive professional PCB layout packages on the market and a world class shape based autorouter included as standard, Proteus Design Suite 8 delivers the complete software package for today and tomorrow's engineers. Proteus Arduino 328: Proteus Arduino LCD Shield:
  • 2. Article No: 3 Ver: 1.0 Author: Engr. Hassan Mehmood Khan Date: 17/1/2017 Arduinoii : Arduino is an open-source electronics platform based on easy-to-use hardware and software. It's intended for anyone making interactive projects. Custom Characters for LCD: Each LCD characters is actually calculated as 5x7. Initiate the character as a byte and copy the same code above for the byte value. For Example: byte g[8]= { 0x00, 0x00, 0x0A, 0x04, 0x0A, 0x00, 0x0E, 0x00}; It is very useful tool to create custom characters. And you can display them on LCD.
  • 3. Article No: 3 Ver: 1.0 Author: Engr. Hassan Mehmood Khan Date: 17/1/2017 Steps: 1. Proteus Project: To create the project follow the steps: New Project>Create new project > Create a Schematic from the selected template (Landscape A4)>Create a PCB layout (Generic)>Next>Firmware Project>Next>Finish. 2. Import Arduino 328 in Proteus:
  • 4. Article No: 3 Ver: 1.0 Author: Engr. Hassan Mehmood Khan Date: 17/1/2017 Import the Arduino 328 from the snippet folder: Folder Location: C:Program Files (x86)Labcenter ElectronicsProteus 8 ProfessionalSnippets Import Steps: Goto File>Import Project Clip 3. Import Arduino LCD Shield in Proteus: Folder and Steps to import are same as of Arduino 328.
  • 5. Article No: 3 Ver: 1.0 Author: Engr. Hassan Mehmood Khan Date: 17/1/2017 4. Complete Circuit: The complete circuit showed look like the following: There is not any other component you need to put for the LCD programming. 5. Programming: Follow the steps below to setup programming. Source Code Section>System>Compilers Configuration
  • 6. Article No: 3 Ver: 1.0 Author: Engr. Hassan Mehmood Khan Date: 17/1/2017 Make Sure it is as per diagram above. If you have Arduino Software Install then it should be already there. Otherwise just click Download and use “Arduino AVR”. Use the Following Programme: /* Main.ino file generated by New Project wizard * * Created: Fri Jan 6 2017 * Processor: ATmega328P * Compiler: Arduino AVR */ #include <LiquidCrystal.h> #include <stdio.h> #include <stdlib.h> #include <math.h> LiquidCrystal lcd(8,9,4,5,6,7); // make custom characters byte g[8]= {0x00, 0x04, 0x0E, 0x1F, 0x1F, 0x04, 0x00, 0x00}; byte n[8]= {0x00, 0x04, 0x0E, 0x1F, 0x1F, 0x04, 0x00, 0x00}; //int motorPin1 = 2; //int motorPin2 = 3; void setup() // put your setup code here, to run once:
  • 7. Article No: 3 Ver: 1.0 Author: Engr. Hassan Mehmood Khan Date: 17/1/2017 { //pinMode(motorPin1, OUTPUT); //pinMode(motorPin2, OUTPUT); lcd.begin(16,2); //lcd.print("Motor "); lcd.write(byte(0)); lcd.write(byte(2)); lcd.print(" Galaxian! "); lcd.write(byte(0)); lcd.write(byte(2)); //lcd.print(" Fwd Dir"); } void loop() // put your main code here, to run repeatedly: { lcd.noDisplay(); delay(500); // lcd.clear(); // lcd.display(); lcd.createChar(0, g); lcd.createChar(2, n); lcd.setCursor(0,1); lcd.print(millis()/1000); lcd.setCursor(2,1); lcd.print(" sec "); lcd.setCursor(7,1); lcd.print(millis()/1000*0.0167); lcd.setCursor(10,1); lcd.print(" min "); lcd.display(); delay(500); }
  • 8. Article No: 3 Ver: 1.0 Author: Engr. Hassan Mehmood Khan Date: 17/1/2017 6. Output Display: The output display should look like below: Resources: i https://www.labcenter.com/ ii https://www.arduino.cc/