Cov txheej txheem:

C51 4 Cov Khoom Siv Hluav Taws Xob - Ntoo Ntoo: 15 Cov Kauj Ruam (nrog Duab)
C51 4 Cov Khoom Siv Hluav Taws Xob - Ntoo Ntoo: 15 Cov Kauj Ruam (nrog Duab)

Video: C51 4 Cov Khoom Siv Hluav Taws Xob - Ntoo Ntoo: 15 Cov Kauj Ruam (nrog Duab)

Video: C51 4 Cov Khoom Siv Hluav Taws Xob - Ntoo Ntoo: 15 Cov Kauj Ruam (nrog Duab)
Video: yeej tseeb & yuv yum 2024, Kaum ib hlis
Anonim
Image
Image

Muaj qee lub sijhawm so lub asthiv no mus tom ntej thiab sib sau ua ke AU $ 2.40 4-Bit DIY Electronic Digital Moos uas kuv yuav los ntawm AliExpress ib pliag dhau los.

Kauj ruam 1: Unboxing

Soldering
Soldering

Kuv yuav cov khoom siv DIY no los ntawm "HESAI 3C Cov Khoom Siv Hluav Taws Xob" los ntawm AliExpress tsuas yog AU $ 2.40. Kuv tau muab lub khw txuas rau hauv cov lus piav qhia hauv qab no. Lub ntim tau zoo thiab cov khoom tau xa tuaj rau kuv hauv tsuas yog 15 hnub.

Cov khoom tuaj nrog daim duab qhia hluav taws xob thiab cov npe ntawm cov khoom suav nrog hauv lub ntim. Nrog rau daim ntawv qhia muaj 18 yam khoom hauv pob ntawv no. Koj tuaj yeem pom daim ntawv theej theej ntawm daim duab qhia chaw hauv kab lus hauv qab no.

Hais lus ncaj ncees, los ntawm kev saib ntawm cov khoom nws tsis zoo li koj xav tau tiag tiag los ua cov ntse hauv tshuab hluav taws xob los sib sau ua ke tag nrho cov khoom no. Kuv kwv yees txhua yam koj xav tau tsuas yog lub hom phiaj dav siv cov khoom siv thiab siv sijhawm me ntsis.

Kauj ruam 2: Soldering

Soldering
Soldering

Lub rooj tsavxwm tau kos tawm nrog txhua daim duab ntawm cov khoom siv ntawm nws, yog li txawm tias koj tsis paub tias cov khoom siv twg yog nws yooj yim heev los nrhiav qhov chaw raug rau nws. Kuv tab tom yuav teeb tsa cov khoom siv los ntawm sab saum toj mus rau hauv qab kom kuv nkag tau yooj yim rau txhua ntawm lawv thaum siv cov laug.

Cia ua ntej muab tshuaj txhuam 1K PR1 resistor pob rau lub rooj tsavxwm. Ib kawg ntawm cov pob resistor muaj qhov dawb ntawm nws. Lub ntsej muag dawb nyob ntawm lub xwmfab tig mus rau sab laug ntawm lub moos. Tom qab ntawd, Kuv tab tom siv 8550 PNP transistor rau pawg thawj coj. Tsuas yog phim 'D' ntawm transistor rau 'D' kos rau ntawm lub rooj tsavxwm thiab koj yuav tsis muaj qhov tsis raug.

Tom ntej no, Kuv tab tom siv lub 10μF capacitor. Lub +ve davhlau ya nyob twg lossis cov ceg ntev ntawm lub capacitor swb rau hauv lub qhov uas muaj qhov ntxiv rau ib sab ntawm nws.

Nws tsis muaj teeb meem dab tsi yuam kom koj muab cov khoom sib dhos tso rau ntawm lub rooj tsavxwm. Qhov laj thawj kuv tab tom muab lawv tso rau saum los rau hauv qab yog kom nkag tau yooj yim rau cov khoom siv thaum kuv tso lawv rau ntawm lub rooj tsavxwm.

Tom qab siv lub hauv paus ntawm IC Kuv tab tom siv lub 2 x 10K resistors thiab 3 cov khoom siv hluav taws xob rau lub rooj tsavxwm. Tom ntej no, Kuv tab tom siv lub 12MHz oscillator siv lead ua thiab lub suab nrov rau lub rooj tsavxwm. Qhov zoo ntawm txhais tes ntawm lub buzzer swb rau hauv lub qhov uas muaj cov cim ntxiv rau nws. Tom qab ntawd, Kuv tab tom xaum 2 x thawb cov khawm thiab cov ntsia hlau dav hlau thaiv. Kuv yeej tsis nyiam lub tswvyim ntawm muaj cov nyees khawm nyob rau hauv pem hauv ntej, tom qab ntawd kuv yuav txav lawv mus rau tom qab ntawm chav tsev. Cov khoom siv hluav taws xob tuaj yeem nyob nruab nrab ntawm 3v txog 6v. Lub moos no tseem los nrog 2 lub tswb sib txawv. Koj tuaj yeem teeb tsa lawv lossis tua lawv yog tias koj tsis xav tau. Lub moos no tsuas yog qhia hauv 24 teev moos. Kuv tsis paub txog koj tab sis kuv nyiam 24hrs hom ntawv yog li nws yog qhov zoo rau kuv.

OK, tam sim no qhov kawg me ntsis, cia siv lub 4-Bit 7-ntu zaub thiab teeb tsa AT89C2051 IC rau lub qhov (socket). Nco ntsoov thaum koj muab tshuaj txhuam rau 7-Segment dot ntawm lub kaum sab xis hauv qab kom phim cov teev ntawm lub rooj tsavxwm. Cov lus qhia no siv hluav taws xob ntau tam sim no, ua ntej tsim lub thawv ntawv Kuv yuav ua lej me ntsis los kwv yees tias lub moos yuav nyob ntev npaum li cas ntawm lub roj teeb uas tau them.

Kauj Ruam 3: Xeem

Kev Xeem
Kev Xeem

Thaum txhua yam tau muag nws lub sijhawm rau peb los ua qhov kev xeem nrawm. Zoo li txhua yam ua haujlwm raws li lawv yuav tsum tau, yog li cia tam sim no ua lej thiab nrhiav seb pes tsawg teev lub moos no yuav nyob ntev yam tsis tau them lub roj teeb.

Kauj Ruam 4: Xam Tam Sim No

Muab xam tam sim no
Muab xam tam sim no

Txhawm rau xam qhov tam sim no peb yuav tsum teeb tsa peb lub multimeter rau hom kev xam tam sim no. Tom qab ntawd txuas lub multimeter hauv koob nrog lub moos rau lub roj teeb. Lub roj teeb 18650 Kuv tau tuav 1500mAh tam sim no thiab los ntawm kev saib lub multimeter nws zoo li lub moos siv yuav luag 25mAh tam sim no. Yog li, yog tias peb faib 1500 los ntawm 25 peb tau 60 teev uas zoo li 2.5 hnub.

1500mA / 25mA = 60 teev

60 teev / 24 = 2.5 hnub

Kauj ruam 5: Pib dua Khawm

Pib dua khawm
Pib dua khawm

Kuv tau pom tias thaum koj tso lub roj teeb rov qab tom qab nws mus tas li lub moos qhia txhua yam kev lom zem tshwj tsis yog lub sijhawm ntawm cov zaub. Yog li, ntxiv khawm rov pib dua rau lub moos ntoo no yog lub tswv yim zoo. Rov qab mus rau lub moos phau ntawv qhia thiab saib mus rau hauv daim duab qhia chaw. Saib ntawm lub Circuit koj tuaj yeem pom tias Pin 1 ntawm IC yog Pib dua tus pin. Kev khawb me ntsis ntxiv, koj tuaj yeem yooj yim txheeb xyuas tias kom rov pib dua IC koj tsuas yog xav teeb tus pin rau HIGH. Yog li ntawd nws, bingo. Cia ua qhov kev sim nrawm thiab pom tias kuv tau tsoo lub jackpot lossis tsis. Auj yog, cov ntshav ntawd ua haujlwm. Txias, tam sim no cia mus tom ntej thiab tsim lub thawv ntoo rau lub moos no.

Kauj Ruam 6: Ntoo Ntoo

Ntoo
Ntoo

Thaum ntxuav kuv chav muag khoom kuv saib cov pawg ntoo seem uas kuv muaj nyob ntawd. Kuv xav tsis thoob thaum pom cov nyiaj kuv tau sau ua haujlwm dhau. Nws zoo li, kuv cov pawg seem tawg txhua lub sijhawm kuv tsim txoj haujlwm tshiab! Qhov project loj dua, pawg loj ntawm seem ntoo! Yog li, Kuv tau siv me ntsis ntawm nws los tsim qhov zoo saib rau ntawm lub moos no.

Kuv kuj tau ntxiv ob peb hloov kho rau qhov haujlwm me me uas kuv yuav qhia koj hauv video.

Kauj Ruam 7: Txhim Kho Cov Khawm Push

Txhim Kho Cov Laub Khawm
Txhim Kho Cov Laub Khawm
Txhim Kho Cov Laub Khawm
Txhim Kho Cov Laub Khawm
Txhim Kho Cov Laub Khawm
Txhim Kho Cov Laub Khawm

Raws li tau tham ua ntej kuv tab tom txav lub pob nyem ntawm sab xub ntiag mus rau tom qab ntawm chav tsev. Kuv kuj tseem ntxiv khawm rov pib dua nrog rau lwm ob lub khawm rau sab nraub qaum. Kuv xaiv plywood los tsim lub vaj huam sib luag tom qab nws muaj tuab tuab dua li pallet-ntoo.

Siv qhov me ntsis laum me ntsis kuv tabtom khawb txhua qhov uas xav tau rau 3 lub khawm. Tom qab ntawd kuv tab tom siv txoj hlua 6 txoj hlua txuas rau lub laub khawm. Nws yog qhov nyuaj me ntsis kom muab cov hlua khi rau cov nyees khawm, yog li txhawm rau tuav txoj hlua nruj Kuv tab tom ntxiv me ntsis ntawm cov kua nplaum kub rau nws.

Kauj Ruam 8: Txhim Kho TP4056 Charging Module

Txhim kho TP4056 Charging Module
Txhim kho TP4056 Charging Module
Txhim kho TP4056 Charging Module
Txhim kho TP4056 Charging Module

Tom ntej no, Kuv tab tom yuav teeb tsa TP4056 roj teeb them nqi nrog tiv thaiv IC rau chav nyob. Kev tiv thaiv IC tiv thaiv 18650 roj teeb los ntawm kev them ntau dua thiab tso tawm ntau dhau. Yog tias koj xav paub ntau ntxiv txog tus qauv no thov txheeb xyuas kuv cov lej qhia 2 "DIY - Solar Battery Charger". Tom qab drilling qhov loj me me nyob rau sab nraub qaum kuv tab tom yuav kub-nplaum cov qauv rau hauv.

Kauj Ruam 9: Txhim Kho Wireless Charger

Txhim kho Wireless Charger
Txhim kho Wireless Charger

Ha ha, Kuv tau dhau los ua tub nkeeg me ntsis thiab tsis siv cov ntsia hlau lossis ntsia hlau los lo rau tom qab phaj, Kuv tsuas yog kub-glued nws mus rau tom qab ntawm chav tsev.

Tom qab ntawd kuv tau ntsaws rau hauv qhov 'wireless them tus txais' rau TP4056 charging module uas kuv kuj yuav los ntawm AliExpress rau $ 3. Yog tias koj tsis xav siv lub wireless them nyiaj koj tuaj yeem siv tus hloov pauv qis lossis tus them nyiaj micro-USB.

Kauj ruam 10: Txuas Pushbuttons

Txuas lub Pushbuttons
Txuas lub Pushbuttons

Thaum lub nraub qaum nyob hauv qhov chaw kuv tab tom khawm lub laub rau lub moos. Lub pob pib dua txuas rau +ve thiab tus lej tus lej 1 ntawm MCU. Lwm qhov ob lub laub khawm yuav cia li hloov qhov nyob rau pem hauv ntej.

Kauj Ruam 11: Txuas Tus Qauv Them Nqi thiab Roj Teeb

Txuas Tus Qauv Them Nqi thiab Roj Teeb
Txuas Tus Qauv Them Nqi thiab Roj Teeb
Txuas Tus Qauv Them Nqi thiab Roj Teeb
Txuas Tus Qauv Them Nqi thiab Roj Teeb

Tam sim no cia txuas lub roj teeb thiab them nqi rau lub moos.

Txuas OUT + thiab OUT- ntawm TP4056 tus qauv rau + ve thiab -ve cov chaw nres nkoj ntawm lub moos. Tom ntej no kuv tab tom txhim kho lub roj teeb 3.7v 18650 siv cov kua nplaum kub hauv cov ntoo. Ib zaug ua tiav Kuv txuas B + thiab B- cov chaw nres nkoj ntawm TP4056 tus qauv rau + ve thiab -ve kawg ntawm lub roj teeb. Ntawd yog nws, peb yuav luag tiav.

Kauj Ruam 12: Txhim Kho Faceplate

Txhim kho Faceplate
Txhim kho Faceplate

Txhawm rau ua kom tiav txoj haujlwm Kuv yuav lo rau 7-ntu ntu rau ntawm lub ntsej muag thiab tom qab ntawd kub-nplaum nws mus rau sab xub ntiag ntawm lub thawv ntoo.

Kauj Ruam 13: Teeb Sijhawm

Teem Sijhawm
Teem Sijhawm

Txoj haujlwm tau ua tiav siv ob lub khawm S1 thiab S2. Hauv kuv qhov haujlwm, kuv hu B1 thiab B2.

  • Tuav B1 kom nkag mus rau lub moos teeb tsa hom
  • A: Teev Sijhawm - nias B2 txhawm rau hloov teev thiab B1 thaum ua tiav
  • B: Teev feeb - nias B2 txhawm rau hloov cov feeb thiab B1 thaum ua tiav
  • C: Teem Chime On/Off - nias B2 kom nws qhib lossis tua thiab B1 thaum ua tiav
  • D: Teem Tswb 1 On/Off - nias B2 kom qhib lossis tua thiab B1 thaum ua tiav
  • E: Teem Tswb 1 Teev - nias B2 kom hloov lub tswb ceeb toom thiab B1 thaum ua tiav
  • F: Teeb Tswb 1 feeb - nias B2 kom hloov lub tswb feeb thiab B1 thaum ua tiav
  • G: Teem Tswb 2 On/Off - nias B2 kom qhib lossis tua thiab B1 thaum ua tiav
  • H: Teeb Tswb 2 Teev - nias B2 txhawm rau hloov lub tswb moos thiab B1 thaum ua tiav
  • Kuv: Teem Tswb 2 feeb - nias B2 kom hloov lub tswb feeb thiab B1 thaum ua tiav

Thaum lub tswb nrov pib nrov nrov koj yuav tsum nias B2 kom tua nws. Tsis muaj kev xaiv los tso nws rau ntawm qhov chaw so; Txawm li cas los xij, raws li lub moos no muaj 2 lub tswb koj tuaj yeem teeb tsa lawv nyob rau lub sijhawm 10 lossis 5 feeb los txheeb qhov kev thuam ntawm kev xaiv.

Kauj ruam 14:

Duab
Duab

Lub moos no zoo heev thiab raug. Zoo rau txhua tus neeg nyiam DIY thiab rau cov uas nyiam cov khoom siv hluav taws xob. Kuv yeej nyiam tsim nws. Thaum tsaus ntuj kuv them kuv lub xov tooj nrog lub wireless them nyiaj thiab thaum nruab hnub lub moos nyob saum nws. Kev them nyiaj wireless muab lub moos no 100% kev txav chaw. Kuv tuaj yeem nqa nws nrog kuv mus da dej, thaum kuv noj zaub mov lossis txawm tias thaum peb tawm mus noj mov.

Ob peb yam koj hais mav tuaj yeem ntxiv rau txoj haujlwm no: * Daim ntawv pob tshab rau lub ntsej muag kom tsuas yog pom cov lej pom * Tshem tawm cov cim ntsuas los ntawm TP4056 tus qauv thiab ntxiv ob lub LEDs tom qab kom paub thaum them nyiaj tau tshwm sim thiab thaum twg lub tsev tau them tag nrho. * LDR kom dim 7-Segment thaum hmo ntuj

Kauj ruam 15: Txuas

Lub moos/moos muaj nyob ntawm no: Khw: HESAI 3C Cov khoom siv hluav taws xob khaws lub Vev Xaib: https://www.aliexpress.com/item/High-Quality-C51-… Tus nqi: AU $ 2.32/thooj

Cov Qauv Qauv: YSZ-4 Cov khoom siv hluav taws xob: 3V-6V PCB Loj: 52mm * dav 42mm

Muaj nuj nqi:

1. Kho ob vib nas this (rau tsev kawm ntawv tseeb)

2. Hloov mus rau txhua feeb ywj siab tso saib interface

3. tag nrho lub sijhawm (8-20 teev lub suab nrov tuaj yeem tua tau)

4. Ob lub tswb teeb tsa (koj tuaj yeem tua lub tswb muaj nuj nqi)

Cov Khoom Nta:

A. 0.56 nti tshwj xeeb liab liab moos rau zaub;

B. Ntshuam AT89C2051 rau tus tswv nti;

C. 1.2 hli tuab PCB ua los ntawm qib tub rog FR-4 pawg thawj coj saib;

D. yog lub sijhawm mus txawv tebchaws, lub sijhawm mus txawv tebchaws yuam kev -1 txog +1 vib nas this txhua 24 teev.

Pom zoo: