Unrepentant Geek (matthew) wrote,
Unrepentant Geek

  • Mood:
Gah. Work sucked today. I've been trying to get the two new DB servers to brad and lisa but I keep running into these silly problems. bleah.

So back to what I've been doing to keep sane: got more free samples of micro controllers :) They came directly from thailand which is cool beyond words.

I've actually been doing something with these things too. I sat down and designed a circuit and wrote the code to make a new taillight for my bike. It runs some superbright LEDs at a 20% duty cycle for the taillight and when it senses 12V coming in from the brake light line it cranks them up to full brightness. All in all it's super simple but it was a great first project with the MCUs and got me back into electronics gently.

And I only managed to fry one transistor along the way... those little TO-92 case NPN's don't like having 12v worth of AA's shunted across their base and emitter lines.... fwoosh. heh.

so yeah, the circuit seems to work in my breadboard, nothing gets hot and the circuit only draws a few milliamps. I decided to use an MCU because I wanted to make the taillight blink once before coming on when I hit the brakes. I was it on a fire truck and thought that it was quite effective at capturing people's attention.

Anyway, now that I have it all worked out in that respect I need to get the exact dimensions of the taillight housing and lay out where I want all the LEDs to go. I'm planning to use 80 of them right now, but 100 is not entirely out of the question.

  • Weekend report

    Still unpacking and setting up the new house. The dining room table showed up on Thursday but there was a complete comedy of errors including the…

  • Pow! Pow! Power-wheels!

    The battery in the R50 is giving up. On my ride home last week the headlight would go out if I let the revs drop. So today while I was out I picked…

  • update-o-rama

    I've been extremely busy of late. Mostly helping my friend Matt open up his new retail space ( http://metrixcreate.tumblr.com/ for a bit of info.)…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded