Hi folks, I am trying to get spindle and coolant outputs working on my v6. Is this currently possible? I have flashed the latest firmware as of today and I've spent some time going through the code and schematics but I can't figure out if the outputs are supposed to be source or sink or get them to show me some type of output in either case.
If these work in v6, can someone tell me how they should be wired to produce an output?
I found the problem. I also think it's a v7 issue as well and is not limited to v6. The PWM/spindle code is not properly integrated and collides with the coolant bit. I will post an edge (and possibly master) push that fixes the issue. This should work for both v6 and v7.
I have a fix pushed to the edge branch as build 370.08 If you want to try it out and see what it does I'll hold off pushing to master. You can use the tinyg.hex in either the default directory or the Debug dir. Either should work.
It was working on v6 and v7, so I just checked it again. Still works. Are you running a v7 board? The hardware version is set for V7. Also, which tinyg.hex did you use?
Weird. It's working on mine. I wonder what's different? If you send an email to the synthetos gmail dotcom address we can exchange info and get a chat or get online somehow and try to fix this.
I wasn't the original poster, but just commented that my coolant LED was not turning on with M7 or M8 also.
FYI: I don't have anything hooked up to the coolant pin, just floating I guess.
Does this help any?
At this time, I don't have any use for the coolant option, but willing to help troubleshoot.
Maybe if we can get others to test it...might help.
Thanks. Jason was the original poster. I don't know if he's got it working yet. Here's what I know. There was a problem prior to build 370.08 where the PWM channel was being initialized and interfering with the coolant LED. I disabled the PWM and spindle control RPM control to move this out of the way and the Coolant channel was unblocked. It tested out OK on v6 and v7 boards so I posted to edge (a bit belatedly). You were not able to get the M7,M8,M9 commands working. I retested with the edge tinyg.hex files from both the default directory (AVRStudio4 build) and Debug directory (AtmelStudio6.1 build). Both worked.
So I'm a bit baffled right now why you board isn't functioning. You should get a power-on message that looks something like this:
{"r":{"fb":370.080,"fv":0.950,"hv":7.000,"id":"9H3583-RMP","msg":"Loading configs from EEPROM","f":[1,15,0,8118]}}
I'll be out most of the weekend so testing is going to be hard. I like to get these kinds of things nailed, however, so any insight you gain is much appreciated.
--Alden
This topic is from the original forum (March 2013). Your reply starts a new discussion linked to it.