5% OFF Over $19, Code: Elephant5; 10% OFF Over $59, Code: Elephant10

Arduino Mega 2560 Project 1: Piranha LED Module

Posted by Fiona Su on

This is a special LED module. When you connect it to Arduino development board, after program, it can emit beautiful light. Of course, you can also control it using PWM. It will be like fireflies at night. Isn’t cool? We can also combine it with other sensors to do various interesting interactive experiments.


  • Module type: digital
  • Working voltage: 5v
  • Distance between pins: 2.54mm
  • Size: 30*20mm
  • Weight: 3g

Connection Diagram:


Sample Code:

int led = 3; 
void setup()
  pinMode(led, OUTPUT);     //Set Pin3 as output
void loop()
{      digitalWrite(led, HIGH);   //Turn off led
          digitalWrite(led, LOW);    //Turn on led

Project List

Buy it here>>Sensor Starter Kit For Arduino Mega 2560


Leave a comment

Please note, comments must be approved before they are published