NoKey MusicBox

by asbroakash in Circuits > Audio

18 Views, 1 Favorites, 0 Comments

NoKey MusicBox

IMG_20221005_203704.jpg
ChatGPT Image Nov 3, 2025, 09_23_19 PM.png

Why press keys when you can play with light?

This project is all about building a keyless musical instrument that lets you create tunes without ever touching a single key. Using lasers, sensors, and Arduino, this setup turns your hand movements into real music.

The idea is to make a fun, futuristic, and super-easy way to make music — whether you’re a beginner just vibing or a pro looking for something new to experiment with. It’s music tech, but make it cool.

Supplies

Arduino UNO -- 1

PAM8403 Audio Amp -- 1

LDR Module -- 8

3W 4ohm Speaker -- 1

KY-040 Encoder -- 1

5v Laser Diode -- 8

1602 LCD i2c Display -- 1

How It Workz

KEYLESS musical instrument made by ASbro sem 3 project (Happy Birthday song)

The “keys” here are actually 8 laser beams lined up across the instrument.

Each beam is aimed at a photoresistor (LDR). When your hand breaks a beam, that LDR detects the change in light and sends a signal to the Arduino.

The Arduino then triggers a specific note through a speaker + amplifier combo.

The LCD screen shows which note and octave you’re playing, and the rotary encoder lets you scroll between octaves 3 to 7 — just twist and jam.

Circuit

bbf7637c-4738-44b4-bcee-ce8f9ba5d4b4.jpg

Code!