|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
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
|
||||||
|
||||||
|
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.
Last edited by rbayer : 16-01-2003 at 13:32. |
|
#3
|
|||
|
|||
|
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
|
||||
|
||||
|
Quote:
|
|
#5
|
||||
|
||||
|
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
|
||||
|
||||
|
the problem was in the robot controller
I replaced with last year controller and it works great |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How much planning goes into your robot? | Jnadke | General Forum | 41 | 29-01-2006 21:29 |
| serious problem found - robot controller resets when jarred! | KenWittlief | Electrical | 23 | 19-03-2003 13:30 |
| How do u hook up the digital input to the sensor's wires | Fares | Technical Discussion | 2 | 14-02-2003 16:41 |
| WASH Palm scouting at the Championship | Mike Soukup | Scouting | 2 | 19-04-2002 15:14 |
| about how Drive Train push the robot... shouldn't the force accelerate the robot? | Ken Leung | Technical Discussion | 12 | 26-11-2001 09:39 |