Go to Post You'll want to start with P, add some D to help prevent overshoot, and then add some I to help it get to the correct height if it isn't there from the P and D. - AustinSchuh [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 09-07-2005, 16:16
mechanicalbrain's Avatar
mechanicalbrain mechanicalbrain is offline
The red haired Dremel gnome!
FRC #0623 (Ohm robotics)
Team Role: Electrical
 
Join Date: Apr 2005
Rookie Year: 2004
Location: Virginia
Posts: 1,221
mechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond repute
Send a message via AIM to mechanicalbrain Send a message via Yahoo to mechanicalbrain
two electrical questions

i wanted to use the accelerometer on the robot but we had one (i thought that i must have lost one becuase as i understand it they work on one axis so what would be the point of sending one). then after looking at the parts list i realised they only sent one. is there something im not understanding? if anyone used them or knows how to wire them please help. my other question involves the operator interface. im making a nice control board and want to make a row of toggle switches (about 6-10) and some push buttons (4 or so) as well as a control device containing 3 potentiometers but the electrical guides first provides only talks about using them on port 3. so... im wondering what i can do to the other ports and how to wire the electrical components to the serial conector (i asume their are other ways than first talks about). the material first provided was this.
__________________
"Oh my God! There's an axe in my head."
623's 2006 home page
random mechanicalbrain slogans

  #2   Spotlight this post!  
Unread 09-07-2005, 18:19
sciguy125 sciguy125 is offline
Electrical Engineer
AKA: Phil Baltar
FRC #1351
Team Role: College Student
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Sunnyvale, CA
Posts: 519
sciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond repute
Send a message via AIM to sciguy125 Send a message via MSN to sciguy125 Send a message via Yahoo to sciguy125
Re: two electrical questions

You can find a schematic of the joystick ports here:

http://www.chiefdelphi.com/forums/sh...ck+schemati c

I recall something about needing pots with a certain value (100k I think). If it's not that value, it won't work.



As for the accelerometer, you can get a datasheet on the first website:

http://www.usfirst.org/robotics/2005/specsheets.htm

Knowing acceleration in one axis is moderately useful. The only thing I can think of off the top of my head is collision detection. If there's a spike in acceleration, you've hit something.
__________________

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GE/S/P a-- e y-- r-- s:++ d+ h! X+++
t++ C+ P+ L++ E W++ w M-- V? PS+ PE+
5- R-- tv+ b+ DI+++ D- G
------END GEEK CODE BLOCK------
  #3   Spotlight this post!  
Unread 09-07-2005, 19:13
mechanicalbrain's Avatar
mechanicalbrain mechanicalbrain is offline
The red haired Dremel gnome!
FRC #0623 (Ohm robotics)
Team Role: Electrical
 
Join Date: Apr 2005
Rookie Year: 2004
Location: Virginia
Posts: 1,221
mechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond repute
Send a message via AIM to mechanicalbrain Send a message via Yahoo to mechanicalbrain
Re: two electrical questions

thanks but the joystick reference wasnt exactely what i had in mind im just hooking up a bunch of digital switches and i want to know what ports to avoid and how much i can fit in.
__________________
"Oh my God! There's an axe in my head."
623's 2006 home page
random mechanicalbrain slogans

  #4   Spotlight this post!  
Unread 09-07-2005, 19:41
BrianBSL BrianBSL is offline
Registered User
FRC #0190
 
Join Date: Sep 2004
Rookie Year: 2000
Location: Worcester, MA
Posts: 251
BrianBSL has much to be proud ofBrianBSL has much to be proud ofBrianBSL has much to be proud ofBrianBSL has much to be proud ofBrianBSL has much to be proud ofBrianBSL has much to be proud ofBrianBSL has much to be proud ofBrianBSL has much to be proud ofBrianBSL has much to be proud ofBrianBSL has much to be proud of
Re: two electrical questions

What you are probally looking for is http://www.ifirobotics.com/docs/oi-r...de-2-21-05.pdf , specifically pages 7-10 which tell you which ports have which connections. There are a total of 16 digital inputs, and 16 analog inputs. This sort of limits you to 16 switch inputs (if it is a DPST ON-OFF-ON toggle switch, and you want to use both ON's, you need 2 inputs), although we usually have more than that by using resistor networks on an analog (same way the hat works on an analog joystick).

Hope this helps.
  #5   Spotlight this post!  
Unread 09-07-2005, 19:55
mechanicalbrain's Avatar
mechanicalbrain mechanicalbrain is offline
The red haired Dremel gnome!
FRC #0623 (Ohm robotics)
Team Role: Electrical
 
Join Date: Apr 2005
Rookie Year: 2004
Location: Virginia
Posts: 1,221
mechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond repute
Send a message via AIM to mechanicalbrain Send a message via Yahoo to mechanicalbrain
Re: two electrical questions

thanks alot now i just need to figure out the accelerometer....
__________________
"Oh my God! There's an axe in my head."
623's 2006 home page
random mechanicalbrain slogans

  #6   Spotlight this post!  
Unread 09-07-2005, 20:00
BrianBSL BrianBSL is offline
Registered User
FRC #0190
 
Join Date: Sep 2004
Rookie Year: 2000
Location: Worcester, MA
Posts: 251
BrianBSL has much to be proud ofBrianBSL has much to be proud ofBrianBSL has much to be proud ofBrianBSL has much to be proud ofBrianBSL has much to be proud ofBrianBSL has much to be proud ofBrianBSL has much to be proud ofBrianBSL has much to be proud ofBrianBSL has much to be proud ofBrianBSL has much to be proud of
Re: two electrical questions

Quote:
Originally Posted by mechanicalbrain
thanks alot now i just need to figure out the accelerometer....
What's your question about it? They did only send one, so you can only use it in one axis. What did you want to use it for? It gives an analog 0-5 output so you hook it up to the analog inputs ports on the controller.

We've had some pretty good luck with the Analog Devices (www.analog.com) MEMS stuff (most of their accelerometer's are 2 axis), though we've done a lot more with the gyro's than the accelerometers. www.sparkfun.com sells some boards with them mounted or you can buy the EB's from analog.
  #7   Spotlight this post!  
Unread 09-07-2005, 21:34
Gdeaver Gdeaver is offline
Registered User
FRC #1640
Team Role: Mentor
 
Join Date: Mar 2004
Rookie Year: 2001
Location: West Chester, Pa.
Posts: 1,371
Gdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond repute
Re: two electrical questions

The 2005 accelerometer makes a pretty good tilt sensor. Could have been used in the ramp riot game to detect when the robot started on the ramp. Pay attention to the wire diagram for this year's sensor. Red is negative - black is positive and white is signal.
  #8   Spotlight this post!  
Unread 09-07-2005, 22:31
mechanicalbrain's Avatar
mechanicalbrain mechanicalbrain is offline
The red haired Dremel gnome!
FRC #0623 (Ohm robotics)
Team Role: Electrical
 
Join Date: Apr 2005
Rookie Year: 2004
Location: Virginia
Posts: 1,221
mechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond repute
Send a message via AIM to mechanicalbrain Send a message via Yahoo to mechanicalbrain
Re: two electrical questions

the accelerometers ive seen on bots arent being used to their potential. our team is trying to use them to have the robot know where it is on the field for a better autonomous or even autonomous outside of the normal autonomous time
__________________
"Oh my God! There's an axe in my head."
623's 2006 home page
random mechanicalbrain slogans

  #9   Spotlight this post!  
Unread 10-07-2005, 00:06
BrianBSL BrianBSL is offline
Registered User
FRC #0190
 
Join Date: Sep 2004
Rookie Year: 2000
Location: Worcester, MA
Posts: 251
BrianBSL has much to be proud ofBrianBSL has much to be proud ofBrianBSL has much to be proud ofBrianBSL has much to be proud ofBrianBSL has much to be proud ofBrianBSL has much to be proud ofBrianBSL has much to be proud ofBrianBSL has much to be proud ofBrianBSL has much to be proud ofBrianBSL has much to be proud of
Re: two electrical questions

Quote:
Originally Posted by mechanicalbrain
the accelerometers ive seen on bots arent being used to their potential. our team is trying to use them to have the robot know where it is on the field for a better autonomous or even autonomous outside of the normal autonomous time
Heh, good luck with that. We've done a bit of that and not had a ton of luck (tons of drift). I don't think its for a lack of trying that people haven't really done this much.
  #10   Spotlight this post!  
Unread 11-07-2005, 09:41
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,798
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: two electrical questions

Besides using the digital inputs with switches on the joystick ports, you can switch resistor sets on the pot inputs. If you use the four pushbuttons such that they are shorting out a string of resistors that are the series equivalent of a 100K pot then you can read the values just as you would a pot. We use a modified Radio Shack 2 pole 6 throw rotary switch to make a nice 11 position switch for program sub calls. The 11 positions have 10 9k (90K series resistance) resistors between them with a final 9K in series with the switch. At position 1 the resistance is 99k at postion 11 the resistance is 9K.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
47 Questions! Matt Krass Games/Trivia 52 19-04-2006 00:58
Q/A questions so far.. AmyPrib Rules/Strategy 49 28-01-2005 08:39
**FIRST EMAIL**/Autodesk Inventor Training and Technical Questions Information Rich Wong FIRST E-Mail Blast Archive 0 07-12-2004 17:22
Lots of Electrical Questions Allison K Electrical 18 18-02-2004 11:49
A Few Electrical Questions GregTheGreat Technical Discussion 16 30-10-2003 20:42


All times are GMT -5. The time now is 22:48.

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