View Single Post
  #4   Spotlight this post!  
Unread 24-06-2002, 00:48
archiver archiver is offline
Forum Archival System
#0047 (ChiefDelphi)
 
Join Date: May 2001
Location: Pontiac, MI
Posts: 21,214
archiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond repute
Yikes, Better read Pbasic manual fast or use default program

Posted by Ed Sparks at 2/13/2001 5:59 PM EST


Engineer on team #34, The Rockets, from Bob Jones High / New Century High and DaimlerChrysler.


In Reply to: coding, motors, spikes, help
Posted by bill whitley on 2/13/2001 5:00 PM EST:



: 1) Can the Van Door motor be run from a toggle switch? It requries a speed controller, correct?

Speed Controller, Speed Controller, Speed Controller

: 2) When wiring in the pneumatic pump, do we run direct 12V power to the compressor, and then connect spike to the solenoids? Where does the pressure switch come into play?

NOTHING IS WIRED DIRECT TO THE BATTERY EXCEPT THE 60A BREAKER!

Wire the compressor to the spike. wire the pressure switch to the robot controller (digital input). Write some code (see my post on compressor help).


: 3) Can both the globe & window motors be run from toggle switches & spikes?

Forget toggle switches. Use Victors or Spikes.

: 4) Is it possible for the trigger of joystick one and the trigger of joystick two to control the same motor? (IE, so left joystick rotates left, right joystick rotates right) Can you give (at least a hint/start) to the PBASIC code necessary to do this?

YES


PWM1 = 127
if p1_trigger_switch 1 then CHECK_P2
PWM1 = 254
goto JUMP1

CHECK_P2:
if p2_trigger_switch 1 then JUMP1
PWM1 = 0

JUMP1:


__________________
This message was archived from an earlier forum system. Some information may have been left out. Start new discussion in the current forums, and refer back to these threads when necessary.