Go to Post Have you ever found yourself staring at a physics problem, not understanding it, then connected it to a past FRC game and suddenly felt the light bulb start shining? - StephLee [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

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 20-03-2012, 16:41
toastnbacon toastnbacon is offline
Registered User
AKA: James
FRC #3169 (Saintborgs)
Team Role: College Student
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Edmond
Posts: 97
toastnbacon is a jewel in the roughtoastnbacon is a jewel in the roughtoastnbacon is a jewel in the roughtoastnbacon is a jewel in the rough
Unhappy 5th motor woes...

This year, I convinced my team to let some of our electrical equipment be part of our spare parts so I could finish a last little bit of programming. I ran into a fairly large problem though, our current design needs five motors running: two for the drive train (CIM), one for a ball intake system (Window Motor), one for a rubber band elevator system (CIM), and one more to use for an arm (Window Motor). When I have only the first four, everything works as expected, but when I add the arm, everything falls apart, complete with flashing yellow lights on the speed controllers. I don't do anything with that motor, I simply open the reference in begin and close it in finish, but somehow opening the reference causes this problem. I've tried other PWM inputs and different names of the reference (Arm, Pole, Bar, even Blag!!) and keep getting the same result, but if I simply delete it, everything is fine. Any ideas on the problem or ideas for a solution?

I am programming using Labview, I didn't know if this was a problem specific to it or not, so I decided to post this in programming. I don't know anything about how other languages work, so my apologies if it doesn't make any sense outside of labview.
__________________
"This must be what going insane feels like."-Simon Tam, Firefly
  #2   Spotlight this post!  
Unread 20-03-2012, 16:45
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: 5th motor woes...

Your Digital Sidecar needs to be powered with 12V from a circuit on the Power Distribution Board with a 20A Breaker. The BAT LED on the Digital Sidecar should be brightly lit.
  #3   Spotlight this post!  
Unread 20-03-2012, 16:53
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,673
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: 5th motor woes...

Just to clarify, you're saying you have the 5th motor electrically plugged in and wired in at all times. With the 5th motor wired in, your code works if you don't open a reference to it, and everything stops working when you do open a reference. So the only difference is you changing the code, nothing electrical. Is that right?

Also, what are your diagnostic light on the dashboard doing when the robot doesn't work? Do you have comms? Robot Code? Are you getting a watchdog error?

Posting your code would also be helpful for trouble shooting.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
  #4   Spotlight this post!  
Unread 20-03-2012, 17:12
the programmer's Avatar
the programmer the programmer is offline
Registered User
AKA: Erik Orlowski
FRC #2830 (Riverside Robotigers)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2006
Location: Wisconsin
Posts: 32
the programmer has much to be proud ofthe programmer has much to be proud ofthe programmer has much to be proud ofthe programmer has much to be proud ofthe programmer has much to be proud ofthe programmer has much to be proud ofthe programmer has much to be proud ofthe programmer has much to be proud of
Re: 5th motor woes...

Can you post a copy of your program and a picture of your control board?
__________________
2006-2008: FLL Student
2009-2014: C.O.R.E. 2062
2010-?: FLL Referee
2015-?: Riverside Robotigers 2830
  #5   Spotlight this post!  
Unread 20-03-2012, 17:21
AlexD744 AlexD744 is offline
Registered User
FRC #0744 (744 Shark Attack)
Team Role: Alumni
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Ft. Lauderdale, FL
Posts: 639
AlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond repute
Re: 5th motor woes...

Quote:
Originally Posted by RufflesRidge View Post
Your Digital Sidecar needs to be powered with 12V from a circuit on the Power Distribution Board with a 20A Breaker. The BAT LED on the Digital Sidecar should be brightly lit.
this. I have heard reports that the control cables going to PWM's have enough power coming from the cRio to power 4 speed controllers, but if you add a 5th they do not have enough juice. Therefore, you need to make sure that you are powering you sidecar as described above. There were connectors for the sidecar provided in the KoP. (I believe they're called WAGO connectors?)
__________________
www.sharkattack744.com
  #6   Spotlight this post!  
Unread 20-03-2012, 18:34
cgmv123's Avatar
cgmv123 cgmv123 is offline
FRC RI/FLL Field Manager
AKA: Max Vrany
FRC #1306 (BadgerBOTS)
Team Role: College Student
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Madison, WI
Posts: 2,078
cgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond repute
Re: 5th motor woes...

Quote:
Originally Posted by AlexD744 View Post
I believe they're called WAGO connectors?
That's the correct term.
__________________
BadgerBOTS Robotics|@team1306|Facebook: BadgerBOTS
2016 FIRST Championship Tesla Division | 2016 Wisconsin Regional Engineering Inspiration Award

2015 FIRST Championship Carson Division | 2015 Wisconsin Regional Chairman's Award

2013 FIRST Championship Curie Division | 2013 Wisconsin Regional Chairman's Award

2012 FIRST Championship Archimedes Division | 2012 Wisconsin Regional Engineering Inspiration Award, Woodie Flowers Finalist Award (Lead Mentor Ben Senson)

  #7   Spotlight this post!  
Unread 25-03-2012, 10:11
purduephotog purduephotog is offline
Active Defense Design Engineer
AKA: Jason
FRC #3015
Team Role: Leadership
 
Join Date: Jan 2007
Rookie Year: 2004
Location: Rochester, NY
Posts: 162
purduephotog is a jewel in the roughpurduephotog is a jewel in the roughpurduephotog is a jewel in the roughpurduephotog is a jewel in the rough
Send a message via AIM to purduephotog
Re: 5th motor woes...

Was the problem -solved?
__________________
http://purduephotog.deviantart.com
Portrait Photography: "I used to say Immortalized in Silver, but now I say Captured and Squeezed by Electrons".
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 00:47.

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