Go to Post I am the Evil Empire of FIRST!!! - Andy Grady [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 13-01-2013, 18:23
clandry94 clandry94 is offline
Registered User
AKA: Conor
FRC #3735 (KleinBOTS)
Team Role: Leadership
 
Join Date: Dec 2012
Rookie Year: 2011
Location: United States
Posts: 31
clandry94 is an unknown quantity at this point
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..
  #2   Spotlight this post!  
Unread 13-01-2013, 18:41
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: Color sensor?

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.
Attached Files
File Type: zip HiTecnicColorSensor.zip (35.4 KB, 29 views)
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
  #3   Spotlight this post!  
Unread 13-01-2013, 21:21
clandry94 clandry94 is offline
Registered User
AKA: Conor
FRC #3735 (KleinBOTS)
Team Role: Leadership
 
Join Date: Dec 2012
Rookie Year: 2011
Location: United States
Posts: 31
clandry94 is an unknown quantity at this point
Re: Color sensor?

Oh wow, from the orientation of the sidecar on our electronics testing setup I didn't even notice that port. Thanks!
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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