RF link to transmit variable value
PLTW_EDD_Student
Posts: 2
Hello,
I have two Basic Stamp Homework Boards (can get BOE if needed) and a 433 MHz transmitter and receiver.
I need to make a program that will read a pushbutton switch (1, 2, or 3) on the sending board, and use it to set the value of a variable on the receiving board.
The receiving board is controlling a servo. The three buttons will each toggle a different action from the servo.
I can make a program that runs the different actions based on the state of a variable, using simple if...then statements. I can also make the program that sets the variable value from the pushbutton on the transmitting board. But I'm having a bit of trouble deciphering the example programs for the Transmitter/Receiver and applying them to what I need.
Can anyone give me some help or advice? Thanks in advance.
I have two Basic Stamp Homework Boards (can get BOE if needed) and a 433 MHz transmitter and receiver.
I need to make a program that will read a pushbutton switch (1, 2, or 3) on the sending board, and use it to set the value of a variable on the receiving board.
The receiving board is controlling a servo. The three buttons will each toggle a different action from the servo.
I can make a program that runs the different actions based on the state of a variable, using simple if...then statements. I can also make the program that sets the variable value from the pushbutton on the transmitting board. But I'm having a bit of trouble deciphering the example programs for the Transmitter/Receiver and applying them to what I need.
Can anyone give me some help or advice? Thanks in advance.
Comments
For a quick "how-to" on RF communication, check out the Wireless Musical Keyboard Mini-Project. It shows you how to play different tones on a piezospeaker using 3 pushbuttons. You will definitely need to use the techniques Mike mentioned for your project, but this should help get you off and running.
Happy Developing!
Jessica
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jessica Uelmen
Education Department
Parallax, Inc.
The music program is very similar to what I want to do...instead of the freqout I can just sub in my pulsout statement.