Cov txheej txheem:

Solar Tracker: 6 Kauj Ruam
Solar Tracker: 6 Kauj Ruam

Video: Solar Tracker: 6 Kauj Ruam

Video: Solar Tracker: 6 Kauj Ruam
Video: 20 MOMENTS YOU WOULDN'T BELIEVE IF NOT FILMED 2024, Kaum ib hlis
Anonim
Hnub Ci Tracker
Hnub Ci Tracker

Nyob zoo, kuv lub npe yog Jochem Forrez thiab kuv tab tom kawm Multi Media thiab Kev Sib Txuas Lus Technology ntawm Howest (Kortrijk, Belgium). Rau tsev kawm ntawv peb xav tau los ua ib qhov haujlwm. Kuv ua Solar tracker (hnub ci vaj huam sib luag uas ua raws lub hnub), kuv pom nws yog qhov haujlwm txaus nyiam tiag tiag thiab nws lom zem ua.

Txoj haujlwm siv 4 lub teeb nyob ntawm tus tiv thaiv kom pom lub teeb ci tshaj plaws. Nws tseem ntsuas qhov ntws tam sim no thiab qhov hluav taws xob ntawm lub roj teeb thiab lub hnub ci vaj huam sib luag. Qhov no tau tshwm rau ntawm lub vev xaib thiab pom tau los ntawm kab kos. Koj tseem tuaj yeem tswj ob lub servo nrog lub vev xaib.

Khoom siv

Rau qhov haujlwm no koj xav tau:

Raspberry PiPhaesun Sun Plus 5 Polykristallijn hnub ci vaj huam sib luag 5WAdafruit INA219 Tam sim no Sensor Breakout x2Ldr x4servo (muaj zog) x2nextion display3.7v batterymcp3008power -supply 3.3V thiab 5VSparkFun Sunny Buddy - MPPT Hnub Ci Chargeallot breadboard jumper cables:) threaded rod of M3

Kauj Ruam 1: Kauj Ruam 1: Cov Khoom Siv Hluav Taws Xob

Kauj ruam 1: Electronics
Kauj ruam 1: Electronics

Ntawm no koj tuaj yeem tau txais cov txheej txheem fritzing nrog txhua qhov khoom siv. qhov ntsuas tam sim no thiab cov phooj ywg tshav ntuj xav tau qee qhov kev sib txuas.

Kauj Ruam 2: Kauj Ruam 2: Database

Kauj ruam 2: Database
Kauj ruam 2: Database

qhov no yog kuv cov ntaub ntawv qauv qauv. Qhov no tau tuav ntawm raspberry pi siv MariaDB. Nws teev tag nrho cov ntsuas thiab teeb tsa yog tias nws nyob hauv hom phau ntawv lossis tsis yog.

Kauj Ruam 3: Kauj Ruam 3: Lub Vev Xaib

Kauj Ruam 3: Lub Vev Xaib
Kauj Ruam 3: Lub Vev Xaib
Kauj Ruam 3: Lub Vev Xaib
Kauj Ruam 3: Lub Vev Xaib

Ntawm no koj tuaj yeem pom qee cov duab ntawm lub xaib lub xaib tuaj yeem ncav cuag nrog tus ip uas raspberry muaj (koj tuaj yeem pom nws ntawm cov zaub). Ntawm qhov chaw koj tuaj yeem pom txhua daim duab ntawm lub ntsuas thiab tswj lub hnub ci vaj huam sib luag.

Kauj Ruam 4: Kauj Ruam 4: Case

Kauj ruam 4: Rooj plaub
Kauj ruam 4: Rooj plaub
Kauj ruam 4: Rooj plaub
Kauj ruam 4: Rooj plaub
Kauj ruam 4: Rooj plaub
Kauj ruam 4: Rooj plaub
Kauj ruam 4: Rooj plaub
Kauj ruam 4: Rooj plaub

Txog qhov xwm txheej kuv tsuas yog nqa lub thawv yas thiab txiav/drilled qhov me me rau cov hlua thiab lub qhov loj rau cov zaub. Kuv glued tag nrho cov khoom (tsis yog servos thiab ldr's). Nyob rau hauv tag nrho kuv drilled 3 qhov me me rau cov cables: 1 rau ldr's, 1 rau cov xov tooj ntawm lub hnub ci vaj huam sib luag thiab 1 rau servos (cables).

Rau lub hnub ci vaj huam sib luag kuv siv seem mdf panels kuv muaj nyob hauv tsev. qhov kev xav tsis zoo tag nrho thiab yog tias koj tuaj yeem sim ua kom nws zoo dua tab sis nws ua haujlwm. Koj xav tau 2 ntu ntoo.

Ib qhov loj U zoo li kev thaj yeeb rau qhov ntev koj tuaj yeem saib ntawm daim duab

Thiab ib lub platform loj koj tuaj yeem ua rau nws loj npaum li cas koj xav tau kuv yog 400*300*20 mm

ib zaug koj muaj cov ntu no koj yuav tsum tau siv lub qhov taub nyob nruab nrab ntawm qhov chaw nruab nrab ntawm lub hnub ci uas nyob ib puag ncig 125 hli thiab 17.5 hli ntawm ob sab yog li koj tuaj yeem lo ib tus pas nrig ntawm M3 nrog laum tsis tsawg dua 3 mm thiab tsis loj dua 5 mm (koj tuaj yeem mus loj dua tab sis nws tsis pom zoo).

Tshaj li txiav txoj hlua xov M3 350mm nyob rau hauv qhov ntev ntxiv cov txiv ntoo rau nws yog li koj tuaj yeem siv nws ua lub txee txiv ntseej rau lub servo ntxiv tus pas nrig ntawm koj lub servo thiab txuas mus kom txog thaum nws tus ncej puab thiab dua li kaw lub txiv ntseej kom nws tuaj yeem xoob ntxiv sim ua kom pom kev qhov twg koj xav tau txiv ntseej thiab tshuab ntxhua khaub ncaws muaj daim duab ntawm nws.

Rau lub y axis kuv kuj txiav cov hlua xov ntawm M3 90 hli ntev thiab siv lub txee txiv ntseej thiab txiv ntseej kom nrawm nws.

Kauj Ruam 5: Kauj Ruam 5: Teeb Raspberry Pi OS

Nov yog kev qhia los ntawm raspberry yuav ua li cas teeb tsa OS:

Nov yog kev qhia yuav ua li cas ssh rau raspberry:

ib zaug koj tuaj yeem ua qhov no koj tuaj yeem nkag mus nrog lub npe siv: PI thiab tus password Raspberry Thawj qhov koj xav ua yog hloov tus password ntawm pi qhov no tuaj yeem ua tiav nrog cov lus txib: sudo raspi-config dua li koj mus rau 1 Hloov Tus Neeg Siv Tus Kheej thiab hloov pauv password tsis txhob hnov qab nws lossis koj yuav tsum pib dua.

mus rau hauv raspi-teeb tsa los teeb tsa 4 Kev Xaiv Hauv Zos thiab teeb tsa txhua qhov teeb tsa kom raug rau koj lub tebchaws thiab cov keyboard

hauv 2 kev xaiv network koj tuaj yeem teeb tsa koj li wifi

hauv 5 koj xav tau SPI, I2C, Serial, Remote GPIO rau

txhawm rau teeb tsa lub web server koj xav tau nruab Apache nrog cov lus txib no (sudo apt install apache2 -y) hauv lub davhlau ya nyob twg. koj tuaj yeem sim yog tias nws ua haujlwm thaum pasting tus ip ntawm koj li raspberry hauv qhov browser.

thiab qee lub tsev qiv ntawv yuav tsum tau teeb tsa kom tau txais txoj haujlwm ua haujlwm tsuas yog luam thiab dhau los hauv lub davhlau ya nyob twg

sud opip3 install mysql-connector-pythonsudo pip3 install flask-corssudo pip3 install geventsudo pip3 install gevent-websocketsudo pip3 install pi-ina219

Kauj Ruam 6: Kauj Ruam 6: Code

Ntawm GitHub no koj tuaj yeem pom cov cai ntawm txoj haujlwm koj tuaj yeem nruab nws thiab khiav nws

github.com/ForrezJochem/project-code

Pom zoo: