Cov txheej txheem:

DIY Tswb: 9 Kauj Ruam
DIY Tswb: 9 Kauj Ruam

Video: DIY Tswb: 9 Kauj Ruam

Video: DIY Tswb: 9 Kauj Ruam
Video: Sisnab muas & Pajntsais vwj: Tub yug nyuj - Ntxhais paj ntaub. 12/12/2022 2024, Hlis ntuj nqeg
Anonim
Image
Image
SIB CD4017
SIB CD4017

Koj puas tau raug nyiag thaum tsaug zog thiab xav tias yog koj tsaug zog lossis ib tus neeg tsa koj sawv, koj tuaj yeem tiv thaiv kev ua tub sab, qee yam zoo sib xws tshwm sim rau kuv thiab nws tau tshoov kuv siab kom ua qhov DIY tswb. Nws tsis yog 100% feem pua zoo tab sis nws zoo dua li tsis muaj dab tsi. Yog li cia pib …

Kauj Ruam 1: Cov Cheeb Tsam thiab Cov Khoom Xav Tau

1. CD4017 ib

2. L293D ic

3. 9.1k resistor (ib qho resistor los ntawm 2k ohms txog 10k ohms yuav tsum ua haujlwm zoo)

4.8 tus pin IC qhov (kuv txhais tau tias 8 tus pin ntawm ob sab uas suav txog 16 tus pin)

5. Stripped vero board lossis ib qho uas koj xaiv

6.7805 ib

7. Qhov nrov nrov (3v - 24v)

8. xov hlau

9. Kev sib thooj sensor

10. 12V DC nkaus

Kauj Ruam 2: Cov Cuab Yeej Xav Tau

1. Soldering hlau (kuv siv 60 watts soldering hlau)

2. Cov laug

3. Qhov thib peb txhais tes nrog iav tsom iav (xaiv tau)

4. Multimeter

Cov kab txuas txuas rau cov khoom siv thiab cov cuab yeej yog txuas rau Nigerian cov khoom siv hluav taws xob tiv thaiv tab sis koj tseem tuaj yeem tshawb xyuas cov khoom thiab cov cuab yeej ntawm ebay, amazon, digi key, sparkfun, bangood, aliexpress thiab ntxiv rau

Kauj Ruam 3: IC CD4017

ic cd4017 yog kaum xyoo txee. nws teeb nws tso tawm thiab tawm ua ntu zus (ib qho tom qab ib qho) txhua lub sijhawm tus mem tes raug xa mus rau nws.

Dab tsi yog PULSE ?????

Pulse (ua cov teeb liab) - Wikipediaen.wikipedia.org ›wiki› Pulse_ (signal_processing) Lub plawv dhia hauv kev ua lub teeb liab yog nrawm, hloov pauv ib ntus ntawm qhov teeb liab los ntawm tus nqi pib mus rau siab dua lossis qis dua, ua raws li nrawm rov qab..

CD4017 Tus Pin Configuration

  1. 1 txog 7, 9 thiab 10 thiab 11 (Q0 - Q9) yog cov pins ntawm CD4017
  2. tus pin 8 yog vss lossis gnd
  3. tus pin 12 (tsis xav tau hauv txoj haujlwm no)
  4. tus pin 13 qhov no yuav tsum txuas nrog GND, yog HIGH nws yuav tuav tus suav ntawm lub xeev tam sim no (yog tus pin 3 tau siab thiab tus pin 13 tau ua HIGH tus pin 3 yuav nyob HIGH thiab yuav tsis hloov nws lub xeev txawm tias koj xa tus mem tes, koj yuav tsum teeb tus pin 13 LOW (txuas rau GND ua ntej nti yuav rov qab mus ua haujlwm ib txwm muaj)
  5. tus pin 15 yog tus pin rov pib dua (pib tag nrho cov txheej txheem txij thaum pib pin3 (Q0)
  6. tus pin 16 yog vdd (qhov hluav taws xob muab hluav taws xob (5v rau txoj haujlwm no) voltage ntau = 3v txog 15v)

N: B thaum lub nti tau siv tus pin 3 (Q0) los ua ntej.

Kauj ruam 4: L293D

L293D ua
L293D ua

Qhov no yog tus tsav tsheb dual H choj. Kuv siv nws los tsav (qhib thiab tua) kuv lub suab nrov nrog 12v. nws muaj 16 tus pin

  • tus pin 1 (EN 1) qhib thawj H choj (nws yuav tsum tau teeb tsa siab (kuv xav tias 2.5v - 5v) yuav tsum teeb tsa nws siab)
  • tus pin 2 yog INPUT 1 (IN 1) uas tswj hwm lub xeev tus pin 3 (uas yog OUTPUT 3)
  • pin 3 yog OUTPUT 1
  • tus pin 4, 5, 12, 13 yog GND yuav tsum txuas nrog GND
  • tus pin 6 yog OUTPUT 2
  • Tus Pin 7 yog INPUT 2 uas tswj OUTPUT 2
  • Pin 8 txuas nrog cov khoom siv hluav taws xob (uas yog 12v lossis siab dua tab sis yuav tsum tsis pub tshaj 24v) qhov hluav taws xob no yog rau tsav peb lub suab nrov.
  • Pin 16 yuav tsum txuas nrog 5v
  • Peb yuav tsis siv lwm tus pin rau txoj haujlwm no

Kauj ruam 5: 7805 Ic

7805 ib
7805 ib

Nov yog qhov yooj yim ic peb yuav siv hauv txoj haujlwm no. nws muaj 3 tus pin. Cov ic no ua txhua qhov hluav taws xob los ntawm 7V - 32V nqes mus rau 5V. yog tias nws pib ua kom sov dua, kuv qhia kom siv lub dab dej sov, tab sis kuv tsis tau pom tiag tiag kuv li cua sov.

  • Tus Pin 1 yog tus pin muab hluav taws xob, 12v yuav tsum txuas nrog nws.
  • Tus Pin 2 yog GND tus pin thiab yuav tsum txuas nrog GND
  • Tus Pin 3 yog Tus Pin Voltage tso tawm, qhov no yog qhov uas peb tsib qhov hluav taws xob tawm los ntawm

Kauj Ruam 6: Qhov INFRARED (IR) PROXIMITY SENSOR

Qhov ntsuas no muaj ob lub diodes ib qho tso tawm (ir transmitter) lub teeb infrared rau lwm qhov hnov lub teeb infrared.

QHOV CHAW UA HAUJ LWM:

Thaum lub ntsuas hluav taws xob tig rau ntawm IR tus xa hluav taws xob tso tawm lub teeb infrared, thaum lub teeb no tsoo thiab teeb meem nws thaws rov qab thiab IR tus txais tau txais nws.

IR sensor module kuv tau siv xa lub LOW teeb liab thaum IR teeb rov qab los rau nws. Txhawm rau txheeb xyuas yog tias koj tus HIGH lossis LOW txuas tus +ve (anode) ntawm thiab LED nrog 330 ohm resistor rau qhov tso tawm ntawm koj li IR sensor thiab tom qab ntawd txuas GND ntawm koj lub IR sensor mus rau LED cathode, txuas 5v rau koj IR sensor thiab txuas nws GND rau GND ntawm koj lub zog mov.. Coj koj txhais tes ze rau nws lub IR sensor (qhov twg qhov tseeb yog (lub diodes (zoo li LED)) yog tias LED tuaj ntawm qhov ntawd txhais tau tias koj lub sensor tau xa tawm lub teeb liab siab. thaum nws tau txais IR lub teeb tab sis yog tias LED tau ON txawm tias ua ntej koj tau nyob ze nws thiab thaum koj coj koj txhais tes ze rau nws mus OFF ces nws ua haujlwm zoo li kuv.

yog xav paub ntau ntxiv txog IR sensors thiab nws cov qauv koj tuaj yeem tshawb hauv internet lossis tshawb xyuas cov vis dis aus hauv youtube

Kauj Ruam 7: Tsim Lub Circuit: Soldering Ic Sockets

Tsim kom muaj Circuit: Soldering Ic Sockets
Tsim kom muaj Circuit: Soldering Ic Sockets
Tsim kom muaj Circuit: Soldering Ic Sockets
Tsim kom muaj Circuit: Soldering Ic Sockets
Tsim kom muaj Circuit: Soldering Ic Sockets
Tsim kom muaj Circuit: Soldering Ic Sockets
Tsim kom muaj Circuit: Soldering Ic Sockets
Tsim kom muaj Circuit: Soldering Ic Sockets

ntsaws koj lub qhov (socket) rau hauv lub vero board nrog lawv cov pins hauv sab tooj liab, muab lawv txuas rau koj lub rooj tsavxwm, tom qab ntawd txhuam cov tooj liab ntawm lawv cov pins, qhov no txuas cov pins ntawm ib sab uas nyob ib sab, tsis txhob hnov qab ua qhov no, lossis lwm yam nws yuav tsis ua ua haujlwm lossis tsis zoo koj yuav ua rau koj lub Circuit puas. ua qhov no rau ob qho ic qhov (socket). koj tuaj yeem siv koj lub multimeter los tshuaj xyuas yog tias ib sab (sab nraud) sab ntawm lub qhov rooj txuas tau txuas nrog. teeb tsa koj lub multimeter zoo li hauv daim duab yog tias ob txoj hauv kev tau kov ib leeg nws yuav ua lub suab kom koj tuaj yeem siv qhov no txhawm rau txheeb xyuas yog tias koj tau muab cov tooj liab tso rau hauv nruab nrab ntawm cov pins sib txawv. Xa mus rau daim duab thib peb thiab duab plaub kom nkag siab zoo.

Kauj Ruam 8: Schematics thiab Kev Sib Txuas

Schematics thiab Kev Sib Txuas
Schematics thiab Kev Sib Txuas
Schematics thiab Kev Sib Txuas
Schematics thiab Kev Sib Txuas
Schematics thiab Kev Sib Txuas
Schematics thiab Kev Sib Txuas
Schematics thiab Kev Sib Txuas
Schematics thiab Kev Sib Txuas

TIAB SA 4017

txuas

tus pin 3 rau tus pin 7 ntawm l293d

tus pin 8 thiab 13 rau GND

tus pin 14 rau qhov tso tawm ntawm peb qhov sib thooj sensor

tus pin 15 rau ib kawg ntawm 9.1k ohms resistor rau lwm qhov kawg ntawm tus tiv thaiv yuav tsum mus rau GND

ib qho kawg ntawm kev hloov pauv yuav tsum mus 5V (tus pin 3 ntawm 7805 IC) thiab lwm qhov kawg yuav tsum mus rau tus pin 15 (ncaj qha rau tus pin 15)

pin 16 to 5V (pin 3 of 7805 IC)

Peb yuav tsis siv lwm tus PINS

L293D ua

pin 1, 2, 16 to 5V (pin 3 of 7805 IC)

tus pin 3 rau +ve lead (xaim) ntawm buzzer tus pin 6 rau -ve txhuas (xaim) ntawm buzzer

pin 4, 5, 12, 13 to GND

tus pin 7 rau tus pin 3 ntawm CD4017

pin 8 to 12v (pin 1 of 7805 IC)

peb yuav tsis siv lwm tus pin

7805 ib

pin 1 - 12 v

pin 2 to GND

pin 3 muab 5V

IR sensor module

Vin to 5V

GND to CSY

Tawm mus rau tus PIN 14 ntawm CD4017

12V DC JACK

txuas tus +ve ntawm koj lub dc jack rau tus pin 1 ntawm 7805 IC

txuas qhov tsis zoo rau GND

Kauj ruam 9: Debugging

yog tias lub buzzer tsis yog koj txuas nws tsis raug, yog li tsuas yog thim rov qab qhov kev sib txuas, yog tias tag nrho cov hluav taws xob tsis ua haujlwm txhua, siv koj lub ntsuas 'meter' txhawm rau tshawb xyuas luv luv lossis txuas tsis zoo.

yog tias koj muaj teeb meem, tsuas yog nug kuv hauv kab lus. Ua Tsaug.

Pom zoo: