Thank you for the help yesterday. I was able to start using the Raspberry Pi. After a while, I was able to receive the data from the Arduino setup via Bluetooth. I tried writing code in Python to save the file as a CSV. It worked at first, but then, suddenly, the data started jumping around. I thought maybe running the Arduino IDE on the Raspberry would help solve the issue, but it made it worse. Now, the Raspberry can't detect the RN Bluetooth connected to the Arduino, but it can be detected via an Android phone. The option I have left now is reformatting the SD card and installing the OS again. I can't keep doing this all over again every time. I don't know if anyone else has experienced this issue with a Raspberry Pi 4.
Possibly the person who set this assignment thought that you had been taught enough to be able to deal with it. Or that you should have learnt enough troubleshooting skills to be analyse problems?
Maybe seeking help close to where you are from a lecturer/supervisor/mentor would be more effective, since you will be able to show what you have done and demonstrate the issue.
I don't any experience of what you describe.
It seems you have some unspecified Arduino board. That board is Bluetooth equipped. It is running a sketch that outputs data from an IMU via BT.
You also have an RPi4 and know to install a fresh OS onto it. You can communicate with the Arduino via Bluetooth. You have a Python script that recognises the data from the Arduino and logs it.
What do you mean by "data started jumping around"? Is there something that triggers that behaviour? A data pattern? A set length of time?
Why would running the Arduino IDE help?
Does the Arduino IDE take over the BT connection, thus locking out your Python script?
Why is the Arduino necessary? Would it be possible to connect it directly to the RPi4? (But perhaps the assignment is to allow you to demonstrate your understanding of BT?)
Statistics: Posted by B.Goode — Wed Jul 03, 2024 7:21 am