Giter Site home page Giter Site logo

omarnabih99 / egfwd-on-demand-traffic-lights Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 411 KB

Embedded Systems project based on ATmega32 Microcontroller in Embedded Systems Professional track provided by Udacity and egfwd.

C 100.00%
atmega32 avr eclipse egfwd embedded-systems proteus udacity udacity-nanodegree

egfwd-on-demand-traffic-lights's Introduction

On-Demand-Traffic-Lights

Embedded Systems project based on ATmega32 Microcontroller in Embedded Systems Professional track provided by Udacity and egfwd. The project was developed using Eclipse IDE and simulated using Proteus Simulator.

System Description

-Traffic lights normally consist of three signals, transmitting meaning to drivers and riders through colors and symbols including arrows and bicycles.

-The system consists of 6 LEDs which are red, yellow, and green for both pedestrians and cars, arranged vertically or horizontally in that order in addition to an on-demand crosswalk button.

-Crosswalk button lets the signal operations know that someone is planning to cross the street, so the light adjusts, giving the pedestrian enough time to get across.

Screenshot 2022-11-04 155348

System Logic

-MCAL drivers which are DIO, TIMERS, and INTERRUPTS, and ECUAL drivers which are LED and BUTTON were implemented from scratch.

-The project is developed using the full static architecture and follows the SOLID principles.

-The system consists of 6 LEDs, a push button, and AVR ATmega32 Microcontroller.

-Cars' traffic lights switches every 5 seconds. Same as for pedestrians' traffic lights but with inverted colors.

-The system is built so that to gurantee pedestrians' safety as they are allowed to cross the road if and only if the cars' traffic is red.

File Structure

-The project is divided into layers : MCAL, ECUAL, and Application layer.

-a UTILITIES Folder is added to define standard types, common used macros, and microcontroller configurations.

-The image below explains the file structure of the whole project.

Project Explorer

System Constraints and Flow Chart

You can find all system details and flow chart here.

egfwd-on-demand-traffic-lights's People

Contributors

omarnabih99 avatar

Watchers

 avatar

Forkers

mhmwd83

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.