- #Where is rst pin on arduino usb host shield android#
- #Where is rst pin on arduino usb host shield code#
- #Where is rst pin on arduino usb host shield Bluetooth#
If you’re thinking of starting an IoT type project, I’d suggest researching the processors, shields, etc out there so you know what your options are. Halfway through the project, I abandoned my original plan to use a custom smartphone app sending commands over Bluetooth, and realized I could use a USB Host shield with a wireless receiver to process commands from a wireless Xbox 360 controller. I’m already starting to hit the limits of what it can do, so maybe a fancier model such as the Mega would have been better. I chose to use the Arduino Uno to keep the cost down – this is basically the entry level model.
#Where is rst pin on arduino usb host shield code#
Obviously, as your program grows in complexity you probably want to break out the code into additional functions, but technically you only need these 2 functions to have a fully working program.
The code itself is basically C++ (along with some custom wrappers), and it’s divided into 2 main sections – a setup() function that gets run once as the Arduino powers up (initialization logic goes here), and a loop() function which gets executed continuously (here’s where you can read inputs, run custom logic, then set outputs).
#Where is rst pin on arduino usb host shield Bluetooth#
A Bluetooth receiver was hooked up to the Arduino to process the commands.
#Where is rst pin on arduino usb host shield android#
Concept 2 – This was using a simplified Android app that I wrote which sent commands over Bluetooth.This is a very sad looking “tank” – but I didn’t burn the house down, and it motivated me to put more time into it Concept 1 – The controller was actually hard wired, I had the wrong types of motors, and this was pieced together with mostly spare parts.As an added bonus, it gives me a better understanding of a core component for future Internet of Things (IoT) projects.ĭon’t feel like reading the whole article? Skip to the video and photo gallery! Design Progression Since I had already worked with a Raspberry Pi for my home arcade cabinet, I figured an Arduino microcontroller would be a good fit for this project. My goal with this project was to create a tank with a small weed torch (flamethrower sounds much more intimidating) that I could remotely drive around to burn any weeds that had the nerve to grow in my yard.ĭisclaimer: this should go without saying, but obviously a remote controlled flamethrower can be very dangerous! Don’t try copying this & then blaming me if something goes wrong! This project all started because I’m lazy and I hate yard work.