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

5.  Connect the battery and secure all wiring.


                  Testing the Circuit
                  ●  Ensure all connections are secure.

                  ●  Run the basic motor control sketch to verify movement.

                  ●  Check Bluetooth module LED blinking (indicates readiness).

                  CREATING AN ANDROID APP FOR ROBOT CAR CONTROL


                  Designing the App Interface

                  We will use MIT App Inventor to create a Bluetooth-controlled app with buttons for movement:

                  ●  Forward
                  ●  Backward

                  ●  Left

                  ●  Right
                  ●  Stop



























                  Programming the App

                  Steps:
                  ●  Add Bluetooth Client Component.

                  ●  Assign commands to buttons:

                      o  “F” for Forward

                      o  “B” for Backward
                      o  “L” for Left

                      o  “R” for Right




                  130   Premium Edition-VIII
   127   128   129   130   131   132   133   134   135   136   137