OCCRA
Go to Post Part of FRC and design/engineering is perseverance. Keep your chin up, your thoughts positive, and have respect for your work and the work of your teammates. - Nathan_Fraser [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
CD-Events   CD-Media   CD-Spy   FRC-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 01-16-2003, 12:02 PM
Mike Norton's Avatar
Mike Norton Mike Norton is offline
Registered User
FRC #0061
Team Role: Teacher
 
Join Date: Oct 2001
Rookie Year: 1995
Location: Upton, MA
Posts: 465
Mike Norton is a name known to allMike Norton is a name known to allMike Norton is a name known to allMike Norton is a name known to allMike Norton is a name known to allMike Norton is a name known to all
Robot Digital Input

I set up four linits switches

The problem I am having is stopping the forward motion of the motors. I wired up pin 4,5,18,and 19 all to ground which were 3,6,17,and 20

I am reading 4.92 volts at the switches but when the switches close the motor still works in the forward or backward direction.


I have two motors that I wanted to stop. two limit switches per motor.

am I reading the reference guide right.

I am using the joystick in port 3 and joy stick in port 4 on the operator Interface


Any help would be great this is the first year we are using limits switches ( 8 years without )
  #2   Spotlight this post!  
Unread 01-16-2003, 12:30 PM
rbayer's Avatar Unsung FIRST Hero
rbayer rbayer is offline
Blood, Sweat, and Code
no team (Teamless Orphan)
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Minnetonka, MN
Posts: 1,087
rbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of light
Send a message via AIM to rbayer
Electrically, I think you are doing the right thing in terms of pins. However, you shouldn't be reading +5 anywhere. Are you sure you wired this stuff into the digital inputs port on the RC and not the analog? It looks like that may be the problem as pins 3,6,17,and 20 all carry +5V on the analog port. If you move your connector to the digital input port, it should work.
__________________
New C-based RoboEmu2 (code simulator) available at: http://www.robbayer.com/software.php

Last edited by rbayer : 01-16-2003 at 12:32 PM.
  #3   Spotlight this post!  
Unread 01-16-2003, 12:40 PM
crazycliffy crazycliffy is offline
Registered User
#0846
 
Join Date: Jan 2003
Location: San Jose
Posts: 11
crazycliffy is an unknown quantity at this point
I also believe it is software...

so make sure the software variables in the PBASIC
code gets changed. Because below means that
the default PBASIC code will do the following:

the Full-Size RC Reference Guide says:
for
Pin 4 "PWM 3 won't go forward if rc_sw5 is ON"
Pin 5 "PWM 3 won't go forward if rc_sw6 is ON"
Pin 18 "PWM 4 won't go forward if rc_sw7 is ON"
Pin 19 "PWM 4 won't go forward if rc_sw8 is ON"
  #4   Spotlight this post!  
Unread 01-16-2003, 01:03 PM
Dave Flowerday Dave Flowerday is offline
Software Engineer
VRC #0111 (Wildstang)
Team Role: Engineer
 
Join Date: Feb 2002
Rookie Year: 1995
Location: North Barrington, IL
Posts: 1,352
Dave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond repute
Quote:
Originally posted by rbayer
However, you shouldn't be reading +5 anywhere.
If he was reading the voltage at an unconnected (or switch open) digital input pin he would read +5V due to the internal pullup resistor.
  #5   Spotlight this post!  
Unread 01-16-2003, 01:04 PM
Mike Norton's Avatar
Mike Norton Mike Norton is offline
Registered User
FRC #0061
Team Role: Teacher
 
Join Date: Oct 2001
Rookie Year: 1995
Location: Upton, MA
Posts: 465
Mike Norton is a name known to allMike Norton is a name known to allMike Norton is a name known to allMike Norton is a name known to allMike Norton is a name known to allMike Norton is a name known to all
It is on the digital side and I am only going off the default.


Plus the light will not go on. pin 8 on the relay should turn the light on.

I can put the light on pin 1 of the relay and pull the trigger on the joy stick and the light will go on.
  #6   Spotlight this post!  
Unread 01-16-2003, 01:31 PM
Mike Norton's Avatar
Mike Norton Mike Norton is offline
Registered User
FRC #0061
Team Role: Teacher
 
Join Date: Oct 2001
Rookie Year: 1995
Location: Upton, MA
Posts: 465
Mike Norton is a name known to allMike Norton is a name known to allMike Norton is a name known to allMike Norton is a name known to allMike Norton is a name known to allMike Norton is a name known to all
the problem was in the robot controller

I replaced with last year controller and it works great
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
How much planning goes into your robot? Jnadke General Forum 41 01-29-2006 08:29 PM
serious problem found - robot controller resets when jarred! KenWittlief Electrical 23 03-19-2003 12:30 PM
How do u hook up the digital input to the sensor's wires Fares Technical Discussion 2 02-14-2003 03:41 PM
WASH Palm scouting at the Championship Mike Soukup Scouting 2 04-19-2002 02:14 PM
about how Drive Train push the robot... shouldn't the force accelerate the robot? Ken Leung Technical Discussion 12 11-26-2001 08:39 AM


All times are GMT -5. The time now is 08:49 PM.

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


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