Sunday, September 20, 2015

USING ARDUINO IN PROTEUS WITH TRAFFIC LIGHT PROJECT

Installing library file of arduino in proteus

Proteus is a popular circuit simulator which is used to design circuit in computer.
Arduino is an open source development board which is very good research and learning platform for technical and non technical person. It is very easy and comfortable to use in most of the situation from school project to the professional job. So it gives us knowledge about electronics and help develop idea of all age students. Learning arduino is awesome with enough hardware but sometimes we can not have all the component and arduino to research and design a project due to money and many thing so there is a solution of this problem.. We can design and code and test the system even if we dont have enough hardware. Yes we can solve it with computer having arduino IDE and proteus simulator. 
So i tried here to present an idea about the same thing that how can we use arduino in proteus to design and code system. Here is a project LCD interfacing with arduino in proteus . Try it at once and it will help you in big practical projects cause basic is fundamental. 
WANT TO LEARN ABOUT ARDUINO AND ARDUINO BASED PROJECT,CLICK HERE..

you should have proteus simulator and arduino ide installed in your computer.

  step one
 download proteus arduino library from the link given below.
https://drive.google.com/file/d/0B_kupfDZJEoObzA4Y1VvTjJ2cTg/view?usp=sharing



step two
 extract file and copy it to
- Open C drive
- Open program data
- Open  labcentre electronics 
- Open  proteus 8 professional 
- Open library folder
- Paste them to library folder

your installation is complete now..

 Testing Arduino in Proteus (traffic light)

=> Open arduino
=> Copy and paste the following code 
       int led1=13;
int led2=12;
int led3=11;
void setup() {
  // put your setup code here, to run once:
  pinMode(led1,OUTPUT);
  pinMode(led2,OUTPUT);
  pinMode(led3,OUTPUT);
}

void loop() {
  // put your main code here, to run repeatedly:
  digitalWrite(led1,HIGH);
  delay(1000);
  digitalWrite(led1,LOW);
  digitalWrite(led2,HIGH);
  delay(1000);
  digitalWrite(led2,LOW);
  digitalWrite(led3,HIGH);
  delay(1000);
  digitalWrite(led3,LOW);
}
=> go to file => preference 
=> tick the option compilation and upload as shown

=> then compile the program
=> copy the file   .hex  from the black screen.. only the file that has extension .hex

=> then open proteus and click isis. 
=> select the items from arduino library by pressing p and searching components 
components are   arduino uno and led.
=> also take ground pin 
=> assemble the circuit as shown in the diagram

=> click arduino  and its colour is changed to red

=> again click after red then option comes as shown

=> paste the copied .hex file to the program file box 
=> then run
your design is ready and the led will turn on and off for 1 second each and turn by turn
=> you can modify the program and you dont have to copy and paste .hex file every time. 
=> proteus program will automatically update it.

still if you have any confusion please comment. thank you

No comments:

Post a Comment