![]() Once done add the following to the bottom of the nf, here observe we have set the Pi ip address as 192.168.1. SSH into your Pi and install the DHCP package ~ $ sudo apt-get install isc-dhcp-server To do this you will have to setup a Ad-Hoc network on your Pi with its own DHCP service which will server IP address to device that want to connect to it, which in this case is your mobile when your at the park. b) Right-click the external drive and select Properties, and then click the Security tab. If you plan to take you truck out an' about to a park, you will want to setup the Pi act like your wifi router at home, so that you can connect your mobile to the Pi's Wifi and use the flask web app you just deployed as the controller for the truck. Method 1: To take ownership of the drive, a) Click Start, select Computer and select the external drive. Once the file opens add the following line at the end of the file and hit ctrl+X to save. If you plan to take the monster truck outside, where you wont have Wi-Fi range from your router, setup the program to run when the Raspberry Pi starts up using the following command ~ $ sudo crontab -e Keyboard.py program, uses key strokes which are similar to most action games that you would play on your computer, that is Modify the block of code highlighted in the first picture to increase the speed and time interval which kind off drives the sensitivity of the keyboard as the controller. Run the program using ~$sudo python keyboard.pyĪs shown in the third picture and give the keyboard controller a test as shown in the video. Download the keyboard.py program and FTP the file to the Pi /home/Pi directory using the FTP tool called filezilla which you installed in the previous step.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |