Nice mount for home made lights.



Humbug said:
I've put the circuit there as well. Well, it's probably not THE circuit
but it's where I'm at ATM. It still needs a tidy up (but not anywhere
near as much as the code does) but I _think_ it's basically it. The
next step is to borrow a CRO and get it all "nice". After that I guess
I'll just have to make something a bit more permanent than a breadboard
and see how it all goes. Then after that I'll just have to build it up
in a box and test it on an actual bike...:)

The advice via over my left shoulder is:

"Happy to spectate - you're utilising software where I would use hardware"
 
On 2006-06-30, Humbug (aka Bruce)
was almost, but not quite, entirely unlike tea:
>
>
> Bet you all forgot about this thread, eh ?
>
> Progress has been made in fits and starts (other stuff to do, etc.)
>
> http://members.optushome.com.au/forsythm/BikeLights/


What's the inductor (a fecking enormous one at that) necessary for?
The cap should offer all the smoothing you want -- an inductor merely
causing you to have transient voltage spikes across the LED (and
probably sets up harmful oscillations with the cap, too, although my
EE is a little rusty).

--
TimC
Dijkstra probably hates me
(Linus Torvalds, on gotos in kernel/sched.c)
 
On 2006-07-01, cfsmtb (aka Bruce)
was almost, but not quite, entirely unlike tea:
>
> Humbug Wrote:
>>
>> I've put the circuit there as well. Well, it's probably not THE
>> circuit
>> but it's where I'm at ATM. It still needs a tidy up (but not anywhere
>> near as much as the code does) but I _think_ it's basically it. The
>> next step is to borrow a CRO and get it all "nice". After that I guess
>> I'll just have to make something a bit more permanent than a
>> breadboard
>> and see how it all goes. Then after that I'll just have to build it up
>> in a box and test it on an actual bike...:)

>
> The advice via over my left shoulder is:
>
> "Happy to spectate - you're utilising software where I would use
> hardware"


All software sucks, and all hardware sucks, but software sucks in a
more versatile fashion :)

I'd go the software too. I never did get around to finishing that UPS
I was building. The veroboard was getting a bit messy, and the
software would have been a lot easier to tinker with. Maybe if/when I
move to Coonabarabran, given the rather... sporadic nature of
electricity out there (I had to reboot mum's oven once -- fortunately
I was home for holidays at the time, and worked out that the oven
simply got into a confused state after a short lived brownout).

--
TimC
All science is either physics or stamp collecting.
-- Ernest Rutherford
 
On 2006-07-01, Humbug (aka Bruce)
was almost, but not quite, entirely unlike tea:
> On 01/07/06 at 08:47:05 Kingsley somehow managed to type:
>> Not that I'd want to dissuade anyone from coding assembler,
>> it's becoming a lost art.

>
> PIC assembler isn't too bad - there's not that many instructions and
> there's LOADS of help and doco on the Microchip web site. It does get
> loooooong though...:)


I've got *bad* memories of assembly on the 68HC11. So arbitrary.

It's funny, CISC was so often touted as being for the programmer,
whereas RISC was for the machine. Yet, I much prefered working with
MIPS rather than 68HC11. No arbitrary rules depending on which
registers you are dealing with. No special case instructions that
"add two to register B, multiply by the contents of the ADC, wait 3
cycles, then make a coffee". And other surprises which I've long
since surpressed.

I once took a personality defect test, and it declared me a "robot",
so I guess it makes sense :)

--
TimC
"You can't trust any bugger further than you can
throw him, and there's nothing you can do about it,
so let's have a drink." -- Terry Pratchett
 
On 02/07/06 at 14:02:40 TimC somehow managed to type:

> On 2006-06-30, Humbug (aka Bruce)
> was almost, but not quite, entirely unlike tea:
> >
> >
> > Bet you all forgot about this thread, eh ?
> >
> > Progress has been made in fits and starts (other stuff to do, etc.)
> >
> > http://members.optushome.com.au/forsythm/BikeLights/

>
> What's the inductor (a fecking enormous one at that) necessary for?
> The cap should offer all the smoothing you want -- an inductor merely
> causing you to have transient voltage spikes across the LED (and
> probably sets up harmful oscillations with the cap, too, although my
> EE is a little rusty).


The inductor isn't _that_ enormous really - it's around 220uH but
because I didn't have any toroid cores laying around it's air cored and
therefore physically big.

Have a squint at these two docs -
http://ww1.microchip.com/downloads/en/AppNotes/00874C.pdf
http://services.eng.uts.edu.au/~venkat/pe_html/ch07s1/ch07s1p1.htm

They do a MUCH better job at explaining things than I would.


--

Humbug
Today is Pungenday, the 37th day of Confusion in the YOLD 3172