I am very new to stackoverflow and new to using raspberry pi and am in the process of learning how to use it properly.

I am currently working with a partner on a project that requires a wireless connection with having the raspberry pi as the master device and multiple arduino's as slave devices. The project requires that I can have the arduinos send signals when I basically press switches, and the raspberry pi can receive this from the multiple arduino's. We have considered using bluetooth, but that is only serial connection and require multiple devices. I have researched about the I2C connection where it is doable to connect multiple arduinos to the raspberry pi, but no luck on wireless connection.

To basically sum up my question, is it possible to use the I2C on the raspberry pi for wireless connection with multiple arduino's? If so, are there any recommendation on modules/devices that will allow us to implement the wireless connection?

  • You are confused. I2C and bluetooth are both forms of serial communication, in that you have a single connection to each device (put another way, each connection represents one device). They also both allow for multiple connections to multiple devices. You can have 5 serial connections to 5 devices using any combination of bluetooth and I2C. A difference between them would be that I2C is a wire based protocol whereas bluetooth is wireless, so to use I2C you would need something on top as an intermediate to handle the "wireless" part. – goldilocks Oct 3 '15 at 11:58
  • @goldilocks I see. Thank you for clarifying that up for me. So in the end, I would be still using bluetooth module/device for wireless comm. But will I still have to use multiple transmitters with multiple receiver devices(each being paired) when using wireless serial connection? My partner and I was planning to use an HC 06 bluetooth modules and usb bluetooth dongles for multiple devices. – P. Hoang Oct 3 '15 at 17:35
  • Why would you have to use multiple transmitters? That's not what multiple connections to multiple devices means. Your phone has bluetooth capabilities, and if you have a bluetooth keyboard and a bluetooth mouse and a bluetooth headset, you do not have to add two more transmitters to use them all at the same time. See also superuser.com/q/332767/257378 – goldilocks Oct 3 '15 at 18:12
  • Wouldn't this be easier with WiFi? You can connect an esp8266 (<$5) to the arduino and a usb dongle or esp8266 to the Pi. You could even use a cheap router and connect the Pi using ethernet. – Steve Robillard Oct 3 '15 at 20:04
  • @SteveRobillard I havent really looked into wifi for both arduino and Pi, but would wifi be a better choice when you have multiple devices(arduinos) working simultaneously to send data to one device(Pi)? – P. Hoang Oct 3 '15 at 20:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.