Skip to main content

Makings of a Mood Hoop (Gyro Esp32 & RGB LED)


The above would require a custom pcb to fit inside most hula hoops but that was the path that I was on and this was an iteration in getting  there.

The esp32s inclusion of wifi and bt could have a lot of interesting applications in LED poi. In theory one could go beyond just movement/ gyro data and use something like bt audio device emulation to at very least sink the show to a sound track.

Worth noting that the particular board (minus gyro) did actually fit inside the hoop material a friend had donated for this project. 

I would probably go 4 layer pcb and a little more narrow still. Which would be easy with out the gpio headers/all the pins broken out as they are on the board above.
Not the best photo in the world but the hoop material to be is visable

Gyro Test

The gyroscope attached is ada fruits six degrees of freedom. In the video the gyro is attached the an esp32 board and the esp32 is linked to my laptop via USB. it's spitting the output from the gyro via serial/txt which is then translated by a program to move the rabbit on screen 

Dot Start / APA 102 (Fast Addressable RGB LEDs)

I have heard rumors one can drive the APA 102 from 3.3 volt spi.
 If I remember correctly that had some caveats. 

I was intending to use two lithium ion cells in series so I went ahead and also used a level shifter compatible with SPI.

How to tie gyro and LEDs to draw in the sky?

The working principal is load a bitmap to the micro controller map the pixels to each led on your programmable string. Ie in this case take one horizontal line from the image and display those colors across the circular string. Then read the gyro to detect how the position of the hoop has changed. Remap the pixels to the change in the hoop and now you have the ability to draw images.

Human eye sight is what's exploited to draw in the air. 

The phenomenon is known as persistence of vision.

Other thoughts 

The esp32 with built-in Wi-Fi and Bluetooth has quite a few notable advantages in this application.

The LED string seen above is what ada fruit called the dot star. Generically it's the APA 102.

Using a led strip with two rows of leds would likely notably improve the level/detail of effect. I think ideal would be at least 3 rows. I know there was a smaller form factor of the apa102 released around the time my parents mistakes hit me like a brick house.

 I would probably use enamel wire rather than  silicone wire ( I used for the proof of concept). Also with a custom PCB many of the wires you see could be eliminated. 

Basically what you need is: a battery charge controller, a gyroscope, esp32/mcu, flash memory, level shifter, rgb leds and a battery cell or two. 

 with a custom pcb the following could all be combined:

 bat ctl, gyro, mcu, flash, level shifter.

 Leaving just 4 wires (data clock plus and minus) from board to start of LED string 

Related posts


Popular Content

XT - 30 Motorcycle Phone Charger

Not a huge achivment by any means. But made life better for a client.  A perspective client approached me with an issue. His solution for charging his phone via USB on his bike was taking up too much room under the seat 

Lawn Tractor Snow Plow Electric Upgrade

Do you have a lawn tractor you use to plow snow? Ever wondered if you could make a manual snow plow attachment into a push button? A friend of mine had a riding lawn mower and snow plow blade attachment. Every winter he used the riding lawn mower to plow the driveway. The plow was a kit that bolted on the front of the lawn tractor and it had a mechanicaly actuated adjustable snow plow blade. The issue and this project came about when the arm to adjust the snow plow blade broke. I had just bought a mig welder. I had also watched linear actuators capable of handling 300lbs of force drop to $25 on ebay.  Here's what I came up with for converting a riding lawn mower snow plow into an electricity adjusted lawn tractor plow. Repair  The lawn tractor snow plow kit had seen better days. The fork that attaches it had bent /deflected and spread. I used a map gas torch and a bench vise to squeeze the tongs back and then welded some L channel angle iron on the sides. Less Play I also tack weld

CD Resistance Spot Welder

This post is for anyone interested in owning or building a CD welder. I wanted a reliable Resistive spot welder for lithium ion pack construction and or repair. I didn't want to spend 3k or buy from china. I decided to design and fabricate my own. Bellow is my first crack at a Mosfet Switched capacitive discharge mcu controlled spot welder. This post is a work in progress. If you've stumbled across in hoping to build your own cd welder feel free to ask questions in the comments section.  I'll provide any help I can.  My CD Spot Welder  Here's pics of the first working version from 2018