Pages: [1]   Go Down
Author Topic: Xbee With Ping)) Sensor  (Read 665 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Jr. Member
**
Karma: 0
Posts: 53
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello,

So I'm at the final phase of my project but stuck!

I'm trying to wirelessly make a ping)) sensor ping using an xbee(without another microcontroller).

So basically on one side I have an Arduino and xbee and on the other side I have an xbee and a Ping)) sensor.
Arduino->xbee->xbee->Ping)) sensor

What is the simplest way to wirelessly make the ping sensor ping(I dont care about receiving, I just need it to ping)?

Any advice, code or hardware?

http://www.parallax.com/dl/docs/prod/acc/28015-PING-v1.3.pdf
Logged

UK
Offline Offline
Shannon Member
****
Karma: 222
Posts: 12534
-
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The xbee gives you a serial stream over a wireless link. I don't see how you can drive a ping sensor from that without something sitting between the xbee and the ping sensor to receive from the serial stream and drive an I/O pin. There are plenty of wireless alternatives to xbee but it's impossible to know which ones might meet your need without knowing more about the distance you're trying to cover and what sort of environment you're in.
Logged

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

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

The xbee gives you a serial stream over a wireless link. I don't see how you can drive a ping sensor from that without something sitting between the xbee and the ping sensor to receive from the serial stream and drive an I/O pin. There are plenty of wireless alternatives to xbee but it's impossible to know which ones might meet your need without knowing more about the distance you're trying to cover and what sort of environment you're in.
The ping sensor works off a high low combination, when the ping is powered to 5v its at high and then the xbee can somehow bring it low, by sending 0's?

its not much of a distance like 10 feet and its both indoors outdoors, doesn't matter.
Logged

UK
Offline Offline
Shannon Member
****
Karma: 222
Posts: 12534
-
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I don't see how that solution would work.

Seems to me that xbee is massive overkill for that range, anyway. All you need is a couple of Arduinos equipped with nRF24L01+ or similar transceivers - this would be much cheaper than using xbees.

Logged

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

Pages: [1]   Go Up
Jump to: