Please. I know. It's flux capacitor. But that might happen to every german-syncronized-movie-watching person. Maybe it's because of the drawing that says "flux compression". I still want to know what happened there.
Parts are all 1206 and super easy to solder.
Version 1
Version 1 - Rev 1
Version 1 - Rev 2 - final
I've updated the design to also have a battery holder and a switch (yay), also soldering points for a clip. Checkout #FLUX capacitor trinket for future updates :) ALSO: there's a four led, more resistors version by @Bastiaan - #Mini flux capacitor prop PCB
int outer = 0;
int center = 1;
int inner = 2;
int pwmValue = 22;
int timeLength = 250;
int delayValue = 10;
void setup() {
// put your setup code here, to run once:
pinMode(outer, OUTPUT);
pinMode(center, OUTPUT);
pinMode(inner, OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
softPWM (outer);
softPWM (center);
softPWM (inner);
delay(timeLength);
}
void softPWM (int pin)
{
for (int j=0; j<timeLength/delayValue; j++)
{
for (int i=0; i<pwmValue; i++)
{
digitalWrite(pin, HIGH);
delayMicroseconds(delayValue);
}
for (int i=pwmValue; i<=255; i++)
{
digitalWrite(pin, LOW);
delayMicroseconds(delayValue);
}
}
}
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.
You have a BOM handy? I have to build this :)
Are you sure? yes | no
attiny13 or attiny45/85
9 x 1206 white LEDs,
3 x 0805 150 Ohm resistors
one of those (http://www.ebay.de/itm/192210025785)
and one of those (http://www.ebay.de/itm/291398146523)
I think that's all :D
Are you sure? yes | no
It was a mistranslation for the German version:
http://backtothefuture.wikia.com/wiki/Flux_capacitor
I guess the translators are not engineers :-)
Are you sure? yes | no
I guess I lived too long with automatic translations and google and dict.cc :D
Are you sure? yes | no
Very nice
Are you sure? yes | no