Cov txheej txheem:

Variometer rau Paragliding: 6 Kauj Ruam (nrog Duab)
Variometer rau Paragliding: 6 Kauj Ruam (nrog Duab)

Video: Variometer rau Paragliding: 6 Kauj Ruam (nrog Duab)

Video: Variometer rau Paragliding: 6 Kauj Ruam (nrog Duab)
Video: txhua yam uas peb muaj puas yog peb lub peev xwm tiag? 2024, Kaum ib hlis
Anonim
Variometer rau Paragliding
Variometer rau Paragliding

Ob peb xyoos dhau los Kuv tau tsim Variometer nrog kev pab los ntawm Andrei Cov Lus Qhia.

Nws tau ua haujlwm zoo, tab sis muaj qee yam uas kuv tsis nyiam.

Kuv tau siv nws nrog lub roj teeb 9V thiab qhov no coj ntau qhov chaw thiab qhov kawg hauv rooj plaub ntoo loj rau cov khoom siv hluav taws xob. Feem ntau ntawm cov hnub cog lus tshaj plaws lub roj teeb tau tas thiab kuv tsis muaj lub roj teeb seem nrog kuv.

Yog li kuv txiav txim siab hloov qhov no thiab tsim kuv tus kheej Version ntawm Vario kev tshoov siab los ntawm Andrei.

Kuv lub hom phiaj tseem ceeb yog ua kom nws me dua thiab rov them tau dua.

Txij li thaum kuv xav siv SSD1306 raws li zaub Kuv kuj yuav tsum tau sau cov software los ntawm kos.

Vim tias kuv tau tawm tsam nrog kev ntsuas qhov ntsuas siab (Kuv tsis yog C programmer) Kuv rov siv ob peb ntu ntu los ntawm Andrei's Sketch thiab nws lub tsev qiv ntawv.

Qhov tshwm sim yog qhov tsim nyog 8x3x2cm vario nrog tsuas yog ua haujlwm yam tsawg kawg nkaus.

Kauj Ruam 1: Yam Koj Xav Tau

Yam Koj Xav Tau
Yam Koj Xav Tau
  • Arduino Nano Cov
  • TC4056A (Lipo Charging Board)

  • Piezo Buzzer Cov
  • 10 kO Resistor
  • On/Off Hloov
  • Laub Khawm
  • BMP280 Baro Sensor
  • SSD1306 (32x128) Oled Zaub
  • 1S Lipo Roj teeb (Kuv siv ib qho los ntawm kuv lub dav hlau RC)
  • 4KO - 10KO SMD Resistor (nyob ntawm koj LiPos C Tus Nqi)

DISCLAIMER: Raws li koj pom hauv qhov xwm txheej Kuv tau txhawb Arduino los ntawm 5V Pin. Qhov no tsis pom zoo thiab tuaj yeem ua rau tsis ruaj khov ntawm tus txheej txheem. Txhawm rau zam qhov no, koj tuaj yeem tso kauj ruam hloov pauv tom qab TC4056A thiab ua haujlwm rau Arduino tsis tu ncua. Tab sis txij li thaum kuv tau tsom mus rau qhov me me, Kuv tsis tau siv lub stepup. Tom qab ob peb teev hauv dav hlau kuv tsis ntsib teeb meem ua li ntawd.

Kauj ruam 2: Prototyping

Prototyping
Prototyping
Prototyping
Prototyping

Rau Kev Sau thiab xa cov cai rau koj li arduino koj yuav xav tau cov software arduino thiab tseem muaj qee lub tsev qiv ntawv.

  • Arduino IDE Cov
  • Cov Tsev Qiv Ntawv: Mus rau Sketch> suav nrog Tsev Qiv Ntawv> Tswj Librariessearch rau cov hauv qab no thiab teeb tsa lawv

    • Adafruit_SSD1306 (V1.1.2)
    • Adafruit GFX Library (V1.2.3)
    • Adafruit BMP280 Lub Tsev Qiv Ntawv (V1.0.5)
    • SBB_Click thiab Bounce2 (saib cov ntawv txuas nrog thiab ntxiv lawv rau hauv koj lub tsev qiv ntawv tais ceev tseg)

Muab txhua yam tso rau ntawm daim ntawv tais diav, sau ua ke thiab upload daim duab.

Yog tias muaj qhov yuam kev thaum suav sau, koj yuav tsum ua kom haum Adafruit SSD1306 Library rau qhov chaw nyob raug. Cov lus qhia no tuaj yeem pab koj.

DISCLAIMER

Nco ntsoov tias arduino tsuas yog siv los ntawm nws lub USB thaum rub tawm cov cai. Rem tshem lub roj teeb ua ntej ntsaws rau hauv USB cable rau qhov chaw nres nkoj programming.

Kauj Ruam 3: Ntxiv Lipo rau Txoj Haujlwm

Ntxiv Lipo rau Txoj Haujlwm
Ntxiv Lipo rau Txoj Haujlwm
Ntxiv Lipo rau Txoj Haujlwm
Ntxiv Lipo rau Txoj Haujlwm
Ntxiv Lipo rau Txoj Haujlwm
Ntxiv Lipo rau Txoj Haujlwm

Txij li thaum kuv TC4056A tau tsim los them lub roj teeb nrog 1A ntawm lub zog thiab qhov no yog me ntsis ntau dhau rau lipo me me, yog li kuv yuav tsum rov ua haujlwm nws.

Raws li cov ntaub ntawv teev tseg ntawm TC4056A qhov no tuaj yeem ua tiav los ntawm kev hloov tus tiv thaiv R3 ntawm lub rooj tsavxwm. Yog li kuv tau muag 1.2 KO tus tiv thaiv thiab hloov nws nrog 4KO. Qhov no xav tau cov cuab yeej ua kom raug zoo tiag tiag, tweezers thiab qee qhov kev xyaum.

Koj yuav tsum tau txais txoj cai tiv thaiv kom haum rau koj lub peev xwm ntawm koj lipo.

TSWV YIM: koj tsis tas yuav yuav cov tshuaj tiv thaiv no, yog tias koj muaj qee yam khoom siv hluav taws xob sab hauv tsev, cov khoom me me no tuaj yeem pom ze rau ntawm txhua platine. Tsuas yog siv lub multimeter, nrhiav qhov yog, thiab rov ua dua.

Tom qab qhov no lipo tuaj yeem muab txuas rau TC4056A thiab txuas nrog arduino.

DISCLAIMER: Raws li cov ntaub ntawv lub zog yuav tsum tau tawm thaum them lub lipo!

Kauj ruam 4: Soldering

Soldering
Soldering
Soldering
Soldering
Soldering
Soldering

Kuv tau muab txhua yam tso rau hauv qhov chaw siv lub qhov rooj thiab qee cov xov hlau.

Kuv kuj tau tshem lub powerstatus LED ntawm Arduino kom siv lub zog tsawg. TSWV YIM: Tshem tawm cov LED no yog qhov tsis meej pem thiab kuv tau rhuav tshem nws nrog kuv cov hlau txuas. Tom qab ntawd kuv pom tias nws yooj yim dua kom tshem tawm tus neeg tawm tsam nyob rau pem hauv ntej ntawm LED, txij li tus tiv thaiv hloov pauv cua sov mus rau lwm lub lauj tshib soldering yooj yim dua, nws tuaj yeem yooj yim tsuas yog muag los ntawm cua sov ib tus pin.

Kauj Ruam 5: Tsim Case thiab Luam Ntawv

Tsim Case thiab Luam Ntawv
Tsim Case thiab Luam Ntawv
Tsim Case thiab Luam Ntawv
Tsim Case thiab Luam Ntawv

Kuv tsim rooj plaub rau cov khoom siv hluav taws xob thiab luam tawm nws ntawm kuv lub tshuab luam ntawv 3d.

Tam sim no kuv yuav tsis muab vaj tsev, vim tias muaj qee qhov yuam kev hauv nws uas kuv tau ua tiav tom qab ua tiav ntau yam kom ua tau haum.

Tsis tas li qhov kev ntsuas rau lub tsev no tau ua nrog qhov kev lees paub me me rau kuv cov khoom siv hluav taws xob. Yog li nws yuav tsis haum rau koj cov khoom siv hluav taws xob.

Kauj Ruam 6: Cov Ntaub Ntawv Software

Tom qab Hloov Vario rau, lub initscreen los txog thiab tom qab ntawd lub vijtsam nyob twj ywm dub. (Feem ntau kuv tsuas xav tau lub suab. Yog tias koj tsis xav kom qhov no tshwm sim, hloov qhov "display_on" sib txawv hauv qhov kos duab kom tseeb (kab 30) thiab ntawv qhia zaub mov = 1 (kab 26))

Yog tias koj nias lub pob ib zaug, koj yuav tsum pom thawj nplooj ntawv.

Nrog khawm luv nias koj tuaj yeem hloov ntawm plaub nplooj ntawv tseem ceeb.

  1. PAGE: Nce Tus Nqi, Nce Bar, Qhov siab thiab Lub Hwj Chim Roj Teeb
  2. PAGE: Nce Bar Loj (rau kev nce toj ntsug)
  3. PAGE: Kub thiab Siab
  4. PAGE: Roj teeb Fais Fab %

nrog nias ntev koj tuaj yeem hloov mus rau cov ntawv qhia zaub mov. Nrog nias luv koj tuaj yeem rov ua dua los ntawm txhua qhov chaw. Nrog nias ntev dua koj tuaj yeem nkag mus rau qhov chaw tshwj xeeb thiab hloov lawv los ntawm kev nias luv. Xovxwm ntev dua txuag nws.

  1. Chaw nplooj ntawv: Qhov siab
  2. Cov nplooj ntawv teeb tsa: Tswb ON/OFF
  3. Cov nplooj ntawv teeb tsa: Zaub ON/OFF
  4. Tawm

Pom zoo: