Powering an IR receiver from VIN on a QuickStart board
David Betz
Posts: 14,516
I bought a couple of Parallax IR receivers that I was hoping to use with the QuickStart board. I failed to notice before I ordered them that they require 5V and the QuickStart board only has a 3.3V supply. On the other hand, it looks like VIN is brought out to the QuickStart header so I'm wondering if it would be safe to use that to power the IR receiver. If I plug the QuickStart into a USB port I should be getting 5V on that line, right? Is that 5V stable enough to use as a power supply for the IR receiver?
Here is a link to the receiver I purchased: http://www.parallax.com/product/350-00039
Here is a link to the receiver I purchased: http://www.parallax.com/product/350-00039
Comments
Won't kill anything (I promise).
Try it with and then try it without.
I think I sorta remember that they wouldn't run from 3v
But check it and see
.
Be REALLY gentle with the pins.
If you need to bend a pin, hold the device with needle nose pliars
ABOVE the bend. Any mechanical movement of the pins at all
breaks the internal connections.
Servos are still motors, lots of current demand when overcoming inertia. Maybe that hub has a fuse.
But, anyway, DB - any joy yet?
No, that's not what it's there for -- for a 5V signal you need 2.8K or higher. What the 220 is doing is limiting the current out of the pin if you make it an output and high while the IR receiver is pulling the line low.
That's the key here: the IR receiver is an open-collector device; and most use a 20K or higher pull-up which makes it safe to power the sensor from 5V and connect into the Propeller (20K > 2.8K). As PJ pointed out, many IR sensors have a wide operating voltage, so you might as well try it at 3.3V. Unfortunately, there is no data sheet attached to the product page. You may have to call Tech Support to get specifics on that part.
I'm not sure if the servos caused the hub to die. The hub didn't die while using the servos.
Of course using a powered hub would be safer than not using one but as long as you don't do anything dumb (like powering servos) you shouldn't need one.
How big was the cap you had put at Vin? Kind of a super capacitor, whose value is measured in the order of Farads?
Yanomani
Another job well done!
Next step, World Peace.
I thought that was me.
Maybe I'm having an aneurysm.
-Phil
BTW... the center frequency of the IR filter on the badge is 36kHz. The center frequency on the device you have now is 38kHz. Not to work -- the badwidth on these devices is wide enough that you can use either and at close range it will work.
That was just the reason I had questioned Duane Degn, about the use of some sort of super capacitor or not!
Yanomani
The capacitor was 1000uF. Too much?
I was using the USB line to power my QuickStart servo tester.
I generally don't power servos from USB.
"Other VBUS considerations are the Inrush current which must be limited. This is outlined in the USB specification paragraph 7.2.4.1 and is commonly overlooked. Inrush current is contributed to the amount of capacitance on your device between VBUS and ground. The spec therefore specifies that the maximum decoupling capacitance you can have on your device is 10uF . . .
That's without external softstart circuitry to provide inrush current limiting. Ohterwise, that 1000uF cap will look like a dead short to the USB host system.
-Phil