Pages: [1]   Go Down
Author Topic: Wireless project 4 transmitters, one arduino as receiver  (Read 1164 times)
0 Members and 1 Guest are viewing this topic.
UK
Offline Offline
Jr. Member
**
Karma: 0
Posts: 66
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi there, I'm not sure the best way about this so I thought it ask on here. I have a project which reads 4 analogue sensors which outputs 0-5v. Currently this works great, but I'd like to make each sensor wireless ( independently of each other)  I've been doing some research, but I've never read on how to read from more than one wireless device to a single arduino board. Ideally I'd like to have 4 transmitters all sending info back to a single receiver connected to an arduino. The sensors will only need to transmit a max of 10 meters. What are my options to get this done?
Thanks on advance for your thoughts.
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 613
Posts: 49310
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
What are my options to get this done?
XBees, series 2 (mesh network) will work great. There are cheaper options (NRF something or other) but I've never used them.
Logged

Poole, Dorset, UK
Offline Offline
Edison Member
*
Karma: 52
Posts: 2298
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

What kind of range are you thinking of?.

Short range 30ft or so the WiFis an option,

XBees give longer range.

Mark
Logged

UK
Offline Offline
Jr. Member
**
Karma: 0
Posts: 66
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks for your input guys,

The range will be 30ft max. I'm looking for the cheapest option.

If I go down the xbee option, will I need an arduino on each of the xbee transmisters, or can I use the xbee to relay the 5v signal to a single common arduino?
Logged

Poole, Dorset, UK
Offline Offline
Edison Member
*
Karma: 52
Posts: 2298
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes you need the Arduino, an Wireless SD shield or an XBee shield. These to shields then need the XBees or WiFly modules added. WiFly have the same footprint as the XBees and give you WiFi.

However for a range of 30ft a wire connection should be ok. (Use twisted pair).

Mark
Logged

UK
Offline Offline
Shannon Member
****
Karma: 223
Posts: 12630
-
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The range will be 30ft max. I'm looking for the cheapest option.

Functionally, the nRF24L01+ radio transceivers are just what you need.

They're tiny little cards that can be wired directly to any Arduino and take almost no power. Each instrument would consist of a minimal Arduino and the radio transceiver, plus power supply.  The low power also translates to low range. I'm not sure the cheap non-amplified versions would stretch to 30' under ideal conditions, and if there are any obstructions I'd say that was out of the question. There is an amplified version with increased range but I have no experience of them.

If you take this approach and find you're running out of range, you have the option of installing additional units to act as relays.
Logged

I only provide help via the forum - please do not contact me for private consultancy.

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 613
Posts: 49310
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Yes you need the Arduino, an Wireless SD shield or an XBee shield. These to shields then need the XBees or WiFly modules added. WiFly have the same footprint as the XBees and give you WiFi.

However for a range of 30ft a wire connection should be ok. (Use twisted pair).
If you go the XBee route, you can connect the sensor directly to the XBee - no Arduino required. That requires a bit of configuration magic to get working, and requires using API mode to get the data on the coordinator.

If you go the XBee route, Rub Faludi's "Building Wireless Sensor Networks" is a worthwhile investment.
Logged

UK
Offline Offline
Jr. Member
**
Karma: 0
Posts: 66
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Paul, I've ordered a copy of that book, looking forward to a read. So with the xbee I can have one arduino with xbee module, and have 4 sensors, each with there own xbee module to talk the the xbee module attached to the single arduino?

Sound perfect. Do you know of anything online I can read up on this before my book arrives?

Thanks

Jimster
Logged

Poole, Dorset, UK
Offline Offline
Edison Member
*
Karma: 52
Posts: 2298
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

XBees can be attached directly to the PC.

Mark
Logged

UK
Offline Offline
Jr. Member
**
Karma: 0
Posts: 66
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The plan is to use an LCD display to view the sensor information, long term is like to add Bluetooth for smartphone access .  Don't want to use a pc if possible
Logged

UK
Offline Offline
God Member
*****
Karma: 17
Posts: 568
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I've had nRF24L01+ow power modules transmitting about 30ft through a couple of walls and a floor. In open space I think they'd work fine.

For about £1.30 each from China, it's certainly affordable to get yourself a few and give them a go with the Maniacbig libraries. RF24Network was designed as a sensor network so should do exactly what you have in price.

If you do need longer range then the high power version of nRF24L01+ is available for about £7.50. I've had them doing about 150m through a window and down a street in an urban environment. If you can get height to clear the Fresnel Zone better then I'm sure you could increase that.

With RF24Network you can insert repeater nodes to extend range, in a similar topology to XBee but at a fraction of the price.
Logged

UK
Offline Offline
Jr. Member
**
Karma: 0
Posts: 66
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks, sounds like these nRF24L01+ may also be an option. I have had a quick read up on them Nd I love the price. If I wanted my arduino board to read 4 analogue inputs, would I need 5 or 8 of the nRF24L01+ boards?
Logged

UK
Offline Offline
Shannon Member
****
Karma: 223
Posts: 12630
-
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

If I wanted my arduino board to read 4 analogue inputs, would I need 5 or 8 of the nRF24L01+ boards?

Each Arduino would need one nRF24L01+.
Logged

I only provide help via the forum - please do not contact me for private consultancy.

UK
Offline Offline
Jr. Member
**
Karma: 0
Posts: 66
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I've received my nRF24L01 boards. I see there are few libary's out there for this board. What's the generally feeling on which one is the best?

Whats not clear to me is how do you set the address of each nRF24L01 so they know who to talk to?
Logged

Pages: [1]   Go Up
Jump to: