kblox Neo+ Robotics Kit
About Lesson



In this project, you will make a sequence of LEDs.  You are going to use 4 LEDs, 4 Resistors 1K, Jumper wires, and Kblox Neo for making this project. All the LEDs will be connected to the breadboard mounted on the Kblox Neo. The negative pin of LEDs will be connected to 1K resistors and another end of the resistors will be connected to the common ground of the breadboard. positive pin of the LEDs connected to the digital pins (D2-D5) of the Kblox Neo DIY board.  After programming the board, the LEDs will glow in a  sequence (one by one) of 0.5-sec gap and will turn off in the same sequence and this will continue till the power is provided to the board.

Components required

  • Kblox Neo Board
  • LED [Qty-4]
  • Jumper wires  [M-M, Qty-9]
  • Resistors 1K  [Qty-4]



int led1 = 2;// define led pin no
int led2 = 3;
int led3 = 4;
int led4 = 5;
void setup() {
  // put your setup code here, to run once:
  pinMode(led1, OUTPUT); // set led pin as output
  pinMode(led2, OUTPUT);
  pinMode(led3, OUTPUT);
  pinMode(led4, OUTPUT);

void loop() {
  // put your main code here, to run repeatedly:
  digitalWrite(led1, HIGH);   //set led1 to high
  digitalWrite(led2, HIGH);    //set led2 to high
  digitalWrite(led3, HIGH);    //set led3 to high
  digitalWrite(led3, HIGH);    //set le34 to high

  digitalWrite(led1, LOW);    //set led1 to low
  digitalWrite(led2, LOW);    //set led2 to low
  digitalWrite(led3, LOW);    //set led3 to low
  digitalWrite(led4, LOW);    //set led4 to low



  • LEDs can be connected in a sequence that forms a name or any letter.
  • LEDs Can be used for recreational purpose
  • A collection of LEDs can be programmed in such a way that forms some shape.