Arduino Projects > Robot Tank Page 2

Finished Polargraph

Arduino Robot Tank - ARTy, powered by 4 AA cells and one 9v.

Front view of ART

Front View

<Back to ARTy Page 1

July 27, 2013: Continuing onward! Bluetooth integration. Save yourself some frustration and purchase a wired and pined Bluetooth module. You will need a few things for this: a Bluetooth module, a computer or smart phone with Bluetooth (the phone part will come later).

I purchased a no name module of of eBay and this is what I got (datasheet). I believe it is the equivalent of the HC-05 Bluetooth module (datasheet for all HC products), though I cannot say for sure. What I do know is that you only need 4 pins for it to communicate: TX, RX, +3.3v, and ground. Sounds pretty easy. And it is...

Here is the code I used for the test (CODE). You are going to need a terminal emulator too. Since I use windows, and I have used Putty before, that is what I used here (Putty Download Page). The code is really simple, Press a 1 and an led turns on, press 0 and it turns off. The Arduino responds back after performing the action.

I plan on using this two ways. First, I will have it report distances and turning directions. Eventually, I am going to make a simple Android app for my smart phone to control ARTy.

If you have any questions about this project, email me.

<Back to ARTy Page 1

BlueTooth Test Rig

This is my Bluetooth test rig.

Click image for bigger picture.


Working Test Rig

After "1" is pressed and the LED comes on. Works like a champ. Note that the USB connector is only connected for power.

Click image for bigger picture.

Closeup of Bluetooth Module


This is a close up of the Bluetooth module. I put a bit of electrical tape on the back of it before hot melt gluing it to the piece of prototyping board.

Click image for bigger picture.

side view of Bluetooth module


Here is a side view of the module showing the pins.

Click image for bigger picture.

Putty Configuration

Here is the serial configuration for Putty. Please note that my comport may be different. When connecting the Bluetooth, it will show you what your comm port is.

Click image for bigger picture.

Putty Configuration

Here is the session configuration page. Be sure to save your configuration. It does save time while testing.

Click image for bigger picture.

Putty Terminal Window

Here is a pressing a '1' on the keyboard.

Click image for bigger picture.

Putty Terminal Window

Here is Pressing a '0' on the keyboard.

Click image for bigger picture.

< Back to Page 1 On to Page 3>

 

Ask a Question or Leave a Comment