Control RGB with hand-waving above ultrasonic sensors
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
arduino-spatial-rgb/README.md

29 lines
830 B

9 years ago
# Spatial RGB
9 years ago
9 years ago
## What
- Arduino
- 3 sonars
- 3 colors in the spectrum
9 years ago
- RGB LED strip
9 years ago
- Magic!
## Building
To run this project, you need Arduino Pro Mini, or Nano (those $2 eBay clones will work perfectly).
You can also try to use a genuine Arduino, even larger (UNO), though I haven't tried that.
9 years ago
To flash the firmware, run `make flash`. Adjust the Makefile as needed. Naturally, you'll need
9 years ago
`avr-gcc` and `avrdude` installed (and Linux or OSX).
Make sure the correct Serial device is defined in the Makefile (`/dev/ttyUSB0` or other - it tends
to be something really strange on OSX).
## Hardware
- RGB LED strip with WS2812 or WS2812B. It's set up for a 30-led strip, adjust as needed.
9 years ago
9 years ago
- Sonars: HC-SR04 (you can get them on eBay)
9 years ago
9 years ago
Wiring is configured in the C file at the top - adjust pin numbers however you like.