Does anyone know how to wire the HT Color sensor? I can’t find any datasheets that explain how to wire it for non-lego applications…
It can connect directly to the I2C port on the Digital Sidecar using a Lego cable. The connector is the same.
In software, you will need to write software to read the I2C registers. Using the I2C lego compass as a basis, I wrote a bit of code a few years ago to deal with the color sensor. It’s a few years old, but I opened it and it at least opens with the current library. I attached it. Use it if you want, YMMV.
HiTecnicColorSensor.zip (35.4 KB)
HiTecnicColorSensor.zip (35.4 KB)
Oh wow, from the orientation of the sidecar on our electronics testing setup I didn’t even notice that port. Thanks!