Digistump Forums

The Digispark => Digispark (Original) Support => Topic started by: cwhummel on February 25, 2013, 12:25:51 am

Title: RFM12B Shield
Post by: cwhummel on February 25, 2013, 12:25:51 am
On the board, there appears to be a spot for a transistor, but it is not listed on the original kickstarter page. Is this needed?
Title: Re: RFM12B Shield
Post by: digistump on February 25, 2013, 10:40:29 am
It is a 3.3v regulator - just about any will do - 150ma or more would be good.
Title: Re: RFM12B Shield
Post by: cwhummel on February 25, 2013, 05:58:46 pm
Can you provide a few part numbers/examples? I couldn't find anything really specific today, nor anything at radio shack.
Title: Re: RFM12B Shield
Post by: digistump on February 26, 2013, 12:53:09 pm
MCP1702-33 would be the exact recommended part - though any 3.3v regulator should be fine.

Here is the project it was based off of:
http://jeelabs.net/projects/hardware/wiki/RFM12B_Board
http://jeelabs.net/attachments/download/449/jlpcb-511.pdf
Title: Re: RFM12B Shield
Post by: cwhummel on February 27, 2013, 03:37:04 pm
Thanks!
Title: Re: RFM12B Shield
Post by: cwhummel on March 03, 2013, 05:13:21 am
Can you provide a pinout for the board? I need to use one with my uno and im not sure how to connect it. Thanks
Title: Re: RFM12B Shield
Post by: digistump on March 04, 2013, 12:17:30 am
Schematic attached
Title: Re: RFM12B Shield
Post by: cwhummel on March 04, 2013, 05:02:13 am
awesome, thanks!
Title: Re: RFM12B Shield
Post by: cwhummel on March 08, 2013, 09:44:17 am
So I've been plaing with these for a few days now, and got the two of them talking (using text sketches that came with a library I found on sparkfun), but I can't seem to figure out how to send commands. How do I press a button a the Tx side and turn on and LED on the Rx side?
Title: Re: RFM12B Shield
Post by: digistump on March 08, 2013, 12:27:47 pm
You would need to do something like


completely pseudo code:


TX end
buttonPress = DigitalRead(1)
if(buttonpress)
send('button1')








RX end


string = receive()
if(string == 'button1')
digitalWrite(1,HIGH)