A motor that spins

Turn a motor at a constant speed and stop it with 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 motor called wheel on pins 2, 3 and 5. We add a While loop, which repeats forever. Inside the loop we set the motor to speed 100. Behind it a delay of 2000, so it spins for two seconds. Another motor block, now with speed 0, which stops it. And another delay of 2000, so the motor rests. When you finish, the app takes you straight to the next tutorial in the path. ...

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

Servo with a potentiometer

Turn a potentiometer to move a servo, mapping the reading from 0 to 180 degrees. 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 servo on pin 9. 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 a Map block. What we map is the pot reading. The pot comes in from 0 to 100 and goes out from 0 to 180 degrees. Behind it we put the servo 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 · 152 words · Nairda

A neopixel in one color

Light up a neopixel by mixing red, green and blue with the Neopixel 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 neopixel called light, with 1 led, on pin 6. We add a While loop, which repeats forever. Inside the loop we drop the neopixel block. We turn its red up to 255. And the blue to 255 as well, so the light comes out purple. When you finish, the app takes you straight to the next tutorial in the path. ...

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

Buzzer with a slider

Change the pitch of a buzzer 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 declare a frequency called buzzer on pin 9. We create a number variable called frequency. Inside the loop we put the buzzer and give it the variable frequency. On the dashboard we put a slider and give it the variable frequency. When you finish, the app takes you straight to the next tutorial in the path. ...

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

Line follower

Read a digital sensor and stop the motor when the car leaves the line. 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 digital input called eye on pin 4. We create a motor called wheel on pins 2, 3 and 5. We create a number variable called line. We add a While loop, which repeats forever. Inside the loop we set line to what the sensor sees. Behind it we set the motor to speed 100. Behind that an If with a comparison. The If asks whether line is 1, meaning the car went off. If it went off, 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 · 152 words · Nairda

Buzzer with a potentiometer

Turn a potentiometer to change the pitch, mapping the reading up to 1500 hertz. 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 frequency called buzzer on pin 9. We declare a potentiometer called pot on analog pin 0. We create a number variable called reading. Inside the loop we set reading to what the pot measures. Behind it we put the buzzer with a Map block in its hertz. We map the variable reading from 0 to 100 into 0 to 1500 hertz. When you finish, the app takes you straight to the next tutorial in the path. ...

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

Chart a button

Read a push button on a digital pin and draw its value on the dashboard chart. 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 reading. We declare a digital input called button on pin 2. Inside the loop we set reading to what the button gives us. On the dashboard we draw a chart 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 · 117 words · Nairda

Remote controlled car

Drive a two-motor car from a dashboard joystick, with one function per direction. 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 motor1 on pins 2, 3 and 4. We declare motor2 on pins 5, 6 and 7. We create the functions forward and back. And the functions right, left and stop. In the forward canvas motor1 goes at speed 50. And motor2 goes at 50 too, so the car moves forward. In the back canvas motor1 goes at speed -50. And motor2 at -50 as well, so the car reverses. In the right canvas motor1 goes at speed 50. And motor2 goes at -50, the opposite way, so the car turns. In the left canvas motor1 goes at speed -50. And motor2 at 50, the opposite way, so it turns the other side. And in the stop canvas both go at speed 0. On the dashboard we draw a joystick. Pressing up calls forward. Pressing down calls back. Pressing right calls right. Pressing left calls left. Releasing up calls stop, so the car does not run away. Releasing down calls stop too. Releasing right calls stop. And releasing left calls stop as well. When you finish, the app takes you straight to the next tutorial in the path. ...

August 12, 2026 · 2 min · 246 words · Nairda

Chart a potentiometer

Read a potentiometer on an analog pin and draw its value on the dashboard chart. 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 reading. We declare a potentiometer called pot on analog pin 0. Inside the loop we set reading to what the pot measures. On the dashboard we draw a chart 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 · 115 words · Nairda

Motor with a slider

Set the speed of a motor 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 reading. We declare a motor on pins 2, 3 and 4. Inside the loop we put the motor and give it the variable reading. On the dashboard we draw a slider. And we give the slider the variable reading. When you finish, the app takes you straight to the next tutorial in the path. ...

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