Go to Post Ask the right questions and you can get the right answers. - Chief Hedgehog [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rating: Thread Rating: 4 votes, 5.00 average. Display Modes
  #16   Spotlight this post!  
Unread 26-07-2015, 17:56
mman1506's Avatar
mman1506 mman1506 is online now
Focusing on Combat Robots!
AKA: Marcus Quintilian
no team (WARP7)
Team Role: Alumni
 
Join Date: Mar 2012
Rookie Year: 2012
Location: Toronto
Posts: 759
mman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond repute
Re: Which sensors should be used throughout the robot?

I really love the allen-bradley photosensors from 2011 KOP. They come in super handy for indexing of game pieces, rpm measurement, elevator indexing (homing). The square body and threaded barrel make them easy to mount and they do a great job at rejecting IR light interference from the field lights.

We also had a good experience with the AMT10-V encoder this year. The CPR of the encoder can be adjusted via on-board dip switches and they can be mounted on shafts from 2-8 mm (1/4",3/16",1/8") making them exceptionally versatile. At $23 a piece we can keep lots spares around.
__________________
2014-2015: FRC 865 Warp7 Team Captain
2016: FRC 865 Mentor

Last edited by mman1506 : 26-07-2015 at 20:06.
  #17   Spotlight this post!  
Unread 26-07-2015, 18:36
Abhishek R Abhishek R is offline
Registered User
no team
Team Role: Alumni
 
Join Date: Mar 2013
Rookie Year: 2012
Location: Texas
Posts: 890
Abhishek R has a reputation beyond reputeAbhishek R has a reputation beyond reputeAbhishek R has a reputation beyond reputeAbhishek R has a reputation beyond reputeAbhishek R has a reputation beyond reputeAbhishek R has a reputation beyond reputeAbhishek R has a reputation beyond reputeAbhishek R has a reputation beyond reputeAbhishek R has a reputation beyond reputeAbhishek R has a reputation beyond reputeAbhishek R has a reputation beyond repute
Re: Which sensors should be used throughout the robot?

I don't know what brand/model specifically we use, but:

Drivetrain - Encoders
Elevator - Combination of Encoder and String Potentiometer, as well as Limit Switches to detect the ends and to zero/calibrate
Flywheels - IR/Photo Sensors
Proximity (detecting whether there is a tote/can in the robot or not) - Ultrasonic and/or IR/Photo Sensors

We also used a Limit Switch last year to determine when our catapult had returned to its starting position. The most common sensor we use is definitely IR/Photo (other than the encoders on the drivetrain) because they're so versatile.
__________________
2012 - 2015 : 624 CRyptonite
Team Website

Last edited by Abhishek R : 26-07-2015 at 18:39.
  #18   Spotlight this post!  
Unread 26-07-2015, 18:51
thatprogrammer's Avatar
thatprogrammer thatprogrammer is offline
Registered User
AKA: Ahad Bawany
no team (None)
Team Role: Programmer
 
Join Date: Apr 2014
Rookie Year: 2014
Location: Florida
Posts: 608
thatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond repute
Re: Which sensors should be used throughout the robot?

What ir sensors would everyone reccomend? Same question for retroflective sensors.

I assume any sensor that's digital and merely returns a boolean value can be programmed the same as a limit switch?
  #19   Spotlight this post!  
Unread 26-07-2015, 19:44
Gregor's Avatar
Gregor Gregor is offline
#StickToTheStratisQuo
AKA: Gregor Browning
no team
Team Role: College Student
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Kingston, Ontario, Canada
Posts: 2,447
Gregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond repute
Re: Which sensors should be used throughout the robot?

http://m.ebay.com/itm/190892864042?_mwBanner=1

These are from China and take absolutly forever to ship, but if you stock up on them now they're great to have, especially given the price.

We used them everywhere this year, two to sense totes, two to sense the tape on the floor for our 3 tote, and one to sense a container. Last year we used it to sense the limit on our catapult. Just don't be foolish like us and point two towards each other to try and sense the totes, you'll end up bending a sensor mount up so they don't interfere.

http://www.wcproducts.net/sensors

I also love these made for FRC sensors, thanks 971! We used them as the upper and lower limits for our elevator. Put velcro on the sensor and a 1/8 rivet on the magnet and you have an easily adjustable, great sensor.

Between these two sensors we've totally eliminated our use of pesky limit switches. I love their price and their ease of use.
__________________
What are nationals? Sounds like a fun American party, can we Canadians come?
“For me, insanity is super sanity. The normal is psychotic. Normal means lack of imagination, lack of creativity.” -Jean Dubuffet
"Insanity is doing the same thing over and over again and expecting different results." -Albert Einstein
FLL 2011-2015 Glen Ames Robotics-Student, Mentor
FRC 2012-2013 Team 907-Scouting Lead, Strategy Lead, Human Player, Driver
FRC 2014-2015 Team 1310-Mechanical, Electrical, Drive Captain
FRC 2011-xxxx Volunteer
How I came to be a FIRSTer
<Since 2011

Last edited by Gregor : 26-07-2015 at 23:58. Reason: Updated first link to 5V version
  #20   Spotlight this post!  
Unread 26-07-2015, 19:48
thatprogrammer's Avatar
thatprogrammer thatprogrammer is offline
Registered User
AKA: Ahad Bawany
no team (None)
Team Role: Programmer
 
Join Date: Apr 2014
Rookie Year: 2014
Location: Florida
Posts: 608
thatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond repute
Re: Which sensors should be used throughout the robot?

Quote:
Originally Posted by Gregor View Post
http://m.ebay.ca/itm/251609690366?_mwBanner=1

These are from China and take absolutly forever to ship, but if you stock up on them now they're great to have, especially given the price.

We used them everywhere this year, two to sense totes, two to sense the tape on the floor for our 3 tote, and one to sense a container. Last year we used it to sense the limit on our catapult. Just don't be foolish like us and point two towards each other to try and sense the totes, you'll end up bending a sensor mount up so they don't interfere. .
Our school is unlikely to allow us to buy stuff through ebay. Any similar sensors from a more official website? Thanks!
  #21   Spotlight this post!  
Unread 26-07-2015, 19:56
AdamHeard's Avatar
AdamHeard AdamHeard is offline
Lead Mentor
FRC #0973 (Greybots)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2004
Location: Atascadero
Posts: 5,494
AdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond repute
Send a message via AIM to AdamHeard
Re: Which sensors should be used throughout the robot?

Have you tried them for a flywheel?

Quote:
Originally Posted by Gregor View Post
http://m.ebay.ca/itm/251609690366?_mwBanner=1

These are from China and take absolutly forever to ship, but if you stock up on them now they're great to have, especially given the price.

We used them everywhere this year, two to sense totes, two to sense the tape on the floor for our 3 tote, and one to sense a container. Last year we used it to sense the limit on our catapult. Just don't be foolish like us and point two towards each other to try and sense the totes, you'll end up bending a sensor mount up so they don't interfere.

http://www.wcproducts.net/sensors

I also love these made for FRC sensors, thanks 971! We used them as the upper and lower limits for our elevator. Put velcro on the sensor and a 1/8 rivet on the magnet and you have an easily adjustable, great sensor.

Between these two sensors we've totally eliminated our use of pesky limit switches. I love their price and their ease of use.
  #22   Spotlight this post!  
Unread 26-07-2015, 20:00
Gregor's Avatar
Gregor Gregor is offline
#StickToTheStratisQuo
AKA: Gregor Browning
no team
Team Role: College Student
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Kingston, Ontario, Canada
Posts: 2,447
Gregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond repute
Re: Which sensors should be used throughout the robot?

Quote:
Originally Posted by AdamHeard View Post
Have you tried them for a flywheel?
No.
__________________
What are nationals? Sounds like a fun American party, can we Canadians come?
“For me, insanity is super sanity. The normal is psychotic. Normal means lack of imagination, lack of creativity.” -Jean Dubuffet
"Insanity is doing the same thing over and over again and expecting different results." -Albert Einstein
FLL 2011-2015 Glen Ames Robotics-Student, Mentor
FRC 2012-2013 Team 907-Scouting Lead, Strategy Lead, Human Player, Driver
FRC 2014-2015 Team 1310-Mechanical, Electrical, Drive Captain
FRC 2011-xxxx Volunteer
How I came to be a FIRSTer
<Since 2011
  #23   Spotlight this post!  
Unread 26-07-2015, 20:00
Necroterra's Avatar
Necroterra Necroterra is offline
Registered User
FRC #4183 (Bit Buckets)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2015
Location: Tucson
Posts: 26
Necroterra will become famous soon enough
Re: Which sensors should be used throughout the robot?

Quote:
Originally Posted by thatprogrammer View Post
How exactly are the reed switches programmed? Same as limit switches?
I see people already let you know that you can use these magnetic reed switches as a standard DigitalInput, or set it up as the Limit Switch on a TalonSRX, but there's a few others. The class Counter can be used as such:

Code:
Counter reedSwitchWatcher = new Counter(channel)
or
Code:
Counter reedSwitchWatcher = new Counter(digitalInput)
As well as a few others. This tells the FGPA to directly watch the digitalInput and count when it is active / rising edges / falling edges / whatever you set it to. This means you don't have to check the switch as often as you would if you were accessing it directly, and you can use it to act on a switch's activation much more precisely.

There is also an Interrupt system built into the processor, but I never used it. From what I understand, it's essentially an event handler which executes a function handler when a DigitalInput is fired.
__________________

2015 Arizona East - Regional Winners, Creativity Award
  #24   Spotlight this post!  
Unread 26-07-2015, 20:05
mman1506's Avatar
mman1506 mman1506 is online now
Focusing on Combat Robots!
AKA: Marcus Quintilian
no team (WARP7)
Team Role: Alumni
 
Join Date: Mar 2012
Rookie Year: 2012
Location: Toronto
Posts: 759
mman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond repute
Re: Which sensors should be used throughout the robot?

Quote:
Originally Posted by thatprogrammer View Post
Our school is unlikely to allow us to buy stuff through ebay. Any similar sensors from a more official website? Thanks!
http://www.amazon.com/6-36V-Photoele...lectric+sensor
__________________
2014-2015: FRC 865 Warp7 Team Captain
2016: FRC 865 Mentor
  #25   Spotlight this post!  
Unread 26-07-2015, 20:14
thatprogrammer's Avatar
thatprogrammer thatprogrammer is offline
Registered User
AKA: Ahad Bawany
no team (None)
Team Role: Programmer
 
Join Date: Apr 2014
Rookie Year: 2014
Location: Florida
Posts: 608
thatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond repute
Re: Which sensors should be used throughout the robot?

Here is a basic chart of what I've come up with so far, based on responses in this thread:
Code:
Arms: Potentiometer or Encoder -> Hard to zero(?)
Elevator: Encoder
Flywheel: IR or photoelectric sensor (Hoping to find some good options for this, a bit scared of using the cheap sensor on high rpm flywheels)
Stops: Hall effect.
Intakes/Hoppers: IR
  #26   Spotlight this post!  
Unread 26-07-2015, 20:17
mman1506's Avatar
mman1506 mman1506 is online now
Focusing on Combat Robots!
AKA: Marcus Quintilian
no team (WARP7)
Team Role: Alumni
 
Join Date: Mar 2012
Rookie Year: 2012
Location: Toronto
Posts: 759
mman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond repute
Re: Which sensors should be used throughout the robot?

Quote:
Originally Posted by Gregor View Post

http://www.wcproducts.net/sensors

I also love these made for FRC sensors, thanks 971! We used them as the upper and lower limits for our elevator. Put velcro on the sensor and a 1/8 rivet on the magnet and you have an easily adjustable, great sensor.

Between these two sensors we've totally eliminated our use of pesky limit switches. I love their price and their ease of use.
A cheaper more durable alternative to the 971 WCP sensor are these inductive proximity sensors.
http://www.ebay.ca/itm/New-LJ12A3-4-...em338fe7 6170

Since they are inductive instead of magnetic they can be triggered by anything ferrous like a steel rivet.

There are also magnetic hall effect versions http://www.ebay.ca/itm/Hall-Effect-H...em487c2a 613c
__________________
2014-2015: FRC 865 Warp7 Team Captain
2016: FRC 865 Mentor
  #27   Spotlight this post!  
Unread 26-07-2015, 20:39
marshall's Avatar
marshall marshall is offline
My pants are louder than yours.
FRC #0900 (The Zebracorns)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2003
Location: North Carolina
Posts: 1,230
marshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond repute
Re: Which sensors should be used throughout the robot?

Quote:
Originally Posted by mman1506 View Post
A cheaper more durable alternative to the 971 WCP sensor are these inductive proximity sensors.
http://www.ebay.ca/itm/New-LJ12A3-4-...em338fe7 6170

Since they are inductive instead of magnetic they can be triggered by anything ferrous like a steel rivet.

There are also magnetic hall effect versions http://www.ebay.ca/itm/Hall-Effect-H...em487c2a 613c
Alternate Amazon links for those in need:

http://www.amazon.com/Effect-Sensor-...y+Switc h+NPN

http://www.amazon.com/Amico-DC6-36V-...J12A3-4-Z%2FBX
__________________
"La mejor salsa del mundo es la hambre" - Miguel de Cervantes
"The future is unwritten" - Joe Strummer
"Simplify, then add lightness" - Colin Chapman
  #28   Spotlight this post!  
Unread 27-07-2015, 00:37
AdamHeard's Avatar
AdamHeard AdamHeard is offline
Lead Mentor
FRC #0973 (Greybots)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2004
Location: Atascadero
Posts: 5,494
AdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond repute
Send a message via AIM to AdamHeard
Re: Which sensors should be used throughout the robot?

After accidentally posting in battlebots thread...

We used these Chinese encoders in place of S4's for practice bots to save some money.

They're way bigger, but worked well for us. Took about two weeks to get to us.
  #29   Spotlight this post!  
Unread 27-07-2015, 01:01
Max Boord Max Boord is offline
Registered User
FRC #0179 (The Children of The Swamp), FRC #1592 (Bionic Tigers)
Team Role: Tactician
 
Join Date: Jun 2013
Rookie Year: 2002
Location: Florida
Posts: 234
Max Boord has a brilliant futureMax Boord has a brilliant futureMax Boord has a brilliant futureMax Boord has a brilliant futureMax Boord has a brilliant futureMax Boord has a brilliant futureMax Boord has a brilliant futureMax Boord has a brilliant futureMax Boord has a brilliant futureMax Boord has a brilliant futureMax Boord has a brilliant future
Re: Which sensors should be used throughout the robot?

Quote:
Originally Posted by thatprogrammer View Post
Here is a basic chart of what I've come up with so far, based on responses in this thread:
Arms: Potentiometer or Encoder -> Hard to zero(?)
Elevator: Encoder
Flywheel: IR or photoelectric sensor (Hoping to find some good options for this, a bit scared of using the cheap sensor on high rpm flywheels)
Stops: Hall effect.
Intakes/Hoppers: IR
Arms: Potentiometer. Encoders have to be zeroed every time the robot boots up which can be a problem if the arm starts in a different position in each match.
Elevator: String Potentiometer. They output a value directly proportional to lift height. This is how 1065 measured our lift height this season.
Flywheel: Optical. Encoders produce too much information for this and caused problems for us in 2013 before we switched to optical measurement on our shooter.
Stops: Hall effect/ Optical. They don't break like limit switches do. We used them as a backup to our string potentiometer this year to prevent from hitting hard stops. They output a solid state signal and some have a 3rd "reversed output" wire.
Hoppers: Limit switches or optical.
Drive: Encoders for distance, Gyro for orientation. Use 2 gyros 1 upside down positioned above or below to account for gyro drift. Make sure the driver can zero it if the gyros are used for field oriented omni drive.
__________________
Past teams:
1523 (2011-2014)
1065 (2014-2016)
3932 & 4592 (2016)
  #30   Spotlight this post!  
Unread 27-07-2015, 01:50
Thad House Thad House is offline
Volunteer, WPILib Contributor
no team (Waiting for 2021)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Thousand Oaks, California
Posts: 1,070
Thad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond repute
Re: Which sensors should be used throughout the robot?

Quote:
Originally Posted by Max Boord View Post
Arms: Potentiometer. Encoders have to be zeroed every time the robot boots up which can be a problem if the arm starts in a different position in each match.
Elevator: String Potentiometer. They output a value directly proportional to lift height. This is how 1065 measured our lift height this season.
String pots work well for a game like this year, but most years they are not a good option. Most elevator games need more then 50 inches of travel, which was the longest we could find. It also cost more then $200 just for 1 50 inch one. An encoder is a much cheaper option, and your only option in budget if you need more then 50 inches of travel.
__________________
All statements made are my own and not the feelings of any of my affiliated teams.
Teams 1510 and 2898 - Student 2010-2012
Team 4488 - Mentor 2013-2016
Co-developer of RobotDotNet, a .NET port of the WPILib.
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 22:01.

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