This shows you the differences between two versions of the page.
pm:prj2022:robert:actuated-signal-controller [2022/06/02 13:17] andru_tudor.badiu [Schema Tinkercad] |
pm:prj2022:robert:actuated-signal-controller [2022/06/02 13:41] (current) andru_tudor.badiu [V. Conclusions] |
||
---|---|---|---|
Line 23: | Line 23: | ||
+ | \\ | ||
==== Schema Tinkercad ==== | ==== Schema Tinkercad ==== | ||
+ | \\ | ||
+ | Mai jos este reprezentata schema pentru ASL:\\ | ||
+ | {{:pm:prj2022:robert:asl_schema_tinkercad.jpg?nolink&300 |}} | ||
+ | |||
+ | \\ \\ | ||
===== III. Hardware Design ===== | ===== III. Hardware Design ===== | ||
Line 33: | Line 39: | ||
* Electrical Wires | * Electrical Wires | ||
* IR Senzors | * IR Senzors | ||
- | * Breadboard (12X18cm) | + | * Breadboards (12X18cm) |
- | * Pressure Senzors | + | * Buzzer |
* Design Materials | * Design Materials | ||
+ | |||
+ | From the Arduino Uno, I use the following: | ||
+ | |||
+ | - (Vcc) Power Supply of 5V, GND | ||
+ | |||
+ | - pins 2 - 4 for operating leds at Road A | ||
+ | |||
+ | - pins 5 - 7 for operating leds at Road B | ||
+ | |||
+ | - 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 |