Go to Post Even in the eighties, driver practice won competitions. - Brian Maher [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 11-09-2014, 21:32
panther83 panther83 is offline
Registered User
no team
 
Join Date: Feb 2014
Location: Washington, IL
Posts: 10
panther83 is an unknown quantity at this point
Exclamation Wiring a button for a solenoid on a T-shirt launcher HELP!

I am with a pre-rookie team from Washington Illinois and our first robot is a T-shirt launcher bot. We have the standard electrical board with 4 talon controllers going to 4 motors. All is controlled by an Arduino with Robot Shield, hooked up to a digital sidecar. Our problem is that we need a way to hook up a solenoid to our power distributor but also have a button wired into the PWM ports of the sidecar to distribute 12V of power to solenoid valve when pressed. I have no idea what to do but I do know how to solder, any help is awesome!
  #2   Spotlight this post!  
Unread 12-09-2014, 07:45
hrench's Avatar
hrench hrench is offline
Mechanical build mentor
AKA: Bob Hrenchir
FRC #1108 (Panther Robotics)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2010
Location: Paola, KS
Posts: 220
hrench is a name known to allhrench is a name known to allhrench is a name known to allhrench is a name known to allhrench is a name known to allhrench is a name known to all
Re: Wiring a button for a solenoid on a T-shirt launcher HELP!

Though I'm pretty sure there are many ways to program this, on ours, we have a simpler solution.

On our t-shirt robot, we just use a model airplane-type servo that hits arm-type limit switches. We just have a two-barrel shooter, so all the way left, shoot left shirt--all the way right--shoot right shirt.

If you have more solenoids, you could progressively hit more limit switches the farther you move the servo.

And welcome to FIRST. you'll have a great time.
  #3   Spotlight this post!  
Unread 12-09-2014, 08:47
protoserge's Avatar
protoserge protoserge is online now
CAD, machining, circuits, fun!
AKA: Some call me... Tim?
FRC #0365 (MOE) & former 836 Mentor)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2002
Location: Wilmington, DE
Posts: 754
protoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond reputeprotoserge has a reputation beyond repute
Re: Wiring a button for a solenoid on a T-shirt launcher HELP!

Can you provide a quick sketch of your pneumatics system with the part numbers of solenoids?

The simplest solution is to use digital pins on the Arduino to trigger a relay or MOSFET that switches 12V (or 24V) to your pneumatics solenoid "on" or "off". Depending on your setup, you may need two circuits. Here is a video that demonstrates this.
  #4   Spotlight this post!  
Unread 12-09-2014, 09:10
tr6scott's Avatar
tr6scott tr6scott is offline
Um, I smell Motor!
AKA: Scott McBride
FRC #2137 (TORC)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2005
Location: Oxford, MI
Posts: 535
tr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond repute
Re: Wiring a button for a solenoid on a T-shirt launcher HELP!

Relay board from ebay.

http://www.ebay.com/itm/Four-4-Chann...em1e8c1c ff80

Video of our breakaway bot running on ardunio and robotopen

https://www.youtube.com/watch?v=jde3CIXQ8Jw

Edit: Just realized that the video was just driving, not kicking. Here is a picture of the completed control board with the relay board driving the solenoids.

http://www.mcbride4.org/?attachment_id=74
__________________
The sooner we get behind schedule, the more time we have to catch up.


Last edited by tr6scott : 12-09-2014 at 09:23.
  #5   Spotlight this post!  
Unread 12-09-2014, 19:00
panther83 panther83 is offline
Registered User
no team
 
Join Date: Feb 2014
Location: Washington, IL
Posts: 10
panther83 is an unknown quantity at this point
Re: Wiring a button for a solenoid on a T-shirt launcher HELP!

The t shirt launcher uses compressed air from a 5 gallon air tanks which is fed to a reserve tank that goes to a modified sprinkler valve with a 1/4 in 12Vdc solenoid valve link- http://www.amazon.com/Electric-Solen.../dp/B00827FP26
  #6   Spotlight this post!  
Unread 12-09-2014, 20:21
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 7,019
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: Wiring a button for a solenoid on a T-shirt launcher HELP!

Here's the basic idea: Use a general-purpose digital output from the Arduino, which is 0 or 5 volts. Connect it to a relay (Radio Shack sells these; for example This One, but you should be able to find something locally. It's OK that it's 3 Volts, it's not that critical.)

The arduino controls the relay. The relay switches whatever voltage you want to the solenoid valve. Done.
__________________

I am N2IRZ - What's your callsign?
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


All times are GMT -5. The time now is 20:32.

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