Skip to product information
1 of 3

Road Light

Road Light

SKU:AX22-0021

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, angular silhouette that looks like a modern road light: a straight pole at the bottom, an arm up top that leans out to one side, and a "luminaire" silkscreen that cants a warm-white LED down over the road. Just feed it an active-high GPIO (or PWM for dusk-dawn fades) and the on-board resistor handles the rest.



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

Technical Details

- Current-limiting resistor on each LED
- Transistor Switch
- 3.3V or 5.0 V
- Breadboard Compatible
- Arduino IDE Compatible
- MicroPython Compatible
- MicroBlocks Compatible

Pinout

Technical Resources

Road Light - (AX22-0021)
🖱️ 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);
}