Cov txheej txheem:

Breathalyzer Medallion: 4 Kauj Ruam (nrog Duab)
Breathalyzer Medallion: 4 Kauj Ruam (nrog Duab)

Video: Breathalyzer Medallion: 4 Kauj Ruam (nrog Duab)

Video: Breathalyzer Medallion: 4 Kauj Ruam (nrog Duab)
Video: 🌊🚤 Don’t you just love the motion of the ocean? Boat size matters when the waves toss you around. 2024, Kaum ib hlis
Anonim
Breathalyzer Medallion
Breathalyzer Medallion
Breathalyzer Medallion
Breathalyzer Medallion
Breathalyzer Medallion
Breathalyzer Medallion

Peb txhua tus muaj tus phooj ywg tshwj xeeb uas xav tau kev saib xyuas thaum hmo ntuj. Kuv lub npe hu ua Geoffrey, thiab nyob rau nws lub asthiv tas los nws zoo li muaj lub ntsej muag kom pom sab nraud ntawm qhov kev lav phib xaub nws yuav zoo li cas.

Cov lus qhia no qhia txog kev tsim cov khoom plig uas muaj lub tshuab nqus pa nrog kev ua kom zoo nyob ib puag ncig ntawm ntug thiab e-ink zaub nyob hauv nruab nrab. Nws yog ua raws tus lej arduino thiab siv ESP32 pawg thawj coj uas sib xws nrog arduino IDE.

Khoom siv

Koj yuav xav tau

  1. Nkag mus rau lub tshuab luam ntawv 3D
  2. Nkag mus rau lub tshuab txiav laser
  3. Metalized laser txiav cov khoom
  4. Roj teeb lipo me me
  5. Cawv sensor - MQ3 lossis MQ4 pawg thawj coj tawm [Txog £ 1 ntawm eBay]
  6. E-ink display [wavehare 2.13 "SPI module ~ £ 15 los ntawm banggood]
  7. ESP32 dev board nrog lipo them nyiaj [Kuv siv lolin32 tab sis adafruit tam sim no ua rau huzzah ntau yam uas zoo heev]
  8. Neopixel tau tshaj lub nplhaib [32 pixels yog qhov loj me yog tias koj xav siv CAD txuas nrog]
  9. Xaub fais fab hloov [Kuv siv RS 829-0611]
  10. Kho kom zoo nkauj

Kauj Ruam 1: Luam Cov Xeem no

Luam Cov Ntu No
Luam Cov Ntu No
Luam Cov Ntu No
Luam Cov Ntu No

Luam tawm thiab txiav tawm cov ntu no. Nws yog ib qho tseem ceeb uas yuav tsum tau siv cov khoom siv hlau rau lub ntsej muag phaj raws li nws yuav siv los ua lub khawm muaj peev xwm.

Kauj Ruam 2: Sib sau ua ke thiab xaim ua ke

Sib sau ua ke thiab xaim ua ke
Sib sau ua ke thiab xaim ua ke
Sib sau ua ke thiab xaim ua ke
Sib sau ua ke thiab xaim ua ke
Sib sau ua ke thiab xaim ua ke
Sib sau ua ke thiab xaim ua ke

Thaiv:

Txiav lub roj teeb xaim thiab txuas qhov hloov hauv kab. Txuas cov zis los ntawm qhov no mus rau ib qho ntawm veroboard rau kev faib khoom. Ua raws li cov txheej txheem rau cov zaub thiab kab kab. Kuv pom MQ45 sensor ua haujlwm ntau dua li MQ3. Lawv ob leeg siv qhov tsim nyog tam sim no yog li tau txuas ncaj qha rau veroboad hloov pauv los ntawm esp32. Lub khawm hlau tsuas yog cov hlau ya uas siv lub peev xwm-kov lub peev xwm ntawm lub nti. Qhov no pokes los ntawm lub qhov thiab yuav tsum tau khawb rau saum npoo ntawm daim hlau ntsej muag. Kuv tau ntxiv ib lub garland los ua kom tiav qhov khoom plig no tab sis ib qho kev hloov saw caj dab yuav ua.

Kauj ruam 3: Upload Code

Nws zoo li koj yuav xav tau qhib qhov pib rau ob lub khawm kov thiab lub cawv. Nco ntsoov tias cov ntsuas no xav tau lub txaj rau ntau teev yog li nws tsim nyog tso nws them ib hmo ua ntej siv sijhawm ntawm qhov no.

Koj yuav xav tau cov cai hauv qab no thiab cov tsev qiv ntawv

  • Medallion code
  • NeoPixelBus los ntawm makuna
  • gxEPD lub tsev qiv ntawv los ntawm ZinggJM

Koj kuj tseem yuav tsum tau teeb tsa esp32 pawg lus txhais rau hauv arduino IDE

Kauj ruam 4: Koj Ua Tiav

Koj Ua Tiav
Koj Ua Tiav

Thaum koj qhib nws koj yuav pom cov lus qhia ntawm lub vijtsam. Lub ntsuas dej cawv siv sijhawm me ntsis txhawm rau txhawm rau txhawm rau txhawm rau nws yuav siv qee lub sijhawm cia qhov sov so.

Tom qab ntawd yuav muaj lub plawv dhia los ntawm lub teeb. Nias lub pob thiab ua pa maj mam tso rau ntawm lub sensor rau ob peb feeb. Tom qab qhov no nws yuav muab rau koj nyeem thiab qhia kom txuag nws. Tus nqi khaws tseg yuav tig mus rau hauv plawv dhia. Cov cuab yeej no tsis raug lossis zoo ib yam tab sis muab qee qhov kev lom zem zoo nkauj. Txaus siab rau Cov duab txuas nrog qhia 1.6 Geoffreys. Qhov no ntau dhau lawm. Tsis ntev tom qab qhov screen tawg. Muaj peev xwm txhim kho Siv lub ntsuas hluav taws xob zoo dua: Adafruit tam sim no muab I2C lub ntsuas hluav taws xob ntawm lub rooj sib cais uas zoo li cog lus Siv oled: Lub eink zaub tso cai txuag hluav taws xob thiab khaws cov ntawv kawg txawm tias tom qab lub roj teeb tuag. Nws yog qhov kev cia siab dim hauv qhov tsaus ntuj txawm li ntawd los cov lus qhia nyuaj ua raws. Ua kom nws me me Hloov nws mus rau hauv PCB

Pom zoo: