Sir Boateng Online
  • Home
  • News
  • Technology
  • Entertainment
  • Lifestyle
  • Review
  • GES Resources
    • Download SHS Syllabus in PDF | For Ghana Schools
    • Download free J.H.S Syllabus in PDF
    • Teaching and Learning Resources Free
    • New GES Time Table For Basic Schools
    • New GES Curriculum for Basic Schools
  • NTC Resources
    • How to register for the Licensure exam.
    • Learning materials for NTC Essential Skills
    • Learning materials for NTC Literacy
    • Learning materials for NTC Numeracy
No Result
View All Result
  • Home
  • News
  • Technology
  • Entertainment
  • Lifestyle
  • Review
  • GES Resources
    • Download SHS Syllabus in PDF | For Ghana Schools
    • Download free J.H.S Syllabus in PDF
    • Teaching and Learning Resources Free
    • New GES Time Table For Basic Schools
    • New GES Curriculum for Basic Schools
  • NTC Resources
    • How to register for the Licensure exam.
    • Learning materials for NTC Essential Skills
    • Learning materials for NTC Literacy
    • Learning materials for NTC Numeracy
No Result
View All Result
Sir Boateng Online
No Result
View All Result

Arduino 4-Way Traffic System with Pedestrian button in Proteus

Sir Boat by Sir Boat
27th April 2020
in Uncategorized
Reading Time: 14 mins read
852 9
6
4 - way Traffic system using Arduino Uno and Proteus ISIS

4 - way Traffic system using Arduino Uno and Proteus ISIS

984
SHARES
3.1k
VIEWS
Share on FacebookShare on TwitterShare on WhatsApp

This project is about building an Arduino Uno based 4-way traffic system with a pedestrian button in Proteus. It can also be implemented easily with real components since the coding is directly done in Arduino IDE before it was exported to Proteus.

Table of Contents

  • Installing Arduino Libraries in Proteus
  • Brief About the 4-Way Arduino Traffic System
  • Getting the required Components and Software
  • Building the 4-way Arduino Traffic System in Proteus.
  • Step 1: Placing the Arduino Traffic System Components.
  • Step 2: Alignment and Orientation of placed components
  • Step 3: Wiring Up the 4-way Arduino Traffic System
  • Step 4: Writing the code and Importing them to Proteus
  • Downloading the required files
  • Conclusion

Installing Arduino Libraries in Proteus

Watch this video if this is your first time using the Protest ISIS software.

The video will help you to install all the necessary libraries. These libraries include the popular Arduino Uno, Mega, and Nano boards. You will also get libraries for sensors such as the smoke sensor, Infrared sensor, proximity sensor, and motion sensor to mention but few.

The Proteus simulation files, as well as the Arduino sketches, have been provided in this post. You can download and modify it per your preference. However, if you change the Arduino pin connections to the LEDs, you will also need to recompile the Arduino source code from the IDE and re-export the hex file to Proteus ISIS.

If this is your first project with the Arduino development board read the introduction to Arduino programming.

Brief About the 4-Way Arduino Traffic System

Traffic is a major challenge in many cities in the world today. The number of vehicles are gradually increasing day by day all over the world. In many instances, traffic flow is directed by devices such as traffic lights.

Traffic lights have become an integral part of human day-to-day life activities. This article focuses on the construction of an Arduino based traffic light system developed and programmed with the Proteus ISIS and Arduino IDE respectively.

This system was designed to control vehicular movement as well as assisting pedestrians crossing with an interruptible bush button. The button when pushed will interrupt the normal sequence of the traffic control and thus start the pedestrian crossing cycle for a predetermined period of time. This will, therefore, allow people to cross the road.

The programming platform for the simulation of the Arduino traffic light system was done purely with the Arduino IDE. For this reason, the project can be physically assembled with real components off the shelf.

Getting the required Components and Software

This is a 4-way Arduino traffic system that has a main and a pedestrian lighting circuit. As soon as the pedestrian button is pressed, the program waits till the main process tries to jump to the next state before performing a pedestrian cycle. The components below are needed to build this project.

  • Arduino Uno (I used the Arduino Uno library for Proteus).
  • LED x20 ( I used 8 pieces of the Traffic light module in Proteus).
  • Push Button
  • 10kΩ Resistor
  • 220Ω x20 limiting resistors (Only for those who want to physically design the project, this is because the proteus traffic light module can be used without limiting resistors.)
  • To physically design this project, you will also need a power supply and connecting wires.

Building the 4-way Arduino Traffic System in Proteus.

Whilst I will be drawing the circuit from scratch, the completed version can be found in the downloadable zip file provided on this page. As a matter of fact, those who are familiar with Proteus and the general circuit design procedures may choose to download and use this ready-made design and move on to the Arduino Programming section.

Furthermore, as I have provided the complete Proteus circuit diagram together with the Arduino code (Sketch), Those who are familiar with both Arduino programming and Proteus can skip this tutorial and download the provided files.

Step 1: Placing the Arduino Traffic System Components.

The first thing to do is to open proteus, start a new project with default values and place the required components. On the new schematic layout, click on the Component icon and then click on the letter ‘P’ which is located above the Object Selector pane.

Starting a new project for the 4-way Arduino Traffic system
start a new project
keep the default values in the wizard.
keep the default values
4-way traffic system: select the component mode and click on "p"
placing the components

As soon as you click on the “P” button, the Device Library selector window will immediately open. Select the Arduino from the Category pane and double click on the “Arduino Uno” from the device list space at the right side of the Category pane. This will result in the component name appearing in the Object Selector in the editing window.

4 way Arduino traffic system: Adding the Arduino Uno board
Adding the Arduino Uno board
Arduino Traffic system with pedestrian button: Adding the traffic module
Adding the traffic light module
4 way Arduino traffic system: Adding the push button to the
Adding the push button

Likewise, search for “Traffic” and double-click it in the list panel to be added to the “Object Selector” pane. Again, repeat the steps to add the “Push button” and the “Limiting Resistor” to the Object Selector pane.

Once, you have added the required modules, close the Device Library Selector. Select the Arduino Uno by clicking on it in the Object Selector. Now, move the mouse and click on the Editing Window to place the component on the schematic.

Repeat the step above to place Eight sets of traffic light modules, the push button and the resistor on the schematic.

Step 2: Alignment and Orientation of placed components

You may have noticed that the components aren’t aligned or arranged the way you had wanted it to be. Don’t worry, Proteus was developed with advanced tools that cater for components orientation, moving, and rotation.

To move a component (Module) to a specific place in the schematic window, it is just as easy as selecting the component and dragging it to your preferred place.

Moreover, you can also rotate a component in Proteus. This can be done in two ways. The mouse method or the keyboard shortcut. To rotate a component using the mouse button, select the component and right-click the mouse. Now depending on how you want the component to appear, you may either select “Rotate Clockwise“, “Rotate Anti-Clockwise“, and “Rotate 180 degrees“.

On the other hand, you may also use the keyboard shortcut keys to change the orientation. To rotate in the clockwise direction, select the component or module and press the minus (-) of the numeric key. Likewise, use the plus (+) key to rotate anti-clockwise. Check the image below.

Step 3: Wiring Up the 4-way Arduino Traffic System

Now that you have adjusted the orientation of the modules, it is time we hook-up the pins. This can be done in many ways. The easiest way is to use the “Wire Auto-route” option available on the Tool Menu.

With this option enabled, all you have to do is to click at both pins and the software will automatically route around obstacles and find a suitable path to create the connections. You can also link pins with wires, which can be tracked manually from one pin to another.

However, in this 4- way Arduino traffic system project, I used the terminal method of wiring. With the terminal method, you just put terminals (usually selecting the default terminal from the Object Selection pane) on each module’s pins and label them with the same name.

using the terminal for wiring the circuit

The image above shows the traffic light module connected to the “AREF” pin of the Arduino Uno. For this to work, always remember to use different label names for different links unless they all share a common wire. For instance, if two pins are connected to pin 12 of the Arduino Uno, you should label them with the same name as shown below. Invisibly, Proteus will automatically link the pins during the simulation.

Multiple connections with the same label.

Step 4: Writing the code and Importing them to Proteus

The programming codes (Sketches) for this 4-way Arduino traffic system have been provided at the end of the post. Download the file and unzip it to a folder on your computer.

Now in the Proteus ISIS, double click on the Arduino Uno and click on the “folder” icon next to the “Program File” textbox.

Loading the Arduino codes

Locate the folder where you have extracted the downloaded files to and select the “Hex” file with filename “traffic_with_pedestrian.ino.standard.hex“. Click on Open, then OK to load the code into the Arduino Uno in Proteus. You can now run the simulation.

Congratulations!, you now have a working Arduino traffic system with a pedestrian button that can be run on Proteus simulation or using real components.

