Blink

Turn a led on and off on pin 13, the first robotics program. This tutorial is part of the Nairda learning path. You can build it step by step inside the app, which checks every block you place before letting you move on. The steps We add a forever loop. We declare the led on pin 13. We build the blink logic. When you finish, the app takes you straight to the next tutorial in the path. ...

August 12, 2026 · 1 min · 81 words · Nairda

Led with a slider

Control the brightness of a led from the dashboard with a slider. This tutorial is part of the Nairda learning path. You can build it step by step inside the app, which checks every block you place before letting you move on. The steps We add a While loop, which repeats forever. We create a number variable called brightness. We declare a led on pin 13. Inside the loop we put a delay of 100 milliseconds. Behind it we put the led and give it the variable brightness. On the dashboard we put a slider and give it the variable brightness. When you finish, the app takes you straight to the next tutorial in the path. ...

August 12, 2026 · 1 min · 120 words · Nairda

Traffic light with a neopixel

Chain colors and delays on the neopixel to build a traffic light. This tutorial is part of the Nairda learning path. You can build it step by step inside the app, which checks every block you place before letting you move on. The steps We create a neopixel called light, with 1 led, on pin 6. We add a While loop, which repeats forever. Inside the loop we set the neopixel to red. Behind it a delay of 3000, which is how long the red lasts. Another neopixel, now in green. And another delay of 3000, which is how long the green lasts. When you finish, the app takes you straight to the next tutorial in the path. ...

August 12, 2026 · 1 min · 122 words · Nairda

Distance alarm

Use Map so the buzzer sounds higher the closer an object gets. This tutorial is part of the Nairda learning path. You can build it step by step inside the app, which checks every block you place before letting you move on. The steps We create an ultrasonic called sensor, trigger on 10 and echo on 11. We create a frequency called buzzer on pin 8. We create a number variable called tone. We add a While loop, which repeats forever. Inside the loop we set tone to a Map block. What we map is the sensor reading. The distance comes in between 0 and 100 centimeters. And goes out as a tone between 200 and 2000 hertz. Behind it we put the buzzer and give it the tone variable. When you finish, the app takes you straight to the next tutorial in the path. ...

August 12, 2026 · 1 min · 149 words · Nairda

Led with a potentiometer

Control the brightness of a led by turning a potentiometer. This tutorial is part of the Nairda learning path. You can build it step by step inside the app, which checks every block you place before letting you move on. The steps We add a While loop, which repeats forever. We declare a led on pin 13. We declare a potentiometer called pot on analog pin 0. We create a number variable called reading. Inside the loop we put a delay of 100 milliseconds. Behind it we set reading to what the pot measures. Behind it we put the led and give it the variable reading. When you finish, the app takes you straight to the next tutorial in the path. ...

August 12, 2026 · 1 min · 125 words · Nairda

Servo to a position

Move a servo between two positions using the Servo block and a delay. This tutorial is part of the Nairda learning path. You can build it step by step inside the app, which checks every block you place before letting you move on. The steps We create a servo called arm on pin 9. We add a While loop, which repeats forever. Inside the loop we drop the servo, which starts at position 90. Behind it we put a delay of 1000 milliseconds. We add another Servo block and send it to position 180. And another delay of 1000, to give it time to get there. When you finish, the app takes you straight to the next tutorial in the path. ...

August 12, 2026 · 1 min · 125 words · Nairda

A buzzer that sounds

Make a buzzer sound at a fixed frequency using the Frequency block. This tutorial is part of the Nairda learning path. You can build it step by step inside the app, which checks every block you place before letting you move on. The steps We create a frequency called buzzer on pin 8. We add a While loop, which repeats forever. Inside the loop we drop the buzzer block. We ask for 880 hertz, which sounds higher. And make it sound for 250 milliseconds. Behind it a delay of 1000, so it sounds in pulses. When you finish, the app takes you straight to the next tutorial in the path. ...

August 12, 2026 · 1 min · 114 words · Nairda

A two-servo arm

Move two servos at once from the dashboard with two sliders. This tutorial is part of the Nairda learning path. You can build it step by step inside the app, which checks every block you place before letting you move on. The steps We create a servo called shoulder on pin 9. We create another servo called elbow on pin 10. We create a number variable called a. We create another number variable called b. We add a While loop, which repeats forever. Inside the loop we drop the first servo, the shoulder. We give the shoulder the variable a, which will be its position. Behind the shoulder we drop the second servo, the elbow. We give the elbow the variable b, so we can move it separately. On the dashboard we put a slider and give it the variable a. And another slider with the variable b, for the other servo. When you finish, the app takes you straight to the next tutorial in the path. ...

August 12, 2026 · 1 min · 171 words · Nairda

Servo with a slider

Move a servo from the dashboard by dragging a slider. This tutorial is part of the Nairda learning path. You can build it step by step inside the app, which checks every block you place before letting you move on. The steps We add a While loop, which repeats forever. We create a number variable called position. We declare a servo on pin 9. Inside the loop we put a delay of 100 milliseconds. Behind it we put the servo and give it the variable position. On the dashboard we put a slider and give it the variable position. When you finish, the app takes you straight to the next tutorial in the path. ...

August 12, 2026 · 1 min · 118 words · Nairda

A car that dodges

Stop the car’s motor when the ultrasonic sensor finds an obstacle nearby. This tutorial is part of the Nairda learning path. You can build it step by step inside the app, which checks every block you place before letting you move on. The steps We create a motor called wheel on pins 2, 3 and 5. We create an ultrasonic called sensor, trigger on 10 and echo on 11. We create a number variable called distance. We add a While loop, which repeats forever. Inside the loop we set distance to what the sensor measures. Behind it we set the motor to speed 100, so it moves forward. Behind that we add an If with a comparison. The If asks whether the distance is less than 20. If something is close, inside the If we stop the motor. When you finish, the app takes you straight to the next tutorial in the path. ...

August 12, 2026 · 1 min · 157 words · Nairda