Blocks Area
External Actuator
🎵 External Actuator – Your “Robotic Hands”
What it is: Blocks for controlling external actuators.
What it does: Controls motors, servos, and moving elements.
Example: Move a servo, sound a buzzer, turn on a motor.
👉 They are the robot’s muscles and voice.

🧩 Fun Guide to External Actuators Blocks (Clu-blocks Pro)
🤖 Important! Actuator blocks let your robot do things — like spin motors, play sounds, or wave an arm. It’s how your robot expresses itself and interacts with the real world!
🎵 Sound & Music (MIDI + Buzzer)
| # | Block | What it does | Dropdown options | What the options mean |
|---|---|---|---|---|
| 1 | buzzer setup midi PIN# 2 | Prepares the buzzer to play music | — | Connect your buzzer to the selected pin |
| 2 | midi Tone PIN# frequency NOTE_A4 | Plays a musical note | Musical notes: NOTE_C4 to NOTE_F5 | Choose the pitch — NOTE_A4 is 440 Hz |
| 3 | midi Tone PIN# frequency NOTE_A4 duration 1000 | Plays a note for a set time | — | Duration is in milliseconds — 1000 = 1 second |
| 4 | midi noTone PIN# | Stops the sound | — | Silences the buzzer |
| 5 | midi playlist DADADADUM | Plays a preset melody | DADADADUM, ENTERTAINER, ODE, NYAN, BIRTHDAY, etc. | Choose a fun tune — great for alerts or celebrations |
| 6 | midi set tempo to bpm ticks 4 Speed 120 | Sets the music speed | — | Controls how fast the playlist plays |
| 7 | midi get current tempo | Reads the current tempo | — | Useful for syncing music with movement |
| 8 | midi reset music | Stops and resets the music | — | Clears the playlist and tempo settings |
🔁 Servo Motors (180° and 360°)
| # | Block | What it does | Dropdown options | What the options mean |
|---|---|---|---|---|
| 9 | 180°Servo PIN# 2 by ANGLE 100 | Rotates a servo to a specific angle | — | Angle range: 0° to 180° — great for arms or levers |
| 10 | 180°Servo PIN# 2 get by ANGLE | Reads the current angle | — | Useful for feedback or syncing movements |
| 11 | 360°Servo PIN# 2 by Speed 100% | Spins a continuous servo motor | — | Speed range: 0% to 100% — great for wheels or fans |
| 12 | 360°Servo PIN# 2 getSpeed | Reads the current speed | — | Useful for monitoring or adjusting motion dynamically |
🧠 Quick Tips for Students
- Use buzzer + midi to make your robot sing, beep, or play tunes — great for feedback or fun!
- Use 180° servos for precise movements — like waving, pointing, or opening doors.
- Use 360° servos for spinning — perfect for wheels, fans, or propellers.
- Combine music + motion to make expressive robots — like dancing bots or musical mascots!