Cov txheej txheem:

Raspberry Pi hauv Tsiaj qus! Ncua Sijhawm Sijhawm Nrog Lub Hwjchim Roj Teeb: 10 Kauj Ruam (nrog Duab)
Raspberry Pi hauv Tsiaj qus! Ncua Sijhawm Sijhawm Nrog Lub Hwjchim Roj Teeb: 10 Kauj Ruam (nrog Duab)

Video: Raspberry Pi hauv Tsiaj qus! Ncua Sijhawm Sijhawm Nrog Lub Hwjchim Roj Teeb: 10 Kauj Ruam (nrog Duab)

Video: Raspberry Pi hauv Tsiaj qus! Ncua Sijhawm Sijhawm Nrog Lub Hwjchim Roj Teeb: 10 Kauj Ruam (nrog Duab)
Video: Saib Mis paub Poj niam (hluas nkauj) tus yam ntxwv lub siab 2024, Hlis ntuj nqeg
Anonim
Raspberry Pi hauv Tsiaj qus! Ncua Sijhawm Sijhawm Nrog Roj Teeb Lub Hwjchim
Raspberry Pi hauv Tsiaj qus! Ncua Sijhawm Sijhawm Nrog Roj Teeb Lub Hwjchim
Raspberry Pi hauv Tsiaj qus! Ncua Sijhawm Sijhawm Nrog Roj Teeb Lub Hwjchim
Raspberry Pi hauv Tsiaj qus! Ncua Sijhawm Sijhawm Nrog Roj Teeb Lub Hwjchim
Raspberry Pi hauv Tsiaj qus! Ncua Sijhawm Sijhawm Nrog Roj Teeb Lub Hwjchim
Raspberry Pi hauv Tsiaj qus! Ncua Sijhawm Sijhawm Nrog Roj Teeb Lub Hwjchim

Kev txhawb siab: Kuv xav siv lub roj teeb uas siv lub koob yees duab Raspberry Pi los thaij duab ib hnub ib hnub sab nraum zoov los tsim cov vis dis aus ntev-sijhawm. Kuv daim ntawv thov tshwj xeeb yog sau cov av npog cog kev loj hlob tuaj rau lub caij nplooj ntoo hlav thiab lub caij ntuj sov tuaj.

Kev Nyuaj Siab: Tsim qis Raspberry Pi lub zog tswj tam sim no kom ntseeg tau lub roj teeb ntev.

Kuv Cov Tshuaj: Kuv siv lub tswb tsoo lub tswb, Attiny85 Circuit & Pimoroni OnOff shim kom txiav lub zog kom tag rau Raspberry Pi thaum tsis siv. Thaum Attiny85 thiab lub tswb moos tseem ua haujlwm nyob rau hauv hom tos, tam sim no kos tsuas yog 5 microAmps. Ob lub roj teeb AAA siv hluav taws xob ob qho tib si Attiny thiab lub tswb moos, thaum lub USB fais fab nyiaj hauv tuam txhab txhawb Pi.

Kev Ua Haujlwm Yooj Yim: Thaum lub tswb nrov tawm mus nws ua rau tsaug zog Attiny Circuit, uas tom qab ntawd qhia Pimoroni OnOff shim kom siv lub zog los ntawm USB lub txhab nyiaj fais fab rau Raspberry Pi. Tus Pi ua tiav cov ntawv sau-ntawm-khau raj (thaij duab). Tom qab lub sijhawm txaus dhau los (60 vib nas this hauv kuv daim ntawv thov), Attiny Circuit rov qhia dua Pimoroni OnOff shim thiab tom qab ntawd Attiny nkag mus pw hom. Raws li lub teeb liab los ntawm Attiny, Pimoroni OnOff shim ua haujlwm Pi kaw qhov kev hais kom ua, thiab tom qab Pi kaw txheej txheem ua tiav, txiav lub zog los ntawm USB lub txhab nyiaj rau Raspberry Pi.

Kauj Ruam 1: Qhov Chaw thiab Cov Cuab Yeej

Qhov Chaw thiab Cov Cuab Yeej
Qhov Chaw thiab Cov Cuab Yeej
Qhov Chaw thiab Cov Cuab Yeej
Qhov Chaw thiab Cov Cuab Yeej

Qhov:

Raspberry Pi Zero lossis Raspberry Pi Zero W (kos ntau zog)

Raspberry PI Lub Koob Yees Duab Module

Raspberry Pi Zero Case

Pimoroni ONOFF SHIM RASP PI POWER SWITCH, Digikey

OPTOISOLATOR Digikey

Roj Teeb Ua Haujlwm Tswb Tswb Lub Hom Phiaj

ATtiny85 8 DIP Digikey

(2) CAP ALUM 100UF Digikey

DS3231 RTC Module AliExpress

(2) 68 ohm resistor

Luv luv (li 6 ntiv tes) micro USB cable

Clear Box Amac SKU#: 60120. 4 "x 4" x 5-1/16 "h Lub Thawv Thawv

Kmashi 11200 mAh USB Power Bank # k-mp806 lossis zoo sib xws

Muab ob daim kab xev

Ntsia tus kheej tapping me me

(2) 1 X 8 tus pin poj niam stacking headers - feem ntau muag Arduino UNO stacking headers AliExpress

Perf lossis strip board txog 1 1/4 "los ntawm 2"

5 1/2 los ntawm 5/12 los ntawm 3/4 tuab ntoo thuv lossis plywood

1 1/4 PVC yeeb nkab ntev li 15"

1 1/4 PVC txuas

(2) cov hlua bungee luv txog 10 ntev

(4) 1/4 "dia. Cov ntoo ntoo pins txog 1" ntev

UltraDeck Natural Post Sleeve Cap Menards

Cov Cuab Yeej:

Hlau Cutters thiab Solder Iron

Arduino UNO lossis lwm txoj hauv kev rau program ATtiny85

Nqa cov xov hlau thiab cov dhia dhia

Keyboard, nas, HDMI saib, chaw nres nkoj USB thiab Ethernet Hub, OTG cable

Mulitmeter

Kauj Ruam 2: Nruab Raspberry Pi OS, Pimoroni OnOff Shim, DS3231 RTC, thiab Pi Camera Module

Nruab Raspberry Pi OS, Pimoroni OnOff Shim, DS3231 RTC, thiab Pi Camera Module
Nruab Raspberry Pi OS, Pimoroni OnOff Shim, DS3231 RTC, thiab Pi Camera Module
Nruab Raspberry Pi OS, Pimoroni OnOff Shim, DS3231 RTC, thiab Pi Camera Module
Nruab Raspberry Pi OS, Pimoroni OnOff Shim, DS3231 RTC, thiab Pi Camera Module
Nruab Raspberry Pi OS, Pimoroni OnOff Shim, DS3231 RTC, thiab Pi Camera Module
Nruab Raspberry Pi OS, Pimoroni OnOff Shim, DS3231 RTC, thiab Pi Camera Module

Pi Zero teeb tsa. Npaj SD daim npav rau Raspberry Pi nrog kev faib khoom uas koj xaiv. Thaum pib txheej txheem txheej txheem, paub tseeb tias yuav pab kom I2C interface, lub koob yees duab, thiab khau raj rau CLI nrog pib nkag mus, teeb tsa lub sijhawm hauv zos raug thiab hloov koj tus password. Kuv kuj pom zoo teeb tsa IP Static IP Address kom ua tau yooj yim dua ntawm txoj kev. Solder txiv neej lub taub hau rau Pi Zero. Koj tuaj yeem siv tus txheej txheem 2 x 20 lub taub hau lossis luv dua 2 x 6 lub taub hau, vim txhua 40 tus pin tsis xav tau rau txoj haujlwm no - tsuas yog thawj 12 tus pin.

Lub Koob Yees Duab Nruab. Snap Pi Zero rau hauv nws cov ntaub ntawv thiab siv suav nrog cov kab txuas luv txuas txuas lub koob yees duab module rau Pi Zero xa cov kab hluav taws xob tawm rooj kawg. Ua kom haum GPIO qhov npog sab saum toj thiab muab lub koob yees duab npog rau ob sab nrog daim kab xev (saib daim duab).

Npaj Pimoroni OnOff Shim, DS3231 RTC. Txawm hais tias Pimoroni OnOff Shim los nrog 2 x 6 poj niam lub taub hau Kuv hloov siv ob 1 x 6 tus poj niam "stacking headers feem ntau muag rau Arduino UNOs, Lub taub hau pins xav tau txuas ntxiv saum Pimoroni OnOff Shim ntawm Raspberry Pi tus pin chaw 1, 3, 5, 7, 9, lwm tus pin tuaj yeem txiav mus rau tus lej tus pin ntev. Thawb DS3231 RTC mus rau cov pins txuas ntxiv raws li pom hauv daim duab thiab tom qab ntawd thawb Pimoroni OnOff Shim & DS3231 RTC kev sib sau ua ke mus rau Raspberry Pi header pins raws li qhia

Nruab Pimoroni OnOff Shim software nrog:

curl https://get.pimoroni.com/onoffshim | tsoo

Yog xav paub ntxiv txog kev txhim kho Shim saib ntawm no

Nruab DS3231 RTC software rau cov lus qhia no

Kev Xeem Thawj - Lub Koob Yees Duab, Pimoroni OnOff Shim, DS3231 RTC

Txuas cov keyboard hauv zos thiab saib xyuas rau Pi Zero. Xyuas kom koj muaj kev sib txuas network (ethernet cable lossis Wifi). Txuas USB fais fab cable Pimoroni OnOff Shim.

a Nias Pimoroni OnOff Shim thawb khawm rau 3 vib nas this thiab tom qab ntawd tso tawm - qhov no toggles Pi Zero qhib lossis tua. Saib xyuas lub bootup thiab kaw txheej txheem ntawm tus saib. Koj Pi Zero tam sim no muaj kev hloov kho thev naus laus zis siab dua - qhib/tua!

b. Teem sijhawm DS3231 thiab txheeb xyuas nws nyeem lub sijhawm raug nrog:

sudo hwclock -w

sudo hwclock -r

c. Kuaj lub koob yees duab ua haujlwm raws li cov lus qhia no.

Kauj Ruam 3: Teeb Up Raspberry Pi Run-At-Boot Script thiab Test Camera

Teeb Up Raspberry Pi Run-At-Boot Script thiab Test Camera
Teeb Up Raspberry Pi Run-At-Boot Script thiab Test Camera

Tsim thiab txav mus rau hauv cov npe tshiab zerocam

mkdir zos

cd zej

Siv nano editor los tsim cov ntawv sau tshiab

nano yees duab.sh

Tom qab ntawd luam thiab paste cov cai hauv qab no rau hauv nano editor. Kaw nano nrog Ctrl+X, Y ces Rov Qab.

#!/bin/tsoo

DATE = $ (hnub tim +"%Y-%m-%d_%H%M") raspistill -o /home/pi/zerocam/$DATE-j.webp

Txij li tsab ntawv no siv cov lus txib hloov pauv, koj yuav tsum teeb tsa ImageMagick ntawm Raspberry Pi

sudo apt-tau hloov tshiab

sudo apt-tau nruab imagemagick

Ua kom cov ntaub ntawv ua tiav

chmod +x photo.sh

Qhib /etc/rc.local (cov lus txib hauv cov ntawv no khiav ntawm khau raj)

sudo nano /etc/rc.local

Nyob ze rau hauv qab ntawm cov ntawv, tsuas yog ua ntej tawm 0 nqe lus ntxiv kab ntawv tshiab no thiab tom qab ntawd kaw nano nrog Ctrl+X, Y ces Rov Qab.

sh /home/pi/zerocam/photo.sh

Nrog tus saib xyuas hauv ib cheeb tsam txuas nrog, sim tias nws ua haujlwm

sudo rov pib dua

Tus Pi yuav tsum rov pib dua thiab thaij duab. Yuav muaj daim ntawv tshiab-j.webp

Kuj sim ntsuas tig Pi rau thiab tawm nrog Pimoroni laub khawm. Ntsuas thiab sau Pi pib lub sijhawm. Nws yuav tsum tsawg dua 60 vib nas this.

Kauj ruam 4: Hack Tswb Tswb

Hack Tswb Tswb
Hack Tswb Tswb
Hack Tswb Tswb
Hack Tswb Tswb
Hack Tswb Tswb
Hack Tswb Tswb

Soj ntsuam raws li kev ua haujlwm - Nruab ob lub roj teeb AAA hauv lub tswb, thiab xyaum teeb tsa lub sijhawm thiab tswb raws cov lus qhia suav nrog. Tshwj xeeb yog saib lub tswb nrov - koj yuav tsum pom (1) lub teeb me me lub cim ceeb toom flashing, (2) lub suab nrov nrov rau 1 feeb tom qab ntawd kaw thiab (3) lub teeb nraub qaum LED ci rau 5 vib nas this ces tua.

Disassemble - Tshem plaub tus ntsia hlau los ntawm lub moos rov qab los cais ob qho tib si, tom qab ntawd tshem tawm plaub qhov txuas ntxiv kom tsis pub lub PCB tseem ceeb.

Hack - Txiav cov LED ua ntej ntawm PCB raws li qhia thiab muab txuas rau 5 cov xov hlau ntev mus rau cov seem uas nyob sab nraum qab ntawm PCB (saib daim duab). Desolder lub buzzer raws li qhia.

Mus rau lub roj teeb hauv lub qhov hluav taws xob ntxiv ob lub xov hlau ntxiv (liab thiab dub) ntxiv rau 100MFD electrolytic capacitor raws li qhia (saib polarity).

Sib sau ua ke lub sijhawm kom paub tseeb txog txoj hauv kev LED thiab lub roj teeb tshiab ua rau lub nraub qaum rov qab tuav raws qhov pom.

Rov Ntsuam Xyuas - Nruab cov roj teeb thiab ntsuas lub tswb nrov - tam sim no thaum lub tswb tawm mus koj yuav tsum pom lub cim me me lub cim ceeb toom flashing - tab sis tsis muaj lub suab nrov thiab tsis muaj lub teeb pom kev. Txuas mulitmeter rau LED coj koj yuav tsum txheeb xyuas txog 3 VDC thaum lub tswb nrov tawm ntawm lub sijhawm kwv yees li 5 vib nas this.

Kauj Ruam 5: Tsim Attiny85 Circuit Board

Tsim Attiny85 Circuit Board
Tsim Attiny85 Circuit Board
Tsim Attiny85 Circuit Board
Tsim Attiny85 Circuit Board

Xa mus rau daim duab thiab Attiny85 Schematic.pdf tsim lub rooj tsav xwm hluav taws xob ntawm ib daim me me ntawm perf lossis sawb board. Sau ntawv:

  • Nco ntsoov siv 8 tus pin DIP qhov rau Attiny85 nti raws li nws xav tau tshem tawm rau lub program.
  • Ua kom ntseeg tau qhov kev taw qhia ntawm Optos ua ntej siv cov khoom siv.
  • Jumper ua rau Pimoroni Shim yuav tsum muaj tsawg kawg 4 ntiv tes ntev nrog poj niam lub taub hau los txuas rau Shims BTN txiv neej tus pin.
  • Soj Ntsuam Polarity thaum ua txuas nrog lub tswb nyem - Circuit tsis muaj kev tiv thaiv rov qab polarity

Kauj Ruam 6: Upload Code rau Attiny 85 Chip

Siv Arduino Uno lossis lwm txoj hauv kev, xa cov cai (AttinyPiPowerControl.ino cov ntawv txuas) rau koj daim npav Attiny85. Nco tseg - cov cai no tso cai 60 vib nas this rau PI kom khau raj, thaij duab thiab mus rau lub dav hlau hais kom sai ua ntej pib txheej txheem kaw. Tom qab ntawd koj tuaj yeem teeb tsa Attiny85 nti hauv nws lub xov tooj hluav taws xob Circuit Court - ob zaug kos kev taw qhia.

Nco tseg: Yog tias koj xav tau ntau dua lossis tsawg dua Pi runtime, tsuas yog hloov kab no nyob hauv qab:

ncua (60000); // cia Pi khau raj thiab khiav ib ntus

Kauj Ruam 7: Kev Xaim thiab Kev Xeem Pib thiab Rub Tawm Cov Duab Duab Los Ntawm PI

Xaim thiab Kev Xeem Thawj thiab rub tawm Cov Duab Duab Los Ntawm PI
Xaim thiab Kev Xeem Thawj thiab rub tawm Cov Duab Duab Los Ntawm PI

Thaiv:

Txuas USB lub txhab nyiaj fais fab mus rau micro usb chaw nres nkoj ntawm Pimoroni shim. Txuas cov jumper coj los ntawm Attiny85 lub rooj tsav xwm rau Pimoroni shim, xyuas kom cov hlau lead dub txuas rau sab nrauv tshaj BTN tus pin ntawm Pimoroni shim.

Xeem:

Nruab 2 lub roj teeb AAA hauv lub tswb moos, thiab teev sijhawm. Kuv pom zoo tseem txuas Pi's HDMI chaw nres nkoj mus rau lub saib hauv zos.

Qhib Tswb thiab teeb tsa lub tswb ob peb feeb rau yav tom ntej. Thaum lub tswb nrov tawm, koj yuav tsum pom:

a Lub moos ceeb toom icon pib ntsais muag

b. Tom qab li 5 vib nas this Pimoroni Shim liab LED los txog rau 5 vib nas this

c. Pi pib khau raj

d. Tom qab li 20 vib nas this lub koob yees duab LED los thiab yees duab. Yog tias koj muaj lub chaw saib xyuas hauv cheeb tsam sib txuas, koj yuav pom qhov luv luv saib ua ntej ntawm daim duab.

e. Tom qab lwm 40 vib nas this los yog li ntawd, Pi khau raj tag nrho txoj kev mus rau lub davhlau ya nyob twg hais kom sai

f. Pi pib txheej txheem kaw, tom qab li 20 vib nas this Pimoroni Shim liab LED flashes qhia tias lub zog raug txiav rau PI

Rub tawm cov duab yees duab los ntawm PI

Kuv txuas PI rau kuv lub network siv OTG cable, thiab USB rau ethernet adapter, ua kom muaj zog Pi los ntawm wart phab ntsa. Tom qab ntawd siv WinSCP rub cov ntawv rau kuv lub PC.

Kauj Ruam 8: Sib Sau Cov Khoom Siv Hluav Taws Xob

Sib Sau Cov Khoom Siv Hluav Taws Xob
Sib Sau Cov Khoom Siv Hluav Taws Xob
Sib Sau Cov Khoom Siv Hluav Taws Xob
Sib Sau Cov Khoom Siv Hluav Taws Xob
Sib Sau Cov Khoom Siv Hluav Taws Xob
Sib Sau Cov Khoom Siv Hluav Taws Xob

Txuas Attiny85 lub rooj tsav xwm hluav taws xob rov qab ntawm lub tswb moos siv lub me me tus kheej tapping ntsia hlau. Txuas PI rau lub moos siv ob daim kab xev raws li qhia

Txuas lub moos sab laug los tso rau hauv qab rooj nrog daim kab xev ob npaug

Txuas USB lub txhab nyiaj tso nyiaj kom pom cov ntaub ntawv hauv qab nrog ob daim kab xev raws li qhia.

Muab cov ntaub ntawv sab saum toj tso rau hauv qab rooj raws li qhia.

Kauj Ruam 9: Txhim Kho Mounting Stake, Rooj Sib Tham zaum kawg thiab tso PI rau hauv Qaum Ntuj

Txhim Kho Mounting Stake, Rooj Sib Tham zaum kawg thiab tso PI rau hauv Qaum Ntuj
Txhim Kho Mounting Stake, Rooj Sib Tham zaum kawg thiab tso PI rau hauv Qaum Ntuj
Txhim Kho Mounting Stake, Rooj Sib Tham zaum kawg thiab tso PI rau hauv Qaum Ntuj
Txhim Kho Mounting Stake, Rooj Sib Tham zaum kawg thiab tso PI rau hauv Qaum Ntuj
Txhim Kho Mounting Stake, Rooj Sib Tham zaum kawg thiab tso PI rau hauv Qaum Ntuj
Txhim Kho Mounting Stake, Rooj Sib Tham zaum kawg thiab tso PI rau hauv Qaum Ntuj
Txhim Kho Mounting Stake, Rooj Sib Tham zaum kawg thiab tso PI rau hauv Qaum Ntuj
Txhim Kho Mounting Stake, Rooj Sib Tham zaum kawg thiab tso PI rau hauv Qaum Ntuj

Cov hauv qab: Hauv 5 1/2 X 5 1/2 daim ntoo, txiav 4 qhov 3/4 "sab hauv los ntawm txhua sab raws li qhia. Kuv siv 1/4 router me ntsis, tab sis koj kuj tuaj yeem xyaum thiab pom. lub hauv paus ua lub qhov rau 1 1/4 PVC txuas. Qhov zoo tshaj qhov loj yog 1 5/8 ", tab sis txij li thaum kuv tsuas muaj 1 3/4" qhov pom, kuv tau siv qhov ntawd thiab txhim kho txuas OD nrog cov kab xev. coupling nyob rau hauv qhov chaw nrog epoxy.

Muab cov khoom siv hluav taws xob tso rau saum lub thaiv ntoo thiab kos nws cov qauv. Tom qab ntawd laum plaub 1/4 qhov ntawm txhua sab raws li qhia. Kuaj plaub 1 "ntev 1/4" dia ntoo dowels hauv cov qhov no - qhov no yuav pab ua kom lub thawv ntawv nyob nruab nrab.

Sab saum toj: laum plaub 3/16 "qhov nyob ze rau ntawm ntug qis ntawm txhua qhov loj thiab ntxig 3/4" ntev S-hooks hauv txhua qhov khoov qhov xaus kaw kom lawv tsis poob. Ntawm sab sab hauv kub kua nplaum 4 plaub 1/2 tuab ntoo ntawm cov ntoo - cov no yuav pab ua kom cov ntoo sab saum toj nyob nruab nrab ntawm lub thawv ntawv.

Kev Sib Tham zaum kawg: Sandwich cov khoom siv hluav taws xob nruab nrab ntawm daim saum thiab hauv qab thiab ruaj ntseg nrog ob txoj hlua khi raws li qhia

Tso PI rau hauv Cov Tsiaj qus: Ua ib ceg txheem ntseeg los ntawm kev txiav 1 1/4 "PVC yeeb nkab ntawm qhov ntev haum rau koj lub hom phiaj, txiav ib kawg ntawm lub kaum sab xis 45 degree kom nws yooj yim dua rau hauv av. m txaus siab rau hauv av npog cog kev loj hlob (Vinea me) lub caij nplooj ntoo hlav no thiab, yog li kuv PVC ceg txheem ntseeg tsuas yog 15 "ntev. Txheeb ob zaug tias AAA cov roj teeb tshiab, USB lub txhab nyiaj tau them tag thiab lub tswb tswb tau teeb tsa kom raug - tom qab ntawd muab cov nyiaj pov rau hauv av thiab plam qhov sib dhos rau saum cov ceg txheem ntseeg - saib daim duab.

Kauj Ruam 10: Kev Ntsuas Tam Sim No thiab Kev Ntsuas Roj Teeb Lub Cev

Kev Ntsuas Tam Sim No thiab Kev Teem Sij Hawm Roj Teeb Ntxiv
Kev Ntsuas Tam Sim No thiab Kev Teem Sij Hawm Roj Teeb Ntxiv
Kev Ntsuas Tam Sim No thiab Kev Teem Sij Hawm Roj Teeb Ntxiv
Kev Ntsuas Tam Sim No thiab Kev Teem Sij Hawm Roj Teeb Ntxiv
Kev Ntsuas Tam Sim No thiab Kev Teem Sij Hawm Roj Teeb Ntxiv
Kev Ntsuas Tam Sim No thiab Kev Teem Sij Hawm Roj Teeb Ntxiv
Kev Ntsuas Tam Sim No thiab Kev Teem Sij Hawm Roj Teeb Ntxiv
Kev Ntsuas Tam Sim No thiab Kev Teem Sij Hawm Roj Teeb Ntxiv

Kuv ntsuas tam sim no siv xov tooj cua Shack RS-232 Multimeter (22-812) thiab ua khub Meter Saib software. Tsis yog tsiaj nyaum xaiv, tab sis nws yog qhov kuv muaj.

Kev ntsuas ntsuas tam sim no los ntawm ob lub roj teeb AAA zog Attiny85 pawg thawj coj thiab lub tswb nrov

Rau "series txuas" multimeter, Kuv tau siv roj teeb dummy thiab 3 VDC lub rooj zaum lub hwj chim (saib daim duab). Saib daim duab ntawm kev ntsuas tam sim no thaum lub sijhawm "nquag" (pib nrog lub tswb ceeb toom - xaus nrog Attiny85 rov qab mus rau hom pw tsaug zog). Tsis-tswb kos yog tas li 0.0049 mA. Ntsiab lus -

Lub Sijhawm Ua Haujlwm = 78 vib nas this

Lub Sijhawm nquag Tam sim no = 4.85 mA

Tsis Tswb Tam Sim No = 4.9 microA (0.0049 mA)

Kuv xam qhov nruab nrab niaj hnub tam sim no ntawm 0.0093 mA los ntawm ob lub AAA (750 mAh/txhua) txiav txim siab txog kev pw tsaug zog thiab hom kev ua haujlwm, thiab kev xav txog lub roj teeb lub neej> 8 xyoo siv txoj hauv kev no.

Kev ntsuas ntawm PI tam sim no kos los ntawm USB lub txhab nyiaj. To "series txuas" multimeter Kuv tau siv qhov hloov pauv usb cable (saib daim duab). Saib daim duab ntawm kev ntsuas tam sim no thaum lub sijhawm "nquag" (PI boot up - PI kaw). Thaum lub sijhawm tsis ua haujlwm Pimoroni ONOFF shim txiav lub zog rau Pi, yog li tam sim no kos ~ xoom. Ntsiab lus -

Lub Sijhawm Ua Haujlwm = 97 vib nas this

Lub Sijhawm nquag Tam sim no = 137 mA

Piv txwv tias yog 11200 mAh lub txhab nyiaj fais fab theoretical tus naj npawb ntawm lub sijhawm ua haujlwm nquag yog> 3000.

Kev Xeem Roj Teeb Sij Hawm

Kuv tau tswj hwm PI ib ntus nrog Arduino UNO tau npaj rau kev caij tsheb kauj vab nrawm - lub sijhawm ntawm lub tswb nrov yog 2 feeb piv rau 24 teev ib txwm.

Kuaj #1: 11200mAh fais fab nyiaj hauv tuam txhab. Pib thaum 10 teev tsaus ntuj thiab kuv nres ntawm 1 teev tsaus ntuj hnub tom qab. Cov txiaj ntsig: 413 cov duab thaij, 3 ntawm 4 qib LEDs tseem nyob ntawm qhov kev xeem kawg.

Kuaj #2: 7200mAh fais fab nyiaj hauv tuam txhab. Pib thaum 7:30 teev tsaus ntuj thiab kuv tau nres ntawm 4: 30PM hnub tom qab. Cov txiaj ntsig: 573 cov duab thaij, 2 ntawm 4 qib qib LED tseem nyob ntawm qhov kev xeem kawg.

Xaus: Kuv ntseeg tias cov txiaj ntsig saum toj no qhia tias tsawg kawg ib xyoos kev ua haujlwm siv 1 daim duab ib yam.

Pom zoo: