Close

Test, Test

A project log for Hacking the Bike Light

Adding the necessary to the extremely economical illumination

JarrettJarrett 01/05/2018 at 19:501 Comment

It's really nice that all boardhouses, ever, send multiple copies of a PCB. If they gave me the option, I would probably usually only order one. That would bite me in the ass, every time.

I like to butcher the first one with cut-up USB cables for power and through-hole LEDs crappily soldered into whatever socket I can access, for initial bring-up and debugging. And a little hot glue, for strength.

Smoke-test and blinky went okay, so I put it all on the real hardware for further development.

Here it is, plugged into my PicKit 3:

Looks awesome! The LEDs are actually slightly too bright to look at while debugging.

I was a little bit worried that all of the LEDs at full brightness might be too much current for the PIC to sink, but it seems to but completely fine. No heating up, and stress-testing is going fine. The code is now adjusted so that each bank of 4 LEDs is on at a time, so technically they're all PWMed at 25%.

I'm releasing the initial PIC code as a file on this project. It's very alpha so there are a few niggling bugs, and it requires some more testing and features, but, if someone wants to get a PCB made and flash it, they totally could.

Current features:

Planned features, supported by the current hardware:

So there's still lots to come, although most of it will be code changes!

Discussions

Ted Yapo wrote 01/05/2018 at 19:56 point

Now, *that's* a prototype!  I never trust projects that look good right away :-)

  Are you sure? yes | no