Welcome! This repository is a fork from @shebuildsrobots remy_model. A headband of the rat Remy from the movie ratatouille!
I wanted to create a similar headband but use components I already had access to! To add some flare to the headband, I also wanted to add some RGB LEDs which could look cool when placed under a chefs hat!
In place of the microservos i redesigned the model to use standard SG90 servos which were quite a bit larger than the original. Hence the remy model had to be upscaled. In my opinion this makes Remy too large and unweildly when placed on the head.
In order to not have to deal with LiPo batteries strapped to my chest, I added an USB-PD circuit which could be routed to a powerbank in my pocket. Note: Make sure circuit is set to 5V!!!
Component | Quantity | Sourcing | |
---|---|---|---|
Arduino Nano 328P | 1 | ||
SG90 Servo | 2 | ||
WS2812b LED strip | 40 LEDs | ||
ADX345 Accelerometer | 1 | ||
USB C PD breakout board (5V) | 1 | ||
Headband(s) | 1 | ||
Fabric tape | 1 | ||
Super glue | 1 | ||
Push button | 2 |
The repository is split into two parts, Software and Hardware
This is not a complete build guide, but here are the general steps to get things going!
Hardware files can be found in HW folder! I used original remy model as a base and upscaled it in order to fit the larger, move availible servos!
In order to mount all components and Remy on headband there was a lot of superglue and fabric tape used!
The software was rewritten from scratch to accomidate the new accelerometer board, buttons and LED strips!
There are two buttons which selects how the LEDs and servos shall behave!
- Refine servo control logic
- Refine accelerometer readings
- Solve rainbow RGB LED issue
- Refine Remy model files (Make Remy smaller yet fit SG90 servos)