Differences

This shows you the differences between two versions of the page.

Link to this comparison view

pm:prj2022:robert:actuated-signal-controller [2022/06/02 13:27]
andru_tudor.badiu [III. Hardware Design]
pm:prj2022:robert:actuated-signal-controller [2022/06/02 13:41] (current)
andru_tudor.badiu [V. Conclusions]
Line 49: Line 49:
 - pins 2 - 4 for operating leds at Road A - pins 2 - 4 for operating leds at Road A
  
-pinii 5 - 7 for operating leds at Road B+pins 5 - 7 for operating leds at Road B
  
-pinii 8 - 10 to obtain the output from the proximity sensors and the buzzer+pins 8 - 10 to obtain the output from the proximity sensors and the buzzer
    
 +===== IV. Software Design =====
 +
 +In the software part, I used the following tools:
 +
 +- defines to remember the role of different entities (for example: the pin that orders the red color of a road, the duration in milliseconds of the yellow collor of total number of iterations in a loop)
 +- the digitalWrite function is used to keep certain LEDs operational in regards to the code's logic ; the digitalRead function on the other hand is used to read the results of the IR Sensors
 +- defined functions for setting certain steps from the ring-and-barrier diagram (for example, set_red_a sets on HIGH the corresponding pin for the red LEDs in the road A)
 +
 +A loop (ROAD_A_LOOP) has a defined number of iterations. At each iteration, the sensors are checked, and in case the current road is empty and the perpendicular road is full, the counter is started, otherwise, it resets to its initial value of zero.
 +
 +{{:​pm:​prj2022:​robert:​asl_traffic_diagram.png?​nolink&​300 |}}
 +
 +===== V. Conclusions =====
 +
 +What did I accomplish with this endeavor?
 +\\ The project is the start of my bachelor degree project, with it being a miniature intersection,​ that is able to guide traffic in a smart way, through sensors and traffic lights.\\ ​
 +
 +What did I learn?
 +-to use arduino in a practical way
 +
 +-to learn cable management in order to achieve maximum efficiency
 +
 +-to organize a project, start to finish
pm/prj2022/robert/actuated-signal-controller.1654165679.txt.gz · Last modified: 2022/06/02 13:27 by andru_tudor.badiu
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0