Anonymous

Project:SpeedAdjustableBikeLight: Difference between revisions

From London Hackspace Wiki
Line 76: Line 76:
Simplify (only last 3 strings) and no V doubler.
Simplify (only last 3 strings) and no V doubler.


This fits in the attiny85 pinout.
This just fits in the attiny85 pinout - but the attiny84 has more scope and flexibility.


New link [http://www.mikrocontroller.net/attachment/14850/BikeLight.pdf on impedance matching and MCU control] of bike lights :).  I am not sure what this means for my circuit and plans.
New link [http://www.mikrocontroller.net/attachment/14850/BikeLight.pdf on impedance matching and MCU control] of bike lights :).  I am not sure what this means for my circuit and plans.


Since the mosfets and vregs are surface mount, it made sense that the MCU be a surface
Now using attiny84 - added
mount part as well. I choose the ATTINY84, as cheap, and with 14 pins it has enough I/O
# fourth mosfet (for another LED string)
to drive 4 mosfets, sense the speed, the available voltage, the lighting conditions and still have the old style JTAG debugging interface.
# voltage sense (to control pulsing of LED strings when there is insufficient power)
# light sensor
# JTAG debugging
# Chip Select for possible communications via SPI.


A rough thought that SPI or TWI might be enough to to talk to other devices later (USB, ZigBEE, GPS).. and the pins for these are all on the JTAH header :).
Another consideration is that SPI or TWI might be enough to to talk to other devices e.g. USB, ZigBEE, GPS or whatever. And the SPI/TWI pins are all on the clasic JTAG header, which is a luxury the attiny85 can not support.


Ongoing...
Ongoing...
Line 95: Line 98:
* Have the boards made..
* Have the boards made..


Thoughts on the heat sink:
Plan to make a heat pipe and sink combo. Starting with a copper tube long enough to mount across the handle bars. Flatten spots in the tube to mate with the LED aluminium carrier boards at angles that get the LED light pointed on the road, not in drivers eyes.
  Plan to make a simple heat pipe. Start with a copper tube long enough to mount across the handle bars. Flatten spots in the tube to mate with the LED aluminium carrier boards at angles that get the LED light pointed on the road, not in drivers eyes.
Add water and heat it up so it boils, and seal it while filled with steam. The steam will condense to form a partial vacumn. Sounds so simple!   
Add water and heat it up so it boils, and seal it while filled with steam. The steam will condense to form a partial vacumn. Sounds simple!   


Start software development.
Start software development... the easy bit.


==Indicator LED==
==Indicator LED==
153

edits