Shop OBEX P1 Docs P2 Docs Learn Events
Propeller/Spin and a RFM12B-S2 Wireless Transceiver — Parallax Forums

Propeller/Spin and a RFM12B-S2 Wireless Transceiver

rymanryman Posts: 12
edited 2012-12-17 10:33 in Propeller 1
Been a while since I played around with my Propeller set. I have a project request from a friend that wants to build 2 wireless wristbands that can buss each other. I found the RFM12B-S2 Wireless Transceiver at https://www.sparkfun.com/products/9582 Has anyone here use this before? It says it support SIP. For a vibrator, I was going to use a coin vibrator motor.

Thoughts, suggestions or sample spin code on wireless communications?

Thanks
-=Ryan

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2012-12-15 08:50
    It supports SPI which is a high-speed serial protocol. On the Stamps, this is done with HIGH / LOW (to turn it on) and SHIFTIN / SHIFTOUT to transfer data. Look at the BS2_Functions object for routines that will do the same as these Stamp statements. You can either use the whole object or just pull out what you need and incorporate it into your program. Look at some of the posted sample code on SparkFun's product page. Your Propeller code is going to be very similar.
  • rymanryman Posts: 12
    edited 2012-12-15 11:19
    Thanks Mike!
  • Duane DegnDuane Degn Posts: 10,588
    edited 2012-12-15 11:27
    Another option for low cost wireless communication is the Nordic nRF24L01+ modules.

    Here's a place you can get ten of them for $15.57.

    I have a driver to use the Nordic chips with the Propeller (see post #2 of my index). I have a faster version of the driver I keep meaning to post but I have to remove some project specific code from it first. One of the many things on my Propeller todo list is to get the Nordic driver working better and faster (it does work in its current form).
  • TharkunTharkun Posts: 67
    edited 2012-12-15 12:14
    ryman wrote: »
    ... or sample spin code on wireless communications?

    Hi ryman,

    i used the democode from Marcello in my project and it works fine:

    http://forums.parallax.com/showthread.php?117546-Anyone-interested-in-the-RFM12-Transceiver-Module/page2&highlight=RFM12

    and here you can find a command calculator:

    http://tools.jeelabs.org/rfm12b
  • rymanryman Posts: 12
    edited 2012-12-17 10:33
    OK. Awesome. Thanks guys!
Sign In or Register to comment.