I thought there would be tons of tutorials about two Arduino boards connected via bluetooth but actually not. So I think I will figure out myself. There are two modes for bluetooth module: Master and Slave. Like the name indicates, master is the one who gives the order and the slave is the one who gets the order.
Slave and Master board –
마스터 모듈은 최대 7개의 블루투스 슬레이브 모듈과 통신이 가능하고,
슬레이브 모듈은 최대 1개의 마스터 모듈과 통신할 수 있습니다.
마스터 모듈은 슬레이브 모듈을 찾게 되는데 일반적으로 스마트폰을 사용하시면 자동으로 검색을 해서 페어링을 할 수 있기 때문에 슬레이브 모듈을 대부분 구입하시게 됩니다.
또한, 슬레이브는 슬레이브와 통신할 수 없습니다.
만약, 스마트폰이 아닌 아두이노와 아두이노의 통신을 블루투스를 사용하신다면, 마스터와 슬레이브를 구입하시되, 마스터에서 슬레이브를 인식할 수 있도록 프로그램 해주셔야 합니다.
If I have two buttons and a LED helmet, the easiest way would be using Serial port and I finally have a reason to learn Serial properly. What I learned:
Serial communicates on digital pins 0(RX) and 1(TX) as well as with the computer via USB.
I went through Arduino forum and it was a way better search then Google. I haven’t understood yet but using bluetooth is ideal for Arduino – smart devices/computers but not for Arduino – Arduino. It works but Arduino board itself practically cannot accomplish this.
I learned there are few other options:
Another nice video tutorial on RF Links.
A good wireless guide: Sparkfun
A good RF(Radio Frequency) guide for newbies: Instructable
RF modules are widely used in electronic design owing to the difficulty of designing radio circuitry. Good electronic radio design is notoriously complex because of the sensitivity of radio circuits and the accuracy of components and layouts required to achieve operation on a specific frequency. In addition, reliable RF communication circuit requires careful monitoring of the manufacturing process to ensure that the RF performance is not adversely affected. Finally, radio circuits are usually subject to limits on radiated emissions, and require Conformance testing and certification by a standardizationorganization such as ETSI or the FCC. For these reasons, design engineers will often design a circuit for an application which requires radio communication and then “drop in” a pre-made radio module rather than attempt a discrete design, saving time and money on development.
There is another choice: XBee of Zigbee.
Again, came back to Bluetooth. Seems like RF module has a too wide range for my purpose and it might violate local laws…. Though RF module is really tiny.
Things to read tomorrow about Bluetooth and wireless solutions: