https://github.com/anachrocomputer/rgbisogrid
Arduino sketch to drive RGB LEDs arranged in an isometric grid pattern
https://github.com/anachrocomputer/rgbisogrid
arduino hexagonal hexagonal-grids rgb-led ws2812
Last synced: 4 months ago
JSON representation
Arduino sketch to drive RGB LEDs arranged in an isometric grid pattern
- Host: GitHub
- URL: https://github.com/anachrocomputer/rgbisogrid
- Owner: anachrocomputer
- Created: 2019-04-29T20:23:03.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2025-06-11T00:41:25.000Z (7 months ago)
- Last Synced: 2025-06-11T01:34:54.895Z (7 months ago)
- Topics: arduino, hexagonal, hexagonal-grids, rgb-led, ws2812
- Language: C++
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README



# RGBIsoGrid
This Arduino sketch drives a string of 49 WS2812 RGB LEDs, arranged
in an isometric grid layout.
One additional LED (it's a 50-LED string) at the far end is unused.
The Arduino is also connected to a button and an analog potentiometer.
The button selects which demo to execute, and the pot controls the
demo.
## Library Usage
This sketch requires the use of the 'FastLED' library.
The library provides all the code to efficiently drive the LED string.
## Hardware Setup
The LED chain is connected to Arduino digital pin 3 (change this in the
code by changing 'DATA_PIN').
There's an analog pot connected to Arduino analog pin 0 for setting
hues, brightness and so on.
The mode selection is done by a push-button switch on Arduino digital
pin 2 ('BUTTON_PIN' in the code).
The button has a pull-up resistor connected, and it grounds the input pin
when pressed.