This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Device not functioning properly

Other Parts Discussed in Thread: OPT3002

Hi,

Im having problems with the OPT3002. It seems to function sometimes and not all the time. I have interfaced it to the Arduino Uno and if i remove power from the device and reconnect it, it stops sending data. Its only when I upload the code multiple times does the device start sending data again. Im using the example code provided by closedcube. I have attached a picture of it working. when its not working i get error code 20.

Anyone know what is the problem. Hardware wise everything has been double checked, such as level shifters, pull-up resistors, cabling etc. I have tried another OPT3002 device and other Arduino boards, mbeds etc and I still get the same issue.