Pages: [1]   Go Down
Author Topic: Remote control and monitor by a robot and camera over internet?  (Read 2302 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 39
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi guys,
I want to build a program to remotely control and monitor by a 4wd mobile robot which has a network camera placed on it. My idea is like this:
I create a java client side on the remote computer(anywhere in the world), and the java server in a local computer, which has the same network as the arduino. The local computer is communicated with the arduino, in order to control the robot and camera, the camera gets the image and send back to server, then the server send to remote client.

So that even I am in China, I can control the robot which is in dublin.

I have a few questions about this.
1.I think in this situation, wifly shield may be more suitable to complish wireless control, can somebody recommend one wifi shield  for me?

2.Can Arduino programming language communicate with java? How can I control it using java IDE?

Thank you~
Logged

0
Offline Offline
Tesla Member
***
Karma: 143
Posts: 9586
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Some links of a similar subject, with the bottom web cam showing basic web control.

http://arduino.cc/forum/index.php/topic,60147.msg434185.html#msg434185

http://www.lynxmotion.net/viewtopic.php?f=20&t=6343

http://web.comporium.net/~shb/wc2000-PT-script.htm
Logged

Consider the daffodil. And while you're doing that, I'll be over here, looking through your stuff.   smiley-cool

Offline Offline
Newbie
*
Karma: 0
Posts: 39
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Some links of a similar subject, with the bottom web cam showing basic web control.

Thanks for the links. But I still feel confused about the implemation process.
To achieve my goal, I want to create the web interface(for the client to control and monitor), the web server .
Could you tell me how can the web interface control the robot? Is it to communicate with the web server or the Arduino server? How?
Logged

Manchester (England England)
Online Online
Brattain Member
*****
Karma: 626
Posts: 34129
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
the camera gets the image and send back to server,
I hope you are not planning to do this with an arduino because it is not possible to do this at any great rate, maybe one frame per 30 seconds or so and you will need extra hardware to do that.

Quote
Could you tell me how can the web interface control the robot?
Normally you would have buttons to click on, these send a request to the web server which then responds by taking the appropriate action. If you look at any of the ethernet shield's sample code there is normally a button click to light an LED example.
Logged

Ft. Worth, Texas
Offline Offline
God Member
*****
Karma: 0
Posts: 591
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

There is a way to do this. It is a long and winding road.

1) You will need to be able to control the robot from the web interface on the computer

2) you will need a wireless camera that has a USB receiver

3) You will need to ensure that Windows Media Encoder (or the encoder of your choice) supports this USB receiver

4) You will need to set up WME (or your choice of encoder) for web output. I usually use port 79.

5) You will need to add the WME feed (usually an MMS protocaol) into the browser

6) You will need some sort of docking station, to charge the robot.
Logged

KF5RVR

Phoenix, Arizona USA
Offline Offline
Faraday Member
**
Karma: 40
Posts: 5575
Where's the beer?
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

There is a way to do this. It is a long and winding road.

1) You will need to be able to control the robot from the web interface on the computer

2) you will need a wireless camera that has a USB receiver

3) You will need to ensure that Windows Media Encoder (or the encoder of your choice) supports this USB receiver

4) You will need to set up WME (or your choice of encoder) for web output. I usually use port 79.

5) You will need to add the WME feed (usually an MMS protocaol) into the browser

6) You will need some sort of docking station, to charge the robot.

You could bypass many of those steps just by using an 802.11g/n wifi camera with a built in web-server; slightly more expensive, sure - but much more "plug-n-play"...
Logged

I will not respond to Arduino help PM's from random forum users; if you have such a question, start a new topic thread.

Ft. Worth, Texas
Offline Offline
God Member
*****
Karma: 0
Posts: 591
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

There is a way to do this. It is a long and winding road.

1) You will need to be able to control the robot from the web interface on the computer

2) you will need a wireless camera that has a USB receiver

3) You will need to ensure that Windows Media Encoder (or the encoder of your choice) supports this USB receiver

4) You will need to set up WME (or your choice of encoder) for web output. I usually use port 79.

5) You will need to add the WME feed (usually an MMS protocaol) into the browser

6) You will need some sort of docking station, to charge the robot.

You could bypass many of those steps just by using an 802.11g/n wifi camera with a built in web-server; slightly more expensive, sure - but much more "plug-n-play"...

Totally missed that option. That would be the optimal situation- then you could just import the image feed into the robotic control page.

Technically, in doing that, couldn't the OP run a webserver off the arduino itself, using the Wifi shield? OR does it not have that capability? Then it wouldn't require a computer to be left on.
Logged

KF5RVR

Offline Offline
Newbie
*
Karma: 0
Posts: 39
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Could you give me some links about this kind of cameras? I want to order a camera that can  directly get videos by java. Thank you~~

You could bypass many of those steps just by using an 802.11g/n wifi camera with a built in web-server; slightly more expensive, sure - but much more "plug-n-play"...
Logged

Dallas, Texas
Offline Offline
God Member
*****
Karma: 0
Posts: 861
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have three of these that I am monitoring remotely over the Internet. There is a fairly active community involved with the use and hacking of this platform.
http://foscam.us/products/foscam-fi8905w-outdoor-wireless-ip-camera-23.html
They run an imbedded web server with an extensive cgi interface to the camera. If you can get away with an indoor model, it has pan and tilt control.
Logged

0
Offline Offline
Tesla Member
***
Karma: 143
Posts: 9586
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Can the foscam serve single jpg images when requested via an http link request?
Logged

Consider the daffodil. And while you're doing that, I'll be over here, looking through your stuff.   smiley-cool

Dallas, Texas
Offline Offline
God Member
*****
Karma: 0
Posts: 861
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Absolutely. You just say:

Code:
http://camera_url/snapshot.cgi[?user=&pwd=&next_url=]

https://docs.google.com/fileview?id=0B9kFXSWngqLWYjBlYjcyOWUtYzgxYy00MWYxLThhYjAtOTgwODgzOTRmOGM5&hl=en

has a description of the SDK from Foscam.
« Last Edit: July 29, 2011, 04:41:11 pm by EmilyJane » Logged

Corryton, TN, USA
Offline Offline
Newbie
*
Karma: 0
Posts: 17
Arduino Rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I am greatly interested in this project.  Please, keep us updated.
If you need anything, could my HTML/CSS be of any use?  I would love to learn Java or Python, but Python preferably.  Just trying to make myself useful LOL.
Logged

--Corrytonapple----
Typed while running Debian on Recycled Electrons

Offline Offline
Newbie
*
Karma: 0
Posts: 39
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank you for the link, now I have build the remote system with a distance sensor, (using socket for internet transport and xbee for wireless control), now I can remotely control my robot over internet and also get the distance number from my sensor, my only problem is to buy a network camera for monitoring, but I don't know if your link can fulfil my requirement, I think maybe I need a smaller one. Do you know something like that (which can be embedded on a servo motor on a robot)?

I have three of these that I am monitoring remotely over the Internet. There is a fairly active community involved with the use and hacking of this platform.
http://foscam.us/products/foscam-fi8905w-outdoor-wireless-ip-camera-23.html
They run an imbedded web server with an extensive cgi interface to the camera. If you can get away with an indoor model, it has pan and tilt control.
Logged

Pages: [1]   Go Up
Jump to: