Page 112 - KEC Khaitan C8.2 Flipbook
P. 112

Step  3   Designing the Reverse Parking System

                               Tinkercad Design:
                               o   Assemble  the ultrasonic  sensor, piezo  buzzer, and three colored  LEDs  on a

                                  breadboard using the Tinkercad platform.

                               o  Use jumper wires to connect all components correctly to the Arduino Uno R3.



















                                                         Figure 1: Tinkercad Circuit

                               Programming the System:

                               o  Integrate ultrasonic sensor readings with buzzer feedback.

                               o  Program the system for the following outputs:
                                     Continuous beep - If an object is detected less than 10 cm away.

                                     Intermittent beep - For objects between 10-30 cm.

                                     No sound - For objects greater than 30 cm.

                               Sample Block code:






























                                                           Figure 2 : Block Code



                  110   Premium Edition-VIII
   107   108   109   110   111   112   113   114   115   116   117