Powering Raspberry Pi 2 with existing modular Power supply?

Discussions related to the Rostock MAX v2
shentheory
Printmaster!
Posts: 58
Joined: Wed Oct 22, 2014 11:54 am

Powering Raspberry Pi 2 with existing modular Power supply?

Postby shentheory » Sun Jan 17, 2016 3:37 pm

So this is seemingly more of an electrical question, but I'm just curious if anyone's had some success. I have a corsair cx600m inside my Rostock max V2, can i power a Raspberry Pi 2 for AstroPrint/OctoPrint with the PSU?

Ideally it'd be great to wire up a female usb port so i could power the Pi via USB. I've seen 1 video and read a few things but it hasn't been a clear process for me. Any help/tips/advice would be greatly appreciated!!

JFettig
Printmaster!
Posts: 821
Joined: Tue Nov 18, 2014 4:39 pm
Location: Minnesota

Re: Powering Raspberry Pi 2 with existing modular Power supp

Postby JFettig » Sun Jan 17, 2016 4:03 pm

Yes you can, you'd want to use something like this to wire in: http://www.ebay.com/itm/10pcs-Micro-USB ... SwUdlWcgV7

The downside to this is when you turn off the switch on the printer, you shut off the power to the Pi. You don't want to hard shut down a linux machine if you can avoid it.

What would be cool is if someone knew how to interface with the pi to send it a hard signal that power is lost for it to shut down, and to maintain power to it while its shutting down, it could use one of those USB battery chargers for phones.

plasma
Printmaster!
Posts: 61
Joined: Tue Dec 30, 2014 2:41 am

Re: Powering Raspberry Pi 2 with existing modular Power supp

Postby plasma » Sun Jan 17, 2016 4:18 pm

The PSU has a constant +5VSB, if you combine this with a common black you will get constant power on, even when you turn the printer off. Just splice it into a mini USB cable.

Thats how I have it on my printer.

connector_atx_pinout.GIF

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

Re: Powering Raspberry Pi 2 with existing modular Power supp

Postby bubbasnow » Sun Jan 17, 2016 6:10 pm

Also with the PI and a resource called wiringPi you can control the power of the 12vdc by connecting the green wire to a GPIO and sending it to ground. I have a relay looked to some GPIO and thats how i control my 24vdc bed supply so it turns on using event hooks (albeit with octoprint not astro but im sure they have similar stuff). if you didnt want to chop a USB cable you can also wire the 5vsb directly to the 5v bus on the header pins.

User avatar
cristin
Plasticator
Posts: 10
Joined: Mon Jun 08, 2015 1:27 pm

Re: Powering Raspberry Pi 2 with existing modular Power supply?

Postby cristin » Sun Mar 26, 2017 6:51 pm

just saw this thread. If you have the stock RAMBo controller, I just found out that it has a 5v output that could be used to power a Raspberry Pi.
modded rostock max v2
driving it via astroprint.

jcarlin
Noob
Posts: 1
Joined: Fri Aug 04, 2017 8:23 am

Re: Powering Raspberry Pi 2 with existing modular Power supply?

Postby jcarlin » Sun Nov 05, 2017 7:15 pm

cristin wrote:just saw this thread. If you have the stock RAMBo controller, I just found out that it has a 5v output that could be used to power a Raspberry Pi.


I did this on my Rostock MAX v3...mounts in the top. I did run across an issue with this setup and AstroPrint. When powering on the Rostock, the pi gets powered on at the same time. This seems to cause issues with AstroPrint on most boots and it never connects properly or presents the web interface. Not sure if anyone else has this issue, but I fixed it by placing a "boot_delay=30" (dont include the quotes) at the end of the /boot/config.txt file on AstroPrint. It gives the RAMBo time to get fully up before AstroPrint tries to connect to it.


Return to “Rostock MAX v2”

Who is online

Users browsing this forum: No registered users and 4 guests