gloomyandy / RepRapFirmware

OO C++ RepRap Firmware
GNU General Public License v3.0
257 stars 61 forks source link

LPC1768 sgen_l voltage detection support #77

Closed billhu1996 closed 3 years ago

billhu1996 commented 3 years ago

Is it possible for LPC motherboards to use voltage detection, even with some hardware additions/changes? I saw on this page that it is necessary to have voltage detection data to resume printing after a power failure.

jaysuk commented 3 years ago

Possibly. But it's far easier to use a BTT UPS board. You can then setup an external trigger using M581 to pause the print. It should also give you enough power to move the print head away from the print.

On Thu, Apr 1, 2021, 8:50 AM Bill Hu @.***> wrote:

Is it possible for LPC motherboards to use voltage detection, even with some hardware additions/changes? I saw on this page https://duet3d.dozuki.com/Wiki/Setting_up_to_resume_a_print_after_a_power_failure that it is necessary to have voltage detection data to resume printing after a power failure.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/gloomyandy/RepRapFirmware/issues/77, or unsubscribe https://github.com/notifications/unsubscribe-auth/AATUSBVGYCCYDILSKUHXK2LTGQQTZANCNFSM42GRPEGQ .

billhu1996 commented 3 years ago

Thank you for your answer. This is indeed a good way.

But I have many suitable capacitors for storing electricity. If the motherboard can perform voltage detection (for example, through the E1 A/D pin or servo A/D pin or other A/D pins, and then through a suitable resistor in series), there is no need to purchase a UPS module.

I found that the STM32 motherboard already supports voltage detection, is it possible that the LPC motherboard also supports it?

jaysuk commented 3 years ago

The code is STM32 only and there are no plans to add it to the LPC builds, especially as none of the LPC boards natively support it.

On Thu, Apr 1, 2021, 10:24 AM Bill Hu @.***> wrote:

Thank you for your answer. This is indeed a good way.

But I have many suitable capacitors for storing electricity. If the motherboard can perform voltage detection (for example, through the E1 A/D pin or servo A/D pin or other A/D pins, and then through a suitable resistor in series), there is no need to purchase a UPS module.

I found that the STM32 motherboard already supports voltage detection, is it possible that the LPC motherboard also supports it?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/gloomyandy/RepRapFirmware/issues/77#issuecomment-811779250, or unsubscribe https://github.com/notifications/unsubscribe-auth/AATUSBSPAGI3Z724OQOAO2TTGQ3WVANCNFSM42GRPEGQ .

billhu1996 commented 3 years ago

Thanks for your answer