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

Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxMaryGraceBautista27
 
Q4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxQ4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxnelietumpap1
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 

Recently uploaded (20)

TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptx
 
Q4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxQ4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptx
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 

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/