Downloading the required files

Arduino Traffic System with pedestrian buttonDownload

Conclusion

The project works to perfection during the simulation and will work with no doubt when you decide to implement it physically. Check the video below.

For help in building and simulating this project, or if you have a better idea of improving it, kindly let me know with the comment box below.

Related Posts:

  • Proteus Locking System with Keypad and Pincode
    Proteus Locking System with Keypad and Pincode
  • The Best Battery For a Solar Panel System
    The Best Battery For a Solar Panel System
  • GSM Based Fire and Smoke Detection and Prevention System
    GSM Based Fire and Smoke Detection and Prevention System
  • How to Fix Proteus Crashing and Install Proteus Latest Version
    How to Fix Proteus Crashing and Install Proteus Latest…
  • How to connect multiple LCD to Arduino in Proteus
    How to connect multiple LCD to Arduino in Proteus
  • Arduino Sensor Libraries for Proteus Simulation (Updated)
    Arduino Sensor Libraries for Proteus Simulation (Updated)

Get notified when this type of article / resource is uploaded.

Unsubscribe
Previous Post

Arduino Sensor Libraries for Proteus Simulation (Updated)

Next Post

Instructional Media Summary (3 pages)

Next Post
instructional media teaching and learning materials

Instructional Media Summary (3 pages)

Comments 6

  1. NEXEA says:
    1 year ago

    WX

    Reply
  2. gumroad says:
    1 year ago

    DD

    Reply
  3. exclusive ann arbor cash only says:
    1 year ago

    CU

    Reply
  4. Angel Investor Defiinition says:
    1 year ago

    UH

    Reply
  5. venture Capital says:
    1 year ago

    QM

    Reply
  6. Angel Investor says:
    1 year ago

    TG

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • Applied Electricity & Electronics (1)
  • Education (8)
  • Electronics (14)
  • Gadget (1)
  • GES Resources (5)
  • Lifestyle (2)
  • News (4)
  • NTC Resources (2)
  • Review (3)
  • Technology (13)
  • Tutorials (10)
  • download proteus 8.11

    Proteus 8.11 Latest Version Download For Free

    66943 shares
    Share 26777 Tweet 16736
  • Arduino Sensor Libraries for Proteus Simulation (Updated)

    11583 shares
    Share 4633 Tweet 2896
  • How to Fix Proteus Crashing and Install Proteus Latest Version

    5858 shares
    Share 2343 Tweet 1465
  • Top 8 Arduino Projects in Proteus with Source Code

    2966 shares
    Share 1186 Tweet 742
  • Automatic Water Level Monitor & Controller in Proteus | Step By Step With Arduino Source Code

    1474 shares
    Share 590 Tweet 369

Recent Posts

  • Applied Electricity Lesson Notes & Scheme of Work 13th June 2022
  • Proteus 8.12 Latest Version Download for Free 8th June 2022
  • Remove KA Technologies Logo from the TM1 laptop 12th May 2022
  • How to install all TM1 Laptop drivers 12th May 2022
  • How To Fix TM1 Laptop Sound Drivers 7th May 2022
  • Automatic Stair Light – Proteus Simulation 2nd March 2022
  • How to Register your SIM with Your Ghana Card 30th September 2021
  • GES Sample Letters Free Download in PDF 19th September 2021

Tags

applied electricity arduino projects Automatic Stair Light courses in SHS courses in technical institute courses in vocational institutes curriculum engineering projeccts Fix TM1 Laptop gas and smoke detection GES gsm arena infinix itel phones JHS syllabus KA Technology KAT logo KG scheme lesson notes list of engineering projects list of vocational schools news PayPal Account Paypal in Ghana phone review Primary syllabus project ideas proteus 8.12 proteus arduino sensors proteus simulation review scheme of learning scheme of work schools in ghana SHS syllabus SIM registration syllabus teacher mate 1 TM1 audio drivers TM1 Boot Logo TM1 drivers TM1 Laptop TM1 Laptop Drivers TM1 Sound Drivers top proteus projects
  • About
  • Disclaimer
  • Privacy & Policy
  • Contact

© 2021 Sir Boateng Online by Lizbotech Engineering Services.

No Result
View All Result
  • Home
  • All Articles
  • GES Resources
  • NTC Resources
  • Technology
  • About Me
  • Let’s Chat

© 2021 Sir Boateng Online by Lizbotech Engineering Services.

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
Go to mobile version