CyberStrum

by Yakroo in Circuits > Sensors

41 Views, 0 Favorites, 0 Comments

CyberStrum

ChatGPT Image 20 ก.พ. 2569 09_19_32.png
cyberstrum.png
CyberStrum No Instrument. Full Performance. #Hukskylens2#trending

🧠 Introduction

Many people want to learn how to play the guitar.

But in reality…

  1. Guitars are expensive
  2. There is little time to practice
  3. Chords are hard to memorize
  4. Fingers hurt, motivation fades
  5. A guitar gets bought… and then left unused

I was one of those people.

I wanted to learn guitar,

but work and limited free time

made it hard to practice consistently.

In the end, I still couldn’t play.

I also remember watching Air Guitar competitions years ago.

People performed without real guitars,

yet the energy and emotion were real.

Now we are living in the age of AI.

So I asked myself:

“If I can’t play a real guitar yet,
can I practice the feeling of playing first?”

That question became the beginning of CyberStrum.

Supplies

1.Huksky Lens2 x 1

2.Raspberry PICO2 x 1

3.Tof200_TPS x 1

4.USB Cable x 2

Designed

IMG_20260219_131120.png

CyberStrum is a learning framework

that helps beginners practice guitar without owning a guitar.

The core ideas are simple:

  1. Train the left hand to recognize chords
  2. Train the right hand to feel strumming rhythm
  3. Practice performance and coordination before sound
  4. Reduce cost, frustration, and barriers to entry

CyberStrum does not replace a real guitar.

It prepares you for one.

System Overview

CyberStrum uses two main components:

1️⃣ HuskyLens – Chord Recognition (Left Hand)

  1. Uses HuskyLens AI Camera
  2. Trained to recognize hand gestures as guitar chords
  3. Detects which chord shape the left hand is forming
  4. Acts like a visual coach saying: “Yes, that’s the chord.”

👉 Perfect for beginners who still struggle with chord shapes.

2️⃣ Raspberry Pi Pico – Strumming Detection (Right Hand)

  1. Uses Raspberry Pi Pico
  2. Detects hand movement for up/down strumming
  3. Converts gestures into rhythm signals
  4. Sends timing information for sound or visual feedback

👉 Helps build rhythm and muscle memory.

How CyberStrum Works

IMG_20260216_170133.jpg
IMG_20260216_170130.jpg

🎶 How CyberStrum Works

  1. The left hand forms a chord gesture
  2. HuskyLens recognizes the chord
  3. The right hand performs a strumming motion
  4. Pico detects the strum direction and timing
  5. The system combines chord + rhythm
  6. Feedback is shown as sound, visuals, or indicators

There are no strings,

but the body begins to understand how playing feels.

🎯 Why CyberStrum Is Great for Beginners

  1. No need to buy a guitar first
  2. No finger pain
  3. No pressure
  4. Can practice in short sessions
  5. Learning feels playful and engaging

Most importantly:

You don’t need to be good to start.


HuskyLens 2 – AI Vision for Chord Recognition

assss.png
HuskyLens 2 – Getting Started | AI Camera for Makers #trending #ai
HuskyLens 2 – Getting Started | AI Camera for Makers 2 #trending #ai

HuskyLens 2 is an AI vision sensor that can recognize images, objects, and gestures without complex programming.

In CyberStrum, HuskyLens 2 is used to:

  1. Recognize left-hand chord shapes
  2. Identify finger positions as different guitar chords
  3. Provide instant feedback on whether a chord gesture is correct
  4. Act as a “visual guitar teacher” for beginners

Why HuskyLens 2?

  1. No need for heavy AI models or cloud processing
  2. Easy to train using buttons (no PC required)
  3. Works offline and in real time
  4. Perfect for beginners and rapid prototyping

👉 This helps users who cannot memorize or form guitar chords yet

to visually understand and practice chord shapes first.


If you’re interested in building CyberStrum or experimenting with AI-based hand gesture recognition, the HuskyLens 2 AI camera used in this project is available from the official DFRobot store at:

https://www.dfrobot.com/product-2995.html

TOF200_TPS – Time-of-Flight Distance Sensor (Strumming Detection)

tpsss.png

The TOF200_TPS is a Time-of-Flight (ToF) distance sensor.

It measures how far an object is from the sensor in real time.

In CyberStrum, it is used to:

  1. Detect hand distance and movement speed
  2. Identify strumming direction (hand moving closer or farther)
  3. Measure motion without physical contact
  4. Enable smooth and responsive gesture tracking

Why a ToF Sensor?

  1. Works without touching anything
  2. Accurate and fast response
  3. Less sensitive to lighting than cameras
  4. Ideal for gesture-based interaction

👉 This allows CyberStrum to detect natural air-strumming motions,

similar to how people perform Air Guitar.

Setting Up the Hardware

IMG_20260220_082830.jpg

In this step, we assemble the core hardware components of CyberStrum.

The goal is to mount, align, and connect each module so the system can correctly detect chords and strumming gestures.

🧩 Components Shown in the Image

From the image, the CyberStrum hardware consists of:

  1. HuskyLens 2 AI Camera
  2. Raspberry Pi Pico (with ToF200_TPS sensor mounted on a perfboard)
  3. 3D-printed mounting brackets (black parts)
  4. 3D-printed enclosure (green case)

Each part has a specific role in the system.

Mounting the HuskyLens 2 (Chord Detection)

  1. Place the HuskyLens 2 in a stable, front-facing position.
  2. The camera should face the left hand area where chord gestures will be performed.
  3. Use the 3D-printed black mounting brackets to:
  4. Fix the HuskyLens at a stable angle
  5. Prevent movement during hand gestures
  6. Make sure the camera lens is:
  7. Clearly visible
  8. Not blocked by the enclosure
  9. Positioned at a comfortable distance (about 20–40 cm from the hand)

👉 Proper alignment is important for reliable chord recognition.

Software

gui1.png
Screenshot 2026-02-20 092745.png
Screenshot 2026-02-20 093027.png

CyberStrum is an AI-powered air guitar system that allows users to practice guitar chords and strumming without a real guitar.

The system combines:

  1. AI hand gesture recognition (for chord detection)
  2. Motion sensing (for strumming detection)
  3. Machine learning (to improve accuracy over time)
  4. A real-time desktop dashboard for interaction and feedback

CyberStrum is designed for beginners who:

  1. Want to learn guitar but cannot afford one
  2. Have limited practice time
  3. Struggle with chord shapes
  4. Want to build muscle memory before using a real instrument

🧩 System Architecture

CyberStrum consists of three main subsystems:

  1. Chord Detection (Vision + AI)
  2. Strumming Detection (Gesture Sensor + Microcontroller)
  3. Desktop AI Dashboard (Python Application)

🎥 Chord Detection with HuskyLens

  1. HuskyLens detects hand landmarks (wrist and finger tips)
  2. Hand position data is published via MQTT
  3. The Python application subscribes to the MQTT topic
  4. Finger coordinates are parsed and normalized
  5. 18 geometric features are extracted from the hand

These features describe:

  1. Finger distances
  2. Finger spread
  3. Palm size ratio
  4. Hand curl characteristics

🤖 AI-Based Chord Recognition

CyberStrum uses a machine learning ensemble model to recognize guitar chords:

  1. Random Forest
  2. K-Nearest Neighbors (KNN)
  3. Support Vector Machine (SVM)

The models are combined using soft voting for higher accuracy.

Key AI features:

  1. Automatic feature scaling
  2. Confidence scoring
  3. Stability filtering across multiple frames
  4. Noise augmentation during training

The system only confirms a chord when:

  1. Confidence exceeds a threshold
  2. Detection is stable across multiple frames

🎓 Learning Mode (User-Trainable AI)

CyberStrum supports custom chord learning:

  1. User enters a chord name in the dashboard
  2. The system records multiple hand frames
  3. Features are averaged and stored
  4. The AI model is retrained automatically
  5. Learned chords are saved to disk

This allows:

  1. Personalized hand shapes
  2. Custom chords
  3. Continuous improvement over time


Project Goals

  1. Help beginners start their guitar journey
  2. Lower cost and time barriers
  3. Make practice fun and accessible
  4. Inspire confidence to keep learning

One day, when you finally grab a real guitar,

CyberStrum has already prepared you.