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)

#BlockWhat it doesDropdown optionsWhat the options mean
1buzzer setup midi PIN# 2Prepares the buzzer to play musicConnect your buzzer to the selected pin
2midi Tone PIN# frequency NOTE_A4Plays a musical noteMusical notes: NOTE_C4 to NOTE_F5Choose the pitch — NOTE_A4 is 440 Hz
3midi Tone PIN# frequency NOTE_A4 duration 1000Plays a note for a set timeDuration is in milliseconds — 1000 = 1 second
4midi noTone PIN#Stops the soundSilences the buzzer
5midi playlist DADADADUMPlays a preset melodyDADADADUM, ENTERTAINER, ODE, NYAN, BIRTHDAY, etc.Choose a fun tune — great for alerts or celebrations
6midi set tempo to bpm ticks 4 Speed 120Sets the music speedControls how fast the playlist plays
7midi get current tempoReads the current tempoUseful for syncing music with movement
8midi reset musicStops and resets the musicClears the playlist and tempo settings

🔁 Servo Motors (180° and 360°)

#BlockWhat it doesDropdown optionsWhat the options mean
9180°Servo PIN# 2 by ANGLE 100Rotates a servo to a specific angleAngle range: 0° to 180° — great for arms or levers
10180°Servo PIN# 2 get by ANGLEReads the current angleUseful for feedback or syncing movements
11360°Servo PIN# 2 by Speed 100%Spins a continuous servo motorSpeed range: 0% to 100% — great for wheels or fans
12360°Servo PIN# 2 getSpeedReads the current speedUseful 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!
On this page