Random Stuff We Make!
Published © GPL3+

Interactive RGB Seven Segment

A 3D printed RGB seven segment.

BeginnerFull instructions provided12 hours115

Things used in this project

Hardware components

Adafruit NeoPixel Digital RGB LED Strip 144 LED, 1m White
Adafruit NeoPixel Digital RGB LED Strip 144 LED, 1m White
×1
Arduino UNO & Genuino UNO
Arduino UNO & Genuino UNO
×1
Jumper wires (generic)
Jumper wires (generic)
×1
UTSOURCE Electronic Parts
UTSOURCE Electronic Parts
×1

Software apps and online services

Arduino IDE
Arduino IDE

Story

Read more

Custom parts and enclosures

Vertical Segment

Take out four 3D prints

Horizontal Segment

Take Out two 3D Prints

Middle Segment

Take out one 3D print

Fixature

Use this print to stick segments

Outer Closed Ring

Use this Print to enclose the assembly

Schematics

Schematics

Code

Code

Arduino
#include <Adafruit_NeoPixel.h>
#define PIN 5   
#define NUM_LEDS 7
long randNumber;
long r;
long g;
long b;


Adafruit_NeoPixel strip = Adafruit_NeoPixel(NUM_LEDS, PIN, NEO_GRB + NEO_KHZ800);

void setup() {
randomSeed(analogRead(0));
strip.begin();
strip.show();
}

void loop() {
  
  r = random(255);
  g = random(255);
  b = random(255);
  
   for(int i=0; i<6; i++) {
     strip.setPixelColor(i, strip.Color(r,g,b));
   }
   strip.show();
   delay(5);
}
}

Credits

Random Stuff We Make!

Random Stuff We Make!

9 projects • 11 followers
We at RSWM! try to bring Fiction to Reality through projects which are Interactive, Creative & way too simpler in terms of making.

Comments