Cov txheej txheem:

LED Snapper: Tej zaum Qhov Tseem Ceeb Tshaj Plaws Ntawm Cov Khoom Siv Koj Yuav Ua Tau: 3 Kauj Ruam
LED Snapper: Tej zaum Qhov Tseem Ceeb Tshaj Plaws Ntawm Cov Khoom Siv Koj Yuav Ua Tau: 3 Kauj Ruam

Video: LED Snapper: Tej zaum Qhov Tseem Ceeb Tshaj Plaws Ntawm Cov Khoom Siv Koj Yuav Ua Tau: 3 Kauj Ruam

Video: LED Snapper: Tej zaum Qhov Tseem Ceeb Tshaj Plaws Ntawm Cov Khoom Siv Koj Yuav Ua Tau: 3 Kauj Ruam
Video: Часть 1 — Аудиокнига «Черная красавица» Анны Сьюэлл (гл. 1–19) 2024, Kaum ib hlis
Anonim
LED Snapper: Tej zaum Qhov Ua Tau Zoo Tshaj Plaws ntawm Cov Khoom Ntsuas Koj Yuav Ua Tau
LED Snapper: Tej zaum Qhov Ua Tau Zoo Tshaj Plaws ntawm Cov Khoom Ntsuas Koj Yuav Ua Tau

Cia kuv qhia koj LED Snapper. Ib qho yooj yim, tab sis muaj txiaj ntsig zoo ntawm cov cuab yeej ntsuas uas koj tuaj yeem tsim los pab koj daws koj cov phiaj xwm hluav taws xob. LED Snapper yog qhov qhib qhov chaw luam tawm lub rooj tsav xwm uas tso cai rau koj yooj yim ntxiv debugging thiab sim LEDs rau koj cov phiaj xwm. Nws tau tsim los txhawm rau nkag rau hauv koj lub khob cij (li lub npe) sai sai yam tsis muaj kev cuam tshuam nrog ntau lub LEDs thiab cov tiv thaiv. Koj tuaj yeem rub tawm thiab hloov kho Gerber cov ntaub ntawv kom muaj PCB ua dawb.

Khoom siv:

  • LED Snapper PCB
  • 8 x 5 mm LEDs ntawm cov xim uas koj xaiv
  • 8 x 220 Ohm resistors
  • 9 tus pin Txiv neej tus pin header

Kauj Ruam 1: Yuav Tsim Li Cas

Yuav Tsim Li Cas
Yuav Tsim Li Cas
Yuav Tsim Li Cas
Yuav Tsim Li Cas

Koj yuav xav tau cov hlau txuas txhawm rau txhim kho cov khoom siv rau lub rooj tsavxwm. Pib los ntawm soldering cov resistors (220 Ohms txhua) ua ntej. Tom qab ntawd muab cov kab laug sab laug tso. Tom ntej no, ntxig LEDs ntawm cov xim uas koj xaiv thiab muab tshuaj txhuam txhuam. Qhov zoo anode (ceg ntev) ntawm LED mus rau hauv lub qhov saum toj ntawm PCB thiab qhov tsis zoo cathode mus rau hauv qab qhov tom ntej ntawm tus tiv thaiv.

Qhov ntawd yog nws! Nws yuav tsum coj koj li nees nkaum feeb los txhawm rau cuam tshuam cov khoom siv rau hauv lub rooj tsavxwm.

Kauj Ruam 2: Yuav Siv Li Cas

Snap nws rau hauv koj daim ntawv qhia zaub mov. Txuas GND tus pin rau hauv av thiab tom qab ntawd txuas ib qho, lossis ntau dua ntawm 8 tus pin txuas nrog LEDs hais, Arduino tus pin lossis lwm yam 5 volt nti, lossis Circuit Court uas koj xav sim. Cov LEDs yuav ci thaum lawv tau txais lub teeb liab siab los ntawm Arduino, lossis ntau dua 1.2 volts yog tias koj siv lwm qhov Circuit Court. Tsis txhob pub ntau tshaj 5 volts rau hauv LED Snapper tus pin, lossis koj tuaj yeem hlawv cov LEDs.

Yooj yim, tsis yog nws? Kuv tau hais tias nws yog qhov yooj yim tshaj plaws ntawm cov cuab yeej ntsuas uas koj tuaj yeem tsim. Tab sis, muaj peev xwm pom lub xeev tus pin ntawm Arduino yog qee zaum tseem ceeb thaum koj xav kom koj lub voj voog ua haujlwm thiab LEDs zoo meej rau txoj haujlwm.

Kauj Ruam 3: Yuav Ua Li Cas Txais Cov PCBs

Yuav Ua Li Cas Txais Cov PCBs
Yuav Ua Li Cas Txais Cov PCBs

Muaj 3 pawg sib txawv los xaiv los ntawm. Thawj qhov tau hais los saum toj no nrog tus lej tus lej nce ntxiv los ntawm sab laug mus rau sab xis. Pawg thawj coj thib ob yuav luag zoo ib yam rau qhov no tshwj tsis yog tus lej tus lej txo qis los ntawm sab laug mus rau sab xis. Pawg thawj coj no muaj txiaj ntsig yog tias koj xav saib cov lej zauv los ntawm Arduino vim tias cov pins nyob rau hauv txoj cai kom nyeem cov lej binary.

Kuv tau xa cov ntaub ntawv Gerber rau PCB rau kuv li GitHub chaw cia khoom. Koj tuaj yeem nkag mus rau qhov chaw cia khoom los ntawm nyem qhov txuas no thiab rub tawm cov ntawv. Txhua pawg thawj coj tau txheeb xyuas nrog daim duab thiab lub npe ntawm Gerber cov ntaub ntawv los rub tawm hauv README.

Kuv siv JLCPCB los ua kuv cov laug cam, tab sis txhua lub chaw tsim khoom PCB uas tso cai rau koj upload Gerber cov ntaub ntawv thiab muaj cov laug cam tsim yuav ua. Muaj ntau qhov xaiv los ntawm Is Taws Nem. PCBWay tseem yog lwm qhov kev xaiv zoo ntawm cov chaw tsim khoom lag luam.

Pom zoo: