Go to Post I've found that being outraged on behalf of others is often a misuse of energy. - Taylor [more]
Home
Go Back   Chief Delphi > Technical > Control System > Sensors
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 28-01-2011, 19:48
1chess2u 1chess2u is offline
Registered User
FRC #2771
 
Join Date: Jan 2011
Location: Wyoming, M!
Posts: 3
1chess2u is an unknown quantity at this point
Gyro/Accelerometer Wiring Questions

My team got an accelerometer/ gyro chip in the KOP, but there are no connectors. is there a way to fab a connector for it? the Gyro has six connections, in a 2x3 grid, the Accelerometer has two strips of connectors, facing 90 degrees apart, one has 8 connectors in a 1x8 grid, the other has four connectors in a 1x4 grid. Here are some pictures of it and the pins.
Attached Thumbnails
Click image for larger version

Name:	2011-01-28-194318.jpg
Views:	90
Size:	40.5 KB
ID:	9867  Click image for larger version

Name:	2011-01-28-194409.jpg
Views:	42
Size:	40.8 KB
ID:	9868  Click image for larger version

Name:	2011-01-28-194429.jpg
Views:	35
Size:	38.4 KB
ID:	9869  
Reply With Quote
  #2   Spotlight this post!  
Unread 28-01-2011, 20:21
DuaneB's Avatar
DuaneB DuaneB is offline
Registered User
FRC #1731
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Virginia
Posts: 20
DuaneB is an unknown quantity at this point
Re: Gyro/Accelerometer Wiring Questions

Quote:
Originally Posted by 1chess2u View Post
My team got an accelerometer/ gyro chip in the KOP, but there are no connectors. is there a way to fab a connector for it? the Gyro has six connections, in a 2x3 grid, the Accelerometer has two strips of connectors, facing 90 degrees apart, one has 8 connectors in a 1x8 grid, the other has four connectors in a 1x4 grid. Here are some pictures of it and the pins.
For the gyro, you can get by with a single PWM cable from the three pins next to the "Rate" label, to an analog port on the cRIO. See the Sensor Manual for the pin-out diagram. You can add a second PWM cable if you need temperature. If your board already has pin headers, then you'll need to make a PWM cable with the female contacts on both ends.

For the accelerometer, you need at least four wires for the I2C interface. The SPI interface requires six wires and four DIO ports. It's not too hard to make your own connectors. You can get parts from Hansen Hobbies, and others. If you don't have one already, you'll also need a crimp tool. You can probably find four-conductor security/phone wire at a hardware store.

Last edited by DuaneB : 28-01-2011 at 22:49. Reason: corrected DIO -> analog, added pin header detail
Reply With Quote
  #3   Spotlight this post!  
Unread 28-01-2011, 21:02
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Gyro/Accelerometer Wiring Questions

Quote:
Originally Posted by DuaneB View Post
For the gyro, you can get by with a single PWM cable from the three pins next to the "Rate" label, to a DIO port on the Digital Side Car...
That won't work for a couple of reasons. First, a PWM cable has the right connector at one end, but it has pins at the other end. You'd need to cut two of them and splice the proper ends together in order to get a cable with a "socket" at both ends.

The other reason is that the gyro connections have to go to an analog input on the Analog Breakout, not a digital one on the Digital Sidecar.


If you intend to make your own cables, I second the recommendation for Hansen Hobbies.
Reply With Quote
  #4   Spotlight this post!  
Unread 28-01-2011, 21:07
RyanN's Avatar
RyanN RyanN is offline
RyanN
AKA: Ryan Nazaretian
FRC #4901 (Garnet Squadron)
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Columbia, SC
Posts: 1,126
RyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond repute
Re: Gyro/Accelerometer Wiring Questions

Quote:
Originally Posted by Alan Anderson View Post
That won't work for a couple of reasons. First, a PWM cable has the right connector at one end, but it has pins at the other end. You'd need to cut two of them and splice the proper ends together in order to get a cable with a "socket" at both ends.

The other reason is that the gyro connections have to go to an analog input on the Analog Breakout, not a digital one on the Digital Sidecar.


If you intend to make your own cables, I second the recommendation for Hansen Hobbies.
Why wouldn't a PWM cable work? One end is male, the other is female. The female end goes to the Analog breakout, while the male end goes into the gyro. You can then trim the pins and solder them in place. Makes a much cleaner system than cutting the wires and soldering the wires in place.

Now... if the team wants to put in some header pins, then that is a different story.
__________________
Garnet Squadron
FRC 4901
Controls Mentor
@rnazaretian

Previous mentor and student from Team Fusion, FRC 364
Reply With Quote
  #5   Spotlight this post!  
Unread 28-01-2011, 21:16
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,559
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Gyro/Accelerometer Wiring Questions

Quote:
Originally Posted by RyanN View Post
Why wouldn't a PWM cable work? One end is male, the other is female. The female end goes to the Analog breakout, while the male end goes into the gyro. You can then trim the pins and solder them in place. Makes a much cleaner system than cutting the wires and soldering the wires in place.

Now... if the team wants to put in some header pins, then that is a different story.
The sensors this year come with headers installed (at least on some of the boards).
Reply With Quote
  #6   Spotlight this post!  
Unread 28-01-2011, 21:26
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Gyro/Accelerometer Wiring Questions

Quote:
Originally Posted by Joe Ross View Post
The sensors this year come with headers installed (at least on some of the boards).
The headers are clearly visible in the posted photos.

I thought ours came with unfilled holes. I wasn't the one who opened the antistatic package to verify what was in them when we inventoried our Kit of Parts, but what I saw was definitely flatter than I would expect if it had headers.

We've been using last year's parts on our testbed robot. I'll take a look tomorrow at the ones still being safeguarded in our KoP tote.
Reply With Quote
  #7   Spotlight this post!  
Unread 28-01-2011, 21:46
RyanN's Avatar
RyanN RyanN is offline
RyanN
AKA: Ryan Nazaretian
FRC #4901 (Garnet Squadron)
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Columbia, SC
Posts: 1,126
RyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond repute
Re: Gyro/Accelerometer Wiring Questions

Quote:
Originally Posted by Alan Anderson View Post
The headers are clearly visible in the posted photos.

I thought ours came with unfilled holes. I wasn't the one who opened the antistatic package to verify what was in them when we inventoried our Kit of Parts, but what I saw was definitely flatter than I would expect if it had headers.

We've been using last year's parts on our testbed robot. I'll take a look tomorrow at the ones still being safeguarded in our KoP tote.
Ok, I knew that... I'm thinking of previous year's robots instead of this years. I remember one of the students had spliced two female PWMs together.

Doh!
__________________
Garnet Squadron
FRC 4901
Controls Mentor
@rnazaretian

Previous mentor and student from Team Fusion, FRC 364
Reply With Quote
  #8   Spotlight this post!  
Unread 28-01-2011, 22:48
DuaneB's Avatar
DuaneB DuaneB is offline
Registered User
FRC #1731
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Virginia
Posts: 20
DuaneB is an unknown quantity at this point
Re: Gyro/Accelerometer Wiring Questions

Quote:
Originally Posted by Alan Anderson View Post
That won't work for a couple of reasons. First, a PWM cable has the right connector at one end, but it has pins at the other end. You'd need to cut two of them and splice the proper ends together in order to get a cable with a "socket" at both ends.

The other reason is that the gyro connections have to go to an analog input on the Analog Breakout, not a digital one on the Digital Sidecar.


If you intend to make your own cables, I second the recommendation for Hansen Hobbies.
Thanks for the correction. I fixed my post. Last year our board came without pin headers. I'm not sure now if it had them this year but, if not, we added them since we make PWM cables.
Reply With Quote
  #9   Spotlight this post!  
Unread 31-01-2011, 20:00
1chess2u 1chess2u is offline
Registered User
FRC #2771
 
Join Date: Jan 2011
Location: Wyoming, M!
Posts: 3
1chess2u is an unknown quantity at this point
Re: Gyro/Accelerometer Wiring Questions

Quote:
I thought ours came with unfilled holes. I wasn't the one who opened the antistatic package to verify what was in them when we inventoried our Kit of Parts, but what I saw was definitely flatter than I would expect if it had headers.
Thank you all. these may be a previous year's part, but I do not think so. (My controls mentor may have made it custom made) thank you for the help.
Reply With Quote
Reply


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 08:04.

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