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.
 
 
 
 
Ondřej Hruška e20cac2748 comments 9 years ago
lib initial 9 years ago
.gitignore initial 9 years ago
LICENSE initial 9 years ago
Makefile initial 9 years ago
README.md comments 9 years ago
main.c comments 9 years ago
style.astylerc initial 9 years ago
us_rgb.pro initial 9 years ago

README.md

Spatial RGB

What

  • Arduino
  • 3 sonars
  • 3 colors in the spectrum
  • RGB led strip
  • 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.

To flash the firmware, run make flash. Adjustment the Makefile as needed. Naturally, you'll need 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.