Search code examples
bluetootharduinoaccelerometergyroscope

Two devices on Arduino Uno R3 TX Pin


I'm making the project using Arduino Uno R3 Platform. I want to use two devices, acc+gyro (MPU-6050) and Bluetooth (HC-06). The problem is, that both devices need TX Pin (2). Do you have any idea how to use this devices with Arduino Uno R3 at the same time? (I mean that I want to connect Bluetooth and MPU6050 to the same TX Pin) If it will help, I only need to send data to Arduino via bluetooth.

I found similar topic, but I'm not sure that the answer is correct: Similar Topic


Solution

  • you can use Software Serial library.One you pin config your Bluetooth and other pins can configured for your gyro Example programs