SlideShare a Scribd company logo
1 of 7
Download to read offline
Article No: 2 Ver: 1.0
Author: Engr. Hassan Mehmood Khan Date: 5/1/2017
Article : 2
Learning to Use Arduino with Proteus
By Hassan Mehmood Khan
Date 5/1/2017
Introduction:
This article should help you to do basic setup of Arduino in Proteus, programming and
simulation of Arduino in Proteus. Few examples of how to do wiring of Arduino and LED and
DC motor programming examples will be provided.
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.
Arduinoii
:
Arduino is an open-source electronics platform based on easy-to-use hardware and software.
It's intended for anyone making interactive projects.
Steps:
1. Adding Arduino in Proteus Library:
a. Download Proteus Library from the link below:
(You can use Google Search as well)
http://www.theengineeringprojects.com/2015/12/arduino-library-proteus-
simulation.html
b. Unzip and place the files in Library folder of Proteus.
Fig 1: Arduino Lib Files
In Proteus 8 and above the path for the Library Should be:
C:ProgramDataLabcenter ElectronicsProteus 8 Professional
Article No: 2 Ver: 1.0
Author: Engr. Hassan Mehmood Khan Date: 5/1/2017
2. Proteus Project:
To create the project follow the steps:
New Project>Create new project > Create a Schematic from the selected template
(Landscape A4)>Do not create a PCB layout>No Firmware Project>Finish
3. Import Arduino in Proteus:
Go to Library> Pick Device> Arduino> Arduino UNO
Article No: 2 Ver: 1.0
Author: Engr. Hassan Mehmood Khan Date: 5/1/2017
4. Place Components:
a. Resistor:
Go to library. Select the component as shown in Figure below:
b. LEDs:
Go to library. Select the component as shown in Figure below:
Article No: 2 Ver: 1.0
Author: Engr. Hassan Mehmood Khan Date: 5/1/2017
c. DC Motor Driver IC (L239D):
This is a motor driver IC that can drive two motor simultaneously. L293D IC is a dual
H-bridge motor driver IC. One H-bridge is capable to drive a dc motor in
bidirectional. L293D IC is a current enhancing IC as the output from the sensor is not
able to drive motors itself so L293D is used for this purpose. L293D is a 16 pin IC having
two enables pins which should always be remain high to enable both the H-bridges.
Note:
(L293D can run a motor up to 600 mA whereas L293B can run up to 1 A.)
(L293D has protection diode whereas L293B doesn’t have any such protection diode.
Need to add the protection diode manually.)
Fig: L293D Pin Diagram
In Proteus:
Article No: 2 Ver: 1.0
Author: Engr. Hassan Mehmood Khan Date: 5/1/2017
d. DC Motor:
Go to library. Select the component as shown in Figure below:
5. Complete Circuit:
The complete circuit showed look like the following:
Article No: 2 Ver: 1.0
Author: Engr. Hassan Mehmood Khan Date: 5/1/2017
6. Programming:
Use any Arduino Software > Use the following Code:
Article No: 2 Ver: 1.0
Author: Engr. Hassan Mehmood Khan Date: 5/1/2017
7. Importing Hex File In Proteus:
a. After Programming in Arduino Software. Compile it. It will perform the compiling.
Once compiling is done. Go to:
C:Users(Your User Name)AppDataLocalTemp
Find the latest build folder. It should look like following:
b. Open the folder. Find the hex file.
It should look like following:
Copy the file in your preferred location.
c. Import for Arduino in Proteus:
Double click the Arduino board and go to edit component. Click on Program File.
Go to your saved file location and select *.hex file.
Resources:
i
https://www.labcenter.com/
ii
https://www.arduino.cc/

More Related Content

Similar to PROTEUS : ARDUINO PROJECT FOR LED N DC MOTOR

2nd ARM Developer Day - mbed Workshop - ARM
2nd ARM Developer Day - mbed Workshop - ARM2nd ARM Developer Day - mbed Workshop - ARM
2nd ARM Developer Day - mbed Workshop - ARMAntonio Mondragon
 
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
 
Advanced View Arduino Projects List - Use Arduino for Projects {4}.pdf
Advanced View Arduino Projects List - Use Arduino for Projects {4}.pdfAdvanced View Arduino Projects List - Use Arduino for Projects {4}.pdf
Advanced View Arduino Projects List - Use Arduino for Projects {4}.pdfIsmailkhan77481
 
Android Developer Meetup
Android Developer MeetupAndroid Developer Meetup
Android Developer MeetupMedialets
 
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
 
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
 
Advanced View Arduino Projects List - Use Arduino for Projects 4.pdf
Advanced View Arduino Projects List - Use Arduino for Projects 4.pdfAdvanced View Arduino Projects List - Use Arduino for Projects 4.pdf
Advanced View Arduino Projects List - Use Arduino for Projects 4.pdfWiseNaeem
 
Creating IoT application using ARM mbed and NanoService solution
Creating IoT application using ARM mbed and NanoService solutionCreating IoT application using ARM mbed and NanoService solution
Creating IoT application using ARM mbed and NanoService solutionPratul Sharma
 
Advanced View Arduino Projects List - Use Arduino for Projects 5.pdf
Advanced View Arduino Projects List - Use Arduino for Projects 5.pdfAdvanced View Arduino Projects List - Use Arduino for Projects 5.pdf
Advanced View Arduino Projects List - Use Arduino for Projects 5.pdfWiseNaeem
 
DeviceHub - First steps using Intel Edison
DeviceHub - First steps using Intel EdisonDeviceHub - First steps using Intel Edison
DeviceHub - First steps using Intel EdisonGabriel Arnautu
 
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
 
generate IP CORES
generate IP CORESgenerate IP CORES
generate IP CORESguest296013
 
Arduino seminar report
Arduino seminar reportArduino seminar report
Arduino seminar reportZaka Jutt
 
Embedded L1_notes_unit2_architecture.pptx
Embedded L1_notes_unit2_architecture.pptxEmbedded L1_notes_unit2_architecture.pptx
Embedded L1_notes_unit2_architecture.pptxaartis110
 
Advanced View of Atmega Microcontroller Projects List - ATMega32 AVR.pdf
Advanced View of Atmega Microcontroller Projects List - ATMega32 AVR.pdfAdvanced View of Atmega Microcontroller Projects List - ATMega32 AVR.pdf
Advanced View of Atmega Microcontroller Projects List - ATMega32 AVR.pdfWiseNaeem
 
Advanced View of Atmega Microcontroller Projects List - ATMega32 AVR.pdf
Advanced View of Atmega Microcontroller Projects List - ATMega32 AVR.pdfAdvanced View of Atmega Microcontroller Projects List - ATMega32 AVR.pdf
Advanced View of Atmega Microcontroller Projects List - ATMega32 AVR.pdfWiseNaeem
 

Similar to PROTEUS : ARDUINO PROJECT FOR LED N DC MOTOR (20)

2nd ARM Developer Day - mbed Workshop - ARM
2nd ARM Developer Day - mbed Workshop - ARM2nd ARM Developer Day - mbed Workshop - ARM
2nd ARM Developer Day - mbed Workshop - ARM
 
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
 
Advanced View Arduino Projects List - Use Arduino for Projects {4}.pdf
Advanced View Arduino Projects List - Use Arduino for Projects {4}.pdfAdvanced View Arduino Projects List - Use Arduino for Projects {4}.pdf
Advanced View Arduino Projects List - Use Arduino for Projects {4}.pdf
 
Android Developer Meetup
Android Developer MeetupAndroid Developer Meetup
Android Developer Meetup
 
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
 
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
 
Advanced View Arduino Projects List - Use Arduino for Projects 4.pdf
Advanced View Arduino Projects List - Use Arduino for Projects 4.pdfAdvanced View Arduino Projects List - Use Arduino for Projects 4.pdf
Advanced View Arduino Projects List - Use Arduino for Projects 4.pdf
 
Creating IoT application using ARM mbed and NanoService solution
Creating IoT application using ARM mbed and NanoService solutionCreating IoT application using ARM mbed and NanoService solution
Creating IoT application using ARM mbed and NanoService solution
 
Advanced View Arduino Projects List - Use Arduino for Projects 5.pdf
Advanced View Arduino Projects List - Use Arduino for Projects 5.pdfAdvanced View Arduino Projects List - Use Arduino for Projects 5.pdf
Advanced View Arduino Projects List - Use Arduino for Projects 5.pdf
 
NodeMCU || Controlling and observing a robotic car with a smartphone through...
NodeMCU || Controlling and observing a robotic car with a  smartphone through...NodeMCU || Controlling and observing a robotic car with a  smartphone through...
NodeMCU || Controlling and observing a robotic car with a smartphone through...
 
DeviceHub - First steps using Intel Edison
DeviceHub - First steps using Intel EdisonDeviceHub - First steps using Intel Edison
DeviceHub - First steps using Intel Edison
 
Selfie booth ppt
Selfie booth pptSelfie booth ppt
Selfie booth ppt
 
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!
 
report
reportreport
report
 
generate IP CORES
generate IP CORESgenerate IP CORES
generate IP CORES
 
MAJOR PROJECT
MAJOR PROJECT MAJOR PROJECT
MAJOR PROJECT
 
Arduino seminar report
Arduino seminar reportArduino seminar report
Arduino seminar report
 
Embedded L1_notes_unit2_architecture.pptx
Embedded L1_notes_unit2_architecture.pptxEmbedded L1_notes_unit2_architecture.pptx
Embedded L1_notes_unit2_architecture.pptx
 
Advanced View of Atmega Microcontroller Projects List - ATMega32 AVR.pdf
Advanced View of Atmega Microcontroller Projects List - ATMega32 AVR.pdfAdvanced View of Atmega Microcontroller Projects List - ATMega32 AVR.pdf
Advanced View of Atmega Microcontroller Projects List - ATMega32 AVR.pdf
 
Advanced View of Atmega Microcontroller Projects List - ATMega32 AVR.pdf
Advanced View of Atmega Microcontroller Projects List - ATMega32 AVR.pdfAdvanced View of Atmega Microcontroller Projects List - ATMega32 AVR.pdf
Advanced View of Atmega Microcontroller Projects List - ATMega32 AVR.pdf
 

More from 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
 

More from 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
 

Recently uploaded

Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...PsychoTech Services
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 

Recently uploaded (20)

Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 

PROTEUS : ARDUINO PROJECT FOR LED N DC MOTOR

  • 1. Article No: 2 Ver: 1.0 Author: Engr. Hassan Mehmood Khan Date: 5/1/2017 Article : 2 Learning to Use Arduino with Proteus By Hassan Mehmood Khan Date 5/1/2017 Introduction: This article should help you to do basic setup of Arduino in Proteus, programming and simulation of Arduino in Proteus. Few examples of how to do wiring of Arduino and LED and DC motor programming examples will be provided. 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. Arduinoii : Arduino is an open-source electronics platform based on easy-to-use hardware and software. It's intended for anyone making interactive projects. Steps: 1. Adding Arduino in Proteus Library: a. Download Proteus Library from the link below: (You can use Google Search as well) http://www.theengineeringprojects.com/2015/12/arduino-library-proteus- simulation.html b. Unzip and place the files in Library folder of Proteus. Fig 1: Arduino Lib Files In Proteus 8 and above the path for the Library Should be: C:ProgramDataLabcenter ElectronicsProteus 8 Professional
  • 2. Article No: 2 Ver: 1.0 Author: Engr. Hassan Mehmood Khan Date: 5/1/2017 2. Proteus Project: To create the project follow the steps: New Project>Create new project > Create a Schematic from the selected template (Landscape A4)>Do not create a PCB layout>No Firmware Project>Finish 3. Import Arduino in Proteus: Go to Library> Pick Device> Arduino> Arduino UNO
  • 3. Article No: 2 Ver: 1.0 Author: Engr. Hassan Mehmood Khan Date: 5/1/2017 4. Place Components: a. Resistor: Go to library. Select the component as shown in Figure below: b. LEDs: Go to library. Select the component as shown in Figure below:
  • 4. Article No: 2 Ver: 1.0 Author: Engr. Hassan Mehmood Khan Date: 5/1/2017 c. DC Motor Driver IC (L239D): This is a motor driver IC that can drive two motor simultaneously. L293D IC is a dual H-bridge motor driver IC. One H-bridge is capable to drive a dc motor in bidirectional. L293D IC is a current enhancing IC as the output from the sensor is not able to drive motors itself so L293D is used for this purpose. L293D is a 16 pin IC having two enables pins which should always be remain high to enable both the H-bridges. Note: (L293D can run a motor up to 600 mA whereas L293B can run up to 1 A.) (L293D has protection diode whereas L293B doesn’t have any such protection diode. Need to add the protection diode manually.) Fig: L293D Pin Diagram In Proteus:
  • 5. Article No: 2 Ver: 1.0 Author: Engr. Hassan Mehmood Khan Date: 5/1/2017 d. DC Motor: Go to library. Select the component as shown in Figure below: 5. Complete Circuit: The complete circuit showed look like the following:
  • 6. Article No: 2 Ver: 1.0 Author: Engr. Hassan Mehmood Khan Date: 5/1/2017 6. Programming: Use any Arduino Software > Use the following Code:
  • 7. Article No: 2 Ver: 1.0 Author: Engr. Hassan Mehmood Khan Date: 5/1/2017 7. Importing Hex File In Proteus: a. After Programming in Arduino Software. Compile it. It will perform the compiling. Once compiling is done. Go to: C:Users(Your User Name)AppDataLocalTemp Find the latest build folder. It should look like following: b. Open the folder. Find the hex file. It should look like following: Copy the file in your preferred location. c. Import for Arduino in Proteus: Double click the Arduino board and go to edit component. Click on Program File. Go to your saved file location and select *.hex file. Resources: i https://www.labcenter.com/ ii https://www.arduino.cc/