Iron Man's Arc Reactor That Pulses With Your Heart Beat




There are lot of DIY arc reactors out there that look pretty cool. Some look realistic too. But why build something that just looks like that thing and does not do anything. Well, this arc reactor is not going to protect your heart using electromagnets (of course not) but will surely look cool when it beats with your heart. I mean literally, the LEDs in it will pulse with your heart beat.

Before I begin, please consider voting this project for the fandom contest. Thank you.

Supplies:

Sun board (PVC board) https://www.amazon.com/Expanded-PVC-Sheet-Lightwei...

Acrylic sheet

Black paint (poster/acrylic)

Nodemcu (esp8266 microcontroller) or an Arduino nano https://www.amazon.com/ESP8266-microcontroller-Nod...

3.7v Li ion / Li-po secondary battery https://www.banggood.in/3_7V-650mAh-JST-Plug-Recha...

Li ion battery charging module https://www.amazon.com/McIgIcM-Lithium-Charging-Pr...

LEDs (LED strip is a better option)

Magnet wires

Soldering iron and solder

Sand paper

Board cutter (or any standard paper cutter)


Design


The whole thing can be done in a jiffy if you have a 3D printer. But I didn't have one, so sun board to the rescue!

First, we need to design and cut out the arc reactor case from sun board.You can look at the images and cut it accordingly. Cutting a sun board isn't a hard task. All you need to do is run your cutter multiple times and the cut should be done. It's not a hard task but is a time consuming one. So, make sure you stay patient till all the cuts are made. Don't worry if the lines are visible after cutting the board, because we are going to paint it later.

Make the side walls according to your required height. To keep it simple, the total height can be the sum of height of the node mcu/Arduino nano + thickness of battery + a few millimetres extra for wires to run through. The back can be made by tracing the borders of the front. There you go, you have an arc reactor, well, almost.


Code it

If you're not much interested in coding, you're in luck. The code to make it work just as we want already exists in the pulse sensor library. So hurray! We can save a lot of time here. First of all, we have to download the pulse sensor library in the Arduino IDE. Fire up the IDE (I mean open the Arduino IDE in your pc) and click on sketch -> include library -> manage libraries. Now in the text box type "PulseSensor playground" and you'll find it with an option to install. Install the latest version.


Now for the code. Click on file -> examples and scroll to the bottom to find pulseSensor playground. Click on it to find various pulse sensor example codes. From the list click on "pulseSensor BPM" if you're using Arduino or "pulseSensor BPM alternative" if you're using node mcu. Now all you have to do is upload the code. Great!

One thing to note. Towards the beginning of the code you'll find pulse_blink=13 and pulse_fade=5. This means an led connected to pin 13 will blink with heartbeat and an led connected to pin 5 will fade with heartbeat. We need to connect two LEDs to each in parallel. In case you're using node mcu pin 13 and pin 5 are pins D7 and D1 respectively. That's all for the coding part. Cool! Let's move on.



A Little Here-and-there



I cut out a small compartment in the back wall to make place for the battery. Then, for the front diffusion system, I cut a triangular shape from a piece of acrylic and used a sand paper to scratch on its surface several times to make it semi transparent. It is a time consuming and boring process though. You can also buy semi transparent acrylic directly, instead of manually making it semi transparent.

Before sticking it to the front, I painted it black with poster colours. The inside is not necessary to be painted because the white colour of the acrylic reflects light and will result in a brighter and more evenly lit interior. The acrylic can now be stuck to the front from behind.


Assemble the components



Now all you have to do is arrange everything inside. I stuck 4 LEDs inside, the NodeMcu above that and the battery in its compartment. The pulse sensor protruded outside so that it can be connected to the wrist/finger.

The battery I've used is a 1000mAh li-po and needs to be connected to a charging module to ensure safe charging and discharging. These are available for cheap online, I've provided purchasing links in the supplies section.

After a while, I realized that the WiFi module of the NodeMcu which heats up while usage and  was in contact with the battery. To avoid heating of the battery, I added a double sided tape in between. This will act as an insulating layer.


Good to Go!



Now strap the pulse sensor to your wrist or finger and wait for a few seconds so that the pulse sensor can get your BPM right. You can see the arc reactor will beat with your heart. It's a fun thing to look at. If you have a big enough wire to the pulse sensor, you can attach the arc reactor to your chest with a strap and wear a T-shirt. That will look really cool!



0 Comments