Go to Post "automated chaos" nuff said. - Jferrante [more]
Home
Go Back   Chief Delphi > Technical > Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #6   Spotlight this post!  
Unread 23-02-2014, 06:56
wireties's Avatar
wireties wireties is offline
Principal Engineer
AKA: Keith Buchanan
FRC #1296 (Full Metal Jackets)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Rockwall, TX
Posts: 1,170
wireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond repute
Send a message via AIM to wireties
Re: Digital Side Car Wiring Of I/O & Solenoid Output Card

Quote:
Originally Posted by James Lightfoot View Post
3A1) For the Relay Outputs, I'm guessing that the A & B signal states [0 or 1] are controlled by the Java DigitalInput class, correct? Making pin A the PWM signal controlling a Spike Relay's FWD direction [depending on the code & wiring] a PWM signal of 1.0 to 1.5, correct?
Use the Relay class - it works like this:

http://wpilib.screenstepslive.com/s/...hanisms-relays

Quote:
Originally Posted by James Lightfoot View Post
3A2) For GPIO's, a discrete device like a Limit Switch will be "powered" by the available 5VDC on GPIO's pin 2, and the signal will connect to the GPIO's pin 1. Which leaves the GPIO's pin 3 tied to the DC Common bus,
If it is a limit switch (a simple mechanical closure), connect the common and normally open (or closed) contacts on the limit switch to the ground and signal connections of a digital I/O port. Then use the DigitalInput class to read the state.

Quote:
Originally Posted by James Lightfoot View Post
3A3) For the Solenoid Breakout Board, the Outputs are sourcing also; hence, we would tie the Solenoid Output's + pin to the + terminal of a solenoid and the Solenoid Output's GND pin to a solenoids - terminal, correct?
Yes - this connection is correct. Use the Solenoid or DoubleSolenoid class to control the solenoids.

Check here: http://wpilib.screenstepslive.com/s/...ders-solenoids

and here: http://www.usfirst.org/sites/default...d_Breakout.pdf

Quote:
Originally Posted by James Lightfoot View Post
4A) Will the voltage out on the "long range" ultrasonic sensor (3cm - 10m) also be linear but 5.3V = 5.3m?
We use this one: http://www.maxbotix.com/documents/MB1020_Datasheet.pdf

The datasheets for each are on the maxbotix web site. For the MB1020 the analog number is VCC/512 per inch.

Good Luck!
__________________
Fast, cheap or working - pick any two!
Reply With Quote
 


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 20:13.

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