0

I wan't to build a diversity controller similar to this one.

A diversity controller is basically a circuit which detects the strongest RSSI Signal of multiple receivers and provides the data signal of that (the strongest) receiver.

As a receiver I use boscam RX5808 receivers.

This receiver can be switchen between 8 channals through a 3 bit output interface. The CH1-3 outputs are active high 5V which got to be pulled to ground.

Is it possible to put these receiver-outputs on an arduino digital inputs, to either put them on ground or not?

How exactly do I implement this in software?

  • According to the document you linked to, the channel select pins look like internally pulled-up inputs, not outputs. – Edgar Bonet Jul 5 '16 at 12:38
2

When you output HIGH you connect the pin to +5V. When you output LOW you connect the pin to ground. It's called a push-pull interface, and looks like this:

enter image description here

When it's set HIGH the p-FET is turned on and the n-FET is turned off. That connects the output direct to VDD. When it's set LOW the p-FET is turned off and the n-FET is turned off. That connects the output direct to GND.

They are just like switches, as depicted to the right. Only one is closed at a time - when HIGH the upper switch is closed, when LOW the lower switch is closed.

So you just connect the output pins of the Arduino direct to the input pins of your device and write either HIGH or LOW to them to set the 5V or GND connections you need.

  • So basically, If i set the arduino I/O on HIGH, it's +5v vs +5v which get's 0v, and if I set the I/O to LOW it's +5v vs GND which get's +5V, right? – jawo Jul 5 '16 at 11:21
  • 2
    .... pardon .... ? – Majenko Jul 5 '16 at 11:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.