k-m-arun-kumar-5 / road-traffic-congestion-ctrl

road traffic density congestion control based on simple traffic signal controller.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Description :

I, K.M. Arun Kumar alias Arunkumar Murugeswaran, just shared my works, which I worked as learning path and practiced Embedded C programming using PIC16F887 (Microchip's 8 bit microcontroller in PIC16 family) such as 4 way traffic control sequence on one lane present in each way with GO sequence E-W-N-S direction, with density control. Next sequence direction Go means next direction traffic GO state eg, if in east direction traffic is in GO, then next direction traffic GO is West. If next sequence directions traffic congestion are in level 0 ie less traffic congestion, then use normal level 0 Green for next sequence direction traffic GO, eg if in east direction traffic is in GO, then in West GO duration = normal level 0 West GO duration time. If next sequence direction has level 1 traffic congestion ie level 1 congestion more than level 0 congestion, then switching to this sequence will have more green duration time than level 0 green duration time. eg.if in east direction traffic is in GO, then in West GO duration = level 1 West GO duration time and level 1 West GO duration time > level 0 West GO duration time. If next sequence direction has level 2 traffic congestion ie, level 2 congestion more than level 1 congestion, then switching to this sequence will have more green duration time than level 1 green duration time. eg.if in east direction traffic is in GO, then in West GO duration = level 2 West GO duration time and level 2 West GO duration time > level 1 West GO duration time. We use IR_LEVEL1_SW PRESSED ON to indicate level 1 congestion and IR_LEVEL2_SW PRESSED ON to indicate level 2 congestion for each direction.

CAUTION:

Schematics and simulation is done by Proteus CAD. NOT EXPERIMENTED IN REAL TIME ENVIRONMENT.

Purpose :

In all my respective repositories, I just shared my works that I worked as the learning path and practiced, with designed, developed, implemented, simulated and tested, including some projects, assignments, documentations and all other related files and some programming that might not being implement, not being completed, lacks some features or have some bugs. Purpose of all my repositories, if used, can be used for LEARNING AND EDUCATIONAL PURPOSE ONLY. It can be used as the open source and freeware. Kindly read the LICENSE.txt for license, terms and conditions about the use of source codes, binaries, documentation and all other files, located in all my repositories.

My Thanks and Tribute :

I thank to my family, Friends, Teachers, People behind the toolchains and references that I used, all those who directly or indirectly supported me and/or helped me and/or my family, Nature and God. My tribute to my family, Friends, Teachers, People behind the toolchains and references that I used, Nature, Jimmy Dog, God and all those, who directly or indirectly help and/or support me and/or my family.

Toolchains that I used for PIC16F887 Application design and development are as follows :

1: IDE and compiler for PIC16F887 - Microchip's MPLAB X IDE (v4.01) with MPLAB XC8 compiler(v1.45) or Microchip's MPLAB 8.6 IDE with Hi-Tech C Compiler.
2: CAD and simulator for PIC16F887 - Proteus 8.0 Professional and/or Proteus 8.3 Professional SP2. 3: PIC16F887 development board - www.alselectro.com 4: Flash Programmer for PIC16F887 – PicKit3. 5: LCD - JHD162A. 6: Desktop Computer Architecture and OS for PIC16F887 development - Intel X64 & Windows 7 (32 bit). 7: Code editor - Notepad++. 8: Documentation - Microsoft Office 2007 (alternative LibreOffice) and Text Editor.

Some reference that I refered for PIC16F887 Application design and development, are as follows :

1: Schaum's Outline of Programming with C, 2nd Edition - Book authored by Byron Gottfried. 2: Understanding and Using C Pointers: Core Techniques for Memory Management - Book authored by Richard M. Reese. 3: Embedded C - Book authored by Michael J. Pont. 4: PIC16F887 product datasheet. 5: Hitachi HD44780U - LCD product data sheet.

Note :

Kindly read in the source codes, if mentioned, about the Program Description or Purpose, Known Bugs, Caution and Notes and documentations. Some applications are also tested in a PIC16F887 development board.

My Repositories Web Link :

https://github.com/k-m-arun-kumar-5

About

road traffic density congestion control based on simple traffic signal controller.

License:Other


Languages

Language:C 70.9%Language:Makefile 26.7%Language:Shell 2.4%