I started with UART but that is where I ran into my original problem where the husky lens was not transmitting all of the tags recognized / viewed through the camera. It will only return ~ 2 tags even though the camera is recognizing 6 or more different tags. I am trying to read tag ids and count how many like tag ID's are in the camera frame at a specific time over a sampling time frame. IE read tag IDS over 60 seconds and return max tags ID's found for each unique tag. The camera is seeing all the tags and recognizing them but it is not returning that data over serial / back to the arduino on UART which is why I was attempting I2C.
Thank you. I have confirmed settings on the HuskyLens are correct and the connections to the Arduino board are correct. I ran a script to check the I2C connections and can see them from the script but I still can't connect to the husky lens via I2C.
When attempting to use the example code with I2C protocol I can not get the Husky Lens to connect to the Arduino. I have confirmed wiring and settings are all correct. When I check the I2C address it is showing two I2C connections at address 60 and 32. I only have the Husky Lens connected currently. I have swapped out the Husky lens and the Arduino board along with the wiring to confirm it's not a hardware or wiring issue but to no avail. Any suggestions would be greatly appreciated.
14:32:33.116 -> 1.Please recheck the "Protocol Type" in HUSKYLENS (General Settings>>Protocol Type>>I2C)
14:32:33.149 -> 2.Please recheck the connection.
14:32:33.732 -> Begin failed!
14:32:33.732 -> 1.Please recheck the "Protocol Type" in HUSKYLENS (General Settings>>Protocol Type>>I2C)
14:32:33.764 -> 2.Please recheck the connection.
14:32:34.346 -> Begin failed!
14:32:34.346 -> 1.Please recheck the "Protocol Type" in HUSKYLENS (General Settings>>Protocol Type>>I2C)
14:32:34.378 -> 2.Please recheck the connection.
Yes I am using that library. Should I be using I2C vs Digital Serial for the lens?
Am I running into the limitations of the Arduino board with this? Should I switch to a different board type?
Yes I have the code uploaded to print out all recognized ID's and it returns only a handful of the ones shown / tagged in the camera. Greatly appreciate the help.