View Single Post
  #30   Report Post  
Posted to uk.d-i-y
Clint Sharp Clint Sharp is offline
external usenet poster
 
Posts: 677
Default 10 leds running off 2 AA batteries

In message , mick
writes
On Wed, 25 Nov 2009 22:19:02 +0000, Clint Sharp wrote:

snip
Why use software PWM when that chip has it in hardware? Trivial to set
up and control with a pot. I reckon you could buy the chip and a capable
transistor cheaper than the equivalent non micro components needed to do
PWM.



Oh yeah... so it has! I should have checked the spec sheet first,
shouldn't I? :-)

I might have a go at building this just for fun!

Did it last night, works well.

Using the internal clock and an external transistor (BC639, first one I
found) it's very simple to code. I reckon the cost of parts is well
under 2 quid and I built it into the battery holder.
--
Clint Sharp