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

by Arpan Mondal in Circuits > Arduino

7696 Views, 79 Favorites, 0 Comments

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

heartbeat reactive.png
Arc reactor that pulses with heartbeat
IMG_20190523_140043.jpg

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.

It might look (in the video) like the arc reactor is just blinking, but it's actually responding to my heartbeat since the pulse sensor is attached to my finger.

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

IMG_20190520_114237.jpg
IMG_20190520_114125.jpg
IMG_20190520_120744_HDR.jpg

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 or get a print out of the arc reactor shape from the PDF and do the cutting. 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.

Downloads

Code It

IMG_20190520_115403.jpg
IMG_20190520_171649.jpg
IMG_20190520_171707.jpg
IMG_20190522_161224.jpg
IMG_20190521_110409.jpg
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 I 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

IMG_20190522_160911.jpg
IMG_20190523_151718.jpg
IMG_20190520_122450.jpg
IMG_20190520_114458.jpg
IMG_20190523_151423.jpg
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.

Arrange It

IMG_20190520_115841_HDR.jpg
IMG_20190523_151812.jpg
IMG_20190523_094921.jpg
IMG_20190520_122517.jpg
IMG_20190523_151250.jpg

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 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.

All Set!

IMG_20190523_124100.jpg
IMG_20190523_122039.jpg
IMG_20190523_124112.jpg
IMG_20190523_124213.jpg

Now strap the pulse sensor to your wrist or finger and wait for a few secs 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. It will look really cool!

Please consider voting this project for the fandom contest. I hope you will enjoy building it.