Skip to product information
1 of 3

Axiometa

Traffic Light

Traffic Light

SKU:AX22-0024

Regular price $3.49
Regular price Sale price $3.49
Sale Sold out
Taxes included. Shipping calculated at checkout.

A PCB that looks like a real traffic light: a tall, narrow silhouette with three 5 mm diffused LEDs stacked vertically. Slide the board into a front panel, stick it on a robot, or mount it on a model-railway street corner then drive each lamp from its own GPIO pin (active-high) just as you would any plain LED.

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

    Material Datasheet 
  • Pinout

  • Interface

  • Top

  • Bottom

Arduino Example Code

example.ino
int ledPins[] = {8, 15, 45};
int numLeds = 3;

void setup() {
  for (int i = 0; i < numLeds; i++) {
    pinMode(ledPins[i], OUTPUT);
    digitalWrite(ledPins[i], LOW);
  }
}

void loop() {
  for (int i = 0; i < numLeds; i++) {
    digitalWrite(ledPins[i], HIGH);
    delay(500);
    digitalWrite(ledPins[i], LOW);
    delay(500);
  }
}

        
  • First time setup

    Pair text with an image to focus on your chosen product, collection, or blog post. Add details on availability, style, or even provide a review.

  • Automatic Street Lights

    Pair text with an image to focus on your chosen product, collection, or blog post. Add details on availability, style, or even provide a review.

  • How Does an LDR work ?

    Pair text with an image to focus on your chosen product, collection, or blog post. Add details on availability, style, or even provide a review.