Offline
Newbie
Karma: 0
Posts: 7
|
 |
« on: July 14, 2011, 10:16:00 am » |
I want to create device that will interact with a pc. The device will have sensors (arduino) that will send info to the pc. What is the best way to have a PC <-> Arduino wireless interaction?
I know they have these submarine toys where a remote is interacting with the submarine so I am guessing this is possible...
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Boston area, metrowest
Offline
Brattain Member
Karma: 249
Posts: 16563
Available for Design & Build services
|
 |
« Reply #1 on: July 14, 2011, 10:18:17 am » |
Use Sound. Carries very well underwater.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 7
|
 |
« Reply #2 on: July 14, 2011, 10:21:12 am » |
What if I have several of these devices will there be interference? Is there any info on using "sound"...
|
|
|
|
|
Logged
|
|
|
|
|
Manchester (England England)
Offline
Brattain Member
Karma: 277
Posts: 25556
Solder is electric glue
|
 |
« Reply #3 on: July 14, 2011, 10:23:53 am » |
will there be interference? Yes. You have not specified range, data rate and environment all these have a bearing on the best solution.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 7
|
 |
« Reply #4 on: July 14, 2011, 10:26:21 am » |
Lets say a public swimming pool with 20 devices in the water. One PC receiving info from the sensors (one sensor per device). Its a rough idea at the moment as I am trying to figure out if its even feasible.
I want the PC to retrieve info from each device with the least delay possible. The PC should also be able to identify and distinguish each device .
|
|
|
|
« Last Edit: July 14, 2011, 10:28:28 am by T_Tronix »
|
Logged
|
|
|
|
|
Global Moderator
Boston area, metrowest
Offline
Brattain Member
Karma: 249
Posts: 16563
Available for Design & Build services
|
 |
« Reply #5 on: July 14, 2011, 10:29:09 am » |
Interference? Probably. Can you have the senders listen and only send when its their turn? Sensor 1 pings every 10 seconds. Sensor 2 waits to hear sensor 1, waits 1 second and pings. Sensor 3 waits to hear sensor2, waits 2 second and pings (or pings 2 seconds after 1). etc.
Or they wait until the PC queries: "sensor1, transmit" sensor1, "ok"
"sensor2, transmit" sensor2, "ok"
Depending on the environment, there may be echos, so testing could be interesting.
Have you tried googling "underwater communication" ?
|
|
|
|
|
Logged
|
|
|
|
|
Manchester (England England)
Offline
Brattain Member
Karma: 277
Posts: 25556
Solder is electric glue
|
 |
« Reply #6 on: July 14, 2011, 10:31:18 am » |
And are these devices submerged in the water all the time or are they on things like people or dolphins where they could be in and out of the water. Do you have control over this environment? That is could you put an inductive loop round the area of water, lets say the pool.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 7
|
 |
« Reply #7 on: July 14, 2011, 10:33:00 am » |
Its a new concept I just thought of, I'll start researching more on this. Been working with arduino for several years but never something with underwater communication.
The PC interface and Arduino/Sensor are fairly straight forward at this point, its the communication between both that puzzles me a little.
I am trying to gather info now before I start investing into this new challenge...
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 7
|
 |
« Reply #8 on: July 14, 2011, 10:33:52 am » |
And are these devices submerged in the water all the time or are they on things like people or dolphins where they could be in and out of the water. Do you have control over this environment? That is could you put an inductive loop round the area of water, lets say the pool.
It will be in and out of the water...
|
|
|
|
|
Logged
|
|
|
|
|
Manchester (England England)
Offline
Brattain Member
Karma: 277
Posts: 25556
Solder is electric glue
|
 |
« Reply #9 on: July 14, 2011, 10:36:22 am » |
Well that rules out anything concerned with ultra sound through the water. Inductive loop sounds right but I don't know if you have access rights to the area you want to monitor. The problem with radio is that the water changes the wavelength so you might need two antenna, one for submerged and the other for above the water.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 7
|
 |
« Reply #10 on: July 14, 2011, 10:38:57 am » |
Hmm...I see, so it might be more complex then I first thought...Also googling "arduino underwater communication" doesn't bring much help...
|
|
|
|
|
Logged
|
|
|
|
|
|
|
Montreal
Offline
Edison Member
Karma: 17
Posts: 2207
Per aspera ad astra.
|
 |
« Reply #12 on: July 14, 2011, 06:45:11 pm » |
There are a lot of R/C submarine all over google & youtube. It looks like a water not a problem for RF communication, assuming a few meters depth.
|
|
|
|
|
Logged
|
|
|
|
|
Manchester (England England)
Offline
Brattain Member
Karma: 277
Posts: 25556
Solder is electric glue
|
 |
« Reply #13 on: July 15, 2011, 03:04:53 am » |
As I said the wavelength changes under water, if the OP had something that was constantly under water then this would be much easer. But because it can be in and out of the water the antenna would be wrong in one environment or the other. Radio waves do penetrate water but there is severe attenuation as well. Nuclear submarines communicate over 200KHz radio links but the antenna they use is over half a mile dragged out as a wire behind it.
|
|
|
|
|
Logged
|
|
|
|
|
Sussex UK / CT USA
Offline
Edison Member
Karma: 0
Posts: 1026
Forums forever
|
 |
« Reply #14 on: July 15, 2011, 04:38:15 am » |
What do you want to DO? What are you wanting to sense? Do you need two way communication?
If, say, you want "things" a racer touches to indicate he/she has finished a length, then a whole bunch of problems go away, a whole bunch of solutions arise. But until you explain where you are trying to go, useful discussion is difficult.
|
|
|
|
|
Logged
|
|
|
|
|
|