SEN0491 Shutting off Intermittently

userHead ajou 2023-04-27 09:42:31 625 Views2 Replies

I have two SEN0491 sensors connected to the UART pins of a Raspberry Pi 4 and they will both shut off intermittently and stop transmitting data until they are power cycled. 

 

There is no interruption in power supply (24VDC) and the script I'm running on the Pi is only reading data from the sensors.

 

Is there an automatic shutdown timer for these? I'm trying to read data for an extended period of time and downtime when power cycling these may cause me to lose measurements.

 

Is there a way to fix this issue?

2023-05-12 03:32:24

 привет мне было интересно почитать это !! спасибо 

userHeadPic Crouford.Stiven
2023-05-12 01:20:03

hi,ajou

I guess your problem is the result of two serial ports being occupied by sensors against each other. You can try it: 1 Use the hard serial port and the soft serial port to give the two sensors respectively, and make sure that the connection is OK. 2. Provide them with sufficient power.

Hope that helps, but if you can provide the code, we'll be able to help you better.

userHeadPic chen.qingfu