Go to Post I can tell you for a fact that students don't need smartphones in order to unproductively entertain themselves in a robotics lab. - remulasce [more]
Home
Go Back   Chief Delphi > Technical > Pneumatics
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 31-01-2015, 12:37
wildaburk3160 wildaburk3160 is offline
Registered User
FRC #3160
 
Join Date: Sep 2013
Location: Grove, OK
Posts: 50
wildaburk3160 is an unknown quantity at this point
CAN Firmware Update Mandatory?

Our team is trying to run a compressor with one solenoid, and both are wired into the PCM. However, we can't get it to run. Our compressor is wired as it should be, but our compressor isn't doing anything.

The Status light on the PCM is strobing red, which according to http://crosstheroadelectronics.com/PCM%20User's%20Guide.pdf
means that the problem is that there is no CAN communication.

We are not planning to implement CAN at all this year, but I have been seeing some things about updating the PCM firmware. Do we need to update the PCM firmware to be able to run our compressor, even though we have no plans of implementing CAN?

Last edited by wildaburk3160 : 31-01-2015 at 12:39.
  #2   Spotlight this post!  
Unread 31-01-2015, 12:47
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,800
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: CAN Firmware Update Mandatory?

You need the PCM firmware update if you use pneumatics.
However, you won't be able to update the firmware unless you first fix your CAN wiring so the PCM can be talked to.
The PCM receives all it's commands via CAN.

For development the PCM will operate out of the box with the firmware that it came with, so the update isn't immediately necessary to get it to stop strobing red.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #3   Spotlight this post!  
Unread 31-01-2015, 12:47
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: CAN Firmware Update Mandatory?

The PCM communicates over CAN. How were you planning on controlling it?

PCM wiring is in this doc: http://wpilib.screenstepslive.com/s/...control-system

Firmware update is here: http://wpilib.screenstepslive.com/s/...ribution-panel

Code depends on language.

The rules also require the PDP CAN to be attached to the roboRIO.
  #4   Spotlight this post!  
Unread 31-01-2015, 12:49
ozrien's Avatar
ozrien ozrien is offline
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 522
ozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond repute
Re: CAN Firmware Update Mandatory?

The PCM is a CAN device, you have to wire it to the RIO CAN bus. see http://wpilib.screenstepslive.com/s/...anual-id=24166. PDP also should be wired since it has the termination resistor.
  #5   Spotlight this post!  
Unread 31-01-2015, 16:26
wildaburk3160 wildaburk3160 is offline
Registered User
FRC #3160
 
Join Date: Sep 2013
Location: Grove, OK
Posts: 50
wildaburk3160 is an unknown quantity at this point
Re: CAN Firmware Update Mandatory?

Now that the PMC firmware is updated, the Status light is flashing green. We have a solenoid being successfully activated by a button push on the controller.

But our compressor won't turn on. We've followed all the instructions as far as wiring goes, with the only deviance being that we used regular black and red wires instead of the green and yellow "CAN" wires.

We tested the Compressor Out ports on the PCM and we don't get any voltage back, even though the rest of the PCM seems to be working without a problem.

I am at a loss as to what the issue is. So, does anybody have any ideas?
  #6   Spotlight this post!  
Unread 31-01-2015, 16:34
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,800
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: CAN Firmware Update Mandatory?

You have a pressure switch wired in alongside the compressor outputs on the PCM?
The PCM won't try to power the compressor unless it can detect a pressure switch connection.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 31-01-2015 at 16:36.
  #7   Spotlight this post!  
Unread 31-01-2015, 16:45
wildaburk3160 wildaburk3160 is offline
Registered User
FRC #3160
 
Join Date: Sep 2013
Location: Grove, OK
Posts: 50
wildaburk3160 is an unknown quantity at this point
Re: CAN Firmware Update Mandatory?

We do have a pressure switch wired in.
  #8   Spotlight this post!  
Unread 31-01-2015, 16:47
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,800
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: CAN Firmware Update Mandatory?

Is the CAN ID of the PCM set to 0?
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #9   Spotlight this post!  
Unread 31-01-2015, 16:54
wildaburk3160 wildaburk3160 is offline
Registered User
FRC #3160
 
Join Date: Sep 2013
Location: Grove, OK
Posts: 50
wildaburk3160 is an unknown quantity at this point
Re: CAN Firmware Update Mandatory?

I can't say for sure, because other programmers were the ones who upgraded the firmware. How would I be able to check?
  #10   Spotlight this post!  
Unread 31-01-2015, 17:20
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,800
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: CAN Firmware Update Mandatory?

Use a web browser and go to roboRIO-3160.local
You'll see PCM on the left, click on it and the CAN ID will be at the top of the resulting page.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #11   Spotlight this post!  
Unread 31-01-2015, 17:27
wildaburk3160 wildaburk3160 is offline
Registered User
FRC #3160
 
Join Date: Sep 2013
Location: Grove, OK
Posts: 50
wildaburk3160 is an unknown quantity at this point
Re: CAN Firmware Update Mandatory?

I tried going to this address but only ended up doing a google search and not getting me anywhere.

Edit:

I realized I should probably have my roboRIO on. I turned it on and made it to the page. Yes, the CAN ID is 0.

Last edited by wildaburk3160 : 31-01-2015 at 17:31.
  #12   Spotlight this post!  
Unread 31-01-2015, 17:56
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,567
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: CAN Firmware Update Mandatory?

You can also verify firmware versions on the diagnostics tab of the driver station.
  #13   Spotlight this post!  
Unread 31-01-2015, 19:39
mmaunu's Avatar
mmaunu mmaunu is offline
Registered User
FRC #2485 (W.A.R. Lords)
Team Role: Mentor
 
Join Date: Mar 2013
Rookie Year: 2010
Location: San Diego, CA
Posts: 89
mmaunu is a jewel in the roughmmaunu is a jewel in the roughmmaunu is a jewel in the roughmmaunu is a jewel in the rough
Re: CAN Firmware Update Mandatory?

Do you have code that starts a compressor? In Java, you would construct a Compressor object in some initialization code and then call start() on that object in your autonomous or teleop code.
__________________
2014 Las Vegas (Winners with 987, 2478; Excellence in Engineering)
2014 San Diego (Finalists with 987, 3250; Quality Award)
2013 Inland Empire (Winners with 1538, 968; Excellence in Engineering Award)
2013 San Diego (Finalists with 2984, 4322; Creativity Award)
2012 Las Vegas (Finalists with 2034, 3187; Quality Award)
  #14   Spotlight this post!  
Unread 31-01-2015, 20:27
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: CAN Firmware Update Mandatory?

Quote:
Originally Posted by mmaunu View Post
Do you have code that starts a compressor? In Java, you would construct a Compressor object in some initialization code and then call start() on that object in your autonomous or teleop code.
That's not needed in 2015. Just construct a solenoid on the PCM and you should be all set code wise.
  #15   Spotlight this post!  
Unread 01-02-2015, 11:40
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: CAN Firmware Update Mandatory?

Quote:
Originally Posted by RufflesRidge View Post
That's not needed in 2015. Just construct a solenoid on the PCM and you should be all set code wise.
There is a separate Compressor class that can be used if there are no Solenoid objects created in code.
__________________
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)

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 16:51.

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