Go to Post Breathe in and out.... *altoids mint* breathes in more... *looks at countdown until kickoff*...30 DAYS!!! *competition anxiety disorder* - Conor Ryan [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 23-01-2011, 11:24
krudeboy51's Avatar
krudeboy51 krudeboy51 is offline
Only Programmer
AKA: kory
FRC #0369 (369)
Team Role: Programmer
 
Join Date: Mar 2010
Rookie Year: 2010
Location: brooklyn
Posts: 151
krudeboy51 is a glorious beacon of lightkrudeboy51 is a glorious beacon of lightkrudeboy51 is a glorious beacon of lightkrudeboy51 is a glorious beacon of lightkrudeboy51 is a glorious beacon of light
Send a message via AIM to krudeboy51
Encoder and line tracker wiring

Can anyone please take a good quality snapshot/picture of how wire up an Encoder and a Line Tracker to the sidecar, and upload it to this thread or send it to my email: technoking51@gmail.com- thanks in advance
  #2   Spotlight this post!  
Unread 23-01-2011, 17:21
kinganu123 kinganu123 is offline
Registered User
FRC #1747
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Piscataway, NJ
Posts: 243
kinganu123 is on a distinguished road
Re: Encoder and line tracker wiring

its basically orange to red (positive), black to brown (ground), and white to yellow/blue (signal A/B, both wires don't need to be wired) for the rotary encoder.
__________________
  #3   Spotlight this post!  
Unread 23-01-2011, 17:30
Robby Unruh's Avatar
Robby Unruh Robby Unruh is offline
*insert random dial-up tone here*
FRC #3266 (Robots R Us)
Team Role: Coach
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Eaton, OH
Posts: 338
Robby Unruh will become famous soon enough
Re: Encoder and line tracker wiring

Hey it would be useful if I could see this too. Is there a photo or a video of how to assemble the sensors, or any relative information?
__________________
[Robots R Us #3266]
2015: Georgia Southern Classic (Winners / Thanks 1319 & 1648!), Queen City
2014: Crossroads, Queen City
2013: Buckeye, Queen City, Crossroads
2012: Buckeye, Queen City

2011: Buckeye
2010: Buckeye
  #4   Spotlight this post!  
Unread 23-01-2011, 18:57
kinganu123 kinganu123 is offline
Registered User
FRC #1747
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Piscataway, NJ
Posts: 243
kinganu123 is on a distinguished road
Re: Encoder and line tracker wiring

There's some stuff here http://decibel.ni.com/content/docs/DOC-14724
But the basic breakdown is this:
  • If the sensors gives back voltages (lookup), it goes in the analog break out.
  • If the sensors give back data (again, lookup), like numbers, it goes in the digital side car.
  • On each sensor are some letters followed by some kind of hole. These are basically different kind of data they can send back (lookup which holes send what kind of data). The essential ones though are + (power) and G/- (ground). After that, it depends on what you need.
  • The holes have to be soldered to a wire on the connection you are using
I'll try posting pics after midterms (ends on Thursday), earlier if possible.
__________________
  #5   Spotlight this post!  
Unread 23-01-2011, 19:23
SudoSammich SudoSammich is offline
A pretty big deal...
AKA: Corey
FRC #0514 (Entropy)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2007
Location: Miller Place
Posts: 31
SudoSammich is an unknown quantity at this point
Re: Encoder and line tracker wiring

Ironically I did actually take a picture of the wiring for our quad encoders last year, but I lost it when I transferred phones and can't remember how we did it without our wiring diagram near me now.

As for the banner sensors (line tracking sensors included in the KOP), they're wired just a *bit* differently from everything else. Blue is ground, brown is power, and the white and black wires are "light output" and "dark output", respectively.

The sensor requires greater than the 5V of power the digital sidecar can provide for it, so you have to wire it directly into the power distribution block (big thing filled with breakers that you use the wago tool to operate, not 100% sure I've got the correct terminology here). Just put the blue into a black and brown into its corresponding red with a 20 amp breaker and it'll run fine.

As for the signal wires, you have to attach a pwm cable to the output(s) you wish to use and plug that cable into the digital sidecar. We're opting to use the light output, which reads "true" when the sensor receives a white input, so we soldered the white wire off the sensor to the white wire on a pwm cable and left the black and red from the pwm alone. This is working for us thus far, and we're just about done with our line tracking code.

Hope this helps!
  #6   Spotlight this post!  
Unread 23-01-2011, 19:48
krudeboy51's Avatar
krudeboy51 krudeboy51 is offline
Only Programmer
AKA: kory
FRC #0369 (369)
Team Role: Programmer
 
Join Date: Mar 2010
Rookie Year: 2010
Location: brooklyn
Posts: 151
krudeboy51 is a glorious beacon of lightkrudeboy51 is a glorious beacon of lightkrudeboy51 is a glorious beacon of lightkrudeboy51 is a glorious beacon of lightkrudeboy51 is a glorious beacon of light
Send a message via AIM to krudeboy51
Re: Encoder and line tracker wiring

Great! thank now i can see the line tracker working, lights are blinking, and its sensing Thanks again, but one question how did you go about prorgramming the line tracker??
  #7   Spotlight this post!  
Unread 23-01-2011, 20:42
McGurky's Avatar
McGurky McGurky is offline
Geek
AKA: Kyle McGurk
FRC #1716 (Redbird Robotics)
Team Role: College Student
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Houghton, MI
Posts: 291
McGurky is just really niceMcGurky is just really niceMcGurky is just really niceMcGurky is just really nice
Re: Encoder and line tracker wiring

If you are using labview...
Take a look in the default autonomous code that is in your C-Rio project.

If that doesn't provide the help you are looking for, check this tutorial out!
http://decibel.ni.com/content/docs/DOC-14730

It covers the basics about line following that should be of some help to your team!

GOOD LUCK

-Mcgurky
__________________
RTFM -Read The First Manual

You already are who you are, I may be able to show you a fancy trick or two, but the term "Better" is relative to the potential you already have.
Take a look at my website/Blog!
  #8   Spotlight this post!  
Unread 23-01-2011, 21:06
riptide's Avatar
riptide riptide is offline
The Software Dude... LabView and VB
AKA: Jeff
FRC #1165 (Paradise)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Pasadena
Posts: 24
riptide will become famous soon enough
Re: Encoder and line tracker wiring

I have an image of the setup for the photoswitch on the following thread.

http://www.chiefdelphi.com/forums/sh...ad.php?t=89840

Hope it helps.
  #9   Spotlight this post!  
Unread 23-01-2011, 21:26
krudeboy51's Avatar
krudeboy51 krudeboy51 is offline
Only Programmer
AKA: kory
FRC #0369 (369)
Team Role: Programmer
 
Join Date: Mar 2010
Rookie Year: 2010
Location: brooklyn
Posts: 151
krudeboy51 is a glorious beacon of lightkrudeboy51 is a glorious beacon of lightkrudeboy51 is a glorious beacon of lightkrudeboy51 is a glorious beacon of lightkrudeboy51 is a glorious beacon of light
Send a message via AIM to krudeboy51
Re: Encoder and line tracker wiring

Quote:
Originally Posted by McGurky View Post
If you are using labview...
Take a look in the default autonomous code that is in your C-Rio project.

If that doesn't provide the help you are looking for, check this tutorial out!
http://decibel.ni.com/content/docs/DOC-14730

It covers the basics about line following that should be of some help to your team!

GOOD LUCK

-Mcgurky
yea, we use c++ but thanks for your help
  #10   Spotlight this post!  
Unread 25-01-2011, 20:48
kinganu123 kinganu123 is offline
Registered User
FRC #1747
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Piscataway, NJ
Posts: 243
kinganu123 is on a distinguished road
Re: Encoder and line tracker wiring

lol, its not helpful at all, but here's the pic as promised
__________________
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 02:58.

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