0
\$\begingroup\$

I'm trying to hookup this transmitter module http://cdn.sparkfun.com/datasheets/Wireless/General/TWS-BS-3_433.92MHz_ASK_RF_Transmitter_Module_Data_Sheet.pdf to the Raspberry Pi Explorer HAT...

As you can see from the data sheet, pin 3 is the data input. The HAT provides outputs which sink to ground when they are ON...

I've got an LED switching on and off by connecting 5V to it's input and then connecting it's output to one of the HAT's outputs (which alternate between sinking to ground and not) but I can't get the transmitter working despite trying different wiring configurations. For the record, the transmitter does work and can be seen to be working, if I simply connect another 5V to the chip's data input.

My question is: how do I wire up the RF transmitter's input pin to one of the Explorer Hat (github.com/pimoroni/explorer-hat) 's output pins?

The output pins do not provide voltage, they only sink to ground when they are turned ON (programmatically - I've got this bit covered, I'm just unsure of the wiring).

\$\endgroup\$
  • \$\begingroup\$ What is your question and what is this "HAT" you refer to? \$\endgroup\$ – Andy aka Oct 21 '16 at 12:06
  • \$\begingroup\$ @Andyaka: Obviously the mindreading hat you should have on when trying to answer questions. \$\endgroup\$ – PlasmaHH Oct 21 '16 at 12:14
  • \$\begingroup\$ @PlasmaHH hey where can I buy one from but I guess you knew I was going to ask that eh? \$\endgroup\$ – Andy aka Oct 21 '16 at 12:15
  • \$\begingroup\$ @Andyaka: Sure, just give me a few minutes to finish marking up the prices due to increase in demand \$\endgroup\$ – PlasmaHH Oct 21 '16 at 12:18
  • \$\begingroup\$ Wire an antenna round the brim, use stiff wire and you can hang the corks off it. \$\endgroup\$ – Brian Drummond Oct 21 '16 at 12:40
1
\$\begingroup\$

Connect pin one of the RF chip to ground. Connect pin three of the RF chip to +5v. Connect pin two to both one of the outputs on the HAT and to +5v (via a resistor for the +5v).

The connection to the HAT output should come between the +5v and pin two of the RF chip, so when the switch is ON, the signal goes to to ground and not to the RF chip's input.

Note that this setup has the effect of reversing the switch behavior so that when the switch is OFF, the RF chip will transmit ON.

\$\endgroup\$

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.