
dalex
Belgium
Asked
— Edited
Hi Hardware,
I have a HC-SR04 Distance Sensor plugged into my ez-b (or some other device that needs both digital input and output). I want to unplug the connecting digital wires, and in their place, send the digital signals via some kind of RF transceiver. So there would be one module connected to the ez-b, and other connected to the HC-SR04 Distance Sensor, simply performing the function of the two digital wires. Preferably the transceiver should act like a "blackbox" i.e. acts the same as the two digital cables without any extra programming required.
Does such a thing exist? What's the cheapest version of it?
David.
I was just searching around some more and found this:
https://www.sparkfun.com/products/8945
Specifically it says:
"Use these components to transmit position data, temperature data, even current program register values wirelessly to the receiver."
and
"The theory of operation is very simple. What the transmitter 'sees' on its data pin is what the receiver outputs on its data pin."
Surely this does what I was hoping for? Maybe there are some sensor modules that require exact timing between more than one pin (ping sensor?) but to control a servo or read from a single digital wire on a sensor, this should work as far as I can see. Bought a couple to test them out, since they were only a few bucks.
I've used those in the past for low speed uart communication. They're great. However will not work for your requirements. As stated before, the ping sensor uses speed accuracy in nanoseconds - by measuring the speed of sound. That device had a maximum speed of 4800 bps.
Also, a servo works in nanoseconds also. You can watch the servo hardware videos on our support page to see how a servo works