Nyob rau hauv qhov project no, peb yuav qhia yuav ua li cas los tsim ib tugkev vibration motorCircuit Court.
Adc 3.0v vibrator lub cev muaj zogyog lub cev muaj zog uas vibrates thaum muab lub zog txaus.Nws yog lub cev muaj zog uas txhais tau tias shakes.Nws zoo heev rau cov khoom vibrating.Nws tuaj yeem siv rau hauv ntau yam khoom siv rau cov hom phiaj siv tau heev.Piv txwv li, ib qho ntawm cov khoom siv tshaj plaws uas vibrate yog cov xov tooj ntawm tes uas vibrate thaum hu thaum muab tso rau hauv hom kev co.Lub xov tooj ntawm tes yog ib qho piv txwv ntawm cov khoom siv hluav taws xob uas muaj lub cev muaj zog.Lwm qhov piv txwv tuaj yeem yog pob rumble ntawm tus tswj kev ua si uas shakes, ua raws li kev ua si ntawm kev ua si.Ib tus maub los qhov twg lub pob rumble tuaj yeem raug ntxiv raws li cov khoom siv yog nintendo 64, uas tuaj nrog cov rumble packs kom tus maub los yuav vibrate los xyaum ua si.Ib qho piv txwv thib peb tuaj yeem yog cov khoom ua si xws li furby uas vibrates thaum koj tus neeg siv ua haujlwm xws li rub nws lossis nyem nws, thiab lwm yam.
Yog lidc mini hlau nplaum vibratinglub cev muaj zog circuits muaj kev siv tau zoo heev thiab siv tau uas tuaj yeem pab ntau yam kev siv.
Ua kom lub cev muaj zog vibration yog yooj yim heev.Txhua yam peb yuav tsum tau ua yog ntxiv qhov xav tau voltage rau 2 lub terminals.Lub tshuab vibration muaj 2 lub davhlau ya nyob twg, feem ntau yog cov xaim liab thiab xiav xaim.Lub polarity tsis muaj teeb meem rau cov motors.
Rau peb lub cev muaj zog, peb yuav siv lub tshuab vibration los ntawm Precision Microdrives.Lub cev muaj zog muaj kev khiav hauj lwm voltage ntawm 2.5-3.8V yuav tsum tau powered.
Yog li yog tias peb txuas 3 volts hla nws lub davhlau ya nyob twg, nws yuav vibrate zoo heev, xws li qhia hauv qab no:
Qhov no yog txhua yam uas yuav tsum tau ua kom lub cev muaj zog vibration.Lub 3 volts tuaj yeem muab los ntawm 2 AA roj teeb hauv series.
Txawm li cas los xij, peb xav coj qhov kev vibration lub cev muaj zog mus rau qib siab dua thiab cia nws tswj hwm los ntawm microcontroller xws li arduino.
Txoj kev no, peb tuaj yeem muaj kev tswj hwm ntau dua ntawm kev vibration lub cev muaj zog thiab tuaj yeem ua rau nws vibrate ntawm lub sijhawm yog tias peb xav tau lossis tsuas yog qee qhov xwm txheej tshwm sim.
Peb yuav qhia txog yuav ua li cas koom ua ke lub cev muaj zog nrog arduino los tsim hom kev tswj hwm no.
Tshwj xeeb, nyob rau hauv qhov project no, peb yuav tsim lub Circuit Court thiab program nws thiaj li hais tias tusnpib vibrating lub cev muaj zog12mm vibrates txhua feeb.
Lub vibration motor circuit peb yuav tsim yog qhia hauv qab no:
Daim duab schematic rau lub voj voog no yog:
Thaum tsav tsheb lub cev muaj zog nrog lub microcontroller xws li arduino peb muaj ntawm no, nws yog ib qho tseem ceeb uas yuav tau txuas lub diode rov qab biased nyob rau hauv parallel rau lub cev muaj zog.Qhov no kuj muaj tseeb thaum tsav tsheb nrog lub cev muaj zog los yog transistor.Lub diode ua raws li kev tiv thaiv hluav taws xob tiv thaiv hluav taws xob uas lub cev muaj zog tuaj yeem tsim.Lub windings ntawm lub cev muaj npe tsis zoo tsim hluav taws xob spikes thaum nws tig.Yog tsis muaj lub diode, cov hluav taws xob no tuaj yeem yooj yim rhuav tshem koj lub microcontroller, lossis lub cev muaj zog IC lossis zap tawm lub transistor.Thaum tsuas yog powering lub vibration motor ncaj qha nrog DC voltage, ces tsis muaj diode yog tsim nyog, uas yog vim li cas nyob rau hauv lub yooj yim Circuit Court peb muaj saum toj no, peb tsuas yog siv ib tug voltage qhov chaw.
Lub 0.1µF capacitor absorbs voltage spikes uas tsim thaum cov txhuam hniav, uas yog kev sib cuag txuas hluav taws xob tam sim no rau lub cev muaj zog windings, qhib thiab kaw.
Yog vim li cas peb siv lub transistor (a 2N2222) yog vim tias feem ntau cov microcontrollers muaj qhov tsis muaj zog tam sim no, txhais tau tias lawv tsis tso tawm tam sim no txaus los tsav ntau yam khoom siv hluav taws xob sib txawv.Txhawm rau tsim kom muaj qhov tsis muaj zog tam sim no, peb siv lub transistor los muab kev nthuav dav tam sim no.Qhov no yog lub hom phiaj ntawm 2N2222 transistor peb siv ntawm no.Lub vibration motor xav tau txog 75mA ntawm tam sim no yuav tsum tau tsav.Lub transistor tso cai rau qhov no thiab peb tuaj yeem tsav lub3v npib hom lub cev muaj zog 1027.Txhawm rau kom paub tseeb tias tam sim no ntau dhau tsis ntws los ntawm qhov tso tawm ntawm lub transistor, peb tso 1KΩ hauv series nrog lub hauv paus ntawm lub transistor.Qhov no attenuates tam sim no rau ib tug tsim nyog tus nqi thiaj li hais tias ntau dhau tam sim no tsis powering lub8mm mini vibrating lub cev muaj zog.Nco ntsoov tias transistors feem ntau muab txog 100 npaug ntawm qhov kev nthuav dav rau lub hauv paus tam sim no uas nkag mus.Yog tias peb tsis tso lub resistor ntawm lub hauv paus lossis ntawm qhov tso zis, qhov tam sim no ntau dhau tuaj yeem ua rau lub cev muaj zog.Tus nqi 1KΩ resistor tsis meej.Txhua tus nqi tuaj yeem siv txog li 5KΩ lossis li ntawd.
Peb txuas cov zis uas lub transistor yuav tsav mus rau lub collector ntawm lub transistor.Qhov no yog lub cev muaj zog raws li tag nrho cov khoom uas nws xav tau nyob rau hauv parallel nrog nws rau kev tiv thaiv ntawm hluav taws xob circuitry.
Post lub sij hawm: Oct-12-2018