Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Electrical (http://www.chiefdelphi.com/forums/forumdisplay.php?f=53)
-   -   Color sensor? (http://www.chiefdelphi.com/forums/showthread.php?t=111167)

clandry94 13-01-2013 18:23

Color sensor?
 
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..

apalrd 13-01-2013 18:41

Re: Color sensor?
 
1 Attachment(s)
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.

clandry94 13-01-2013 21:21

Re: Color sensor?
 
Oh wow, from the orientation of the sidecar on our electronics testing setup I didn't even notice that port. Thanks!


All times are GMT -5. The time now is 11:16.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi