2
\$\begingroup\$

I have a raspberry pi and a WiFi module, unfortunately I can't get enough power from the raspberry to power up the WiFi module. Can I power up the device if I cut an USB cable, I'm letting the data wires untouched and I connect the power from an external power supply?

\$\endgroup\$
4
\$\begingroup\$

edit
I presumed the RPi could be USB powered, but Tony points out that it's not recommended. That seems to be an understatement. The RPI doesn't seem to have a specification (!), at least I couldn't find it, but I did find others who had the same problem. So in the end you have to rely on third-party sources. :-(

RPi models A and B consume 500 mA and 700 mA, resp. (Though even that doesn't seem to be a solid spec, as this page says "provisional, from alpha board".)

So, if by "external power supply" you mean a USB host or powered hub, then the answer seems to be no, since USB doesn't have to provide more than 100 mA without negotiating. You'll need another power supply, like a 5 V regulated wall-wart.

Many Wifi modules are designed to operate at 3.3 V, but if you can't find a 3.3 V regulated wall-wart you can use a 5 V type, and use an LDO (Low Drop-Out) post-regulator to go from the wall-wart's 5 V to 3.3 V.

Even if the module works at 5 V you may have a connection problem, since, as I understand it, the Raspberry works at 3.3 V. So the output level of the Raspberry may be too low for the WiFi module (or probably just high enough), and the input to the Raspberry may be too high. If the inputs aren't 5 V tolerant the high level may damage the device.

So 3.3 V is probably the way to go. The 3.3 V version of this power module can supply 750 mA.

If you prefer to get your power from a 5 V supply then the NX1117CE33 is a suitable part: it can provide more than enough current for the WiFi module, and accepts input voltages up to 20 V (so an unregulated 12 V input can be used as well). But if you use a high input voltage you'll have to keep an eye on power dissipation.

\$\endgroup\$
  • \$\begingroup\$ Does it exist USB 'power injector'? \$\endgroup\$ – Kicsi Mano Jul 21 '12 at 20:11
  • \$\begingroup\$ Not recommend strongly for using PC USB or HUB USB for powering the Rasp Pi by developer's site. ( see link below in my answer) But if you know how to mod a USB cable, beware power distribution to WiFi may not be optimal if on board Caps are near source input rather than USB I/O. Let your analog PS experience guide you to follow the best solution or as I indicated follow their guide. raspberrypi.org/quick-start-guide \$\endgroup\$ – Tony Stewart Sunnyskyguy EE75 Jul 21 '12 at 21:19
  • \$\begingroup\$ I'm powering the Raspberry Pi with the Samsung Galaxy Charger, which can provide 1A, I ordered a USB 2.0 active hub(4port 2A) to power the wifi module, I hope the hub can provide enough power for the wifi. \$\endgroup\$ – Kicsi Mano Jul 22 '12 at 7:52
  • 1
    \$\begingroup\$ @Kicsi - What WiFi module do you want to use? Do you have a datasheet? \$\endgroup\$ – stevenvh Jul 22 '12 at 8:48
  • \$\begingroup\$ I would like to use the Raspberry Pi to control my quadcopter, because of this, I bought the following wifi. ebay.de/itm/…, I tested this with my phone, an I achieved 1,4km using a 5dBi antenna. \$\endgroup\$ – Kicsi Mano Jul 22 '12 at 15:12
2
\$\begingroup\$

Previous answers may work but do not match what is recommended by the developers at www.raspberrypi.org

They indicate as follow;

Micro USB power supply – make sure you use a good quality one, capable of providing at least 700mA at 5V. Do not attempt to power your Raspberry Pi by plugging it into a computer or a hub.

Naturally if you know what you are doing, you can port power in via ethernet POE modification, USB modification, .. or consider local LiPo battery or external DC power from PC IDE port or anything handy....with suitable shield and filter for personal use. For production use, that is a different matter.

Let me be perfectly clear.

The USB 2.0 Standard spec. indicates 500mA max. or 2.5 Watts

This was recently increased for USB 3.0 to 900mA for USB3 ports with current limit protection or 4.5 Watts.

Your choice ... depends on your skill level to ensure Voltage is solid and clean. ( low ESR caps recommended locally by me.)

For references;
http://www.raspberrypi.org/faqs

http://www.raspberrypi.org/quick-start-guide

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.