GPIO

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

GPIO

Postby bubbasnow » Thu Feb 20, 2014 12:23 am

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

Image

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

Image

then i persuade it to fit

Image

solder the pinout onto a cat5 jack

Image

then call it a night!!!!!

User avatar
neurascenic
Printmaster!
Posts: 217
Joined: Fri Nov 15, 2013 10:05 pm
Location: Denver Colorado
Contact:

Re: GPIO

Postby neurascenic » Thu Feb 20, 2014 2:13 am

What do you plan on doing with the FPIOs?
I am a fool entrapped within my own wisdom.

User avatar
Captain Starfish
Printmaster!
Posts: 959
Joined: Tue Dec 10, 2013 5:24 am

Re: GPIO

Postby Captain Starfish » Thu Feb 20, 2014 3:00 am

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

Postby Eric » Thu Feb 20, 2014 4:00 am

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.

User avatar
bubbasnow
ULTIMATE 3D JEDDI
Posts: 1064
Joined: Fri Aug 02, 2013 4:24 pm
Location: Dayton, WA

Re: GPIO

Postby bubbasnow » Thu Feb 20, 2014 5:15 pm

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.

User avatar
bubbasnow
ULTIMATE 3D JEDDI
Posts: 1064
Joined: Fri Aug 02, 2013 4:24 pm
Location: Dayton, WA

Re: GPIO

Postby bubbasnow » Thu Feb 20, 2014 5:16 pm

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

User avatar
bubbasnow
ULTIMATE 3D JEDDI
Posts: 1064
Joined: Fri Aug 02, 2013 4:24 pm
Location: Dayton, WA

Re: GPIO

Postby bubbasnow » Fri Feb 21, 2014 10:31 pm

Image

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

Postby enggmaug » Thu Sep 22, 2016 4:27 pm

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.


Return to “OctoPrint”

Who is online

Users browsing this forum: No registered users and 1 guest