Gyroscope Fun with NeoPixel Ring

In this project, we'll combine a gyroscope and NeoPixels to build a device that lights LEDs corresponding to the angle of inclination.

Dec 12, 2017

37112 views

39 respects

Components and supplies

1

4 AA battery holder + battery

1

Male/Male Jumper Wires

1

Arduino Pro Mini 328 - 5V/16MHz

1

SparkFun IMU Breakout - MPU-9250

1

NeoPixel Ring: WS2812 5050 RGB LED

1

Male/Female Jumper Wires

1

Breadboard (generic)

Project description

Downloadable files

sketch_gMlSrk3rCX.fzz

sketch_gMlSrk3rCX.fzz

Comments

Only logged in users can leave comments

Anonymous user

2 years ago

I have done this project but I am not getting the output as shown in the vedio my neopixel ring is glowing at the 12th led, and it is not changing though I rotate the gyro..? Can u solve my problem?

danionescu

2 years ago

I've build a bit of debugging code on my sketch. There are four variables that get printed: angle, light led, y and z axys. While you move the gyroscope do the variables change? Which ones change and how? The ll variable (light led) should indicate which led number should light

reason23

2 years ago

hey would you tell us how gyroscope works?https://www.connectebt.us/

Anonymous user

4 years ago

If I wanted to use a longer strip of LED's would I switch the neopixel to my led library and then change #LEDS?

Anonymous user

7 years ago

I have done this project but I am not getting the output as shown in the vedio my neopixel ring is glowing at the 12th led, and it is not changing though I rotate the gyro..? Can u solve my problem?

danionescu

2 years ago

I've build a bit of debugging code on my sketch. There are four variables that get printed: angle, light led, y and z axys. While you move the gyroscope do the variables change? Which ones change and how? The ll variable (light led) should indicate which led number should light