Page 126 - TCS ICT Book 8
P. 126

The City School  2021-2022




             5.  Click on the Bumble Pi icon on the right bottom corner.

             6.  For security purposes, your mobile device will ask for permission to give bluetooth
                module access to this application. Select the Allow option to give permission.
             7.  After that, a list of Bluetooth devices will be available to connect, select the

                raspberry pi option which will be listed with the physical (MAC) address of the

                Bluetooth.
             8.  Car Controlling screen will appear and the Blue LED on your bumble pi shield will
                turn off it means your Bluetooth connection is successful now you can control your

                car from your smartphone.

             9.  If Blue LED doesn’t turn off it means you’re not connected with the Raspberry Pi so
                reboot your Raspberry Pi by turning off its switch and then repeat from step 2.


             Making a Bootloader


             For mobility purposes, we can also make a bootloader which will automatically start
             the command whenever the Raspbian OS will boot. By doing this we won’t be needing

             the Keyboard, Mouse and LCD to be connected for configuring or executing the

             command.
             Note: This Step will not exclude the process of pairing the android device.

             Follow these steps to make the bootloader:



             1.  Open terminal and type the command sudo nano /etc/rc.local
             2.  There will be a lot of text written in that file. Locate the comment stating # write a

                path for the code to run here”. And enter this command sudo python /home/pi/
                SRC.py & and press ctrl+x

             3.  The terminal window will ask to save the file, press Y for yes.
             4.  After that terminal will ask to save this file on the same location where we have to

                press Enter key.
             5.  Unplug the cables and restart the Pi by typing the Reboot keyword within the

                terminal window.
             6.  Wait for the Pi to boot completely and you will notice the blue light is lit and the Pi is

                ready to connect with the paired mobile device using the Tech Tree Bumble Pi app.















                                                                                                                126
   121   122   123   124   125   126   127   128   129   130   131