Re: 300 mA from a microcontroller pin



In article <5OC3j.23514$j7.444022@xxxxxxxxxxxxxx>, toe@xxxxxxxxxxx
says...


I have a 14-pin PIC microcontroller, the 16F684 to be exact. Each pin
can be either 5 V, 0 V or high impedance, however they can only source or
sink 25 mA, but I need 300 mA (both sourced and sunk). Currently, I'm
using a setup consisting of an NPN and a PNP transistor in order to
provide more current, like so: http://img124.imageshack.us/img124/6215/
driverbeforegj7.jpg (the microcontroller is on the far left).

I've heard of things called "drivers" that can be used to boost the
current, whilst still being able to provide the three states of 5 V, 0 V
and high impedance. I've searched the web and come across things like the
ULN2003 the MAX15025, but I'm having difficulty finding what I want. It
seems that the ones that can provide enough current can only source
current, while the ones that can source and sink tend not to be able to
provide enough current.

Can someone please suggest a driver chip so that I can effectively
get 300 mA out of my microcontroller pins? Remember that I need the three
states.

Try searching for "half-bridge driver". These chips include both
a high-side driver and a low-side driver and are designed so
that you cannot inadvertently connect the +5V to ground.
You will probably need two pins for the control---one to enable
the driver and the other to set the output to +5V or to 0V.


Mark Borgerson


.



Relevant Pages

  • supporting PC87366 in scx200*
    ... many of these pins are not usable for GPIO; ... The existing gpio char-dev API will work with these pins, ... the driver instead of creating a separate driver file which is hugely ... static inline int scx200_gpio_current{ ...
    (Linux-Kernel)
  • Re: hp officejet 4110 all-in-one
    ... I think there's a linux driver for the small ... But he's saying he thinkgs there's a driver for small LCD displays for Linux. ... you can trace the circuitry to get an idea of what the pins ... trace the circuit board following the guessed IC's external connections, ...
    (sci.electronics.misc)
  • Re: [PATCH v3] Bitbanging i2c bus driver using the GPIO API
    ... Bitbanging i2c bus driver using the GPIO API ... This support is also available as a module. ... * valid for pins configured as open drain (i.e. setting the value ...
    (Linux-Kernel)
  • RE: [PATCH UCC TDM 1/3 Updated] Platform changes for UCC TDM driver for MPC8323eRDB. Also includes r
    ... QE driver. ... And the pins are configured for all the QE devices using par_io_init. ... Can we go ahead with the pio-map? ... Having them in the device tree gives me some flexibility. ...
    (Linux-Kernel)
  • [PATCH v3] Bitbanging i2c bus driver using the GPIO API
    ... This is a very simple bitbanging i2c bus driver utilizing the new ... arch-neutral GPIO API. ... scl pins in open drain mode. ... * Bitbanging i2c bus driver using the GPIO API ...
    (Linux-Kernel)

Loading