2019_leds
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| 2019_leds [2019/02/04 23:39] – created tell | 2019_leds [2022/03/01 20:55] (current) – tell | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| After our success [[2018 LEDs | last year]] with status and decoration LED strips on the robot, we're doing somthing similar but better this year. | After our success [[2018 LEDs | last year]] with status and decoration LED strips on the robot, we're doing somthing similar but better this year. | ||
| - | Parts for 2019: | + | ====== |
| - | * Addressable LED strip http:// | + | |
| + | * Addressable LED strip http:// | ||
| * Arduino Uno processor | * Arduino Uno processor | ||
| * Arduino proto shield | * Arduino proto shield | ||
| * LM2596-based DC buck regulator board https:// | * LM2596-based DC buck regulator board https:// | ||
| + | * silicon rectifier diodes 1N4004, 1N4005, 1N4006, or 1N4007. https:// | ||
| * wire and connectors | * wire and connectors | ||
| + | ====== The general idea ====== | ||
| + | |||
| + | Its easy to hack up the addressable LED strip to an arduino and get it to blink following any of the tutorials on the web. (TODO link here) | ||
| + | |||
| + | In order to provide useful feedback to the drivers and spectators, the RoboRio will have to tell the arduino to change color or blink patterns. | ||
| + | |||
| + | The LED strip can easily use more +5v power than the arduino can provide: its rated 3 amps per meter if all LEDs at full brightness. | ||
| + | to turn 12v from the PDP into plenty of +5v current. | ||
| + | |||
| + | We'll mount the regulator board and some headers onto the arduino proto shield, so that it can all be plugged | ||
| + | onto the top of the arduino Uno board. | ||
| + | |||
| + | ====== Schematic ====== | ||
| + | |||
| + | |||
| + | **NOTE CHANGE from earlier: | ||
| + | |||
| + | We power the arduino with robot battery voltage, and let its internal regulator and power switching handle it. Two series diodes drop the voltage of a fully-charged battery (13v) to below the arduino' | ||
| + | |||
| + | {{ : | ||
| + | ====== Caution ====== | ||
| + | ** Caution: the arduino Uno and its proto board has power terminals marked +5v. Do not connect them to LED strip power or to the regulator board.** | ||
| + | |||
| + | ====== Code ====== | ||
| + | |||
| + | https:// | ||
| + | |||
| + | ====== Finished Hardware ====== | ||
| + | Here's the fully wired hardware. | ||
| + | The arduino uno is on the bottom, with the custom wiring all | ||
| + | located on the protoshield board. | ||
| + | We decided not to use DIO pins to signal from the RoboRIO to the arduino, instead we planned to use | ||
| + | the USB port. | ||
| + | {{ : | ||
| + | But this arduino project never actually made it onto the robot. | ||
2019_leds.1549341567.txt.gz · Last modified: 2019/02/04 23:39 by tell
