I've been attempting to help (or maybe hinder!) Don with a project he's working on. My task is to get a Dorkboard and eventually just the Benito talking to this Nordic nRF2401A breakout board from Sparkfun. After hacking on it a for a few days and today at the Open Lab and even more hacking at home I finally have the example program working! I'm attaching the source for the Arduino sketch for anyone else trying to do the same thing.
Other things to note:
DataSheets:
Random lesson learned from this project so far: Think about timing, and remember that doing serial debugging statements will really putz up your timings! ;)
| Attachment | Size |
|---|---|
| personalcharm0.txt | 4.67 KB |
Comments
By the way, that's prototype
By the way, that's prototype code. ;) There's actually "two programs" in there. It's controlled by a bool at the top called "isTransmit". Set that to 1 for the board that will transmit and 0 for the board that will receive.
Brilliant!
Would love to know the max distance on her tho....and doesn't two programs warrant, yaknow, two programs? Reduce, reuse, recycle...you hippy! :)
Seriously, fun, good job!
-jason http://noisybox.net