Giter Site home page Giter Site logo

bikelight's Introduction

bikelight

bikelight_overview

It's a blinky red light for the back of my bike helmet.

bikelight

The circuit uses an ATtiny412 to control four red LEDs, along with a Microchip MCP73831 lipo charge controller for battery management and a micro-USB jack for charging.

bikelight_schematic

bikelight_pcb

The circuit is designed to be milled on a single sided chunk of FR1 using a 1/64" end mill. If you use mods, the three layer *.svg files (holes, outline, and traces) are in the /pcb directory. After assembling and programming with pyupdi and an FTDI cable, I masked off the USB jack and slide switch and sprayed it with a few coats of clear varnish.

bikelight_pcb_img

The pcb attaches using M3 hardware to two laser cut acetal clips, which then snap into my helmet. If you have the same model, this will probably work for you too, otherwise you'll need to figure something else out. Laser cut files for these parts are in the /cad directory, intended to be cut from 2.5 mm acetal.

bikelight_mtg

bikelight_mtg2

I used a 1200 mAH lipo battery since we had a few on hand; it's secured to the rear of the pcb using VHB tape. I snagged a JST PH off a spare Feather, but if you plan ahead you can buy the part here. Note that lipo batteries are inherently dangerous, so don't build this circuit unless you're familiar with their quirks (and make sure to use one with a built-in protection circuit). Yes, if my helmet ever actually has to do its job, my head will likely catch fire.

bikelight_back

bikelight! blink blink blink blink blink

bikelight's People

Watchers

Zach Fredin avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.