Coder Social home page Coder Social logo

kareem-ghazi / traffic-light-system Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mazewail/traffic-light-system

0.0 0.0 0.0 130 KB

This project is a simple traffic light system built using an Arduino board and three LEDs. The system simulates a traffic light by displaying a green light first, followed by a yellow light that flashes three times, and then a red light. This cycle repeats indefinitely.

C++ 100.00%

traffic-light-system's Introduction

Arduino Traffic Light System

This project is a simple traffic light system built using an Arduino board and three LEDs. The system simulates a traffic light by displaying a green light first, followed by a yellow light that flashes three times, and then a red light. This cycle repeats indefinitely.

Hardware Requirements

  • Arduino board (Uno, Nano, or similar)
  • Three LEDs (green, yellow, and red)
  • Three 220 ohm resistors
  • Breadboard or PCB for prototyping
  • Jumper wires

Software Requirements

  • Arduino IDE (or similar software for uploading code to the Arduino board)

How to Use

  1. Connect the LEDs and resistors to the Arduino board as shown in the schematic (included in the repository).
  2. Open the Arduino IDE and upload the code to the board.
  3. Power on the board and the traffic light system will begin cycling through the green, yellow, and red lights.

Video

  • Check the following vedio to see the project simulation video

Tinkercad

  • You can view a live simulaton of the project through the following link on Tinkercad

Contributing

Contributions to this project are welcome! If you find a bug or have an idea for a new feature, please open an issue or submit a pull request.

License

This project is licensed under the MIT license. Feel free to use and modify the code as needed.

traffic-light-system's People

Contributors

mazewail avatar kareem-ghazi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.