GPIO

Talk about the web based OctoPrint controllers
Post Reply
bubbasnow
ULTIMATE 3D JEDI
Posts: 1064
Joined: Fri Aug 02, 2013 4:24 pm
Location: Dayton, WA

GPIO

Post by bubbasnow »

so now that i have the gpio figured out i went and purchased one of these..

[img]http://ecx.images-amazon.com/images/I/5 ... SY300_.jpg[/img]

then i grab a 3 gang with 2 pair(now totally controllable) outlets

[img]https://lh4.googleusercontent.com/-K4Vf ... 202804.jpg[/img]

then i persuade it to fit

[img]https://lh5.googleusercontent.com/-2he5 ... 210817.jpg[/img]

solder the pinout onto a cat5 jack

[img]https://lh6.googleusercontent.com/-dsxE ... 210812.jpg[/img]

then call it a night!!!!!
neurascenic
Printmaster!
Posts: 217
Joined: Fri Nov 15, 2013 10:05 pm
Location: Denver Colorado
Contact:

Re: GPIO

Post by neurascenic »

What do you plan on doing with the FPIOs?
I am a fool entrapped within my own wisdom.
User avatar
Captain Starfish
Printmaster!
Posts: 962
Joined: Tue Dec 10, 2013 5:24 am

Re: GPIO

Post by Captain Starfish »

Automatically fire up the kettle whilst you wait for the bed to heat up?
Eric
Printmaster!
Posts: 726
Joined: Sat Aug 18, 2012 4:09 am
Location: Chula Vista, CA

Re: GPIO

Post by Eric »

Don't forget to put a max amps label on it so nobody forgets there's only a 10A relay controlling that 15A outlet. That may rule out using it for the coffeemaker too.
bubbasnow
ULTIMATE 3D JEDI
Posts: 1064
Joined: Fri Aug 02, 2013 4:24 pm
Location: Dayton, WA

Re: GPIO

Post by bubbasnow »

Im going N.O. on the config so someone would have to actually log into my RaspberryPI and switch it on for it to pass current.
bubbasnow
ULTIMATE 3D JEDI
Posts: 1064
Joined: Fri Aug 02, 2013 4:24 pm
Location: Dayton, WA

Re: GPIO

Post by bubbasnow »

neurascenic wrote:What do you plan on doing with the FPIOs?
ill attach it to my printer cart and control lights, printer, bedpower.... i dont know what the last slot will be for but im sure i will fill it
bubbasnow
ULTIMATE 3D JEDI
Posts: 1064
Joined: Fri Aug 02, 2013 4:24 pm
Location: Dayton, WA

Re: GPIO

Post by bubbasnow »

[img]https://lh5.googleusercontent.com/-YIi0 ... 202553.jpg[/img]

ok so here is the finished box, plugged in and tested with a desk lamp. i can now control all 4 plugs by just a click of the mouse via octopi
enggmaug
Printmaster!
Posts: 305
Joined: Wed Nov 13, 2013 3:54 am
Location: Antony, France

Re: GPIO

Post by enggmaug »

I also used GPIOs on RPI2, and added corresponding controls in Octoprint, in order to turn on/off both the printer and the lights in my enclosure, directly from octoprint interface.

Difference is that in order to turn on/off the printer, my relay is connected to the very same wire as the on/off switch. (I have a V1, with a PC power supply, I don't know about other versions).
I found a way to put 2 connectors there, and depending which one connector I use to plug the relay, my relay comes either in parallel or serial with the switch.

This way I either need to have both relay and switch on to turn the printer on, or only one of them two.
Post Reply

Return to “OctoPrint”