Project tutorial

Flux Capacitor PCB Badge © MIT

Great Scott! It's a Flux Capacitor powered by an ATtiny85.

  • 1,994 views
  • 2 comments
  • 10 respects

Components and supplies

Necessary tools and machines

3drag
3D Printer (generic)

Apps and online services

About this project

Hey Everyone what's up!

So this is my "FLUX Capacitor" PCB Badge which is a replica of the actual Flux Capacitor which was in back to the future movie.

The Flux Capacitor was the core component of Dr. Emmett Brown's time-travelingDeLorean time machine which makes time travel possible.

Also, the Flux Capacitor in the movie required 1.21 Gigawatts of power to Run which was supplied via the plutonium nuclear reactor which was later replaced by Mr. Fusion.

My Version is smaller and only requires 2.6V at 0.0069A which is around 0.017 Watts or 0.000000000017 Gigawatts which is pretty low if compared with the actual Flux Capacitor.

It runs on a 3V CR2032 Lithium Coin Cell or it can be powered by an onboard Micro USB Port. (also this is my first PCB Badge)

LEDs are controlled by 8205S MOSFET IC and the gate of MOSFET IC is controlled by an Attiny85 MCU.

buy this project https://www.tindie.com/products/pselectrobot/flux-capacitor/

Schematic

This is the schematic of the actual Flux Capacitor which was made DOC Brown, Along with the schematic of my edition.

Material Required

We Required the following components for this Badge Built-

  • Custom PCB (which was provided by PCBWay)
  • LEDs 0603
  • 8205S Mosfet IC
  • 10K Resistance 0805
  • M7 Diode
  • Attiny85
  • USB Micro Port
  • 1K Resistance
  • Lithium CR2032 Cell SMD Holder
  • Solder paste
  • Arduino as ISP Programmer setup (consist of Arduino Nano or UNO)

Built Process

I prepared this PCB in my OrCad PCB Editor and after fining this PCB I sent the Gerber data to PCBWay for samples and received them after few weeks,

I have to say PCBs that I got were great as expected! PCBWay, you guys rock.

check out PCBWay for great PCB service at less cost.

PCB Assembly

Next is the PCB Assembly process which will include adding solder paste to each component's pads and then pick and place each component on their assigned place process and at last the hotplate reflow process.

Solder paste

After Receiving the PCB, all that left to do was to apply solder paste to each component pad.

I used a normal Sn-Pb solder paste which has a melting temp from 140 to 270 °C

After Adding solder paste, we need to do the "PICK and Place Process"

"PICK and Place Process"

I then used an ESD Tweeaser to carefully pick and place each component on their assigned place one by one which took like 3 mins top but end result was a perfect PCB with all the components place in their place in the right orientation.

(we are using LEDs here so be extra careful when placing them in their assigned place, talking about polarity here)

Hotplate

After the "PICK and Place Process", I carefully lifted the whole circuit board and place it on my DIY SMT Hotplate which is also homemade just like this project.

After Few mins when the hotplate reaches the Solderpaste melting TEMP, all the components will get soldered by this Hot Reflow process and Our Flux Cap PCB will be completed.

Now let's flash the attiny85 and finally run this sucker.

Code

As for the Code, I'm using this modified chaser sketch.

int pinsCount=4;                        // declaring the integer variable pinsCount
int pins[] = {0,1,3,2}; // declaring the array pins[]
void setup() {
pinMode(0, OUTPUT);
pinMode(1, OUTPUT);
pinMode(2, OUTPUT);
pinMode(3, OUTPUT);
}
void loop() {
for (int i=0; i<pinsCount; i=i+1){ // chasing right
digitalWrite(pins[i], HIGH); // switching the LED at index i on
delay(70); // stopping the program for 100 milliseconds
digitalWrite(pins[i], LOW); // switching the LED at index i off
}
for (int i=pinsCount-1; i>0; i=i-1){ // chasing left (except the outer leds)
digitalWrite(pins[i], HIGH); // switching the LED at index i on
delay(70); // stopping the program for 100 milliseconds
digitalWrite(pins[i], LOW); // switching the LED at index i off
}
}

Arduino as ISP

I have used this Arduino as an ISP programmer which I made last year. it's basically an Arduino nano that has its SPI Pins breakout for connecting Attiny85 or Attiny13A with it in order to flash the Attiny MCU. If you want to know how this setup works then definitely check out this post of mine.

https://www.hackster.io/Arnov_Sharma_makes/multiple-attiny85-13a-programmer-84adf8

  • We connect the VCC of the Arduino as ISP to the VCC of Attiny,
  • GND to GND
  • Reset to pin D10 (of Arduino Nano)
  • Mosi to pin D11 (of Arduino Nano)
  • Miso to D12 (of Arduino Nano)
  • and SCK to D13 (of Arduino Nano)

Now, As soon as I powered this setup, Middle LED started blinking, Reason for that was- I have previously flashed a Blink Sketch to this MCU so we can see the Blinking of the D0 pin of Attiny85.

To Flash Code to the Attiny85, we first need to wire the Arduino as ISP setup with the Custom PCB Badge in the above configuration.

  • We first select the right MCU which is attiny85 in our case and do not forget to choose the right com port.
  • then we select the right programmer which is in our case "Arduino as ISP"
  • then we hit on the Burn Bootloader option which will take few seconds,

After Burning the bootloader, the Previously Flashed Blink SKetch in Attiny85 is now erased completely and the LEDs stopped Blinking,

  • Now we go to the sketch menu and select the "Upload using Programmer" Option and BANG.

you have successfully uploaded a sketch to this Attiny85 MCU.

Result and Conclusion,also additional stuff

Watch the video!

These are few points I concluded from this built-

  • Making PCB Badge is a pretty easy thing to do
  • CR2032 cells are not suited for constantly powering so many LEDs at the same time
  • This setups barely resembles the original Flux Capacitor
  • Attiny85 is the best low-cost MCU but an Attiny13A can be used here which will also save cost.

This badge can also be equipped with an ID card strap and we can wear it like a HiGh tech ID Card, pretty cool right?

Also, I have modeled this PCB structure in Fusion 360 and then prepared a base body around it and then 3D Printed it.

after that, I just screw the Badge on its 3D Printed Body and this was the end result!

and that's all for now, leave a comment if you need any help with this project!

Code

codeC/C++
int pinsCount=4;                        // declaring the integer variable pinsCount
int pins[] = {0,1,3,2};          // declaring the array pins[]
void setup() {
pinMode(0, OUTPUT);
pinMode(1, OUTPUT);
pinMode(2, OUTPUT);
pinMode(3, OUTPUT);
}
void loop() {
for (int i=0; i<pinsCount; i=i+1){    // chasing right
digitalWrite(pins[i], HIGH);         // switching the LED at index i on
delay(70);                          // stopping the program for 100 milliseconds
digitalWrite(pins[i], LOW);          // switching the LED at index i off
}
for (int i=pinsCount-1; i>0; i=i-1){   // chasing left (except the outer leds)
digitalWrite(pins[i], HIGH);         // switching the LED at index i on
delay(70);                          // stopping the program for 100 milliseconds
digitalWrite(pins[i], LOW);          // switching the LED at index i off
}
}

Custom parts and enclosures

Gerber data for PCB
gerber_data_utlC7fVGby.rar

Schematics

Comments

Similar projects you might like

Dodecagon Portal Project

Project tutorial by Arnov Sharma

  • 1,250 views
  • 1 comment
  • 3 respects

DIY HexaLeaf with Attiny85

Project tutorial by Arnov Sharma

  • 2,216 views
  • 1 comment
  • 11 respects

Multiple ATtiny85/13A Programmer

Project tutorial by Arnov Sharma

  • 2,596 views
  • 0 comments
  • 8 respects

DIY NanoLEAF

Project tutorial by Arnov Sharma

  • 5,816 views
  • 0 comments
  • 12 respects

LED Matrix Display Badge

Project tutorial by FabLabAQ

  • 6,159 views
  • 3 comments
  • 25 respects

Arduino Rotating Platform Based on NEMA17

Project tutorial by Arnov Sharma

  • 2,264 views
  • 0 comments
  • 6 respects
Add projectSign up / Login