Cov txheej txheem:

Roj Teeb Peev Xwm Tester Siv Arduino [Lithium-NiMH-NiCd]: 15 Cov Kauj Ruam (nrog Duab)
Roj Teeb Peev Xwm Tester Siv Arduino [Lithium-NiMH-NiCd]: 15 Cov Kauj Ruam (nrog Duab)

Video: Roj Teeb Peev Xwm Tester Siv Arduino [Lithium-NiMH-NiCd]: 15 Cov Kauj Ruam (nrog Duab)

Video: Roj Teeb Peev Xwm Tester Siv Arduino [Lithium-NiMH-NiCd]: 15 Cov Kauj Ruam (nrog Duab)
Video: QHIA QHOV TSEEB - KUB VAJ LOOG TSUA NEW MUSIC VIDEO 2022 2024, Kaum ib hlis
Anonim
Image
Image

Nta:

  • Txheeb xyuas qhov tsis zoo ntawm Lithium-Ion/Lithium-Polymer/NiCd/NiMH roj teeb
  • Kev hloov kho tas li tam sim no (tuaj yeem hloov kho los ntawm tus neeg siv)
  • Muaj peev xwm ntsuas lub peev xwm ntawm yuav luag txhua lub roj teeb (qis dua 5V)
  • Yooj yim rau cov laug, tsim, thiab siv, txawm tias rau cov pib tshiab (txhua yam khoom siv yog Dip)
  • Ib tus neeg siv LCD interface

Kev qhia tshwj xeeb:

  • Pawg Thawj Coj: 7V txog 9V (Max)
  • Roj teeb tswv yim: 0-5V (max)-tsis muaj rov qab polarity tas li
  • Tam sim no thauj khoom: 37mA txog 540mA (max) - 16 Cov kauj ruam - tuaj yeem hloov kho los ntawm tus neeg siv

Kev ntsuas qhov tseeb ntawm lub roj teeb lub peev xwm yog qhov tseem ceeb rau ntau qhov xwm txheej. Lub peev xwm ntsuas ntsuas tuaj yeem daws qhov teeb meem pom cov roj teeb cuav ib yam. Tam sim no cov roj teeb Lithium thiab NiMH tsis zoo nyob txhua qhov chaw uas tsis ua raws li lawv lub peev xwm tshaj tawm. Qee lub sij hawm nws nyuaj rau qhov txawv ntawm qhov tiag thiab lub roj teeb cuav. Qhov teeb meem no muaj nyob hauv khw muag khoom roj teeb, xws li roj teeb xov tooj ntawm tes. Tsis tas li ntawd, hauv ntau qhov xwm txheej, nws yog qhov tseem ceeb los txiav txim siab lub peev xwm ntawm lub roj teeb thib ob (piv txwv li lub roj teeb laptop). Hauv kab lus no, peb yuav kawm tsim lub roj teeb ntsuas lub voj voog siv lub npe nrov Arduino-Nano board. Kuv tau tsim PCB pawg thawj coj saib rau cov khoom sib dhos. Yog li txawm tias cov pib tshiab tuaj yeem siv tau thiab siv lub cuab yeej.

1: Kev Txheeb Xyuas Circuit 1 Daim duab 1 qhia txog daim duab qhia chaw ntawm lub cuab yeej. Lub hauv paus tseem ceeb ntawm Circuit yog Arduino-Nano board.

Kauj Ruam 1: Daim duab 1, Daim duab qhia chaw ntawm Lub Roj Teeb Peev Xwm Ntsuas Ntaus

Daim duab 2, PWM Teeb liab (CH1: 2V/div) thiab Cov txiaj ntsig Tom Qab Dhau Los ntawm R5-C7 RC Lim (CH2: 50mV/div)
Daim duab 2, PWM Teeb liab (CH1: 2V/div) thiab Cov txiaj ntsig Tom Qab Dhau Los ntawm R5-C7 RC Lim (CH2: 50mV/div)

IC1 yog LM358 [1] nti uas muaj ob lub tshuab ua haujlwm zoo. R5 thiab C7 tsim cov lim qis uas hloov PWM mem tes mus rau DC qhov hluav taws xob. PWM zaus yog ib puag ncig 500Hz. Kuv siv Siglent SDS1104X-E oscilloscope los tshuaj xyuas PWM thiab lim tus cwj pwm. Kuv txuas CH1 rau PWM tso zis (Arduino-D10) thiab CH2 rau lub lim dej tso tawm (Daim duab 2). Koj tseem tuaj yeem tshuaj xyuas lub lim cov lus teb zaus thiab nws qhov kev txiav tawm "hauv kev coj ua" los ntawm cov phiaj xwm phiaj xwm, uas yog ib qho zoo tshaj plaws qhia txog SDS1104X-E.

Kauj Ruam 2: Daim duab 2, PWM Teeb liab (CH1: 2V/div) thiab Cov txiaj ntsig Tom Qab Dhau Los ntawm R5-C7 RC Lim (CH2: 50mV/div)

R5 yog 1M tus tiv thaiv uas txwv tsis pub siv tam sim no, txawm li cas los xij, cov zis lim tau dhau los ntawm opamp (qhov thib ob opamp ntawm IC1), hauv kev teeb tsa tus neeg siv hluav taws xob. Thawj opamp ntawm IC1, R7, thiab Q2 tsim qhov kev thauj khoom tam sim no tsis tu ncua. Txog tam sim no, peb tau tsim PWM tswj tau qhov thauj khoom tam sim no.

Lub 2*16 LCD tau siv los ua tus neeg siv cuam tshuam uas ua rau kev tswj hwm/hloov kho yooj yim. R4 potentiometer teeb tsa LCD sib piv. R6 txwv qhov teeb pom kev tam sim no. P2 yog 2 tus pin Molex txuas uas tau siv los txuas 5V lub suab nrov. R1 thiab R2 yog rub-resistors rau cov tactile hloov. C3 thiab C4 tau siv los nthuav tawm cov laub-khawm. C1 thiab C1 tau siv los lim cov khoom siv hluav taws xob. C5 thiab C6 tau siv los lim tawm qhov teeb meem tam sim no thauj khoom lub suab nrov kom tsis txhob ua rau ADC hloov pauv kev ua tau zoo. R7 ua raws li lub nra rau Q2 MOSFET.

1-1: DC load tam sim no tas li yog dab tsi?

Kev thauj khoom tam sim no tsis tu ncua yog ib qho Circuit Court uas ib txwm rub tas li ntawm qhov tam sim no, txawm hais tias qhov kev siv hluav taws xob sib txawv sib txawv. Piv txwv li, yog tias peb txuas qhov thauj khoom tam sim no mus rau lub zog hluav taws xob thiab teeb tsa tam sim no ntawm 250mA, qhov kev kos tam sim no yuav tsis hloov pauv txawm tias qhov hluav taws xob nkag yog 5V lossis 12V lossis ib qho twg. Qhov tshwj xeeb ntawm qhov tam sim no thauj khoom tam sim no tso cai rau peb tsim lub roj teeb ntsuas lub cuab yeej ntsuas. Yog tias peb siv lub ntsuas hluav taws xob yooj yim los ntsuas ntsuas lub roj teeb lub peev xwm, raws li lub roj teeb hluav taws xob poob qis, tam sim no kuj txo qis uas ua rau cov lus teb nyuaj thiab tsis raug.

2: PCB Board

Daim duab 3 qhia txog kev tsim PCB txheej txheem ntawm Circuit. Ob sab ntawm lub rooj tsavxwm tau siv los txhim kho cov khoom siv. Thaum kuv npaj siab tsim Schematic/PCB, Kuv ib txwm siv SamacSys cov tsev qiv ntawv tiv thaiv, vim tias cov tsev qiv ntawv no ua raws IPC cov qauv kev lag luam thiab txhua yam yog pub dawb. Kuv siv cov tsev qiv ntawv no rau IC1 [2], Q2 [3], thiab txawm tias kuv tuaj yeem pom Arduino-Nano (AR1) [4] lub tsev qiv ntawv uas tau txuag ntau los ntawm kev tsim sijhawm. Kuv siv Altium Designer CAD software, yog li kuv siv Altium plugin los teeb tsa lub tsev qiv ntawv cov khoom siv [5]. Daim duab 4 qhia txog cov khoom xaiv.

Kauj Ruam 3: Daim duab 3, PCB pawg thawj coj saib lub roj teeb peev xwm ntsuas Circuit

Daim duab 3, PCB pawg thawj coj saib lub roj teeb peev xwm ntsuas Circuit
Daim duab 3, PCB pawg thawj coj saib lub roj teeb peev xwm ntsuas Circuit

Thaum kuv npaj siab tsim Schematic/PCB, Kuv ib txwm siv SamacSys cov tsev qiv ntawv tiv thaiv, vim tias cov tsev qiv ntawv no ua raws IPC cov qauv kev lag luam thiab txhua yam yog pub dawb. Kuv siv cov tsev qiv ntawv no rau IC1 [2], Q2 [3], thiab txawm tias kuv tuaj yeem pom Arduino-Nano (AR1) [4] lub tsev qiv ntawv uas tau txuag ntau los ntawm lub sijhawm tsim. Kuv siv Altium Designer CAD software, yog li kuv siv Altium plugin los teeb tsa lub tsev qiv ntawv cov khoom siv [5]. Daim duab 4 qhia txog cov khoom xaiv.

Kauj Ruam 4: Daim duab 4, Txhim Kho Cheebtsam Los Ntawm SamacSys Altium Plugin

Daim duab 4, Txhim Kho Cheebtsam Los Ntawm SamacSys Altium Plugin
Daim duab 4, Txhim Kho Cheebtsam Los Ntawm SamacSys Altium Plugin

Lub rooj tsav xwm PCB loj dua me dua li 2*16 LCD kom haum rau peb lub cuab yeej khawm-khawm. Cov duab 5, 6, thiab 7 qhia 3D pom ntawm lub rooj tsavxwm.

Kauj Ruam 5: Daim Duab 5: Daim Duab 3D ntawm Cov Rooj Sib Tham PCB (TOP), Daim Duab 6: 3D Saib ntawm Cov Rooj Sib Tham PCB Rooj Sab Laj (Sab), Daim Duab 7: Kev Pom 3D ntawm Cov Rooj Sib Tham PCB (Hauv Qab)

Daim duab 5: 3D Saib ntawm Cov Rooj Sib Tham PCB (TOP), Daim Duab 6: 3D Saib ntawm Cov Rooj Sib Tham PCB Rooj Sab Laj (Sab), Daim Duab 7: 3D Saib ntawm Cov Rooj Sib Tham PCB (Hauv Qab)
Daim duab 5: 3D Saib ntawm Cov Rooj Sib Tham PCB (TOP), Daim Duab 6: 3D Saib ntawm Cov Rooj Sib Tham PCB Rooj Sab Laj (Sab), Daim Duab 7: 3D Saib ntawm Cov Rooj Sib Tham PCB (Hauv Qab)
Daim duab 5: 3D Saib ntawm Cov Rooj Sib Tham PCB (TOP), Daim Duab 6: 3D Saib ntawm Cov Rooj Sib Tham PCB Rooj Sab Laj (Sab), Daim Duab 7: 3D Saib ntawm Cov Rooj Sib Tham PCB (Hauv Qab)
Daim duab 5: 3D Saib ntawm Cov Rooj Sib Tham PCB (TOP), Daim Duab 6: 3D Saib ntawm Cov Rooj Sib Tham PCB Rooj Sab Laj (Sab), Daim Duab 7: 3D Saib ntawm Cov Rooj Sib Tham PCB (Hauv Qab)
Daim duab 5: 3D Pom Kev Sib Tham ntawm Pawg Thawj Coj PCB (TOP), Daim Duab 6: 3D Pom Kev Sib Koom ntawm PCB Pawg Thawj Coj (Sab), Daim Duab 7: 3D Pom Kev Sib Koom ntawm Pawg Thawj Coj PCB (Hauv Qab)
Daim duab 5: 3D Pom Kev Sib Tham ntawm Pawg Thawj Coj PCB (TOP), Daim Duab 6: 3D Pom Kev Sib Koom ntawm PCB Pawg Thawj Coj (Sab), Daim Duab 7: 3D Pom Kev Sib Koom ntawm Pawg Thawj Coj PCB (Hauv Qab)

3: Los ua ke thiab TestI siv ib nrab PCB hauv tsev pawg thawj coj los tsim tus qauv ceev thiab sim cov Circuit Court. Daim duab 8 qhia pom daim duab ntawm lub rooj tsavxwm. Koj tsis tas yuav ua raws kuv, tsuas yog xaj PCB mus rau lub tuam txhab PCB tsim khoom lag luam thiab tsim cov cuab yeej. Koj yuav tsum siv hom potentiometer sawv rau R4 uas tso cai rau koj los kho qhov sib piv ntawm LCD los ntawm ib sab ntawm lub rooj tsavxwm.

Kauj Ruam 6: Daim Duab 8: Daim Duab ntawm Thawj Tsab Ntawv, ntawm Pawg Thawj Tswj Hwm PCB hauv tsev

Daim duab 8: Daim Duab ntawm Thawj Tsab Ntawv, ntawm Pawg Thawj Tswj Hwm PCB hauv tsev
Daim duab 8: Daim Duab ntawm Thawj Tsab Ntawv, ntawm Pawg Thawj Tswj Hwm PCB hauv tsev

Tom qab siv cov khoom sib txuas thiab npaj cov kev sim, peb tau npaj los sim peb lub Circuit Court. Tsis txhob hnov qab teeb tsa lub rhaub dej loj ntawm MOSFET (Q2). Kuv xaiv R7 los ua 3-ohm resistor. Qhov no tso cai rau peb tsim cov dej ntws mus txog 750mA, tab sis hauv txoj cai, kuv teeb tsa qhov siab tshaj tam sim no mus rau ib puag ncig 500mA uas txaus rau peb lub hom phiaj. Txo tus nqi tiv thaiv (piv txwv li 1.5-ohm) tuaj yeem ua rau muaj dej ntws ntau dua, txawm li cas los xij, koj yuav tsum siv lub zog tiv taus ntau dua thiab hloov kho Arduino code. Daim duab 9 qhia txog lub rooj tsavxwm thiab nws cov hlua sab nraud.

Kauj Ruam 7: Daim duab 9: Txuas ntawm Lub Roj Teeb Peev Xwm Kev Ntsuas Ntaus

Daim duab 9: Kev thaiv ntawm Lub Roj Teeb Peev Xwm Kev Ntsuas Ntaus
Daim duab 9: Kev thaiv ntawm Lub Roj Teeb Peev Xwm Kev Ntsuas Ntaus

Npaj qhov hluav taws xob ntawm ib puag ncig 7V txog 9V rau cov khoom siv. Kuv tau siv Arduino pawg tswj hwm los ua +5V kev tsheb nqaj hlau. Yog li ntawd, tsis txhob siv qhov hluav taws xob siab dua 9V rau cov khoom siv, txwv tsis pub, koj yuav ua rau lub tshuab tswj hwm puas. Lub rooj tsavxwm yuav raug txhawb nqa thiab koj yuav tsum pom cov ntawv ntawm lub LCD, zoo ib yam li daim duab 10. Yog tias koj siv lub teeb xiav xiav 2*16 LCD, lub Circuit Court yuav siv li ntawm 75mA.

Kauj Ruam 8: Daim Duab 10: Kho Kom Raug Rho Tawm Circuit Circuit ntawm LCD

Daim duab 10: Kho Kom Raug Rho Tawm Circuit Circuit ntawm LCD
Daim duab 10: Kho Kom Raug Rho Tawm Circuit Circuit ntawm LCD

Tom qab kwv yees li 3 vib nas this, cov ntawv yuav raug tshem tawm thiab hauv lub vijtsam tom ntej, koj tuaj yeem kho tus nqi tam sim no tas li los ntawm kev nyem/nyem khawm (Daim duab 11).

Kauj Ruam 9: Daim duab 11: Kev Hloov Kho Tam Sim No Los Ntawm Kev Ruaj Ntseg Up/Down

Daim duab 11: Kev Hloov Kho Tam Sim No Los Ntawm Kev Ruaj Ntseg Up/Down
Daim duab 11: Kev Hloov Kho Tam Sim No Los Ntawm Kev Ruaj Ntseg Up/Down

Ua ntej txuas lub roj teeb rau lub cuab yeej thiab ntsuas nws lub peev xwm, koj tuaj yeem tshuaj xyuas qhov Circuit Court siv lub hwj chim. Rau lub hom phiaj no, koj yuav tsum txuas lub P3 txuas rau lub hwj chim.

Tseem ceeb: Tsis txhob siv ib qho hluav taws xob siab dua 5V, lossis nyob rau hauv rov qab polarity, rau lub roj teeb nkag, txwv tsis pub koj yuav ua rau Arduino cov khoom siv tas mus li hloov pauv tas mus li

Teeb koj qhov kev xav tau tam sim no (piv txwv li 100mA) thiab ua si nrog koj lub zog hluav taws xob (nyob qis dua 5V). Raws li koj tuaj yeem pom nrog txhua qhov hluav taws xob nkag, cov dej ntws tam sim no tseem zoo ib yam. Qhov ntawd yog qhov peb xav tau! (Daim duab 12).

Kauj Ruam 10: Daim duab 12: Cov Dej Tam Sim No Tseem Tsis Taus Txawm Pem Hauv Ntej ntawm Kev Hloov Pauv Hloov Pauv (kuaj nrog 4.3V thiab 2.4V Cov Lus Qhia)

Daim duab 12: Cov Dej Tam Sim No Tseem Nyob Hauv Pem Hauv Ntej ntawm Kev Hloov Pauv Hloov Pauv (kuaj nrog 4.3V thiab 2.4V Cov Tswv Yim)
Daim duab 12: Cov Dej Tam Sim No Tseem Nyob Hauv Pem Hauv Ntej ntawm Kev Hloov Pauv Hloov Pauv (kuaj nrog 4.3V thiab 2.4V Cov Tswv Yim)

Qhov thib peb laub khawm yog Pib dua. Nws txhais tau tias nws tsuas yog rov pib dua lub rooj tsavxwm. Nws muaj txiaj ntsig thaum koj npaj yuav rov pib txheej txheem los ntsuas qhov sib txawv ntawm buttery.

Xijpeem, tam sim no koj paub tseeb tias koj lub cuab yeej ua haujlwm tau zoo. Koj tuaj yeem txuas lub hwj chim thiab txuas koj lub roj teeb rau lub roj teeb nkag thiab teeb tsa qhov koj xav tau tam sim no.

Txhawm rau pib kuv tus kheej qhov kev sim, kuv xaiv lub npe tshiab 8, 800mA ntsuas cov roj teeb lithium-ion (Daim duab 13). Nws zoo li tus nqi zoo heev, tsis yog ?! Tab sis kuv tsis tuaj yeem ntseeg qhov no li cas:-), yog li cia peb sim nws.

Kauj Ruam 11: Daim duab 13: 8, 800mA Rated Lithium-ion Battery, Tiag lossis Cuav?

Daim duab 13: tus 8, 800mA Rated Lithium-ion Battery, Tiag lossis Cuav?!
Daim duab 13: tus 8, 800mA Rated Lithium-ion Battery, Tiag lossis Cuav?!

Ua ntej txuas lub roj teeb lithium rau lub rooj tsavxwm, peb yuav tsum them nws, yog li thov npaj kho 4.20V (500mA CC txwv lossis qis dua) nrog koj lub zog siv (Piv txwv li, los ntawm kev siv lub zog hloov pauv hloov pauv hauv kab lus dhau los) thiab them nyiaj roj teeb kom txog thaum tam sim no ntws mus rau qib qis. Tsis txhob them lub roj teeb uas tsis paub nrog lub siab tam sim no, vim tias peb tsis paub meej txog nws lub peev xwm tiag! Kev them nqi hluav taws xob ntau yuav ua rau lub roj teeb tawg! Ceev faj. Raws li qhov tshwm sim, kuv ua raws cov txheej txheem no thiab peb 8, 800mA roj teeb tau npaj rau kev ntsuas lub peev xwm.

Kuv siv lub roj teeb los txuas lub roj teeb rau lub rooj tsavxwm. Nco ntsoov siv cov xov hlau tuab thiab luv luv uas qhia txog kev tiv thaiv qis vim tias lub zog tawm hauv cov xov hlau ua rau qhov poob qis thiab qhov tsis raug.

Cia teeb tsa tam sim no rau 500mA thiab nias ntev "UP" khawm. Tom qab ntawd koj yuav tsum hnov lub suab nrov nrov thiab txheej txheem pib (Daim duab 14). Kuv tau teeb tsa qhov txiav tawm qhov hluav taws xob (qis roj teeb pib) rau 3.2V. Koj tuaj yeem hloov kho qhov pib no hauv cov cai yog tias koj nyiam.

Kauj Ruam 12: Daim duab 14: Cov Txheej Txheem Peev Xwm Roj Teeb

Daim duab 14: Cov Txheej Txheem Peev Xwm Roj Teeb
Daim duab 14: Cov Txheej Txheem Peev Xwm Roj Teeb

Yeej, peb yuav tsum suav "lub sijhawm" lub roj teeb ua ntej nws qhov hluav taws xob nce mus txog qib qis. Daim duab 15 qhia txog lub sijhawm thaum lub cuab yeej txuas lub DC load los ntawm lub roj teeb (3.2V) thiab suav tau ua. Lub cuab yeej tseem tsim ob lub suab nrov ntev los qhia txog qhov kawg ntawm cov txheej txheem. Raws li koj tuaj yeem pom hauv lub vijtsam LCD, lub roj teeb tseeb yog 1, 190mAh uas nyob deb ntawm qhov muaj peev xwm thov! Koj tuaj yeem ua raws tib txoj hauv kev los ntsuas ib lub roj teeb (qis dua 5V).

Kauj Ruam 13: Daim duab 15: Qhov Muaj Peev Xwm Muaj Peev Xwm ntawm 8.800mA Rated Lithium-ion Battery

Daim duab 15: Muaj Peev Xwm Muaj Peev Xwm Muaj Peev Xwm ntawm 8.800mA Rated Lithium-ion Battery
Daim duab 15: Muaj Peev Xwm Muaj Peev Xwm Muaj Peev Xwm ntawm 8.800mA Rated Lithium-ion Battery

Daim duab 16 qhia txog daim nqi ntawm cov khoom siv rau hauv Circuit Court no.

Kauj Ruam 14: Daim duab 16: Cov Nqi Khoom

Daim duab 16: Cov Nqi Khoom
Daim duab 16: Cov Nqi Khoom

Kauj Ruam 15: Cov neeg ua tim khawv

Kab lus Source:

[1]:

[2]:

[3]:

[4]:

[5]:

Pom zoo: