Skip to product information
1 of 4

Street Light

Street Light

SKU:AX22-0023

Give your model street scene or any project that needs a tiny lamp-post a believable glow with this purpose-shaped PCB. The board is routed into a tall, slender silhouette that looks like a classic sidewalk light: pole at the bottom, curved arm at the top, and a “lampshade” silkscreen that frames a warm-white LED. Just feed it an active-high GPIO (or PWM for dusk-dawn fades) and the on-board resistor handles the rest.

Regular price $5.64
Regular price Sale price $5.64
Sale Sold out
View full details

Technical Details

- 330 Ω current-limit resistor on each LED
- 3.3V or 5.0 V
- Breadboard Compatible
- Arduino IDE Compatible
- MicroPython Compatible
- MicroBlocks Compatible

Pinout

Technical Resources

Street Light - (AX22-0023)
🖱️ Click & drag to rotate
#define LED_PIN 14
const int FADE_DURATION = 5000;  // 5 seconds to fade in/out
const int HOLD_DURATION = 5000;  // 5 seconds at full brightness

void setup() {
  pinMode(LED_PIN, OUTPUT);
}

void loop() {
  // Fade in
  for (int brightness = 0; brightness <= 255; brightness++) {
    analogWrite(LED_PIN, brightness);
    delay(FADE_DURATION / 255);
  }

  // Hold at full brightness for 5 seconds
  delay(HOLD_DURATION);

  // Fade out
  for (int brightness = 255; brightness >= 0; brightness--) {
    analogWrite(LED_PIN, brightness);
    delay(FADE_DURATION / 255);
  }

  delay(100);
}