Go Down

Topic: I2c bluetooth control of multiple servos (Read 501 times) previous topic - next topic

tabletopst

I'm perplexed by the amount of information on the subject.


I'm trying to control servos through arduino from an mega 2560 to a mix of mega and uno boards. Just basic no cross talk nessesary with S2C and SC1 bluetooth chips and potentiometers.





If there is anyone that can assist with formulating the code....thank you.






https://create.arduino.cc/projecthub/vandenbrande/arduino-android-bluetooth-multi-servo-motor-control-28adc9

https://www.cooking-hacks.com/documentation/tutorials/how-to-remotely-control-a-servo-using-xbee-connectivity-kit/#step2

https://www.allaboutcircuits.com/projects/create-a-2-channel-remote-control-with-the-nrf24l01/


https://www.instructables.com/id/3D-Printed-Hand-Wireless-Glove-Control/

https://www.instructables.com/id/Wireless-Controlled-Robotic-Hand/

https://circuitdigest.com/microcontroller-projects/bluetooth-servo-motor-control-using-arduino

https://github.com/giovanichaves/bluetoothservo/blob/master/btservo.ino

https://github.com/parthsharma1011/Mul_servo/blob/master/BLUETOOTH_Servo_Control_Multi_Servo.ino

slipstick

You mention I2C, S2C (XBee?), SC1 (no idea!) and Bluetooth. That seems like a lot of different more or less unrelated technologies. So your requirements are extremely unclear. Can you state simply what you are actually trying to achieve and exactly what the major components are. A block diagram might help.

I'm not planning on reading through all those links in the hope of guessing what it is you mean.

Perhaps if you post the code you have so far that would give us a better idea of what you're talking about.

Steve

tabletopst

The control stems from the potentiometers to an Arduino board with a Bluetooth shield, to another bluetooth module and board and out through I2C to servos.


slipstick

So no S2C or SC1? What servos are you using that are controlled over I2C?

Reading potentiometers and sending the values out over Bluetooth is straightforward. How far have you got with the code to do this part of the job? Post your best effort here.

Steve


Go Up