My RFduino dev kit just arrived, and for my project I have to connect a few RFduinos via Bluetooth and light up certain LEDs attached to the RFduinos. If anyone could point me in the right direction as to where I can program them/how I can connect them, it would be GREATLY appreciated.
1 Answer 1
I am starting on a similar project (without the Dev Kit). Hooking the Bluetooth module to the RFduino is pretty straight forward, PWR to PWR, GND to GND, remember to cross the transmission wires: TX to RX & RX to TX.
In your void setup()
, you need to start the connection:
Serial.begin(9600); // check your documentation to see the baud rate
In your void loop()
, read or write to/from the bluetooth connection with serial write/read. Serial.read()
or Serial.write()
Remember that Bluetooth is a communication protocol, not a controller. You don't mention WHAT you are connecting your RFduinos to using Bluetooth. You still need a controller capable of sending a signal to light up the LEDs using Bluetooth.
-
Thank you that is very helpful. I plan to use my iPhone as a controller, but I also want to make my own App. I don't want to use the pre-existing RFduino LED controller app. (the one on the app store)Peter Solimine– Peter Solimine2015年12月01日 18:33:43 +00:00Commented Dec 1, 2015 at 18:33
-
Sweet! I'm doing the same thing with Android! However, life has put this project on hold for a while. Please keep me posted on your progress.Marquardt Snell– Marquardt Snell2015年12月01日 21:03:38 +00:00Commented Dec 1, 2015 at 21:03