Proximity Color Sensor
This is a very basic project that combines an ultrasonic sensor with an RGB LED and a photoresistor to roughly estimate the color of nearby objects. We will do all of the programming in JavaScript (Node.js), and it will be absolutely wonderful.
You should make sure you have the following items available before proceeding:
- Fancy-pants computer with USB ports and everything
- Arduino UNO or compatible development board
- Three (3) approximately 220 Ohm resistors
- HC-SR04 Ultrasonic rangefinder
- Common cathode RGB LED
- 1k Ohm resistor
- Photoresistor
- USB cable
- Jumpers
You will now want to clone this repository and start destroying creating things!