How can I ping the sensor through an xbee without a microcontroller?
QuoteHow can I ping the sensor through an xbee without a microcontroller?You can't. The sensor needs to be turned on for a period of time, then turned off, and then the pins switched from output to input so that the time to receive the echo can be measured. The radio won't do that.
Sorry I did not clarify, I just want it to transmit. Not receive or anything.
QuoteSorry I did not clarify, I just want it to transmit. Not receive or anything.What good is a ping sensor that only sends out the pulse? It isn't useful unless the pulse reflects off of something and comes back, and you measure how long that took.
I know the in and outs of a ping)) sensor.
QuoteI know the in and outs of a ping)) sensor.So, show us the code you are using.You seem to think that the Arduino is not intimately involved in the process of making the ping sensor perform useful action. My ping sensors most definitely need to be controlled by a microprocessor.
I cant write the code if I dont know how its going to work with using xbee's
QuoteI cant write the code if I dont know how its going to work with using xbee'sIf you "know the ins and outs" of the ping sensor, it should be obvious that the XBee, by itself, will not get data from a sensor that needs to be an output device then an input device.You can't upload code to the XBees, so writing code for them is not going to happen.
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16