Go to Post Mess up something important and you lose. Just like real life. - DonRotolo [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 22-03-2014, 15:23
savagecreature savagecreature is offline
Registered User
AKA: Clint and/or Maria
FRC #4186 (Alameda Aztechs)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Alameda, CA
Posts: 22
savagecreature is an unknown quantity at this point
Using GPIO pins on Digital Sidecar

Okay . . . So, what we need to do is trigger a trunk latch through Lab View. We were thinking that using the GPIO pins on the digital side car might be the best way to do this, but we haven't been able to figure out exactly how to do that.

(we've searched the forum, but haven't found answers that we could understand and/or make work)

This latch we're triggering also has a 'signal' line which is connected to a switch that engages when the latch is triggered that we wanted to send that to the dash board so the drive team could tell when the latch had engaged.

Thanks!
Reply With Quote
  #2   Spotlight this post!  
Unread 22-03-2014, 15:43
billbo911's Avatar
billbo911 billbo911 is online now
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,372
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: Using GPIO pins on Digital Sidecar

Quote:
Originally Posted by savagecreature View Post
Okay . . . So, what we need to do is trigger a trunk latch through Lab View. We were thinking that using the GPIO pins on the digital side car might be the best way to do this, but we haven't been able to figure out exactly how to do that.

(we've searched the forum, but haven't found answers that we could understand and/or make work)

This latch we're triggering also has a 'signal' line which is connected to a switch that engages when the latch is triggered that we wanted to send that to the dash board so the drive team could tell when the latch had engaged.

Thanks!
You're going to need to know what voltage the signal on the latch needs to be, ie. +5vdc or +12vdc.
Next you will need to determine if the GPIO pins can provide it.
If the GPIO can not, then you may need to develop a driver that will take the output of the GPIO pins and covert it to the needed voltage/power the latch will need.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
Reply With Quote
  #3   Spotlight this post!  
Unread 22-03-2014, 16:21
savagecreature savagecreature is offline
Registered User
AKA: Clint and/or Maria
FRC #4186 (Alameda Aztechs)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Alameda, CA
Posts: 22
savagecreature is an unknown quantity at this point
Re: Using GPIO pins on Digital Sidecar

Quote:
Originally Posted by billbo911 View Post
You're going to need to know what voltage the signal on the latch needs to be, ie. +5vdc or +12vdc.
Next you will need to determine if the GPIO pins can provide it.
If the GPIO can not, then you may need to develop a driver that will take the output of the GPIO pins and covert it to the needed voltage/power the latch will need.
thank you very much for getting back to us!

we've been using 12v to test it. as it's a car trunk latch we figured it would be the same twelve volts that most of the electrical system is. It may be possible to trigger it with 5v. (we're testing now) In any case, we'll get power to it, somehow.

The specifications from the manufacturer says that the signal line, the one we'd want to run to the dash board, is 5 volts.

I assume these are two separate things.
we're trying to:
A. Trigger the latch
and
B. send a signal to the dashboard

The thing we're having difficulty with is on the LabView end. How do we send a signal to the GPIO pins? How do we receive a signal from the GPIO pins? Are the Digital Sidecar GPIO pins the best way to be doing this?
Reply With Quote
  #4   Spotlight this post!  
Unread 22-03-2014, 16:48
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 989
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: Using GPIO pins on Digital Sidecar

Assuming the latch is a legal electric solenoid actuator per R29, it must be controlled by a Spike Relay or a Solenoid Breakout output per R51.

On the 5V receiving side, the DIO is the best way. The Digital Input example on 358's page may help: http://team358.org/files/programming...2009-/LabVIEW/
Reply With Quote
  #5   Spotlight this post!  
Unread 22-03-2014, 17:39
savagecreature savagecreature is offline
Registered User
AKA: Clint and/or Maria
FRC #4186 (Alameda Aztechs)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Alameda, CA
Posts: 22
savagecreature is an unknown quantity at this point
Re: Using GPIO pins on Digital Sidecar

Quote:
Originally Posted by RufflesRidge View Post
Assuming the latch is a legal electric solenoid actuator per R29, it must be controlled by a Spike Relay or a Solenoid Breakout output per R51.

On the 5V receiving side, the DIO is the best way. The Digital Input example on 358's page may help: http://team358.org/files/programming...2009-/LabVIEW/
Thank you very much for that information. That is very informative. I believe that it's legal under R29.
The information in R51 we were unaware of. We'll change course on our triggering system to accommodate.
We're taking a look at Team 358's example now.

Thanks again. This is an amazing resource that we're very grateful to have access to.
Reply With Quote
  #6   Spotlight this post!  
Unread 22-03-2014, 20:56
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Using GPIO pins on Digital Sidecar

Quote:
Originally Posted by savagecreature View Post
...trunk latch...
A trunk latch isn't one of the legal motors, but it is possible that it satisfies the rules for electric solenoid actuators. R29 permits Electrical solenoid actuators, no greater than 1 in. stroke and rated electrical input power no greater than 10 watts (W) continuous duty at 12 volts (VDC)

Do you know whether what you're using meets the limitations? Do you have a part number?
Reply With Quote
  #7   Spotlight this post!  
Unread 23-03-2014, 12:42
savagecreature savagecreature is offline
Registered User
AKA: Clint and/or Maria
FRC #4186 (Alameda Aztechs)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Alameda, CA
Posts: 22
savagecreature is an unknown quantity at this point
Re: Using GPIO pins on Digital Sidecar

Quote:
Originally Posted by Alan Anderson View Post
A trunk latch isn't one of the legal motors, but it is possible that it satisfies the rules for electric solenoid actuators. R29 permits Electrical solenoid actuators, no greater than 1 in. stroke and rated electrical input power no greater than 10 watts (W) continuous duty at 12 volts (VDC)

Do you know whether what you're using meets the limitations? Do you have a part number?


Thank you for replying. I believe we are indeed meeting those specifications, but have been attempting to double check to be sure.

It's a 05 06 07 Suzuki Forenza Trunk Lid Latch actuator.
Reply With Quote
  #8   Spotlight this post!  
Unread 23-03-2014, 13:12
Jim Wilks Jim Wilks is offline
Electrical Engineer
AKA: Jim Wilks
FRC #1360 (Orbit Robotics)
Team Role: Mentor
 
Join Date: Feb 2008
Rookie Year: 2008
Location: Oakville, ON
Posts: 1,186
Jim Wilks has a reputation beyond reputeJim Wilks has a reputation beyond reputeJim Wilks has a reputation beyond reputeJim Wilks has a reputation beyond reputeJim Wilks has a reputation beyond reputeJim Wilks has a reputation beyond reputeJim Wilks has a reputation beyond reputeJim Wilks has a reputation beyond reputeJim Wilks has a reputation beyond reputeJim Wilks has a reputation beyond reputeJim Wilks has a reputation beyond repute
Re: Using GPIO pins on Digital Sidecar

Measure the current when latched and unlatched. It must not exceed 10/12=833mA in either situation.

I'd be surprised if it meets that requirement.
__________________
Jim

Reply With Quote
  #9   Spotlight this post!  
Unread 25-03-2014, 00:35
savagecreature savagecreature is offline
Registered User
AKA: Clint and/or Maria
FRC #4186 (Alameda Aztechs)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Alameda, CA
Posts: 22
savagecreature is an unknown quantity at this point
Re: Using GPIO pins on Digital Sidecar

We spoke to a number of people, including a robot inspector for our upcoming regional, and discovered that our trunk latch is indeed not legal.

However, the trunk latch does have a manual latch release (to prevent people from being locked in the trunk), so we asked if we could simply cut the wires and trigger it with a servo. Our inspector directed us to Q288 in the Q&A portion of the FIRST website which indicated that even if the motor was not powered it would still have to conform to the requirements of R29 and R51.

So we have removed the electrical actuation system completely and the latch is now purely mechanical. We intend to trigger it with a HiTech servo from AndyMark or pneumatically.

Thank you again, everyone, for you assistance in figuring this all out.
Reply With Quote
Reply


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