Differences

This shows you the differences between two versions of the page.

Link to this comparison view

pm:prj2026:bianca.popa1106:radu_cristin.bigan [2026/05/08 04:41]
radu_cristin.bigan
pm:prj2026:bianca.popa1106:radu_cristin.bigan [2026/05/09 23:24] (current)
radu_cristin.bigan [Hardware Design]
Line 1: Line 1:
 ====== PianoHand ====== ====== PianoHand ======
 +
 +  * **Author: Bigan Radu-Cristin**
 +  * **Group: 335CA**
  
 ===== Introduction ===== ===== Introduction =====
Line 5: Line 8:
 This project consists of building a robotic hand with 5 fingers, each actuated by a servo motor, placed over 5 piano keys (DO, RE, MI, FA, SOL). The system can detect musical notes from different sources and reproduce them physically on the keys. This project consists of building a robotic hand with 5 fingers, each actuated by a servo motor, placed over 5 piano keys (DO, RE, MI, FA, SOL). The system can detect musical notes from different sources and reproduce them physically on the keys.
  
-  * **What it does:** The hand listens to or reads music and plays it back on a real piano by pressing the keys with servo-driven fingers. It supports three operating modes: playing a hardcoded melody from memory, listening to a short melody through a microphone and reproducing it, or reading a .wav file from an SD card and playing the detected notes.+  * **What it does:** The hand listens to or reads music and plays it back on an electronic keyboard ​by pressing the keys with servo-driven fingers. It supports three operating modes: playing a hardcoded melody from memory, listening to a short melody through a microphone and reproducing it, or reading a .wav file from an SD card and playing the detected notes.
   * **Purpose:​** The goal is to explore the integration of audio signal processing (FFT-based note detection) with real-time motor control on an embedded platform, while also covering a wide range of communication protocols studied in the PM course.   * **Purpose:​** The goal is to explore the integration of audio signal processing (FFT-based note detection) with real-time motor control on an embedded platform, while also covering a wide range of communication protocols studied in the PM course.
   * **Starting idea:** The idea came from wanting to build something that bridges digital signal processing and physical actuation — a robot that can actually "​hear"​ music and play it back.   * **Starting idea:** The idea came from wanting to build something that bridges digital signal processing and physical actuation — a robot that can actually "​hear"​ music and play it back.
-  * **Why it is useful:** It demonstrates a practical application of FFT on a microcontroller,​ combining audio analysis with mechanical output. The project is built on an ESP32 instead of the standard ATmega board because the FFT algorithm (2048-point Cooley-Tukey) requires significantly more RAM and processing power than what an 8-bit AVR can offer.+  * **Why it is useful:** It demonstrates a practical application of FFT on a microcontroller,​ combining audio analysis with mechanical output.
  
 ===== General Description ===== ===== General Description =====
Line 26: Line 29:
 | LCD 1602 Display | I2C (SDA, SCL) | ESP32 → Display | Shows current mode, active note | | LCD 1602 Display | I2C (SDA, SCL) | ESP32 → Display | Shows current mode, active note |
 | 5× Servo SG90 | PWM (LEDC channels) | ESP32 → Servos | Actuate fingers on piano keys | | 5× Servo SG90 | PWM (LEDC channels) | ESP32 → Servos | Actuate fingers on piano keys |
-| BTN1 | GPIO (digital input) | Button → ESP32 | Cycle between modes +| BTN1 | GPIO (digital input) | Button → ESP32 | Start/Stop playback ​
-| BTN2 | GPIO (digital input) | Button → ESP32 | Start/Stop playback ​|+| BTN2 | GPIO (digital input) | Button → ESP32 | Cycle between modes |
  
 ===== Hardware Design ===== ===== Hardware Design =====
Line 42: Line 45:
 | 220Ω Resistor | 1 | Current limiting for the LCD backlight | | 220Ω Resistor | 1 | Current limiting for the LCD backlight |
 | Breadboard 830 points | 1 | Solderless assembly | | Breadboard 830 points | 1 | Solderless assembly |
-| Dupont Wires (M-M, F-M) | ~30 | Connections | 
 | External 5V/2A Power Supply | 1 | Servo power | | External 5V/2A Power Supply | 1 | Servo power |
 +
 +**Electrical Diagram:**
 +{{ :​pm:​prj2026:​bianca.popa1106:​schemaelectricapm.jpg?​500 |}}
  
 ===== Software Design ===== ===== Software Design =====
pm/prj2026/bianca.popa1106/radu_cristin.bigan.1778204507.txt.gz · Last modified: 2026/05/08 04:41 by radu_cristin.bigan
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0