Benachrichtigungen
Alles löschen

GPIO Project Question - Filter control  

  RSS
tmorgenthaler
(@tmorgenthaler)
Mitglied
GPIO Project Question - Filter control

I just upgraded my MK4 to the MK4S, and I ordered the GPIO board along with it.

One thing I would like to do is control a VOXEL Bento Box 2 that I use in my Ikea Lack enclosure, to control the PTEG fumes.  Right now, I have to use a wall outlet, and plug it in when I want to use the filter.  Ideally, I'd like to wire it to the printer power supply, but use GCODE to turn it on.  Has anybody done anything similar?

I saw there was a thread about controlling the Prusa Enclosure Fan and LEDs, but that links to another controller board.

Thanks.

Veröffentlicht : 25/09/2024 3:20 pm
bkerler
(@bkerler)
Trusted Member
RE: GPIO Project Question - Filter control

It is pretty easy actually.

If you for example have the led and fan extension board connected:

Fan

"M262 P0 B0" < switch pin 0 (fan) to output

"M264 P0 B0" < turn pin 0 to low (fan off)

"M264 P0 B1" < set pin 0 to high (fan on)

you can replace P0 with P1 for Pin 1 (led). If you haven't got any extension board, just solder a input pin to the pin 0 .. 7 header.

Veröffentlicht : 27/09/2024 1:47 pm
bkerler
(@bkerler)
Trusted Member
RE: GPIO Project Question - Filter control

Example start gcode:

M262 P0 B0 ; Fan to output
M264 P0 B1 ; Fan on
M262 P1 B0 ; LED to output
M264 P1 B1 ; LED on

Example end gcode:

M264 P1 B0 ; LED off
M264 P0 B0 ; Fan off

Remember that on the  extension board, the settings can be overridden manually so make sure to turn them off beforehands (leds on board should be off), otherwise it won't work.

Veröffentlicht : 27/09/2024 2:05 pm
Sembazuru
(@sembazuru)
Prominent Member
RE:

Remember, use the IO board to control a relay (electromechanical or solid-state) that controls your VOXEL Bento Box. You probably don't want to run the fan power (definitely don't want to run the wall power) through the IO board.

Diese r Beitrag wurde geändert Vor 2 months von Sembazuru

See my (limited) designs on:
Printables - https://www.printables.com/@Sembazuru
Thingiverse - https://www.thingiverse.com/Sembazuru/designs

Veröffentlicht : 08/10/2024 5:03 pm
ssmith gefällt das
Vir
 Vir
(@vir)
New Member
RE: GPIO Project Question - Filter control

I can't make it to work. Soldered own Jack-Molex cable, all connections have continuity, GPIO board is plugged in to Buddy and Basic and still no bueno.

Any one has any ideas how to troubleshoot this?

Veröffentlicht : 21/10/2024 8:25 pm
Teilen: