Home / Expert Answers / Mechanical Engineering / hello-i-need-some-assistance-with-an-assignment-which-involves-using-arduino-uno-and-arduino-code-t-pa841

(Solved): Hello, I need some assistance with an assignment which involves using Arduino uno and Arduino code t ...



Hello, I need some assistance with an assignment which involves using Arduino uno and Arduino code to program a shopping center car park; this is how it is supposed to work.

The initial state is the boom gate (servo - motor) down, and an rgb led shinning a solid red.

When a sensor (line trace module used as a proximity sensor) detects a car approaching, the rgb led must flash red while the boom gate opens 90 degrees, and once the boom gate has finished opening, the rgb led must remain green. Once the car leaves, the rgb led must flash green for 3 seconds. After the 3 seconds, the boom gate closes and while it closes the rgb led must flash red. The system then returns to its initial state.

Finally a pedestrian crossing system must be incorporated aswell. This involves pressing a button. Once the button is pressed, the boom gate must remain closed, even if a car approaches. The rgb led must stay red for 3 seconds, then turn blue for 4 seconds, and then flash blue for 2 seconds, before the entire system returns to its initial state.

The opening and closing of the gates must take 600 milliseconds, and the lights should flash at approximately 5 hertz.



We have an Answer from Expert

View Expert Answer

Expert Answer


Given Gate opens at = 90° Rgb
We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe