Go to Post Umm, guys, the stacking game was last year. Toss the Genia is much more appropriate for Aim High. - Greg Marra [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Spotlight this post!  
Unread 10-01-2005, 23:09
ldeffenb ldeffenb is offline
Registered User
AKA: Lynn Deffenbaugh (Mr)
None #0386 (Team Voltage 386)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2003
Location: Florida
Posts: 75
ldeffenb has a spectacular aura aboutldeffenb has a spectacular aura aboutldeffenb has a spectacular aura about
Send a message via ICQ to ldeffenb Send a message via AIM to ldeffenb Send a message via Yahoo to ldeffenb
Re: Pneumatic pressure switch

Code for compressor control has never been in the default code (believe it or not). What *is* in the default code is software that turns on and off defined relays in response to defined digital inputs. There is also code that outputs values to defined PWM channels based on input values from defined joysticks. Various other digital inputs are coded to provide limits on some of the joystick to PWM "connections".

It is up to the hardware designer to figure out which digital input the pressure switch should be connected to and which relay output the compressor should be driven from. Then you can run the default code.

Otherwise, your hardware designers can tell the software folks which digital input will be the pressure switch and which relay will be the compressor and custom software will need to be written to monitor the state of the digital input and drive the state of the relay to accomplish a control loop.

The default code is sufficient to implement a robotic control system, but you need to wire the controls to fit within the "connections" made between inputs and outputs as defined in the default code reference manual. Nothing fancy is included and no autonomous mode is present.

To get autonomous mode stuff, you go to kevin.org for the PID control loop and command sequencing stuff. That code has its own assumptions about what inputs and outputs are connected to what. It must all be read and understood before anything is actually wired in and/or software loaded.

That's where the rubber meets the road (or the tires meet the carpet) and the real fun begins!
 


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
connecting pressure switch kingpin3787 Pneumatics 2 19-02-2004 21:01
spike for pressure switch? Rob Colatutto Rules/Strategy 4 23-02-2003 15:42
lost pressure switch Josh Hambright Pneumatics 0 29-01-2003 08:30
Error found in programming for the pump and pressure switch sjharobotics Programming 4 06-02-2002 17:46
Pneumatic pressure sensor Curtis Williams Pneumatics 3 04-02-2002 20:09


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

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