We have two (likely unrelated) issues with some of the REV electrical hardware – the Through Bore Encoder and the Pneumatics Hub. We are not sure if the issues are hardware or software or a combination of the two.
We have a Neo that we can run just fine if we plug its integrated encoder into a SparkMAX, but if we plug the SparkMAX into the through bore encoder instead of the NEO’s integrated encoder, the NEO twitches once when given the command to run continuously, but doesn’t run. If we manually move the through bore encoder while telling it to run, the motor twitches a lot (in either/both directions), but again, doesn’t actually run in any meaningful way. We are getting values off of the Through Bore Encoder when we move the axle it’s connected to, and we tried replacing the SparkMAX, the encoder, and the NEO, to no avail.
Is there something we’re missing about how to connect things? Or something different we have to do in code to tell the SparkMAX that it’s connected to a Through Bore rather than the NEO’s integrated encoder? The NEO’s encoder isn’t connected to anything when we have the Through Bore Encoder connected (because the port on the SparkMAX is now occupied by the cable from the Through Bore).
Any help or insight would be most appreciated.
Our compressor will not run. Everything checks out on the hardware client–there are no active or sticky faults. The Pneumatics Hub has power, a green light, and updated firmware. A solenoid is instantiated (this is the identical code we were running on a test bench, which worked fine). We are getting pressure values from the analog pressure switch. If we hold in the “mode” button, the status light almost instantly goes from green to flashing blue on/off (we couldn’t find the significance of that in the documentation) for about one second, then goes dark–but we get no voltage from the hub to the compressor after seven (or ten, or twenty) seconds.
Can you point out in the REV documentation or elsewhere that this distinction with the adapter board selection is stated?
This wrench turner has only seen references to the Alternate Encoder Adapter in both the encoder and controller docs. I haven’t seen the Absolute Encoder Adapter mentioned in any documentation.
I’m sure there’s something I’m missing, as I am way out of my wheelhouse here. I just want to make sure my kids have the right parts.
For the compressor, have you checked to verify it’s not shorted on the output? I’ve seen some compressors last year that had an internal short to the case that caused some issues for a couple of teams.
Our compressor is currently running fine with the mode button, but isn’t working with robot code yet - but we are seeing the solenoids switch with our robot code. That’s currently third on our list of debugging problems…
Thanks for the insight! I had a vague memory of that thread but decided to rely on the documentation when we bought stuff. I just couldn’t remember where the nagging thought came from.
I won’t gripe about REV’s documentation; the volume of great new stuff in the market space greatly exceeds my minor frustration here.
Analog or digital switch? We’re using the analog switch for the first time this year, and turns out that was our problem. I wasn’t there when they fixed it (working on a different problem), but you have to specify that it’s analog and the channel it’s plugged into, as there are two. Once they got that going, it started up with code just fine!
We had the same issue with our Pnumatics Hub… We ended up fixing it by connecting with REV hardware client and making sure our Pneumatics Hub was with the CAN ID 1.
If you can’t get your Pneumatics Hub to give an output on the compressor pins, it’s worth taking apart to check the surface mounted resistor near the compressor output. Both of ours were burnt last year which caused this behavior.