In one of my previous blogs titled “Carbon Rover”, I wrote about creating create a rover that wouldn’t fall off an edge nor would it hit an obstacle.
Riding The RGB Hype-train!
In the Rev 2 of the Carbon Rover I decided to add some RGB NeoPixels. Now these LEDs don’t generate random colors, they are in fact synced to the IR and Ultrasonic Sensors.
The NeoPixel strips are placed on the front and the back edge of the rover, 11 on each side for a total of 22 LEDs.
Although the carbon can address the Led’s individually, they are virtually divided into 6 groups one for each Ultrasonic sensor. When there is no object within 100cm of the sensors the LEDs glow Blue and as the object comes closer towards the senor they start glowing Red.
As for the IR sensors, the LEDs glow red when the sensors can’t detect ground beneath the rover.
Although I am using an Arduino Nano to control the LEDs, It only serves as a dumb controller. All the color and pattern for individual LEDs is calculated by the Carbon on sent over I2C to the Arduino.
TagsIot, IE, carbon, arduino, neopixels, rgb, leds, robot, rover, zephyr
Thursday, August 10, 2017
Tuesday, February 2, 2016
Wednesday, August 10, 2016
Tuesday, August 23, 2016
Thursday, August 17, 2017