How should i send cursor data through the bluetooth module?

i have made my project of motion based cursor control using mpu6050 and arduino leonardo. i have been trying to transfer cursor data to control the cursor and also every time i connect my bluetooth module to my pc it is disconnecting after few seconds.

Hello, maybe your buetooth module is not getting adequate power, or maybe it is a faulty one. Try to scan it with your mobile phone. See if it is detected as a bluetooth device or not.

bluetooth is detected it is once connected and dis connected then it is showing device paired but it doesnt show the option connect.

Hello akashchandra_puli

What is the task of the programme in real life?

We need some additional information.

Post your sketch, well formated, with well-tempered comments and in so called code tags "< code >" and a detailed circuit diagram to see how we can help.

Have a nice day and enjoy coding in C++.

Maybe it's a bad bluetooth module. If you have a replacement, you can change it and see if there is an improvement. I am not sure which module you are using. If you are using HC-05, you can test your module with an Arduino UNO board with a small test code: Arduino Bluetooth Communication using HC05 - The Engineering Projects

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.