Cov txheej txheem:

Roj teeb Powered LED Teeb (s) Nrog Hnub Ci Them: 11 Cov Kauj Ruam (nrog Duab)
Roj teeb Powered LED Teeb (s) Nrog Hnub Ci Them: 11 Cov Kauj Ruam (nrog Duab)

Video: Roj teeb Powered LED Teeb (s) Nrog Hnub Ci Them: 11 Cov Kauj Ruam (nrog Duab)

Video: Roj teeb Powered LED Teeb (s) Nrog Hnub Ci Them: 11 Cov Kauj Ruam (nrog Duab)
Video: Tswv Yexus lub neej thaum pib txug thaum xaus 2024, Hlis ntuj nqeg
Anonim
Roj teeb Powered LED Teeb (s) Nrog Hnub Ci Them
Roj teeb Powered LED Teeb (s) Nrog Hnub Ci Them
Roj teeb Powered LED Teeb (s) Nrog Hnub Ci Them
Roj teeb Powered LED Teeb (s) Nrog Hnub Ci Them

Kuv tus poj niam qhia tib neeg kom ua xab npum, feem ntau ntawm nws chav kawm tau nyob rau yav tsaus ntuj thiab ntawm no thaum lub caij ntuj no nws tsaus ntuj thaum 4:30 tsaus ntuj, qee tus ntawm nws cov tub ntxhais kawm ntawv muaj teeb meem nrhiav peb lub tsev. Peb tau kos npe tawm sab xub ntiag tab sis txawm tias muaj teeb pom kev hauv txoj cai lub cim tsis yooj yim pom. Txhawm rau khiav lub zog tawm mus rau qhov chaw kos npe yuav muaj teeb meem ntau, nyob rau lub sijhawm no kuv tau saib ib pawg ntawm YouTube cov vis dis aus hais txog yuav ua li cas thiaj li tsim teeb pom kev zoo siv LED, vaj huam sib luag hnub ci, thiab roj teeb. Thaum qhov no ua haujlwm nws tsis tau ua tiav txhua qhov kev xav tau kuv xav hauv lub teeb pom kev zoo rau nws kos npe. Yeej, lub Circuit Court xav tau los ua cov hauv qab no

  • Them lub roj teeb thaum nruab hnub nrog lub hnub ci vaj huam sib luag
  • Tuaj qhib thaum hmo ntuj
  • Nws yuav tsum muaj peev xwm tig nws tawm thaum chav kawm tiav tab sis nws tig rov qab rau yav hmo ntuj tom ntej
  • Peb yuav tsum muaj peev xwm tig nws tawm rau hnub so, hnub so, thiab hnub so yam tsis muaj nws tig rov qab.

Hauv cov duab no koj tsuas tuaj yeem pom cov hlua LED nyob tom qab kos npe kom pom nws, nws xav tau qee zaum lwm 3 kab, Kuv tsuas yog tsis tau ncig los txhim kho lawv. Sab nraum qab ntawm daim paib qhia pom qhov hloov pauv rocker, laub-khawm hloov thiab LED los qhia tias daim paib nyob rau thaum nws tsis nco qab thiab sab laug, peb tuaj yeem pom nws los ntawm peb lub qhov rai chav nyob thiab mus tua lub teeb. Muaj tiag tiag yog ib daim plexiglass uas swb hla cov nyees khawm thiab LED kom tsis txhob nag los ntawm lawv.

Khoom siv:

Khoom siv

  • Soldering Hlau
  • Cov qhob cij
  • Breadboard jumper xov hlau ntawm ntau qhov ntau thiab tsawg

Qhov

  • 18650 roj teeb (x1) Amazon.ca / Banggood / AliExpress
  • 5V 500mAh hnub ci vaj huam sib luag (x2) Amazon.ca
  • 220 ohm resistor (x1) Amazon.ca / Banggood / AliExpress
  • 10k resister (x2) saib saum toj no rau kev yuav khoom txuas
  • 5V Coil Bistable Latching Relay Amazon.ca / AliExpress
  • JST txuas Amazon.ca / Banggood / AliExpress
  • Momentary Toggle Hloov 2 tus pin Amazon.ca / Banggood / AliExpress
  • Rocker Hloov 2pin Amazon.ca / Banggood / AliExpress
  • 5V LED [ib leeg lossis hlua]
  • 22awg hlau rau LED strips Amazon.ca / Banggood / AliExpress
  • 1N5819 Schottky Barrier Rectifier Diode (x1) Amazon.ca / Banggood / AliExpress
  • S9012 PNP Transistor (x1) Amazon.ca / Banggood / AliExpress
  • BC547 NPN Transistor (x1) Amazon.ca / Banggood / AliExpress
  • 2.54mm Breakable Pin Txiv Neej Pin Header Connectors Amazon.ca / Banggood
  • TP4056 5V 1A Micro USB 18650 Lithium Battery Charging + Kev Tiv Thaiv Circuit Board Charger Module Amazon.ca / Banggood / AliExpress
  • 2.54mm Ncaj Poj Niam Hloov PCB Pins Amazon.ca / Banggood / AliExpress

Yeem Yam

  • Terminal Connectors (hloov mus rau JST Connectors) Amazon.ca / Banggood / AliExpress
  • tsab ntawv tshaj tawm Circuit board Amazon.ca / Banggood / AliExpress

Lub 18650 roj teeb yog pheej yig tshaj ntawm AliExpress tab sis tiag tiag ua tib zoo saib xyuas cov nqi thauj khoom, qee qhov yog qhov txaus ntshai. Banggood zoo li nyob nruab nrab ntawm txoj kev, roj teeb kim dua tab sis kev thauj khoom yog qhov tsim nyog. Ntawm Amazon, kev thauj khoom yog dawb tab sis tus nqi roj teeb yog siab heev. Txoj hauv kev zoo tshaj kom tau txais cov roj teeb no yog lub laptop roj teeb ntim rau rov ua dua tshiab, koj tuaj yeem tau txais txog 6 tus neeg lub hlwb, tsawg kawg 1 ntawm cov uas tseem yuav zoo. Tsuas yog ua tib zoo saib xyuas pob khoom sib nrug, zam kev luv luv rau lawv.

Kauj Ruam 1: Cov Laum Pins rau TP4056 Module

Cov Laum Pins rau TP4056 Module
Cov Laum Pins rau TP4056 Module
Cov Laum Pins rau TP4056 Module
Cov Laum Pins rau TP4056 Module

Nov ua kom yooj yim los txheeb xyuas cov pins twg yog qhov zoo thiab tsis zoo Kuv siv liab thiab dub. Tua tawm 2 tus pin dub thiab 2 tus pin liab thiab tso lawv txuas los ntawm cov yas, cov no tau muab txuas rau 2 tus pin qhov rau B+/Out+ thiab B-/Out-. Koj tseem yuav xav tau ib tus pin ntawm txhua xim los txuas rau lub zog hauv.

Yog li txoj hauv kev yooj yim tshaj plaws los ua qhov no yog tso ib qho ntawm tus pin, ntev tshaj plaws ntawm txhais ceg tom qab daim yas tso rau hauv lub khob cij, tso lub zog tsis zoo-hauv tus pinhole ntawm tus qauv them nyiaj ntawm tus pin, saib qhov twg lwm tus pin xav tau. kom nyob rau ntawm lub khob cij thiab muab tso rau hauv lawv qhov chaw tsim nyog kom txhua tus pin nyob ntawm lub khob cij thiab lawv zaum hauv qhov ntawm qhov them nqi. Tam sim no nrog cov pins tuav ruaj khov nyob rau hauv qhov chaw ntawm lub khob cij thiab them nqi them nyiaj zaum saum toj ntawm lawv koj tuaj yeem muab tag nrho cov pins tso rau hauv qhov chaw.

Kauj Ruam 2: Cov Hluav Taws Xob Hluav Taws Xob rau Hnub Ci Panels

Cov Hluav Taws Xob Hluav Taws Xob rau Hnub Ci Panels
Cov Hluav Taws Xob Hluav Taws Xob rau Hnub Ci Panels
Cov Hluav Taws Xob Hluav Taws Xob rau Hnub Ci Panels
Cov Hluav Taws Xob Hluav Taws Xob rau Hnub Ci Panels
Cov Hluav Taws Xob Hluav Taws Xob rau Hnub Ci Panels
Cov Hluav Taws Xob Hluav Taws Xob rau Hnub Ci Panels
Cov Hluav Taws Xob Hluav Taws Xob rau Hnub Ci Panels
Cov Hluav Taws Xob Hluav Taws Xob rau Hnub Ci Panels

Yog tias koj xav ua ib yam li kuv tau ua thiab txuas 2 lub vaj huam sib luag ua ke kom koj ua tib lub zog tab sis siab dua amps tom qab ntawd txuas cov xov hlau mus rau qhov zoo thiab tsis zoo ntawm ib lub vaj huam sib luag thiab muab qhov zoo los ntawm lub vaj huam sib luag mus rau qhov zoo ntawm ob vaj huam sib luag, ua tib yam nrog cov xaim tsis zoo. Tom qab ntawd muab cov xov hlau txuas nrog JST txuas rau qhov zoo/tsis zoo ntawm ib qho ntawm cov vaj huam sib luag

Yog tias siv JST txuas ces tso daim nrog cov pins ntawm lub khob cij raws li daim duab, kom ntseeg tau tias qhov zoo los ntawm lub hnub ci ci tau txuas nrog txoj kev tsheb nqaj hlau zoo ntawm lub khob cij.

Kauj Ruam 3: Npaj Roj Teeb

Npaj Roj Teeb
Npaj Roj Teeb
Npaj Roj Teeb
Npaj Roj Teeb
Npaj Roj Teeb
Npaj Roj Teeb

Txuas lwm JST txuas rau koj lub roj teeb, tso daim nrog cov pins ntawm qhov kawg ntawm lub khob cij tab sis tseem nyob ntawm cov ntsia hlau. Raws li nrog lub hnub ci ci kom ntseeg tau tias qhov zoo thiab tsis zoo nyob ntawm txoj kab uas tsim nyog ntawm lub khob cij.

Kauj Ruam 4: Txuas Txuas Tus Nqi Them Nqi

Txuas Txuas Tus Nqi Them Nqi
Txuas Txuas Tus Nqi Them Nqi
Txuas Txuas Tus Nqi Them Nqi
Txuas Txuas Tus Nqi Them Nqi
Txuas Txuas Tus Nqi Them Nqi
Txuas Txuas Tus Nqi Them Nqi

Tso tus qauv them nqi, nrog cov pins soldered rau, rau ntawm lub rooj tsavxwm tab sis tsis txhob nias nws rau hauv pawg thawj coj saib raws li peb yuav xav tau tso cov xov hlau hauv qab nws tseem. Tawm ob lub qhov taub los ntawm txoj kev tsheb nqaj hlau saum toj kawg nkaus, saib daim duab thib 2.

Muab lub xaim jumper los ntawm txoj kab tsheb tsis zoo mus rau qhov 1 qhov siab tshaj qhov tsis zoo-hauv tus pin

Muab lub Schottky diode, 1N5819, los ntawm txoj kev tsheb nqaj hlau txuas mus rau lub zog zoo-hauv tus pin, cov hlua nyiaj yuav tsum nyob ze rau lub hwj chim-hauv tus pin vim yog qhov kev qhia uas koj xav kom lub zog ntws, yog tias nws ntsib lwm txoj hauv kev tsis muaj lub hwj chim yuav ntws mus rau qhov them nqi. Schottky diode tau raug xaiv rau nws "Tsawg zog poob/ua haujlwm zoo yam ntxwv yam ntxwv" uas yog kwv yees li ib nrab ntawm cov diode ib txwm muaj. Lub diode tau ntxiv los tiv thaiv qhov hluav taws xob rov qab ntws thaum hmo ntuj rov qab rau hauv lub hnub ci vaj huam sib luag uas tom qab ntawd nkim lub zog.

Kauj Ruam 5: Txuas Lub Charger rau Roj Teeb

Txuas lub Charger rau Roj Teeb
Txuas lub Charger rau Roj Teeb
Txuas lub Charger rau Roj Teeb
Txuas lub Charger rau Roj Teeb
Txuas lub Charger rau Roj Teeb
Txuas lub Charger rau Roj Teeb
Txuas lub Charger rau Roj Teeb
Txuas lub Charger rau Roj Teeb

Ntawm no peb tsuas yog txuas lub roj teeb rau lub tsub them nqi, koj tseem tuaj yeem pom vim li cas koj tseem tsis xav nias lub pob them nqi rau hauv lub khob cij tam sim no.

Yog li nws tsuas yog B+ ntawm tus qauv mus rau txoj kev tsheb nqaj hlau zoo ntawm lub roj teeb thiab B- mus rau txoj kev tsis zoo ntawm lub roj teeb

Kauj Ruam 6: Teeb tsa Thawj Hloov Hloov Hloov

Teeb tsa Thawj Hloov Hloov Hloov
Teeb tsa Thawj Hloov Hloov Hloov
Teeb tsa Thawj Transistor Hloov
Teeb tsa Thawj Transistor Hloov
Teeb tsa Thawj Hloov Hloov Hloov
Teeb tsa Thawj Hloov Hloov Hloov

Tam sim no peb ntxiv PNP S9012 Transistor

Lub tshuab hluav taws xob no yuav ua haujlwm hloov pauv, yog tias lub hnub ci ci tsim hluav taws xob (piv txwv li nws yog nruab hnub) tom qab ntawd tsis muaj lub hwj chim yuav tso cai los ntawm lub transistor, ua kom lub teeb tawm tau zoo thiab tso cai rau lub roj teeb kom them.

Txuas 1 lub xov tooj hluav taws xob luv luv los ntawm lub zog-hauv tus pin ntawm lub them nqi hluav taws xob mus rau qhov chaw khoob ntawm lub khob cij [duab 1]

txuas 10k resistor [duab 2] mus rau lub xov hlau jumper

txuas lub hauv paus ntawm transistor rau tus tiv thaiv [duab 3]

txuas tus Sau ntawm transistor mus rau Out+ pin ntawm lub them nqi [duab 4]

txuas tus Emitter ntawm transistor mus rau txoj kab nqes qis ntawm lub khob cij [duab 5]

Kauj Ruam 7: Cuam Tshuam Ntxiv Hauv av

Cias Txuas Ntxiv Hauv Av
Cias Txuas Ntxiv Hauv Av
Cias Txuas Ntxiv Hauv Av
Cias Txuas Ntxiv Hauv Av

Txuas Out- mus rau txoj kev tsheb nqaj hlau tsis zoo.

Qhov ntawd yog qhov them nqi hluav taws xob ua tiav thiab thawj qhov hloov pauv transistor tiav.

Txhua yam koj yuav tsum tau ua tam sim no yog ua lub rooj them nqi puv rau hauv lub khob cij.

Yog tias txhua yam koj xav tau yog lub roj teeb siv hluav taws xob LED uas tig rau hmo ntuj, tawm thaum nruab hnub thiab lub roj teeb uas tau them thaum nruab hnub ces qhov no yog qhov koj xav tau mus. Koj tsuas yog yuav tsum tau muab cov khoom sib dhos tso rau ntawm lub rooj tsav xwm hauv Circuit kom paub tseeb tias khaws cov cim ib yam li cov xov hlau thiab qhov ntawd yog nws. LED yuav txuas nrog qhov zoo los ntawm Emitter ntawm transistor thiab qhov tsis zoo los ntawm Out-

Txhawm rau ntxiv lub laub khawm thiab hloov rocker tom qab ntawd ua raws nrog cov theem ntxiv.

Kauj Ruam 8: Qhov thib 2 Transistor Hloov

Qhov thib 2 Transistor Hloov
Qhov thib 2 Transistor Hloov
Qhov thib 2 Transistor Hloov
Qhov thib 2 Transistor Hloov
Qhov thib 2 Transistor Hloov
Qhov thib 2 Transistor Hloov

Yog li qhov no yog qhov hloov pauv uas mus rau qhov txuas mus tso cai rau LEDs qhib thaum hmo ntuj.

txuas lub xov hlau jumper los ntawm txoj kev tsheb nqaj hlau zoo ntawm Sab Hnub Ci Vaj Huam Sib Luag sab, tsis yog sab roj teeb thiab tsis yog tom qab Diode. Vim qee qhov kuv tseem tsis tau txiav txim siab tseem yuav tsis ua haujlwm yog tias kev txuas mus rau Lub hauv paus ntawm transistor tau ua tom qab lub diode. Txiv kab ntxwv xaim hauv daim duab 1, los ntawm qhov zoo mus rau kab ntawv 37 ntawm lub khob cij.

txuas 10k resistor mus rau qhov kawg ntawm jumper hlau koj nyuam qhuav tso [duab 2]

tso lub hauv paus ntawm lub transistor kom nws txuas rau lub resistor

txuas tus Collector ntawm transistor mus rau txoj kev tsheb ciav hlau zoo ntawm lub roj teeb.

Peb yuav txuas tus Emitter ntawm transistor hauv ntu tom ntej

Kauj ruam 9: Ntxiv Relay

Ntxiv qhov Relay
Ntxiv qhov Relay
Ntxiv qhov Relay
Ntxiv qhov Relay

Yog li qhov no yog ob chav pov tseg, ob chav ncej, latching relay. Qhov latching yog dab tsi ua rau qhov kev xa khoom zoo tshaj plaws rau txoj haujlwm no, "Feem ntau cov xa khoom xav tau qhov hluav taws xob txuas ntxiv me me kom nyob twj ywm. Lub latching relay yog qhov sib txawv. xav tau lub zog. " Qhov kuv tau ua ntawm no thiab qhov kuv pom zoo yog cim ob sab ntawm kev xa mus qhia qhov chaw nyob yog vim li cas ib zaug tso rau ntawm lub rooj tsavxwm koj tsis tuaj yeem pom lawv ntxiv lawm.

ua ntej cia peb tso cov khoom sib txuas, vim nws cov pins me me koj yuav muaj lub sijhawm nyuaj ua kom muaj kev sib txuas hauv lub khob cij yog li siv tus poj niam sib cais puag ncig header pins ua haujlwm tau zoo heev [duab 2]. Koj yuav xav tau 8 tus pin ntawm ib sab. Kuv tau sim IC lub qhov (socket) tab sis nws yog qhov phem dua li lub khob cij rau tuav qhov txuas.

txuas tus Emitter ntawm BC547 transistor rau tus pin 2 ntawm sab uas nyob ze ntawm lub davhlau ya nyob twg roj teeb. Kev xa tawm tuaj yeem txuas nrog ib sab lossis lwm qhov zoo, yog li sab twg qhov zoo nyob ntawm qhov tsis muaj teeb meem tiag, nws tsuas yog ua kom yooj yim rau yam tam sim no.

txuas tus pin 1 thiab 2 ntawm lwm sab ntawm kev xa mus rau txoj kev tsis zoo [duab 2, 2 xaim xaim]

thaum tseem nyob ntawm ib sab uas peb nyuam qhuav txuas cov xov tooj tsis zoo txuas tus pin thib 3 mus rau txoj kev tsheb nqaj hlau qis

txuas lub xov hlau jumper mus rau tus lej thib 1 ntawm sab nraud ntawm cov xov tooj tsis zoo, cia nws xoob tam sim no

tus lej thib 4 ntawm tus xa xov tuaj yeem tsis txuas lossis txuas rau lub hom phiaj ntsuas, koj tuaj yeem txuas tus tiv thaiv thiab LED los ntawm nws mus rau txoj kev tsis zoo. Qhov no tsuas yog qhib thaum koj xav tig lub teeb tseem ceeb tawm.

Kauj Ruam 10: Ntxiv Cov Ntim Ntim Ib Ntus thiab Ntev Ntev

Ntxiv Ntu Ib Ntus thiab Ntev Ntev Tawm Cov Khawm
Ntxiv Ntu Ib Ntus thiab Ntev Ntev Tawm Cov Khawm
Ntxiv Ntu Ib Ntus thiab Ntev Ntev Tawm Cov Khawm
Ntxiv Ntu Ib Ntus thiab Ntev Ntev Tawm Cov Khawm
Ntxiv Ntu Ib Ntus thiab Ntev Ntev Tawm Cov Khawm
Ntxiv Ntu Ib Ntus thiab Ntev Ntev Tawm Cov Khawm
Ntxiv Ntu Ib Ntus thiab Ntev Ntev Tawm Cov Khawm
Ntxiv Ntu Ib Ntus thiab Ntev Ntev Tawm Cov Khawm

Kuv siv daim ntawv me me thib 2 rau ntu no los sim thiab tshem tawm qee qhov xaim hlau tsis sib haum, tsis paub tseeb tias nws ua haujlwm tab sis li cas los xij.

tso lub khawm me me hla nruab nrab ntawm lub khob cij rau qhov chaw koj muaj chaw nyob.

txuas cov xaim los ntawm tus lej thib 1 ntawm qhov txuas mus rau ib tus pin ntawm koj lub pob. Hauv kuv qhov xwm txheej, tus pin sab laug sab saum toj (xaim liab)

los ntawm txoj kab hluav taws xob zoo ntawm lub roj teeb txuas lub xaim rau lub khawm. Hauv kuv qhov xwm txheej sab xis sab xis. Yog, nws tsis muaj teeb meem ntawm lub pob no uas tus pin koj txuas rau. (txiv kab ntxwv xaim)

tso 220 ohm resistor los ntawm txoj kab hluav taws xob zoo rau txhua kab uas tsis siv

tso ib qho LED, qhov no yuav yog LED lossis LED sawb koj xav tau lub zog, txuas qhov anode (ceg ntev) rau tus tiv thaiv

txuas lub LED cathode (luv dua txhais ceg) mus rau txoj kev tsheb nqaj hlau tsis zoo ntawm lub khob cij tseem ceeb (xaim xaim)

txuas 2 xov hlau rau koj lub latching lossis khawm rocker

txuas ib qho ntawm cov xov hlau los ntawm lub latching khawm mus rau tus lej thib 5 ntawm qhov txuas

txuas lwm cov xaim los ntawm khawm latch mus rau txoj kev tsheb nqaj hlau uas tus tiv thaiv kawg nyob hauv qhov uas koj nyuam qhuav tso

Image 1: hnub ci vaj huam sib luag tau ua haujlwm thiab lub roj teeb tau them, txhua lub teeb raug kaw

Image 2: hnub ci vaj huam sib luag tsis tsim hluav taws xob ntxiv lawm yog li LED tau siv los ntawm lub roj teeb

Image 3: nias lub pob tam sim no, kev xa tawm tau qhib, lub zog tsis ntws mus rau LED thiab lub teeb tawm rau hmo ntuj, thaum nws dhau los ua nruab hnub thiab lub hnub ci lub cev dua tsim lub zog thiab qhov kev xa tawm yuav rov qab los rau " "txoj hauj lwm dua.

Image 4: khawm khawm tau raug nias thiab tsis muaj LEDs txuas ntxiv kom txog rau thaum lub pob no tau nyem dua.

Kauj Ruam 11: EasyEDA Schematic thiab PCB Diagram

EasyEDA Schematic thiab PCB Diagram
EasyEDA Schematic thiab PCB Diagram
EasyEDA Schematic thiab PCB Diagram
EasyEDA Schematic thiab PCB Diagram
EasyEDA Schematic thiab PCB Diagram
EasyEDA Schematic thiab PCB Diagram

Duab ib yog daim duab kab thaiv kab hluav taws xob

Lub rooj tsavxwm uas koj pom ntawm no yog PCB pawg thawj coj saib, kuv siv cov xov hlau uas muaj peev xwm ua kom cov kab sib txuas sib txuas raws li qhov sib txuas ntawm txhua lub qhov rau ib sab yog qhov txheej txheem ntev thiab nyuaj. Kuv tau suav nrog cov phiaj xwm phiaj xwm phiaj xwm raws li PDFs, ib qho yog saib saum toj thiab lwm qhov raws li koj tuaj yeem pom thim rov qab zoo li koj tau saib nws los hauv qab.

Pom zoo: