OPT3101 troubleshooting help

Hi.
I also have a similar problem…

20,-886, 131,5638, 190,6461, 
25,-528, 129,5721, 190,6374, 
23,-1067, 129,5663, 187,6443, 
23,-29, 129,5758, 191,6375, 
26,-772, 129,5637, 187,6421, 
23,-295, 127,5825, 191,6355, 
21,-1122, 130,5591, 192,6406, 
20,-229, 128,5696, 192,6351, 
20,-1266, 131,5692, 191,6519, 
17,-945, 131,5695, 191,6342, 
16,-1624, 130,5649, 190,6444, 
17,-834, 131,5730, 191,6333, 
18,-1449, 132,5683, 188,6469, 
20,-406, 130,5766, 191,6361, 
21,-1358, 133,5588, 188,6423, 
21,-234, 132,5713, 190,6335, 
21,-1073, 137,5618, 192,6426, 
24,-397, 128,5720, 190,6349, 
25,-919, 128,5662, 191,6449, 
24,-371, 128,5782, 190,6334, 
22,-789, 131,5606, 191,6457, 
24,-234, 131,5703, 192,6311, 
21,-1351, 134,5594, 190,6453, 
19,-607, 131,5698, 190,6365, 

And here’s the output of the ReadEEPROM example included with the library

EEPROM contents as a C string:
"\xB4\xF0\xB2\xF1\xB4\xD2\xFB\xD2\xB4\x8E\x00\x00\x0B\x09\x00\x10\x0C\x00\x00\xBF\x29\xE4\x93\x2F\x2A\x20\x49\x7C\x2B\x78\x69\x00\x2C\xA7\x0B\x00\x2D\xBB\xE4\x5E\x2E\xA0\x01\x84\x2F\x1B\xFA\x4C\x30\x58\x0A\x20\x31\x65\x18\x5F\x32\x93\x58\xB0\x33\x26\xF1\x4B\x34\x17\xFC\x60\x35\x92\xCE\x00\x36\xE5\xDD\x00\x37\x58\xE7\x00\x38\xCE\xF9\x29\x39\x31\x9A\xF1\x3A\xC0\xC3\x4D\x3F\xC8\x08\x00\x41\x10\x80\x8C\x42\xA0\x3C\x00\x43\x83\x00\x00\x45\xDD\x85\x8C\x47\xC8\x08\x80\x48\xC8\x08\x00\x49\xC8\x08\x00\x51\x1E\x34\x00\x52\x18\x3D\x00\x53\x33\x34\x00\x54\x84\x3C\x00\x55\x19\x34\x00\x5E\x00\x63\x13\x5F\xF8\x16\xBB\x60\x1D\xEA\xD8\x61\xDF\x88\x00\x72\x50\x00\x00\x85\x7A\x26\x00\x86\x82\x26\x00\xB4\xD3\xE4\xE8\xB5\x01\x00\x00\xB8\x1A\x6C\x01\xB9\xA6\x00\x00\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF";

Serial number: D2-FB-D2-8E

Hello.

I am sorry you are having trouble with our 3-Channel Wide FOV Time-of-Flight Distance Sensor Using OPT3101.

I have moved your post to its own thread because you are having a different problem. The contents of your board’s EEPROM match what we programmed here.

All of the sensor readings you posted look bad because the amplitudes are below 200. We have generally seen that readings with amplitudes below about 200 to 400 are too inaccurate to be useful. Also, your distance readings for TX1 and TX2 are extremely far beyond the 1 m range of this sensor.

What example code are you running and how are you testing it? As a simple, initial test, I recommend putting a light-colored, reflective target like a piece of paper in front of each of the sensor’s transmitters, about 100 mm away from the board.

–David

Hi, are you using this library and example code? GitHub - pololu/opt3101-arduino: OPT3101 library for Arduino

Hello, did you find a solution to your probleme. I have got almost the same problem ?