Differences

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

Link to this comparison view

pm:prj2022:agmocanu:guitar_tuner [2022/05/29 13:21]
alberta.milicu [Rezultate Obţinute]
pm:prj2022:agmocanu:guitar_tuner [2022/05/29 13:54] (current)
alberta.milicu [Jurnal]
Line 94: Line 94:
 <note tip> <note tip>
  
 +The way the code works:
  
 </​note>​ </​note>​
  
  
 +The code consists of two main parts, an autocorrelation algorithm that will be useful for detecting periodic signals, and a peak detector for detecting the peaks from the output of the autocorrelation function. ​
 +
 +Distance between peaks = period of incoming signal.
 +
 +The code calculates the frequency as:
 + 
 +freq_per = sample_freq/​period;​
  
-===== Rezultate Obţinute ===== 
  
 <note tip> <note tip>
  
-The final result: a functional Arduino guitar tuner:+Here are e few relevant snippets of my code (which can be found in full in the DOWNLOAD section below):
  
 </​note>​ </​note>​
  
-{{:pm:​prj2022:​agmocanu:​final_agm.jpg?​300|}}+**The setup:**
  
-===== Concluzii =====+{{:​pm:​prj2022:​agmocanu:​setup_agm.png|}}
  
-===== Download =====+**Autocorrelation:​** 
 + 
 +{{:​pm:​prj2022:​agmocanu:​autocorrelation_agm.png|}} 
 + 
 +**Peak detection:​** 
 + 
 +{{:​pm:​prj2022:​agmocanu:​peak_det_agm.png|}} 
 + 
 + 
 +**Tuning sample for E low:** 
 + 
 +{{:​pm:​prj2022:​agmocanu:​tune_sample_agm.png|}}
  
 <note tip> <note tip>
  
-In progress.+Disclaimer
  
 </​note>​ </​note>​
  
 +Part of the code is based on a similar project in this website: ​
 +http://​www.akellyirl.com/​arduino-guitar-tuner/​ (link is found in Bibliography)
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +===== Rezultate Obţinute =====
 +
 +<note tip>
 +
 +The final result: a functional Arduino guitar tuner:
 +
 +</​note>​
 +{{:​pm:​prj2022:​agmocanu:​final_agm2.jpg?​750|}}
 +
 +===== Concluzii =====
 +
 +This has been a pleasant and challenging experience that has taught me a lot about what can be done with creativity and a couple of wires (and the internet :D).
 +
 +This has been a great opportunity for me to work with 2 things I like a lot (music and coding) and it has definitely inspired me to try out other projects like this is the future.
 +===== Download =====
 +
 +{{:​pm:​prj2022:​agmocanu:​alberta-milicu_1221b_arduino-guitar_tuner.zip|}}
 ===== Jurnal ===== ===== Jurnal =====
  
Line 124: Line 171:
 The set-up of the amp: The set-up of the amp:
  
-{{:​pm:​prj2022:​agmocanu:​microphone_agm.jpg?​300|}}+{{:​pm:​prj2022:​agmocanu:​microphone_agm.jpg?​750|}}
  
 Setting up the LEDs (part 1): Setting up the LEDs (part 1):
  
-{{:​pm:​prj2022:​agmocanu:​led1_agm.jpg?​300|}}+{{:​pm:​prj2022:​agmocanu:​led1_agm.jpg?​750|}}
  
 Setting up the LEDs (part 2): Setting up the LEDs (part 2):
  
-{{:​pm:​prj2022:​agmocanu:​led2_agm.jpg?​300|}}+{{:​pm:​prj2022:​agmocanu:​led2_agm.jpg?​750|}}
  
 Connecting to Arduino: Connecting to Arduino:
  
-{{:​pm:​prj2022:​agmocanu:​arduino_agm.jpg?​300|}}+{{:​pm:​prj2022:​agmocanu:​arduino_agm.jpg?​750|}}
  
 ===== Bibliografie/​Resurse ===== ===== Bibliografie/​Resurse =====
Line 142: Line 189:
 <note tip> <note tip>
  
-In progress.+Bibliography:​
  
 </​note>​ </​note>​
 +
 +http://​www.akellyirl.com/​arduino-guitar-tuner/​
 +
 +https://​circuitdigest.com/​microcontroller-projects/​arduino-uno-guitar-tuner
 +
 +https://​en.wikipedia.org/​wiki/​Guitar_tunings
 +
 +https://​arduinoguitartuner.wordpress.com/​
  
 <​html><​a class="​media mediafile mf_pdf"​ href="?​do=export_pdf">​Export to PDF</​a></​html>​ <​html><​a class="​media mediafile mf_pdf"​ href="?​do=export_pdf">​Export to PDF</​a></​html>​
  
  
pm/prj2022/agmocanu/guitar_tuner.1653819717.txt.gz · Last modified: 2022/05/29 13:21 by alberta.milicu
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