Troubleshooting

Unable to get sensor readings from ambient light sensor SEN0390

userHead clifft 2023-04-05 03:04:55 618 Views1 Replies

I've recently bought a ambient light sensor (SEN0390) and I have tested it on an Arduino and the sensor works as it should. However for my project, I'm using a Sparkfun expLoRaBLE Thing Plus and I'm unable to get any readings. The only thing that shows in the terminal is either -1 lux or 6012954.00 (lux). 

 

 

This is the pins connection of the Sparkfun expLoRaBLE Thing plus.

 

The only thing I changed in the library was the scl and sda pins, as can be seen in the image below:

 

The schematic of the board with the ambient sensor is shown in the image below: 

 

 

The code I'm using: 

 

Any idea how to fix this? Thank you.

 

 

2023-06-03 02:06:52

Sorry, there are no test reports for this library with the Sparkfun expLoRaBLE Thing Plus. It is recommended that write your own code based on the ArduinoC library.

userHeadPic jenna