wireless momentary switch

I am trying to build a wireless momentary button. If you push and hold a button, a buzzer goes off until the button is released. I have a RF Link Transmitter - 315MHz sku: WRL-08945 and corresponding receiver. If I connect a button to the transmitter and press it, I see activity on the receiver, but just a short pulse. I am not trying to send serial data, but instead just a simple on/off signal. Do I need to need to connect a microcontroller or something to get it working properly? Is there a different transmitter/receiver I should be using or some other simpler circuitry?

I am attempting to do the exact same thing, and am encountering some issues. I was also wondering whether a MCU was necessary. The strange thing is I am able to get the receiver to get a constant low, but not a constant high signal. And the only way I get a constant low on the receiver is by sending a constant 5V signal from the transmitter. When the transmitter sends 0, the receiver reads about 0.5V. Had any luck since you posted?

So I now understand the transmitter and [RF Link 2400bps Receiver - 315MHz that Sparkfun sells uses OOK/ASK modulation. So the transmitter just doesn’t transmit anything to send a ‘0’ and only sends a signal for ‘1’. But why is the data line on the receiver measuring as ground whenever the transmitter data line is ‘1’ (5V)?](RF Link 2400bps Receiver - 315MHz - WRL-08948 - SparkFun Electronics)

Try using a Holtek encoder/decoder pair or one of the chipsets from Reynolds. They work very well.

http://www.rentron.com/remote_control/Holtek.htm#R8P

Awesome! Thanks Ralph, I’ll give these a try. This looks exactly like what the OP and I need. My only worry now is that the LM339 comparator I’m using to give the high on the transmitter data line is outputting 1V for low instead of ground, and that will trigger a high on the encoder. Not sure if I’m using it wrong.