Cov txheej txheem:

Hamster Log Tachometer: 11 Kauj Ruam (nrog Duab)
Hamster Log Tachometer: 11 Kauj Ruam (nrog Duab)

Video: Hamster Log Tachometer: 11 Kauj Ruam (nrog Duab)

Video: Hamster Log Tachometer: 11 Kauj Ruam (nrog Duab)
Video: Заброшенный особняк политика за 3 500 000 долларов с частным бассейном (США) 2024, Hlis ntuj nqeg
Anonim
Hamster Log Tachometer
Hamster Log Tachometer
Hamster Log Tachometer
Hamster Log Tachometer

Tinkercad Cov Haujlwm »

Kwv yees li peb xyoos dhau los, cov tub xeeb ntxwv tau txais lawv thawj tus tsiaj, tus hamster hu ua Nugget. Xav paub txog Nugget txoj kev tawm dag zog niaj hnub pib ua haujlwm uas tau tawm mus ntev kawg Nugget (RIP). Cov lus qhia no qhia txog kev ua haujlwm qoj ib ce log kho qhov muag tachometer. Hamster Log Tachometer (HWT) qhia txog hamster qhov nrawm tshaj (RPM) thiab tag nrho cov kev tawm tsam. Nugget tib neeg tsev neeg xav tau qee yam yooj yim rau nruab thiab siv, tab sis tsis xav tau lub sijhawm tshuaj ntsuam ntxiv rau cov menyuam. Muab cov nas tsuag 'txoj hauv kev sib cuam tshuam nrog lub ntiaj teb, Kuv xav tias tus kheej lub roj teeb lub zog yuav zoo. HWT yuav khiav li ntawm 10 hnub ntawm kev them nqi. Nws tuaj yeem sau txog 120 RPM nyob ntawm lub log taub.

Kauj Ruam 1: Daim Ntawv Teev Npe

Daim Ntawv Teev Npe
Daim Ntawv Teev Npe

Adafruit #2771 Feather 32u4 Basic Proto (nrog txuas ntxiv- saib Kauj Ruam 4: Sib Sau Ua Khoom Siv Hluav Taws Xob)

Adafruit #3130 0.54 Quad Alphanumeric FeatherWing Display - Liab

Adafruit #2886 Header Kit rau Feather-12-pin thiab 16-pin Female Header Set

Adafruit #805 Breadboard-friendly SPDT Swb Hloov

Adafruit #3898 Lithium Ion Polymer Roj Teeb Zoo Rau Cov Plaub Hau - 3.7V 400mAh

Vishay TSS4038 IR Sensor Module 2.5-5.5v 38kHz

Vishay TSAL4400 Infrared Emitter T-1 pkg

Resistor, 470, 1/4w

Hloov, laub khawm, SPST, ib ntus rau, 0.25 vaj huam sib luag mount (Jameco P/N 26623 lossis sib npaug)

(4) 2.5mm nylon tshuab ntsia hlau nrog txiv ntseej (lossis 4-40 tshuab ntsia hlau - saib Kauj Ruam 6: Sib Sau HWT)

Hamster Log Tachometer enclosure - 3D luam tawm. (Cov ntaub ntawv TinkerCad rau pej xeem)

Hamster Log Tachometer bezel - 3D luam tawm. (Cov ntaub ntawv TinkerCad rau pej xeem)

Hamster Log Tachometer Sensor tsev nyob - luam tawm 3D. (Cov ntaub ntawv TinkerCad rau pej xeem)

Zaub sib piv lim. Muaj peb txoj kev xaiv:

  1. (54mm x 34mm x 3.1mm) 1/8 "Transparent Grey Smoked Polycarbonate (estreetplastics lossis sib npaug).
  2. Tsis muaj qhov sib txawv lim
  3. 3D luam tawm lub lim dej siv cov ntawv PLA txhais lus me me thiab cov ntaub ntawv no rau pej xeem TinkerCad.

Teeb meem tsaus ntuj: qee qhov lo-ntawm qhov tsis yog IR cov khoom siv. Kuv siv lo-on dub xav los ntawm lub khw muag khoom siv tes ua. Creatology Peel thiab Stick Dub polyester muaj kev xav lossis sib npaug. Saib kuj Kauj Ruam 7: Kev ntsuas ntsuas - Sau tseg ntawm Qhov Tsaus.

Nco tseg: Tsis pub dhau qhov laj thawj, koj tuaj yeem hloov qhov chaw. Kuv zoo li txhawb nqa Adafruit vim tias lawv ua tau zoo thiab txhawb nqa ntawm cov neeg tsim khoom. Huag thiab kuv nyiam kub-flashed solder pawm.

Kauj Ruam 2: Txoj Kev Ua Haujlwm

HWT siv lub teeb duab hluav taws xob (IR) txhawm rau suav cov kev tawm tsam ntawm lub log qoj ib ce. Cov log tsheb uas siv yas feem ntau cuam tshuam txog IR lub teeb zoo dua, ib yam nkaus. Txawm tias lub log yas uas txhais tau tias pom nyob hauv lub teeb pom kev zoo tuaj yeem cuam tshuam txog IR txaus los ua rau IR cov cim. Tus neeg siv tsim thaj chaw tsaus rau ntawm lub log siv dub lo -ntawm kev xav (saib Kauj Ruam 7: Calibration - Cov Lus Cim ntawm Qhov Tsaus). Thaum HWT pom qhov hloov pauv mus rau qhov tsaus ntuj, ib qho kev hloov pauv tau siab dua.

HWT siv Vishay IR Sensor Module thiab IR LED emitter. Hauv daim ntawv thov raug, Vishay TSS4038 IR Sensor Module tau siv rau kev kuaj pom - yog qee yam muaj (cuam tshuam IR) lossis qee yam tsis nyob ntawd. Qhov ntawd tsis yog qhov uas HWT ua ntawm no. Lub log qoj ib ce yog ib txwm muaj. Peb tab tom dag lub sensor los ntawm ntxiv qhov chaw tsaus IR kom ua rau lub log "ploj" hauv IR lub teeb. Ib qho ntxiv, HWT siv Vishay TSS4038 IR Sensor Module tus qauv tsim los muab qhov sib txawv ntawm kev khiav haujlwm nrug. Kauj Ruam 3: Tshooj cai thiab cov npe teev npe muaj cov ntaub ntawv ntau ntxiv. Lub hauv paus tseem ceeb tau teev tseg hauv Daim Ntawv Thov Cim Vishay's TSSP4056 Sensor rau Kev Pom Zoo Sib Cais.

Adafruit Feather muaj Atmel MEGA32U4 microcontroller thiab thaj tsam ntawm lub qhov taub.

Cov tub rog nyob hauv thaj chaw tsim qauv yog Vishay TSAL4400 IR LED uas tsim kev tawg ntawm 38 kHz IR cov cim (nyob hauv kev tswj ntawm 32U4 microcontroller).

Kuj tseem tau muag nyob rau thaj tsam tsim qauv yog Vishay TSS4038 IR Sensor Module rau Kev Pom Kev Pom Zoo, Teeb Teeb Teeb, thiab Kev Thov Kom Sib Haum Ceev.

Qhov ntsuas hluav taws xob IR no ua lub teeb liab yog tias tawg ntawm 38kHz IR lub teeb tau txais rau qee lub sijhawm.

32U4 microcontroller tsim 38kHz tawg txhua 32mS. Tus nqi 32mS txiav txim siab qhov kev tawm dag zog ntau tshaj RPM uas tuaj yeem ntsuas tau. 32U4 kuj tseem saib xyuas IR sensor module. Nrog IR qhov xav tau txaus los ntawm lub log hamster, txhua qhov tawg yuav tsum ua rau IR sensor module teb. Thaj chaw tsaus ntawm lub log ua rau tsis muaj IR cov lus teb uas 32U4 sau tseg. Thaum lub log hamster tau txav mus yog li muaj qhov xav tau IR txaus, 32U4 cov cai sau tseg qhov kev hloov pauv thiab qhov siab qhov no yog ib qho kev hloov pauv ntawm lub log (lub teeb mus rau kev hloov pauv tsaus = 1 kev hloov pauv).

Kwv yees li txhua feeb, 32U4 txheeb xyuas yog tias kev tawm tsam hauv feeb kawg tau tshaj qhov suav RPM siab tshaj yav dhau los thiab hloov kho qhov qhab nia 'tus kheej zoo tshaj' yog xav tau. Tus naj npawb ntawm RPM hauv feeb kawg kuj tseem ntxiv rau tag nrho cov naj npawb ntawm cov kiv puag ncig.

Lub laub khawm tau siv los tso saib tus naj npawb ntawm kev tawm tsam (saib Kauj Ruam 9: Tshooj Hom Ib txwm muaj) thiab siv hauv ntsuas HWT (saib Tshooj 7: Tshooj Hom Kev Ntsuas).

Ib qho ON-OFF swb hloov tswj lub zog rau HWT thiab muaj lub luag haujlwm hauv kev ntsuas (saib Kauj Ruam 7: Tshooj Calibration).

Yog tias txoj kab uas hla ntawm lub log tau paub tias tag nrho kev khiav mus los yog xam raws li (Txoj Kab * Tag nrho cov kev tawm tsam lub log * π).

Kauj ruam 3: Code

Kuv xav tias tus neeg siv paub lawv txoj hauv kev ncig Arduino IDE thiab Adafruit Feather 32U4 board. Kuv siv tus txheej txheem Arduino IDE (1.8.13) nrog RocketScream Tsawg Lub Tsev Qiv Ntawv. Kuv tau mob siab los tawm tswv yim txog cov cai thiab tej zaum yog qhov tseeb.

Kuv tsis tau sau cov dab neeg thiab kev sib cuam tshuam ntawm Arduino IDE thiab Adafruit Feather 32U4 system. Piv txwv, 32U4 ua haujlwm USB txuas nrog Arduino loader. Tau txais tus tswv PC khiav Arduino IDE kom pom Feather 32U4 USB kev txuas tuaj yeem muaj teeb meem. Muaj cov kab lus sib tham hauv online nthuav qhia cov teeb meem thiab kho.

Tshwj xeeb rau RocketScream Low Power lub tsev qiv ntawv, Plaub Plaub 32U4 USB kev ua haujlwm tau cuam tshuam. Yog li txhawm rau rub tawm cov cai los ntawm Arduino IDE mus rau 32U4, tus neeg siv yuav tsum tau nyem lub Feather 32U4 pib dua khawm kom txog thaum IDE pom lub USB chaw nres nkoj. Qhov no yooj yim dua ua ua ntej koj sib sau ua HWT.

Kauj Ruam 4: Sib Sau Cov Khoom Siv Hluav Taws Xob

Sib dhos Electronics
Sib dhos Electronics
Sib dhos Electronics
Sib dhos Electronics
Sib dhos Electronics
Sib dhos Electronics
Sib dhos Electronics
Sib dhos Electronics
  1. Sib sau Adafruit #2771

    1. Yog tias xav tau lub zog qis tshaj, txiav kab ntawm R7 thiab Liab LED. Qhov no ua rau Feather LED.
    2. Txhim kho Adafruit #2886 Header Kit ntawm #2771 Feather rau lawv cov lus qhia. Nco tseg muaj ntau txoj kev xaiv rau cov ntawv header. HWT 3D cov ntawv luam tawm tau ntim rau qhov taub hau no.
    3. Txhim kho cov khoom siv kho qhov muag ntawm #2771 Plaub. Xa mus rau cov duab thiab cov duab.

      • Vishay TSS4038 IR Sensor Module
      • Vishay TSAL4400 Infrared Emitter
      • Resistor, 470, 1/4w
      • Hamster Log Tachometer Sensor enclosure - 3D luam tawm. (Cov ntaub ntawv TinkerCad rau pej xeem)
  2. Solder cov zaub laub khawm hloov mus rau Feather 32U4 luam tawm Circuit Board board (PCBA) ib qho txheej txheem.
  3. Sib sau Adafruit #3130 0.54 "Quad Alphanumeric FeatherWing Display rau lawv cov lus qhia.
  4. Sib sau ua ke hloov hluav taws xob / roj teeb sib dhos rau cov duab thiab cov duab. Nco tseg: qhov hloov pauv nyob ze rau qhov hloov pauv yuav tsum tsis pub siv cov laug rau qhov hloov pauv kom haum rau hauv HWT lub thawv.

    • Adafruit #3898 LiPo Roj Teeb.
    • Adafruit #805 SPDT Swb Hloov.
    • Hookup hlau.

    Nco tseg: Xav tias dawb rau xaim raws li koj xav tau. Nov yog qhov kuv tau sib sau ua HWT rau Cov Lus Qhia no. Lwm cov qauv muaj xov hlau tso sib txawv me ntsis. Tsuav koj lub xov tooj yoog raws cov txheej txheem thiab Vishay sensor thiab LED vaj huam sib luag hauv qab ntawm HWT lub thawv, koj zoo.

Kauj Ruam 5: 3-D Cov Ntawv Luam

3-D Luam Tshooj
3-D Luam Tshooj
3-D Luam Tshooj
3-D Luam Tshooj
3-D Luam Tshooj
3-D Luam Tshooj
3-D Luam Tshooj
3-D Luam Tshooj

HWT vaj tsev muaj peb daim 3D luam tawm:

  1. Hamster Log Tachometer enclosure - (Cov ntaub ntawv TinkerCad rau pej xeem)
  2. Hamster Log Tachometer bezel - (Cov ntaub ntawv TinkerCad rau pej xeem)
  3. Hamster Log Tachometer Sensor tsev - (Cov ntaub ntawv TinkerCad rau pej xeem)

HWT vaj tsev, HWT zaub bezel thiab HWT sensor vaj tsev tau tsim hauv Tinkercad thiab yog cov ntaub ntawv rau pej xeem. Ib tus neeg tuaj yeem rub cov ntawv theej thiab hloov kho raws li xav tau. Kuv paub tseeb tias tus qauv tuaj yeem ua kom zoo dua. Cov no tau luam tawm ntawm MakerGear M2 siv Simplify3D tswj. Adafruit muaj kev qhia rau 3D Luam Ntawv Rau Adafruit Feather. Kuv pom cov tshuab luam ntawv 3D no los ua qhov pib zoo rau kuv M2 MakerGear tshuab luam ntawv.

Yog tias xav tau cov ntxaij lim dej sib piv tuaj yeem luam tawm 3D siv cov ntawv translucent PLA thiab cov ntaub ntawv no rau pej xeem TinkerCad.

Kauj Ruam 6: Sib sau HWT

Sib sau ua ke HWT
Sib sau ua ke HWT
Sib sau ua ke HWT
Sib sau ua ke HWT
Sib sau ua ke HWT
Sib sau ua ke HWT
Sib sau ua ke HWT
Sib sau ua ke HWT
  1. Txuas lub roj teeb/hloov khoom sib dhos rau Feather #2771 PCBA. Nws yog qhov yooj yim dua los ua qhov no tam sim no dua li thaum Feather #2771 raug ntsia rau hauv HWT lub thawv.
  2. Lub rooj swb swb mus rau nws qhov chaw nyob hauv HWT qhov thaiv.
  3. Tshem cov xov hlau tawm ntawm txoj kev thaum koj tso Feather PCBA rau hauv qhov thaiv.
  4. Lub tsev nyob yuav tsum tawm sab nraum qab ntawm HWT lub thawv.
  5. Cov txiv ntoo 2.5mm nyuaj rau txuas rau 2.5mm cov ntsia hlau. Koj tuaj yeem xav siv 4-40 tshuab ntsia hlau raws li tau piav qhia hauv Adafruit qhia.
  6. Nias #3130 zaub PCBA rau hauv Plaub #2771 PCBA. Saib rau khoov los yog misaligned pins.
  7. Txuas qhov hloov mus rau lub bezel zaub.
  8. Nias lub bezel zaub rau hauv HWT lub thawv.

Kauj ruam 7: Calibration

Calibration
Calibration

Hauv Calibrate hom, cov zaub tsis tu ncua qhia tawm los ntawm IR sensor. Calibration pab ua pov thawj:

  1. Lub log hamster tau cuam tshuam txog IR lub teeb txaus.
  2. Qhov chaw tsaus yog nqus IR lub teeb.
  3. Cov chaw teeb tsa tau raug rau qhov kev nrug mus rau lub log qoj ib ce.
  • Txhawm rau nkag mus rau Calibrate hom:

    1. Tua HWT siv lub hwj chim swb hloov.
    2. Nias thiab tuav lub Zaub khawm.
    3. Qhib HWT siv lub hwj chim swb hloov.
    4. HWT nkag rau Calibrate hom thiab qhia CAL.
    5. Tso lub Zaub khawm. HWT tam sim no nthuav tawm ib tsab ntawv sawv cev rau thaj tsam teeb tsa (L, M lossis S) thiab nyeem ntawv ntsuas. Nco tseg qhov ntsuas nyeem ntawv tsis yog qhov deb ntawm lub log mus rau HWT. Nws yog ntsuas ntawm qhov ua tau zoo ntawm kev xav.
  • Yuav ua li cas xyuas lub log IR kev xav:

    Nrog rau qhov xav tau txaus, lub teeb pom kev zoo yuav tsum nyeem ib puag ncig 28. Yog lub log nyob deb dhau ntawm HWT muaj qhov tsis txaus xav thiab lub teeb pom kev yuav ploj mus. Yog li txav lub log ze rau HWT. Tig lub log; kev nyeem yuav hloov pauv thaum lub log tig. Qhov ntau ntawm 22 txog 29 yog qhov ib txwm muaj. Kev nyeem ntawv sensor yuav tsum tsis txhob khoob. Cov ntawv ntau (L, M lossis S) yuav raug tso tawm tas li.

  • Yuav ua li cas txheeb xyuas thaj chaw tsaus:

    Ib cheeb tsam uas nqus tau IR (thaj chaw tsaus) yuav ua rau lub sensor nyeem ntawv mus tsis tau. Tig lub log kom qhov chaw tsaus tau nthuav tawm rau HWT. Cov zaub yuav tsum tsis muaj lub ntsiab lus tsis muaj kev xav. Yog cov lej pom, thaj chaw tsaus nyob ze rau HWT LOS YOG cov khoom siv tsaus siv tsis nqus IR lub teeb txaus.

    Sau ntawv rau ntawm Qhov Tsaus Ntuj

    Txhua yam uas nqus IR lub teeb yuav ua haujlwm, piv txwv. pleev xim dub los yog daim kab xev dub dub. Ib qho tiaj lossis matte tiav yog qhov tseem ceeb! Cov khoom siv dub ci tuaj yeem cuam tshuam tau zoo hauv IR lub teeb. Qhov tsaus ntuj tuaj yeem nyob ntawm ib puag ncig lossis sab tiaj ntawm lub log qoj ib ce. Qhov koj xaiv nyob ntawm qhov chaw koj teeb tsa HWT.

    Thaj chaw tsaus yuav tsum muaj qhov loj txaus uas IR sensor yuav pom tsuas yog thaj chaw tsaus, tsis yog cov yas cuam tshuam ib sab. IR emitter ua haujlwm lub khob ntawm IR teeb. Lub khob hliav qab loj yog sib npaug rau qhov kev ncua deb ntawm HWT thiab lub log. Ib-rau-ib qho piv txwv ua haujlwm. Yog tias HWT yog 3 ntiv tes los ntawm lub log, thaj chaw tsaus yuav tsum yog 2-3 ntiv tes hla. Thov txim rau Imperial units.

    Cov duab qhia pom TSAL4400 IR LED teeb lub hom phiaj los ntawm 3 ntiv tes deb. Cov duab tau yees nrog NOIR Raspberry Pi lub koob yees duab.

    Kev Xaiv Khoom Qhia: Thaum kuv tau sib sau ua HWT, Kuv siv nws li IR Reflectance meter (qhov ntawd yog dab tsi). Thaum lub sijhawm txhim kho, Kuv coj HWT mus rau cov khw muag tsiaj, khw muag khoom kho vajtse thiab khw muag ntaub. Ntau yam khoom tau 'sim'. Kuv tshuaj xyuas lub log ua haujlwm yas, cov khoom tsaus thiab cuam tshuam ntawm qhov deb ntawm cov khoom. Ua qhov no Kuv tau txais kev nkag siab ntawm kev ua tau zoo thiab kev txwv ntawm HWT. Qhov no tau tso cai rau kuv txhawm rau txheeb xyuas lub log yas hauv lub tawb kom raug thiab xaiv qhov raug ntau yam teeb tsa hauv hom Calibration. Yog, ntau dua ib zaug, Kuv yuav tsum tau piav qhia qhov kuv tau ua rau cov neeg ua haujlwm hauv lub khw tsis meej pem.

  • Yuav hloov pauv li cas:

    1. Hauv Calibrate hom, thawj lub cim tso tawm yog qhov ntau (L, M, S):

      • (L) ong range = 1.5 txog 5"
      • (M) edium range = 1.3 txog 3.5"
      • (S) hort range = 0.5 txog 2 "(peev S zoo li tus lej 5)

      Nco tseg: Cov kab ke no nyob ntawm cov ntaub ntawv phiaj thiab yog kwv yees ntau heev.

    2. Txhawm rau hloov pauv ntau yam nias lub Zaub khawm. Thawj cov cim yuav hloov pauv los qhia qhov tshiab.
    3. Txhawm rau ua qhov tshiab no nias thiab tuav khawm Zaub rau 4 vib nas this. Cov zaub yuav pom Savd rau ob vib nas this thaum qhov kev ua tiav tiav.

    Nco tseg: HWT yuav nco txog qhov teeb tsa tom qab rov pib dua thiab txawm tias lub roj teeb tuag lawm.

  • Ua tiav? Yog tias lub log qoj ib ce pom (cov duab nyob ib puag ncig 28) thiab thaj chaw tsaus ntuj nqus (tso tawm qhov chaw) koj tau ua tiav. Hwj chim hloov HWT kom rov ua haujlwm li qub (saib Kauj Ruam 9: Tshooj Hom Zoo Li Cas). Txwv tsis pub, hloov qhov nrug ntawm HWT thiab lub log lossis hloov HWT ntau kom txog thaum koj ua tiav.

Nco tseg: Qhov twg HWT tau teeb tsa ntawm lub tawb thiab qhov ntsuas ntawm HWT cuam tshuam nrog. Koj yuav tsis tuaj yeem tso lub log uas koj xav tau hauv lub tawb vim tias lub tawb qhov chaw tsis nyob hauv thaj tsam ntawm HWT. Cov khoom siv log thiab cov khoom siv hauv qhov tsaus ntuj (xav tias dub) koj tau xaiv kuj dhau los ua qhov tseem ceeb.

Kauj Ruam 8: Kev teeb tsa ntawm Tawb

  1. Calibrate HWT thiab siv cov txheej txheem Calibration los qhia qhov twg koj yuav tso lub log qoj ib ce thiab qhov twg HWT tau teeb tsa ntawm lub tawb.
  2. HWT tuaj yeem txuas rau sab ntawm lub tawb uas siv HWT cov ntaub ntawv teeb tsa qhov. Kuv siv yas-txheej xaim xaim hlua khi. Cov hlua hlau ua haujlwm kuj.
  3. Nrog HWT teeb tsa thiab tso lub log qoj ib ce, txheeb xyuas lub log qoj ib ce qhia txog IR lub teeb thiab thaj chaw tsaus nqus IR.
  4. Yog xav tau, hloov qhov ntau tau piav qhia hauv ntu Calibration. Ntau qhov kev ncua deb tuaj yeem xaiv cov neeg siv hauv HWT. Muaj peb ntu sib tshooj:

    • (L) ong range = 1.5 txog 5"
    • (M) edium range = 1.3 txog 3.5"
    • (S) hort range = 0.5 rau 2"
  5. HWT Sensor vaj tsev (IR emitter/sensor) yuav tsum tsis txhob raug thaiv los ntawm lub laj kab hlau. Tej zaum koj yuav tsum tau nthuav tawm lub tawb xaim me ntsis kom tso cai rau lub rooj sib dhos txhawm rau hla lub tawb xov hlau.
  6. Txheeb xyuas HWT sau cov kev tawm dag zog lub log kom raug (saib Kauj Ruam 9: Hom Kev Ua Haujlwm Ib Leeg).

Kauj Ruam 9: Hom Ua Haujlwm Li Cas

  1. Hauv Hom Ib txwm, HWT suav cov kev tawm tsam ntawm lub log qoj ib ce.
  2. Txhawm rau nkag mus rau Hom Ib txwm, qhib HWT siv Lub Hwj Huam Hloov Hloov.
  3. Cov zaub yuav qhia nu41 rau ib pliag tom qab ntawd tso saib thaj chaw teeb tsa rau ib pliag.

    • Ra = L ntev ntau
    • Ra = M nruab nrab
    • Ra = S luv luv (peev S zoo li tus lej 5)
  4. Thaum lub sijhawm ua haujlwm Ib txwm tso saib ib feem LED yuav nyem luv luv txhua feeb.
  5. Txhua feeb, suav rau feeb ntawd yog piv rau qhov suav ntau tshaj (hamster tus kheej zoo tshaj) los ntawm feeb dhau los. Qhov suav siab tshaj yog hloov kho yog xav tau. Txhua feeb suav ntxiv rau suav tag nrho.
  6. Nias thiab tso lub Zaub khawm kom pom cov suav suav. Cov zaub qhia pom cov hauv qab no:

    • Tam sim no = ua raws cov naj npawb ntawm cov kiv puag ncig txij li qhov kev tshuaj xyuas zaum kawg. Nco tseg: tus lej no yuav raug ntxiv rau tag nrho tom qab ib feeb zuam tom ntej.
    • Max = ua raws los ntawm cov lej ntau tshaj ntawm kev tawm tsam. Nugget tus kheej zoo tshaj txij li lub hwj chim tau mus zaum kawg.
    • Tot = ua raws los ntawm tag nrho cov kev tawm tsam txij li lub voj voog fais fab kawg.

Hwj chim caij tsheb kauj vab (hluav taws xob swb hloov tawm) HWT yuav xoom txhua qhov suav. Yog tsis tau txais cov lej rov qab.

HWT yuav tsum ua haujlwm li kaum hnub ntawm kev them nqi thiab tom qab ntawd LiPo cell yuav ua qhov pib kaw. Txhawm rau zam kev poob ntawm kev tawm dag zog suav suav, rov them dua ua ntej pib kaw ntawm LiPo cell.

Kauj Ruam 10: LiPo Cell Sau Ntawv:

  1. LiPo cells khaws ntau lub zog siv cov tshuaj tsis haum. Tsuas yog vim xov tooj ntawm tes thiab khoos phis tawj siv lawv tsis yog lawv yuav tsum tsis raug kho nrog kev ceev faj thiab kev hwm.
  2. HWT siv lub roj teeb Lithium Polymer (LiPo) 3.7v ntawm tes. Sab saum toj ntawm Adafruit LiPo cells tau qhwv nrog yas amber. Qhov no suav nrog qhov tseem ceeb them nqi / tso tawm kev nyab xeeb ntawm lub PCBA me me. Lub xov tooj liab thiab dub coj nrog JST txuas tau muab muag rau PCBA. Nws yog qhov kev nyab xeeb zoo heev uas muaj kev saib xyuas ntawm LiPo thiab lub ntiaj teb sab nraud.
  3. HWT yuav poob lub zog yog tias LiPo qhov tseem ceeb them / tso tawm kev nyab xeeb Circuit txiav txim siab tias LiPo cell tsawg dhau. Kev tawm dag zog suav suav yuav ploj!
  4. Yog tias HWT zoo li 'tuag' nws yuav xav tau lub xov tooj ntawm tes. Txuas HWT siv lub micro USB cable rau tus qauv USB lub zog siv hluav taws xob.
  5. Thaum them lub teeb daj yuav pom hauv HWT lub thawv yas.
  6. LiPo yuav raug them tag nrho li ntawm 4 - 5 teev.
  7. LiPo xov tooj ntawm tes tiv thaiv kev tiv thaiv yuav tsis tso cai rau LiPo them nyiaj ntau dua, tab sis txuas lub micro-USB cable thaum lub daj daj tawm mus.
  8. Raws li tau piav qhia hauv Adafruit #3898 cov ntaub ntawv, kuv tau xub npaj tseg rau LiPo cell kom haum ntawm Feather #2771 PCBA thiab #3130 zaub PCBA. Kuv pom tias kuv cov xov hlau nyob hauv Feather #2771 qhov chaw tsim qauv tau siab dhau rau LiPo cell kom haum tsis tas yuav kho LiPo cell. Qhov ntawd ua rau kuv ntshai. Kuv tau tso lub roj teeb rau ntawm nws ib sab ntawm lub PCBAs.
  9. Cov nyeem thiab cov xov hlau dub ntawm LiPo qhov tseem ceeb them / tawm kev nyab xeeb kev nyab xeeb tsis nyiam hloov pauv. Hauv txoj kev txhim kho kuv tau tawg ntau dua ib kab ntawm cov xov hlau. Txhawm rau muab ntau txoj nyem nyem, Kuv tsim thiab 3D luam tawm qhov nyem nyem. Qhov ntawd yog qhov thaiv grey nyob rau sab saum toj ntawm LiPo cell. Nws tsis xav tau, tab sis ntawm no nws yog (Cov Ntaub Ntawv TinkerCad).

Kauj Ruam 11: Keeb Kwm Kev Txhim Kho:

Keeb Kwm Kev Txhim Kho
Keeb Kwm Kev Txhim Kho
Keeb Kwm Kev Txhim Kho
Keeb Kwm Kev Txhim Kho

Tshaj li peb xyoos lub neej ntawm Nugget project ntau qhov ua rau:

1.xProof ntawm lub tswv yim thiab cov ntaub ntawv sib sau ua ke.

Nugget qhov kev ua tau zoo tau tshwj xeeb (max RPM, tag nrho, sijhawm ua haujlwm). Hauv nws qhov tseem ceeb, Nugget tau ua tiav 100 RPM thiab tuaj yeem khiav 0.3 mais ib hmo. Spreadsheet ntawm cov ntaub ntawv laij rau ntau lub log txuas. Txuas nrog kuj yog cov ntaub ntawv nrog Nugget RPM cov ntaub ntawv khaws cia hauv SD daim npav.

  • Arduino Duemilanove
  • Adafruit #1141 SD daim npav datalogger daim thaiv
  • Adafruit #714+ #716 LCD tiv thaiv
  • OMRON E3F2-R2C4 Retroreflective Optical Sensor
  • AC phab ntsa hloov pauv (Omron xav tau 12 volts)

2.x Sensors thiab kho vajtse tshawb nrhiav.

Tsim lub microcontroller thiab nthuav tawm:

  • Adafruit #2771 Plaub 32U4
  • Adafruit #3130 14 ntu LED zaub Featherwing.

Qhov sib xyaw no tau xaiv rau kev siv hluav taws xob tsawg (32U4 hom pw tsaug zog), kev tswj roj teeb (built-in LiPo charger) thiab tus nqi (LEDs pheej yig thiab qis zog dua LCD+teeb pom kev zoo).

  • Hall-effect magnetic thiab discrete optical khub sensors (piv txwv li QRD1114) tau tshuaj xyuas. Ntau yam ib txwm tsis txaus. Tso tseg.
  • Adafruit #2821 Feather HUZZAH nrog ESP8266 uas tshaj tawm rau Adafruit IO dashboard. Lub sijhawm tshuaj ntsuam ntxiv tsis yog qhov tus neeg siv khoom xav tau. Tso tseg.

3.xSensor ua haujlwm:

Cov kab ntawv no tseem tshawb nrhiav lwm txoj hauv kev xws li siv lub tshuab stepper ua tus lej zoo ib yam li Cov Lus Qhia no. Ua tau tab sis rau lub teeb liab qis ntawm RPM qis. Kev ua haujlwm me ntsis ntxiv yuav hloov qhov no mus rau qhov kev daws teeb meem, tab sis nws tsis yog qhov yooj yim rov kho dua nrog ib puag ncig hamster uas twb muaj lawm. Tso tseg.

4.1 Kev kho vajtse/software piav qhia hauv Phau Ntawv Qhia no.

5.x Ntau Sensor ua haujlwm:

Txheeb Xyuas Ntsej Muag GP2Y0D810Z0F Digital Distance Sensor nrog Pololu Carrier thaum tseem siv Adafruit #2771 Feather 32U4 thiab Adafruit #3130 14 ntu LED zaub Featherwing. Ua haujlwm zoo. Ua code tsis tseem ceeb. Siv lub zog ntau dua li Vishay TSSP4038 daws. Tso tseg.

6.x Yav tom ntej?

  • Hloov qee qhov HWT cov ntaub thaiv npog rau cov thawj coj rau Adafruit #2771 Feather nrog cov ntawv tshaj tawm.
  • Hloov qhov qhib/tua hloov nrog lub laub khawm hloov txuas nrog Feather reset.
  • ATSAMD21 Cortex M0 microcontroller, xws li pom ntawm Adafruit #2772 Feather M0 Basic Proto, muaj ntau yam ntxim nyiam. Kuv yuav saib qhov no ze ntawm lwm qhov kev hloov kho.
  • Vishay muaj tus qauv tshiab IR sensor, TSSP94038. Nws muaj qhov xav tau tam sim no qis dua thiab cov lus teb tau piav qhia ntau dua.
Kev Sib Tw Roj Teeb
Kev Sib Tw Roj Teeb
Kev Sib Tw Roj Teeb
Kev Sib Tw Roj Teeb

Khiav Tawm Hauv Kev Sib Tw Roj Teeb

Pom zoo: