||6 years ago|
|lib||6 years ago|
|.gitignore||6 years ago|
|LICENSE||6 years ago|
|Makefile||6 years ago|
|README.md||6 years ago|
|main.c||6 years ago|
|style.astylerc||6 years ago|
|us_rgb.pro||6 years ago|
- 3 sonars
- 3 colors in the spectrum
- RGB LED strip
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. Adjust the Makefile as needed. Naturally, you'll need
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).
RGB LED strip with WS2812 or WS2812B. It's set up for a 30-led strip, adjust as needed.
Sonars: HC-SR04 (you can get them on eBay)
Wiring is configured in the C file at the top - adjust pin numbers however you like.