Introduction: Control Your Arduino Camera Robot From Your PC

Picture of Control Your Arduino Camera  Robot From Your PC

An Arduino based Robot controlled from a PC with visual basic and a Bluetooth adapter.

Step 1: Layout

Picture of Layout

I have made this robot based on the popular DD1-1 tracked platform. You can bay it cheap on Ebay, or AliExpress.

On the board I put a simple IP Camera (model SRICAM IP001) and an Arduino Uno clone from Sainsmart.

Step 2: Power

Picture of Power

The chassis is cut from two pieces of thin transparent Plexiglas.

For the main power I use a Lead-Acid 8volt/3.2 Ah battery . It is heavier than a Ni-Cd battery, but it’s a lot cheaper.
I also add a 1.6A glass fuse because the IP Camera is an energy hog. The battery charger is a simple 300mA pack but you can use a 10.8Volt power supply with current limitation.

I give 5Volt to the camera with a step-down LM2596 power supply module. In my original design I try to use a 7805 regulator, but the battery drain very quickly.

Step 3: Software

Picture of Software

For the communication I wrote a program in visual studio so you need the .NET 4.0 Framework to work with it.

For the controls on the receiver there is a HC-06 and on the transmitter a cheap Bluetooth dongle (it works flawless on windows 7) .

I am monitoring the voltage with a simple divider made with two 10k resistors. The ends are in + and – and the middle connection goes to analog input A0.

You can download the code for the Arduino and the .exe program here:

https://dl.dropboxusercontent.com/u/51764059/pardu...

Update 1:

You can download the visual studio code, here:

https://dl.dropboxusercontent.com/u/51764059/Pardu...

(many thanks to tiktakx project) and unzip it.

If you don't know how to edit the code first download visual studio express (free version) from microsoft.

then after install it, go Open-->Project--> Parduino.sln. Open the form in the solution explorer and double click on each element you want to see the code.

Every time you press a key the bluetooth sends a character to arduino. F(Forward), B (Back), L(left), R(Right), S(Stop), G(Forward Left), I(Forward Right), H(Back Left), J(Back Right).

I will also post the code and an application for android phones in the next few days.

Comments

HippoL (author)2016-10-13

Could you possibly give step by step instructions on how to run the c# program through Microsoft visual studio 2012? I don't have much information on the software or the language. My email is mattxhumel@gmail.com.

Jugabrata Das (author)2016-09-09

could you provide me the information of all the steps as well as all the parts required for it.My email id:dasjugabrata98@gmail.com

please send!!

JorgeT41 (author)2016-05-19

Hi! could you kindly provide the circuit diagram?

my email id: ji.torres@live.com

Thank you

akash.pal.9 (author)2015-04-29

could you kindly provide the circuit diagram?

my email id: akashpa93@gmail.com

Thank you

simecentri made it! (author)2014-10-19

hi. its good job.and could you explain in detail arduino, C# and IP camera connectivity?

sousonis (author)simecentri2014-10-19

I have add an update with the code. The IP camera display it is just a simple web browser you can watch a simple video for this here:

If you have any more questions please let me know

sousonis (author)sousonis2014-10-19

It is also a good idea to add a static ip for your camera based the MAC address of the device. You can do this in your router "port forwarding" settings.

seamster (author)2014-10-08

Nicely done. Thanks for sharing this!

sousonis (author)seamster2014-10-19

Thank you for your kind words

ibenkos (author)2014-10-18

Smart idea! :)

sousonis (author)ibenkos2014-10-19

Thank you. I am glad you like it