Hello, 18yr old engineering high school student here (but I digress, demographics are for marketers)
For a school project, I (foolishly, in hindsight. This is far more difficult than I could have possibly anticipated. I guess I was disillusioned by my success in getting two PC's to network properly?) decided to try making an object locating device.
Said device would function by causing a loud buzzing sound to play from a small device when a button on a linked device was held. I got myself two arduino mini pro's (the 5v version) and 2 RFM12BSP transcievers (and also a programmer so that I could program the arduinos).
I've wired them up approximately as shown at
http://lowpowerlab.com/blog/2012/12/28/rfm12b-arduino-library/ (I need to add some more resistors because I ran out, but I'm resupplying tomorrow, so that shouldn't be a huge issue). However, I then ran into the daunting task of actually programming this thing.
I've been reading over
https://github.com/LowPowerLab/RFM12B/blob/master/Examples/Send/Send.ino and
https://github.com/LowPowerLab/RFM12B/blob/master/Examples/Receive/Receive.ino, but as I was honestly quite confused as to how to use these, I decided to try a forum search, which netted me this topic:
https://lowpowerlab.com/forum/index.php/topic,172.msg744.html#msg744 . To finally get to the proper topic at hand, however, I wanted to know how to use the send/recieve code(I'm treating it like a black-box at the moment, where I don't need to know HOW it does what it does, I just need to know what it does), and whether I could make the payload a boolean value and set a variable on the recieve side equal to the value sent by the transmitting side (I figured I could go with a longer "update" cycle, such as 1 packet every second or so, since the button isn't exactly time-sensitive.) Sorry about the wall of text, just trying to ensure that whatever I do, I don't screw up the programming and totally break the arduino or the transciever (I'm entirely out of budget at this point, so if I screw this up, my grade is screwed).
Sorry to bother you, and sorry in advance if this is a stupid question (and also sorry for the wall of text. I tried to break it up some for yo