by CJA3D via Instructables
Here is a great way to impress your fiends when your out an’ about at the park, by modifying a broken toy Truck/Car with a Raspberry Pi and Adafruit’s DC & Stepper Motor Pi HAT , to existing electronics . And for the controller to run the car/truck, you basically have two options to choose from, as shown in the pictures and video above –
#1 KeyBoard Controller – if you like playing computer games using your keyboard ,follow the steps below to upload the python program to your Pi to use the wireless keyboard to control your toy car/truck as shown in the second part of the video above.
#2 Mobile controller using a flask web app – use your mobile/tablet to control the truck, by connecting to the Pi’s WiFi network and opening up the flask controller web app on your mobile browser as shown in the first part of the video above.
In my case, I got the monster truck from my neighbor after his 6 year old broke the receiver and yes the truck was also in a bad shape. After repeatedly trying to fix the controller , I decide to strip the truck as shown in the picture above and check if the motors and battery holder were still functional.
Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!