Jump Sensitive Neopixel Trampoline

by RooKosherbay in Circuits > Arduino

9188 Views, 83 Favorites, 0 Comments

Jump Sensitive Neopixel Trampoline

IMB_WwH74o.GIF
Neopixel trampoline triggered by jumping
IMB_4iQV88.GIF
IMG_5596 2.JPG

In this instructable, I will show you how to build a trampoline that changes colors whenever you jump on it!

The Things You Need

20180607_142543.jpg
20180607_142455.jpg

Materials:

Tools:

  • Soldering iron
  • Hot glue gun - To insulate and protect the wiring
  • Wire strippers
  • Wire cutters
  • Scissors

Assemble the Trampoline

The box has the instructions, they are pretty straightforward.

Don't touch the electronics, we will use it later ;)

Cut the Neopixel Strip

20180616_130746.jpg
20180607_171210.jpg
20180607_171237.jpg

There are exactly 30 spaces between the bands that hold the jumping cloth in the trampoline. We will cut the the Neopixel strip into 30 individual LEDs, and put them between each band.

Note: There are spots that have solder holding the strip together, you can easily cut them too.

Soldering the LEDs

temp_1978007777.jpg
temp_1123724603.jpg
temp_1227599168.jpg
temp_712302781.jpg
IMG_5554.JPG
arrows.png
  1. Cut each wire to about 2.5 inches. This will make sure that the wire connections between LEDs are longer than all of the band lengths
  2. Strip the wires on each side
  3. Solder the wires to the LEDs. Leave the protective plastic to protect the LEDs
  4. Do this about 10 LEDs at a time (see the next three steps)
  5. MAKE SURE THE ARROWS POINT IN THE SAME DIRECTION

Hot Glue All of the Connections

IMG_5556.JPG
IMG_5557.JPG
IMG_5558.JPG
IMG_5551.JPG

First make sure the wires are not touching each other and that everything is gucci. Then, apply hot glue to prevent the wires from touching each other, and also to stick the LEDS to the plastic cover to protect from moisture.

Check That Everything Is Working So Far

IMG_5571.JPG
Schematic.png

Connect the strip to the Arduino in the following order.

  1. Connect the ground, MAKE SURE YOU CONNECT THE GROUND PINS FIRST. The LEDs are very fragile
  2. Connect the other two pins. Make sure the Din pin is a PWM pin. (Look at the diagram)
  3. Download the Fastled library here, and import it into your arduino IDE
  4. Go to my git repo and download check_leds code (https://github.com/seniorburito/led_trampoline)

This code will lit LEDs in order, so if there is a problem, you will see which one needs fixing.

Also make sure to read the Fastled documentation here, it is really well-written

For now, you can put arduino on the side, or under the trampoline.

Attach the LEDs to the Trampoline With Zip-ties

IMG_5565.JPG
IMG_5566.JPG
IMG_5568.jpg

I tied each led with two zip-ties to prevent leds from moving. Zipties might work better because you can take them off if you decide to take off the LEDs and because zipties are cheap.

Hack the Jumping Sensor

temp_909747632.jpg
temp_1134899444.jpg
temp_1869020508.jpg
temp_1828042512.jpg

The trampoline comes with a device that counts calories based on how much you jump. We cant do anything with the chip,

but if you open up the jumping sensor, you will realize that its just a toggle switch that triggers on when you apply force on it. It is very easy to use toggle switches with Arduinos. Therefore, we will use it in this project to sense jumps, and trigger effects when that happens.

Attach the Jumping Sensor

temp_299091101.jpg
Schematic.png
IMG_6048.JPG

Attach the sensor to one of the trampoline legs. And set up the circuit like shown here.

You can attach the wires from the sensor in one of the two ways:

  1. Attach alligator clips to the two metal segments of the aux cable
  2. Cut the wire, split it into two, strip each side, solder it to male headers or pcb or something like that.

Run the Code

IMG_5597.JPG
IMG_5700.JPG

Download the led_trampoline.ino code from my repo (https://github.com/seniorburito/led_trampoline).

Change the LED_PIN, SWITCH_IN_PIN, SWITCH_OUT_PIN to the pins you are using, and you are set to go!

Here is the video link of the trampoline in action if you could not open it from the intro (https://youtu.be/k_8mHe4OKWg)

There Will Be More

This project is still a prototype. I am still adding more patterns and functionalities. If you have ideas, please let me know, and if you want to help with the code, please do!