The problem in Sensor Interfacing and Sending Sensor Data on Cloud :
We have connected two sensors to arduino, and we want their data to be uploaded to cloud through RPi and the data of other peripherals altoghether like gyro, GPS
1st problem is : we're unable to send data from two sensors to Rpi through Arduino continuously as we're connecting them using a USB cable.
2nd problem is : the gyro connected to Rpi using i2c is giving timeout error after few seconds and stops the whole program
1. When we use Raspberry Pi board alone to connect all the Sensors
● We are connecting ADS1115 ADC Converter, LCD Display(I2C) and Gyroscope parallelly on the i2c Communication pins present on the raspberry pi board, Since LCD Display works on Lower Level Voltages so we have to convert that into high-level voltages, thus making circuitry complicated, also connecting 3 i2C devices with same Master Pin makes the process slow and sometimes fails to establish a connection with the peripherals and thus creates problem in the whole process
2. When we use Arduino Nano to operate Sensors and LCD Display
● We are connecting Arduino nano board serially using UART communication to Raspberry pi board since we are sending data and receiving data from raspberry pi at every moment of the process, so we have made some software interrupts, which when to send or received by the boards, they perform specific process, but the problem with this process is that we are not able to send sensor values serially since we can only send specific signals which act as interrupts to make the process work according to our requirements, and if the sensor data is not sent to raspberry pi, it is not sent to the cloud also.
We're using Arduino and RPi to send data from sensors to cloud along with real-time video streaming. We're getting resource timeout error due to MPU6080 and the whole script stops working as we lose i2c address when we do i2cdetect -y 1. Need someone to interface our hardware properly to get rid of such errors.
Data inserted successfully!
Traceback (most recent call last):
File "[login to view URL]", line 140, in <module>
lat, long, speed = gsm()
File "[login to view URL]", line 35, in gsm
msg = [login to view URL](10)
File "/usr/local/lib/python3.7/dist-packages/serial/[login to view URL]", line 596, in read
'device reports readiness to read but returned no data '
[login to view URL]: device reports readiness to read but returned no data (device disconnected or multiple access on port?)