Cov txheej txheem:

Muscle-Music Nrog Arduino: 7 Kauj Ruam
Muscle-Music Nrog Arduino: 7 Kauj Ruam

Video: Muscle-Music Nrog Arduino: 7 Kauj Ruam

Video: Muscle-Music Nrog Arduino: 7 Kauj Ruam
Video: MACKLEMORE & RYAN LEWIS - THRIFT SHOP FEAT. WANZ (OFFICIAL VIDEO) 2024, Kaum ib hlis
Anonim
Muscle-Music Nrog Arduino
Muscle-Music Nrog Arduino

Nyob zoo txhua tus, qhov no yog kuv thawj Kev Qhia, txoj haujlwm no tau tshoov siab tom qab saib Old Spice Muscle Music video kev lag luam, qhov uas peb tuaj yeem saib yuav ua li cas Terry Crews ua yeeb yam sib txawv nrog EMG cov cim.

Peb npaj yuav pib txoj kev taug no nrog thawj qhov haujlwm no, qhov uas peb tsim cov xwm txheej yoj ib puag ncig nrog qhov tsis sib xws uas txawv nyob ntawm qhov dav ntawm EMG teeb liab tau txais. Tom qab ntawd, lub teeb liab no yuav txuas nrog Tus Hais Lus los ua qhov kev ywj pheej ntawd.

Txhawm rau tsim txoj haujlwm no, peb yuav siv los ua qhov tseem ceeb, Arduino UNO thiab MyoWare Muscle Sensor. Yog tias koj tsis tuaj yeem tau txais MyoWare Sensor tsis txhob txhawj xeeb peb xav piav qhia yuav tsim koj li cas, Nws yog me ntsis triky tab sis nws tsim nyog sim, raws li koj yuav kawm ntau !!

Zoo, cia peb pib ua.

Kauj Ruam 1: Tau Txais Qhov Yuav Tsum Tau

Tau Qhov Chaw Yuav Tsum Tau
Tau Qhov Chaw Yuav Tsum Tau

Muaj ob txoj hauv kev los tsim txoj haujlwm no: siv lub MyoWare sensor (Kauj Ruam 2 & 3), thiab tsis muaj nws (Kauj Ruam 4 & 5).

Siv lub MyoWare sensor yooj yim dua vim nws tsis xav tau kev paub txog hluav taws xob ntau dua, nws yuav luag tsuas yog ntsaws thiab ua si. Yog tsis muaj MyoWare xav kom koj muaj qee qhov kev paub txog OpAmps, zoo li kev nthuav dav thiab lim, nrog rau kev kho lub teeb liab. Txoj hauv kev no nyuaj dua, tab sis nws tso cai rau koj nkag siab dab tsi nyob tom qab ntawm MyoWare Circuit.

Txog txoj kev MyoWare, peb xav tau cov khoom siv thiab cov cuab yeej hauv qab no:

  • MyoWare Muscle Sensor (Sparkfun)
  • Arduino UNO (Amazon)
  • Hais lus
  • Cov qhob cij
  • 22 AWG cable
  • 3 x 3M Electrodes (Amazon)
  • Ntsia Hlau
  • 2 x Cov nab kuab
  • Arduino USB cable
  • Hlau Strippers
  • 1 x 1000uF (Amazon)

Yog tsis muaj MyoWare, koj yuav xav tau cov khoom siv yav dhau los (tsis muaj MyoWare) ntxiv rau:

  • Lub Hwj Huam Fais Fab nrog +12 V, -12 V thiab 5 V (koj tuaj yeem ua koj tus kheej nrog Lub Khoos Phis Tawj PS raws li qhia hauv cov lus qhia no)
  • Yog tias koj Cov Khoom Siv Hluav Taws Xob AC cable yog 3 txoj kab txuas koj yuav xav tau peb-txoj kab/ob-kab txuas txuas lossis cov neeg dag dag. (Qee zaum qhov txuas ntxiv tuaj yeem ua rau lub suab tsis xav tau).
  • Multimeter
  • Intrumentation Amplifier AD620
  • OpAmps 2 x LM324 (lossis zoo sib xws)
  • Diodes 3 x 1N4007 (lossis zoo sib xws)
  • Capacitors

    • Tsis-polarized (tuaj yeem yog cov capacitors ceramic, Polyester, thiab lwm yam)

      • 2 x 100 nf
      • 1 x 120 nv
      • 1 x820fj
      • 1 x 1.2 UAB
      • 1 x1fv
      • 1x4,7 ua
      • 1 x8fv
    • Polarized (Electrolytic capacitor)

      2x1mf wb

  • Resistors

    • 1 x 100 AWM
    • 1x3,9k wb
    • 1x5,6k wb
    • 1x1,2k hmo
    • 1x2,7k wb
    • 3x8,2k wb
    • 1x6,8k wb
    • 2x1 kwm
    • 1x68k wb
    • 1 x 20k os
    • 4x10k hmo
    • 6x2 kwm
    • 1 x 10k Ohms Potentiometer

Kauj Ruam 2: (Nrog MyoWare) Npaj Cov Hluav Taws Xob thiab Txuas Lawv

(Nrog MyoWare) Npaj Cov Hluav Taws Xob thiab Txuas Lawv
(Nrog MyoWare) Npaj Cov Hluav Taws Xob thiab Txuas Lawv
(Nrog MyoWare) Npaj Cov Hluav Taws Xob thiab Txuas Lawv
(Nrog MyoWare) Npaj Cov Hluav Taws Xob thiab Txuas Lawv
(Nrog MyoWare) Npaj Cov Hluav Taws Xob thiab Txuas Lawv
(Nrog MyoWare) Npaj Cov Hluav Taws Xob thiab Txuas Lawv

Rau ntu no peb xav tau MyoWare Sensor thiab 3 electrodes.

Yog tias koj tau txais cov hluav taws xob loj li peb tau ua, koj yuav tsum txiav cov npoo kom txo nws txoj kab uas hla, txwv tsis pub, nws yuav thaiv lwm cov hluav taws xob uas yuav ua rau teeb liab cuam tshuam.

Txuas lub MyoWare raws li cim hauv nplooj ntawv 4 ntawm Sensor's Manual.

Kauj Ruam 3: (Nrog MyoWare) Txuas lub Sensor mus rau Arduino Board

(Nrog MyoWare) Txuas lub Sensor mus rau Arduino Board
(Nrog MyoWare) Txuas lub Sensor mus rau Arduino Board
(Nrog MyoWare) Txuas lub Sensor mus rau Arduino Board
(Nrog MyoWare) Txuas lub Sensor mus rau Arduino Board
(Nrog MyoWare) Txuas lub Sensor mus rau Arduino Board
(Nrog MyoWare) Txuas lub Sensor mus rau Arduino Board

Pawg MyoWare muaj 9 Pins: RAW, SHID, GND, +, -, SIG, R, E thiab M. Rau txoj haujlwm no peb tsuas xav tau " +" txuas 5V, " -" rau hauv av thiab "SIG" rau cov teeb liab tso tawm, txuas nrog 3 kab loj (~ 2 ft).

Raws li tau hais los saum no, tus lej "+" xav tau txuas nrog Arduino's 5V tus pin, "-" rau GND thiab rau SIG peb xav tau lub lim dej ntxiv kom tsis txhob hloov pauv tam sim ntawm lub teeb liab lub suab nrov.

Rau tus neeg hais lus peb tsuas yog xav tau txuas Cov Hlau Zoo rau tus pin 13 thiab Tsis Zoo rau GND.

Thiab peb tau npaj rau txoj cai !!!

Kauj Ruam 4: (Tsis Muaj MyoWare) Tsim Lub Teeb Pom Kev Pom Zoo

(Tsis muaj MyoWare) Tsim Lub Teeb Pom Kev Pom Zoo
(Tsis muaj MyoWare) Tsim Lub Teeb Pom Kev Pom Zoo

Lub voj voog no tau koom ua ke los ntawm 8 theem:

  1. Cov cuab yeej Amplifier
  2. Tsawg-dhau lim
  3. High-pass lim
  4. Inverter Amplifier Cov
  5. Tag nrho yoj precision rectifier
  6. Passive Low-pass lim
  7. Sib txawv Amplifier
  8. Biased Parallel Clipper

1. Instrumentation Amplifier

Cov theem no yog siv los ua ntej ua kom nrov dua lub teeb liab nrog 500 nce, thiab tshem tawm 60 Hz teeb liab uas tej zaum yuav muaj nyob hauv kab ke. Qhov no yuav tau txais peb lub teeb liab nrog qhov siab tshaj plaws ntawm 200 mV.

2. Lim-dhau lim

Lub lim dej no tau siv los tshem tawm cov teeb liab siab dua 300 Hz.

3. Lim siab dhau

Lub lim dej no tau siv kom tsis txhob muaj teeb liab qis dua 20 Hz tsim nrog kev txav ntawm cov hluav taws xob thaum hnav nws.

4. Inverter Amplifier

Nrog 68 qhov nce, lub tshuab hluav taws xob no yuav tsim lub teeb liab nrog qhov sib txawv sib txawv ntawm - 8 txog 8 V.

5. Tag nrho yoj precision rectifier

Qhov rectifier no hloov cov teeb liab tsis zoo mus rau hauv lub cim zoo, tso peb nrog tsuas yog lub teeb liab zoo. Qhov no muaj txiaj ntsig vim tias Arduino tsuas lees txais lub teeb liab los ntawm 0 txog 5 V hauv Analog inputs.

6. Passive Low-pass filter

Peb siv 2 x 1000uF Electrolytic Capacitors txhawm rau zam kev hloov pauv sai hauv qhov dav.

7. Sib txawv Amplifier

Tom qab theem 6, peb paub tias peb lub teeb liab muaj 1.5 V offset, qhov no txhais tau tias peb lub teeb liab tsis tuaj yeem qis dua 0 V, tsuas yog 1.5 V, thiab qhov siab tshaj ntawm 8 Volts. 1.5 V. ua 6.5v.

8. Kev Ncaj Ncees Ncaj Ncees Clipper

Thaum kawg, raws li peb tau hais ua ntej Arduino tsuas lees txais cov cim nrog qhov siab tshaj plaws ntawm 5 V. Txhawm rau txhawm rau txo qhov siab tshaj plaws ntawm peb lub teeb liab peb xav tau tshem tawm qhov hluav taws xob siab dua 5 Volts. Tus Clipper no yuav pab peb ua tiav qhov ntawd.

Kauj Ruam 5: (Tsis muaj MyoWare) Txuas Cov Hluav Taws Xob mus rau Circuit thiab Arduino

(Tsis muaj MyoWare) Txuas Cov Hluav Taws Xob mus rau Circuit thiab Arduino
(Tsis muaj MyoWare) Txuas Cov Hluav Taws Xob mus rau Circuit thiab Arduino
(Tsis muaj MyoWare) Txuas Cov Hluav Taws Xob mus rau Circuit thiab Arduino
(Tsis muaj MyoWare) Txuas Cov Hluav Taws Xob mus rau Circuit thiab Arduino
(Tsis muaj MyoWare) Txuas Cov Hluav Taws Xob mus rau Circuit thiab Arduino
(Tsis muaj MyoWare) Txuas Cov Hluav Taws Xob mus rau Circuit thiab Arduino

Cov hluav taws xob tso rau hauv biceps yog Electrodes 1, 2, thiab cov hluav taws xob ze rau lub luj tshib yog lub npe hu ua siv hluav taws xob.

Cov electrode 1 thiab 2 txuas nrog + thiab - cov tswv yim ntawm AD620 nws tsis muaj teeb meem hauv qhov kev txiav txim twg.

Cov siv hluav taws xob siv tau txuas nrog GND.

Cov teeb liab lim tau ncaj qha mus rau A0 tus pin ntawm Arduino.

** Tsis txhob hnov qab ua raws li ARDUINO's GND mus rau CIRCUIT's GND **

Kauj ruam 6: Txoj Cai !

Txoj Cai !!!
Txoj Cai !!!
Txoj Cai !!!
Txoj Cai !!!
Txoj Cai !!!
Txoj Cai !!!

Thaum kawg, cov cai.

1. Thawj qhov yog qhov nrawm ntawm 400 Hz txog 912 Hz, nyob ntawm qhov dav ntawm lub teeb liab tau los ntawm biceps.

2. Qhov thib ob yog qhov thib peb octave ntawm C tus kav nroog nplai, nyob ntawm qhov dav nws yuav xaiv lub suab.

Koj tuaj yeem pom cov kev ywj pheej hauv Wikipedia, tsuas yog tsis quav ntsej cov zauv zauv

Kauj Ruam 7: Qhov Kawg

Cov no yog cov txiaj ntsig tau txais, koj tuaj yeem hloov kho tus lej txhawm rau ua cov ntawv koj xav tau !!!

Cov theem tom ntej ntawm txoj haujlwm no yog txhawm rau koom nrog qee lub tshuab hluav taws xob, thiab lwm yam kev ua haujlwm txhawm rau ua suab paj nruag. Thiab tseem Ua Haujlwm kom tau txais cov cim qhia muaj zog.

Tam sim no ua rau koj cov leeg ua si koj qee MUSIC. Muaj kev lom zem !!:)

Pom zoo: