Cov txheej txheem:

12V Tawm Los Ntawm Txhua Qhov Kev Them Nqi Zoo Tshaj Powerbank: 6 Cov Kauj Ruam
12V Tawm Los Ntawm Txhua Qhov Kev Them Nqi Zoo Tshaj Powerbank: 6 Cov Kauj Ruam

Video: 12V Tawm Los Ntawm Txhua Qhov Kev Them Nqi Zoo Tshaj Powerbank: 6 Cov Kauj Ruam

Video: 12V Tawm Los Ntawm Txhua Qhov Kev Them Nqi Zoo Tshaj Powerbank: 6 Cov Kauj Ruam
Video: Tik Tok || Tseem Nco Koj Thiab Kuv P15 2024, Kaum ib hlis
Anonim
Image
Image
12V Tawm Los Ntawm Txhua Qhov Kev Them Nqi Zoo Tshaj Powerbank
12V Tawm Los Ntawm Txhua Qhov Kev Them Nqi Zoo Tshaj Powerbank

Daim ntawv thov lub txhab nyiaj hluav taws xob nrawm tsis yog tsuas yog them lub xov tooj, tab sis kuj tseem ua lub zog xa hluav taws xob rau 12V cov khoom siv xws li modem hauv tsev.

Xav paub ntau ntxiv tuaj yeem pom hauv blog no:

blog.deconinck.info/post/2017/08/09/Turning…

Txheeb cov lus qhia tshwj xeeb ntawm koj lub QC (Them Nqi Ceev) lub hwj chim txhab nyiaj. Tsis txhob siv koj lub txhab nyiaj ntau dhau, kuv yuav tsis muaj lub luag haujlwm yog tias koj ua rau koj lub txhab nyiaj puas tsuaj lossis koj Arduino. Saib kuv cov video ntawm:

www.youtube.com/watch?v=ZG_eoi1uQGw

Khoom siv

Yam uas koj xav tau:

-Arduino pro mini 3.3V, 8MHz

-Wire cutters

-Wire strippers los yog riam

-Soldering Hlau thiab solder

-computer nrog Arduino software

-Voltage tswj (LM317 lossis LM317LZ)

-Soldering muab tshuaj txhuam (yeem)

-FTDI breakout board:

-2.2k ohm thiab 10k ohm resistors

-10uF 25V thiab 100uF 35V Capacitors

-prototyping PCB pawg thawj coj saib

Nco tseg: Txhua yam ntawm cov khoom teev tseg no yog yuav los ntawm kuv cov khoom siv hluav taws xob hauv ib cheeb tsam lossis pom hauv tsev tshwj tsis yog FTDI pawg thawj coj tawg

Kauj ruam 1: Sawb USB Cable

Sawb USB Cable
Sawb USB Cable

Nrhiav ib qho USB uas tsis tau siv lossis ib qho USB vable nrog cov khoom puas. Txiav lub cable rau hauv ob thiab hle lub rwb thaiv tsev. Tawm ib qho kawg nrog tus txiv neej USB-A Txuas thiab lwm qhov kawg nrog 4 kab txaij. Cov hlua kab txaij yog raws li qhia hauv daim duab. Zoo dua los siv cable nrog cov xov hlau tuab. Koj yuav tsum pom 4 xov hlau: Liab- VccGreen- Cov Ntaub Ntawv +Dawb- Cov Ntaub Ntawv -Black- Hauv av

Kauj Ruam 2: Sau tag nrho cov Cheeb Tsam Xav Tau

Sau tag nrho cov Cheeb Tsam Xav Tau
Sau tag nrho cov Cheeb Tsam Xav Tau
Sau tag nrho cov Cheeb Tsam Xav Tau
Sau tag nrho cov Cheeb Tsam Xav Tau
Sau tag nrho cov Cheeb Tsam Xav Tau
Sau tag nrho cov Cheeb Tsam Xav Tau

Sau tag nrho koj cov khoom xav tau thiab tsim cov Circuit Court raws li qhia hauv kab lus.

Qhov txuas rau schematic tau qhia hauv qab no:

easyeda.com/fastspindle123/12v-from-quickc…

Kauj Ruam 3: Tsim kom muaj 3.3V Voltage Regulator

Tsim kom muaj 3.3V Voltage Regulator
Tsim kom muaj 3.3V Voltage Regulator

Tus tswj hluav taws xob sab nraud ua haujlwm rau qhov hluav taws xob siab dua 12V. Cov tswv yim hluav taws xob txwv rau tus pin nyoos ntawm Arduino pro mini yog 12V.

Kuv tsis tau tsim 3.3V tus tswj hwm Circuit.

Yog xav paub ntxiv, saib qhov link hauv qab no:

microcontrollerelectronics.com/lm317-3-3v-s…

Kauj Ruam 4: Soldering ntawm 3.3V Arduino Pro Mini

Soldering ntawm 3.3V Arduino Pro Mini
Soldering ntawm 3.3V Arduino Pro Mini

Solder Vcc tus pin ntawm 3.3V arduino pro mini rau qhov tso tawm ntawm 3.3V qhov ntsuas hluav taws xob uas koj twb tau ua lawm. Xa mus rau schematic qhia hauv qib 2.

Kauj ruam 5: Coding

Coding
Coding
Coding
Coding

Txhawm rau pib coding, rub tawm lub tsev qiv ntawv them nyiaj sai.

Koj tuaj yeem rub tawm ntawm:

lossis koj tuaj yeem tshaj tawm software Arduino ntawm koj lub khoos phis tawj thiab hloov kho rau lub khoos phis tawj tshiab tshaj plaws hauv Tus Thawj Saib Xyuas Tsev Qiv Ntawv ib yam. Cov theem yog raws li hauv qab no:

1. Qhib Arduino IDE (1.5 lossis siab dua).

2. Hauv qhov cuab yeej -bar nyem Sketch -> Xws li Lub Tsev Qiv Ntawv -> Tswj Tsev Qiv Ntawv …

3. Ntaus hauv kab ntawv tshawb nrhiav "QC3Control".

4. QC3Control lub tsev qiv ntawv yuav tsum qhia.

5. ** Nyem rau nws ** thiab nyem Hloov tshiab. 6. Ua tau!

Thaum lub tsev qiv ntawv them nyiaj nrawm tau rub tawm, koj tuaj yeem pom qee qhov piv txwv piv txwv.

Rub tawm "QC_volt_transform.txt", qhov ntawd yog kuv tus lej. Koj tuaj yeem luam tawm thiab muab tag nrho cov ntsiab lus hauv koj Arduino Sketch.

Rau 3.3V pro mini, mus rau cov cuab yeej -> cov laug cam -> Arduino pro lossis pro mini

tom qab ntawd mus rau cov cuab yeej -> processor -> ATmega328P (3.3V, 8 MHz)

Tom qab teeb tsa koj lub rooj tsavxwm, txuas ntxiv mus rub Sketch rau hauv koj lub cuab yeej thiab ntsuas koj lub cuab yeej.

Kauj Ruam 6: Xeem

Kev Xeem
Kev Xeem

Thaum lub cuab yeej ua haujlwm, thiab koj tau lees tias tau txais 12V tawm los ntawm koj lub txhab nyiaj nrawm, koj tuaj yeem txuas lossis txuas lub 2.1mm DC chim chim txuas rau ntawm qhov tso tawm. Koj tuaj yeem nruab txhua qhov txuas uas koj xav tau ntawm qhov tso tawm nyob ntawm koj daim ntawv thov. Rau kuv, Kuv siv 2.1mm DC chim txuas txuas los ntsuas kuv lub 12V saib. Txawm hais tias nws ua kom lub zog saib xyuas, nws thim 1.5A, uas ze rau qhov txwv tam sim no ntawm QC lub txhab nyiaj ib txwm muaj. Tsis txhob hla koj lub txhab nyiaj ntau dhau, Kuv yuav tsis muaj lub luag haujlwm yog tias koj ua rau koj lub txhab nyiaj puas tsuaj.

Pom zoo: