Cov txheej txheem:

(CRC) me ntsis, Qhib Microbit-like Badge: 10 Kauj Ruam
(CRC) me ntsis, Qhib Microbit-like Badge: 10 Kauj Ruam

Video: (CRC) me ntsis, Qhib Microbit-like Badge: 10 Kauj Ruam

Video: (CRC) me ntsis, Qhib Microbit-like Badge: 10 Kauj Ruam
Video: Hmong CRC:Worship Services Song. Nkauj pehawm Vajtswv 2024, Hlis ntuj nqeg
Anonim
(CRC) me ntsis, Qhib Microbit-like Badge
(CRC) me ntsis, Qhib Microbit-like Badge

Peb tau siv daim npav cim me ntsis txog 1 xyoos dhau los qhia cov neeg hlau. Nws yog ib qho cuab yeej zoo tshaj plaws rau kev kawm.

Ib ntawm nws cov yam ntxwv muaj txiaj ntsig tshaj plaws yog nws tau tuav tes. Thiab qhov kev hloov pauv no ua rau nws muaj kev nkag siab zoo hauv zej zog kev kawm.

Plaub lub hlis dhau los peb pib tsim qauv rau cov kws tsim khoom. Xav tias yog nws ua tiav nws tuaj yeem dhau los ua khoom qhib rau cov kws qhia ntawv.

Cov yam ntxwv twg peb xav ntxiv rau daim paib:

  • ESP32 processor (Arduino tau tshaj)
  • IMU 6-axis
  • Matrix ntawm Neopixels RGB, 8 x 5
  • Lub suab hais lus ntawm DAC
  • Ob lub laub khawm
  • GPIO qhov chaw nres nkoj nthuav dav (5V zam)

Thoob plaws hauv cov lus qhia no peb yuav piav qhia cov kauj ruam los tsim nws.

Kauj Ruam 1: Schematic Design

Schematic Tsim
Schematic Tsim

Peb muab cov txheej txheem ntawm thawj version ntawm crcbit. Peb yuav tsum tau ua ntau yam kev ntsuas ntawm tus protoboard los kho cov khoom siv.

Hauv cov phiaj xwm, peb tuaj yeem txaus siab rau lub plawv ntawm pawg thawj coj uas yog ESP32. Peb kuj pom 6-axis IMU, tus hais lus me me lub tshuab hluav taws xob Circuit Court thiab ob qhov kev sib tw ob lub logic qib hloov pauv cov laug cam.

Thaum kawg, muaj tag nrho Neopixels tswj Circuit Court, uas muaj 6 kab ntawm neopixels ntawm 8 LEDs txhua. Ua ke nrog lub tshuab hluav taws xob 3V3 volt uas muaj MOSFET rau kev txuas thiab kev sib txuas los ntawm software uas tswj GPIO.

Txog lub zog xa khoom, peb tau xaiv JST txuas uas muaj zog dua li lub micro USB txuas, yog tias nws txav mus.

Kauj Ruam 2: Lub Hwj Huam System

Fais fab System
Fais fab System
Fais fab System
Fais fab System
Fais fab System
Fais fab System

Raws li pawg thawj coj muaj 40 neopixels, ESP32, thiab tus hais lus; Kev siv amp yog siab heev.

Nyob rau hauv cov ntaub ntawv ntawm tig rau 40 neopixels rau qhov siab tshaj plaws, peb yuav nyob ze rau 1.5 amps.

Peb txiav txim siab los txhawb lub rooj tsavxwm ntawm 5V. Nws yog qhov yooj yim siv ib lub txhab nyiaj fais fab. 5Vs tau siv los txhawb ESP32, uas twb muaj tus tswj hwm 3V3. Nws kuj tseem tso cai ua 5V zam lub teeb liab, ua tsaug rau qib ob-qib kev hloov pauv.

Rau cov neopixels peb siv lub zog txiav tawm thiab cov kauj ruam qis ntawm 3V3. Yog li peb txo kev siv rau 250 milliamps thiab peb tuaj yeem tswj lub zog ntawm neopixels los ntawm software.

Kauj Ruam 3: Peb Xav Tau Dab Tsi

Peb Xav Tau Dab Tsi
Peb Xav Tau Dab Tsi

Cia peb npaj qee yam ua ntej.

Hauv txhua qhov xwm txheej, peb tau saib rau cov khoom uas yooj yim txuas thiab yooj yim mus yuav hauv cov khw muag khoom siv hluav taws xob hauv nroog.

Txawm li ntawd los, qee qhov tsis yooj yim nrhiav thiab nws zoo dua ua siab ntev kom xaj lawv hauv Suav lag luam.

Cov npe ntawm cov khoom tsim nyog yog:

  • 1 x ESP32 hom ntawv mini
  • 2 x bidirectional logic qib hloov pauv
  • 1 x 6-axis IMU
  • 1 x hais lus
  • 1 x zog MOSFET
  • 1x3V3 qhov hluav taws xob poob
  • 2 x laub khawm
  • 1 x LDR
  • 6 x strips ntawm 8 Neopixels

… thiab qee qhov tsis sib xws ib txwm muaj

Kauj Ruam 4: Hack hauv Neopixels Strips los pab txhawb kev siv tooj liab (Kuv)

Hack nyob rau hauv Neopixels Sawb kom yooj yim rau Soldering (Kuv)
Hack nyob rau hauv Neopixels Sawb kom yooj yim rau Soldering (Kuv)
Hack nyob rau hauv Neopixels Sawb kom yooj yim rau Soldering (Kuv)
Hack nyob rau hauv Neopixels Sawb kom yooj yim rau Soldering (Kuv)
Hack nyob rau hauv Neopixels Sawb kom yooj yim rau Soldering (Kuv)
Hack nyob rau hauv Neopixels Sawb kom yooj yim rau Soldering (Kuv)

Qhov nyuaj tshaj plaws los sib sau ua ke thiab muab tshuaj txhuam yog Neopixels strips.

Txog qhov no peb tau tsim cov cuab yeej luam tawm 3D uas ua rau 5 daim kab xev ntawm neopixels nyob hauv txoj haujlwm raug. Hauv txoj kev no, lawv tau ua kom raug.

Nyob rau tib lub sijhawm, cov cuab yeej tso cai rau peb los txuas cov hlau me me los pab ua kom yooj yim dua vim tias cov kab txaij rov qab.

Nws raug nquahu kom xyaum ua ntej vim tias cov txheej txheem no nyuaj.

Kauj Ruam 5: Hackin Neopixels Strips los pab txhawb kev siv tooj liab (II)

Hackin Neopixels Strips los pab ua kom yooj yim Soldering (II)
Hackin Neopixels Strips los pab ua kom yooj yim Soldering (II)

Peb muab cov ntaub ntawv hauv STL hom ntawv yog li peb tuaj yeem luam tawm cov cuab yeej kho.

Tsis tas yuav muaj kev teeb tsa tshwj xeeb los luam cov khoom hauv 3D. Lawv yooj yim luam tawm tab sis pab tau heev.

Kauj Ruam 6: Custom PCB

Kev cai PCB
Kev cai PCB

Vim tias muaj pes tsawg lub Cheebtsam thiab lawv qhov loj me, peb tsiv los ntawm tus qauv hauv PCB thoob ntiaj teb, los tsim PCB kev cai.

Peb tau tshaj tawm cov qauv tsim ntawm PCB rau PCBWay los qhia nws rau zej zog, thiab cov neeg tsim khoom uas xav sib sau ua ke.

Peb kuj xa cov ntaub ntawv Gerber kom yooj yim dua.

Kauj Ruam 7: Kev Kho Vajtse (Kev Cai PCB)

Kev Sib Txuas Kho Vajtse (Custom PCB)
Kev Sib Txuas Kho Vajtse (Custom PCB)
Kev Sib Txuas Kho Vajtse (Custom PCB)
Kev Sib Txuas Kho Vajtse (Custom PCB)
Kev Sib Txuas Kho Vajtse (Custom PCB)
Kev Sib Txuas Kho Vajtse (Custom PCB)

Yog tias peb muaj kev cai PCB, tag nrho cov khoom siv tau yooj yim soldered txij li lawv txhua tus tuaj nrog 2.54mm tus lej kab xev.

Cov duab txuas nrog muaj kev daws teeb meem zoo kom pom txoj haujlwm ntawm cov khoom siv.

Kauj ruam 8: Software & Firmware

Software & Firmware
Software & Firmware

Pawg thawj coj tsis xav tau ib qho software tshwj xeeb vim nws ua haujlwm ncaj qha nrog Arduino IDE. Peb tsuas yog yuav tsum teeb tsa Arduino IDE los ua haujlwm nrog ESP32, kev qhia zoo kom ua raws cov kauj ruam yog:

www.instructables.com/id/ESP32-With-Arduin…

Thiab rau cov khoom siv ua haujlwm peb yuav tsum ntxiv cov tsev qiv ntawv Arduino:

github.com/adafruit/Adafruit_NeoPixel

github.com/adafruit/Adafruit_NeoMatrix

github.com/sparkfun/MPU-9250_Breakout

Thawj qhov kev sim peb tau ua kom pom tias txhua yam ua haujlwm raug yog lub pixel microbit lub plawv.

Kauj ruam 9: Muaj kev lom zem

Image
Image

Kauj ruam 10: Tom ntej no…

Nws yog txoj haujlwm qhib.

Txog tam sim no (CRC) me ntsis tseem yooj yim thiab nyoos. Peb ntseeg tias nws yuav loj hlob zoo dua thiab zoo dua nrog kev pab los ntawm zej zog.

Thiab qhov no yog vim li cas tib neeg nyiam qhib qhov chaw thiab zej zog.

Yog tias koj tau txais lub tswv yim zoo dua, lossis koj tau ua qee qhov kev txhim kho thov qhia tawm!

Cheers

Pom zoo: