Notifiche
Cancella tutti

Light control with switches  

  RSS
Bruce
(@bruce-7)
Utenti
Light control with switches

I would like to use the hackerboard to control a light above my printer. I have Arduino experience so I know how to wire the output pin control to a relay and how to connect momentary switches to input pins.  My questions are around the g code part of this:

1. Can g codes be sent to control the output pin while a print job is running without affecting printing?

2. Is it possible and if so how would one trigger the on or off control from the Prusa Connect dashboard?  Can it be tied to specific key presses?

3. How would I set it up such that when an input changes on the hackerboard (button press) the g codes to change the output is sent?

4. It appears there would be a series of g codes sent to the printer when it powers up to tell the pins to be inputs or outputs.  The g codes to do the real time control part go into a file that is stored on the USB stick, correct?

Thanks for any help!

Postato : 04/11/2024 10:30 pm
Profylr e biscione hanno apprezzato
Condividi: