Re: 300 mA from a microcontroller pin



Tomás Ó hÉilidhe wrote:
Tomás Ó hÉilidhe:


I'll post a picture of the relevant part of the circuit now in a few
minutes.



http://img266.imageshack.us/img266/4861/ledsetupug6.jpg

As you can see, I've pins coming from microcontroller going to the shift register.

The simple NPN/PNP buffers will auto-quasi-tristate, provided you can disable any pullups on the uC port (ie truly float the port).
There will be some turn-off delays, so allow some dead time between column selects would help.
A resistor from B-E would help reduce those delays. 2k2 ~ 4k7 region.

You only show one column drive polarity, but there are trimmed lines
on the drawing so I presume there is a similar PNP drive scheme, and
hence your 1:16 duty cycle.

A better shift register choice would be one with a latch, and OE,
so you can drive only ONE device, and control dead-times.
Look at HC4094, or HC595 devices.
A HEF4094 has lighter drive, so you could go straight to the darlington
bases with that.

The darlingtons will need to be large, as the column resistance should be much less than the series R's, to avoid unwanted brightness modulation effects.

-jg





.



Relevant Pages

  • Re: Explanation of the whole 300 mA thing
    ... You might think my shift register setup is a bit funky as regards the RC circuits but allow me to explain. ... The purpose of the RC circuit which feeds into the master reset of the shift registers is simply to ensure that the chip starts up will all zeros, and it will have a very fast charging time. ... For this design, I'd suggest HEF4094, as that can drive into the darlington base. ...
    (comp.arch.embedded)
  • Re: problems with FSMs
    ... i have to set every values to every port in every state? ... for j in 0 to 6 loop ... this set the Chip Enable of the shift register to 1 so the shift reg. ... for the first i have those warnings: ...
    (comp.lang.vhdl)
  • Re: joy port question
    ... It occurred to me since my LED routine I made on the user-port actually runs on the interrupt service routine, I shouldn't have to worry about the keyboard scan interfering with it. ... However, if the port ever goes to output mode other than when I want it to, arbitrary junk may get sent to my shift register. ... Jim Brain, Brain Innovations ...
    (comp.sys.cbm)
  • Re: GPIO and Serial IO
    ... >port where you can control the 8 bits of the port. ... >port where the bits loaded into the port and put into a shift register which ... >You can implement serial I/O using GPIO by toggling the bits via a program. ...
    (comp.arch.embedded)