Talk:Firmware for Sanguish

From RepRap
Jump to: navigation, search

Teacup changes

I've had a look to the changes offered for Teacup, pinio.c. Didn't follow Sanguish development closely, but I see you keep the PSU pin as output, even with the PSU turned off. This way you not only miss initializing the pin right after a reboot, you also conflict the 5V signal from the ATmega pin with the 5V signal from the power supply (if they differ, e.g. 4.9V to 5.05V, a current flows). Also, setting the pin as input when the PSU is turned off allows to override the ATmega command with the typical paperclip method.

Is this change intentional/required? Do I miss something?

Also I hope you agree to put these changes into Teacups' repo.

--Traumflug 19:55, 11 July 2013 (UTC)

The power pin has been repurposed as a control for the driver power relay. As such it is no longer used for ATX control. It might still work to leave the pin as an input when off though. I'll have to test that. -- bryanandaimee
Thanks for the explanation. In case it doesn't work, I think introducing another type of pin (PS_MOSFET_PIN?) would be the best solution. I'll happily do that for Teacup. One could even have both, an ATX and a MOSFET pin, then. --Traumflug 17:52, 4 August 2013 (UTC)

That sounds like it would work well. -- bryanandaimee

It's in the Teacup experimental branch now. Yes, the experimental banch is actually named "experimental" now. Please test. --Traumflug (talk) 04:21, 19 October 2013 (PDT)