Cov txheej txheem:

Mini Acoustic Levitation: 5 Kauj Ruam (nrog Duab)
Mini Acoustic Levitation: 5 Kauj Ruam (nrog Duab)

Video: Mini Acoustic Levitation: 5 Kauj Ruam (nrog Duab)

Video: Mini Acoustic Levitation: 5 Kauj Ruam (nrog Duab)
Video: Night 2024, Hlis ntuj nqeg
Anonim
Mini Acoustic Levitation
Mini Acoustic Levitation

Saib qhov haujlwm no ntawm kuv lub vev xaib kom pom kev sim hluav taws xob thiab cov vis dis aus!

Acoustic levitation yog ua tau los ntawm qhov tseeb tias lub suab coj zoo li nthwv dej. Thaum ob lub suab tsis sib cuam tshuam ib leeg, lawv tuaj yeem tsim kho lossis cuam tshuam nrog ib leeg. (Nov yog yuav ua li cas lub suab nrov-tshem tawm lub mloog pob ntseg ua haujlwm)

Txoj haujlwm no siv lub ntsuas hluav taws xob nrug deb deb los tsim cov txiaj ntsig nce. Qhov no ua haujlwm los ntawm kev tsim "hnab tshos" qhov twg ob lub suab tsis zoo cuam tshuam nrog ib leeg. Thaum ib yam khoom raug muab tso rau hauv hnab tshos nws yuav nyob ntawd, zoo li hovering hauv qhov chaw.

Cov ntaub ntawv xav tau:

  • Arduino board:
  • H-choj:
  • Qhov deb sensor:
  • Creadboard:
  • Jumper xov hlau:
  • Diode:
  • Capacitors (Tej zaum):

Thawj qhov haujlwm los ntawm Make Magazine los ntawm Ulrich Schmerold.

Kauj Ruam 1: Tau Txais Ultrasonic Transmitters

Tau txais Ultrasonic Transmitters
Tau txais Ultrasonic Transmitters
Tau txais Ultrasonic Transmitters
Tau txais Ultrasonic Transmitters
Tau txais Ultrasonic Transmitters
Tau txais Ultrasonic Transmitters

Koj yuav tsum tau fij qhov ntsuas qhov nrug deb rau cov kauj ruam no (tsis txhob txhawj, lawv pheej yig):

  • Desolder thiab tshem tawm ob lub transmitters ntawm lub rooj tsavxwm
  • Tshem tawm thiab txuag lub mesh screen los ntawm ib qho
  • Cov kab hluav taws xob txuas rau ob qho kev xa tawm

Kauj ruam 2: Tsim Circuit Court

Tsim Circuit Court
Tsim Circuit Court

Tsim cov Circuit Court saum toj no thiab sau tseg hauv qab no:

  • Koj yuav tsis tas yuav tsum muaj ob lub 100nF capacitors. (tsuas yog tias koj lub rooj tsavxwm yog rau qee qhov laj thawj tsis tuaj yeem ua haujlwm hauv Circuit Court thiab nws tseem kaw nws tus kheej)
  • Lub roj teeb 9v yog lub hauv paus rau txhua lub zog DC - kuv ua haujlwm tau zoo nrog 7.5v LiPo roj teeb

Kauj ruam 3: Code

Upload cov cai no rau koj Arduino:

// thawj qhov chaws los ntawm:

byte TP = 0b10101010; // Txhua lwm qhov chaw nres nkoj tau txais lub teeb liab inverted void teeb () {DDRC = 0b11111111; // Teeb tsa txhua qhov chaw nres nkoj sib piv kom tau txais txiaj ntsig // Pib Pib Timer1 tsis muaj cuam tshuam (); // Lov tes taw cuam tshuam TCCR1A = 0; TXC1B = 0; TCNT1 = 0; OCR1A = 200; // Teem sib piv sau npe (16MHz / 200 = 80kHz square wave -> 40kHz full wave) TCCR1B | = (1 << WGM12); // CTC hom TCCR1B | = (1 <no prescaling TIMSK1 | = (1 << OCIE1A); // Pab kom sib piv timer cuam tshuam cuam tshuam (); // Pab cuam cuam tshuam} ISR (TIMER1_COMPA_vect) {PORTC = TP; // Xa tus nqi ntawm TP rau cov txiaj ntsig TP = ~ TP; // Hloov TP rau tom ntej khiav} tsis muaj dab tsi voj () {// Tsis muaj dab tsi ntxiv los ua ntawm no:)}

Kauj Ruam 4: Mount Transmitters thiab Calibrate

Mount Transmitters thiab Calibrate
Mount Transmitters thiab Calibrate
Mount Transmitters thiab Calibrate
Mount Transmitters thiab Calibrate
Mount Transmitters thiab Calibrate
Mount Transmitters thiab Calibrate

Koj tuaj yeem siv txhua yam los ua qhov no, tab sis kuv tau xaus siv txheej pab tes (yuav qee qhov ntawm no:

  • Pib los ntawm kev muab cov xa xov xa mus txog 3/4 "sib nrug
  • Tau txais ib qho me me ntawm Styrofoam txog ib nrab ntawm cov taum (nws tsis tas yuav tsum tau puag ncig)
  • Muab Styrofoam tso rau ntawm lub vijtsam ntxaij los ntawm kauj ruam 1
  • Siv tus tweezers lossis pliers, tso nws nyob nruab nrab ntawm ob lub tshuab xa khoom (nws yuav tsum pib qoj thaum koj mus ze)
  • Tsiv cov xa xov mus ib puag ncig (ze dua thiab nyob deb dua) kom txog thaum Styrofoam nyob twj ywm

Kauj ruam 5: Troubleshooting

Nws coj kuv li kaum tsib feeb kom nws ua haujlwm thawj zaug, tab sis tom qab ntawd nws yooj yim zoo nkauj kom rov ua dua. Nov yog qee yam uas koj tuaj yeem sim yog tias nws tsis ua haujlwm thaum xub thawj:

  • Nco ntsoov tias koj tau txuas txhua yam kom raug
  • Ua kom qhov hluav taws xob nce mus rau H-choj (roj teeb sib txawv)
  • Tau txais ib qho me me ntawm Styrofoam
  • Sim ua haujlwm sib txawv rau cov xa xov
  • Sim ntxiv cov capacitors (yog tias koj tsis tau ua dua)
  • Yog tias nws tseem tsis ua haujlwm, tej zaum qee yam tau tawg: sim ua cov khoom sib txawv lossis cov roj teeb tshiab.

Pom zoo: