Cov txheej txheem:

Hnub ci Powered Arduino Survival Kit: 8 Kauj Ruam
Hnub ci Powered Arduino Survival Kit: 8 Kauj Ruam

Video: Hnub ci Powered Arduino Survival Kit: 8 Kauj Ruam

Video: Hnub ci Powered Arduino Survival Kit: 8 Kauj Ruam
Video: Cosplay by b.tech final year at IIT Kharagpur 2024, Hlis ntuj nqeg
Anonim
Hnub ci Powered Arduino Survival Kit
Hnub ci Powered Arduino Survival Kit
Hnub ci Powered Arduino Survival Kit
Hnub ci Powered Arduino Survival Kit

Cov lus qhia no yuav piav qhia qhov tsim ntawm ntau lub hom phiaj, thev naus laus zis siab Arduino cov cuab yeej muaj sia nyob. Cov txheej txheem tseem ceeb peb yuav tsom mus rau hauv qhov kev qhia no yog lub roj teeb uas tuaj yeem them rov qab, teeb tsa lub hnub ci teeb tsa, teeb tsa hluav taws xob, thiab GPS+Bluetooth module. Kev sib xyaw ua ke ntawm cov khoom no yuav tso cai rau koj kom ntshai tsiaj, ceeb toom cawm neeg teb xov tooj, thiab rov them koj lub xov tooj thiab taug qab txoj hauv kev ntawm koj lub xov tooj ntawm tes Arduino teeb tsa.

Ntau ntawm cov cai thiab cov ntaub ntawv ua muaj nyob hauv qhov kev qhia no tau ua tau los ua tsaug rau lub zej zog qhib thiab lub ntiaj teb vam meej ntawm cov neeg tsim uas txaus siab pab ib leeg.

Daim ntawv thov web kuj tau sau rau tus qauv no. Qhov no yuav tso cai rau koj taug kev yam tsis muaj koj lub xov tooj thiab tseem tuaj yeem taug qab koj txoj kev taug kev ntev thiab taug kev thiab pom lawv siv Googles Maps API. Nov yog qhov yooj yim los sau cov program thiab tseem tuaj yeem ua tiav ntawm koj tus kheej yog tias koj xav hloov qhov kev zoo nkauj lossis cov yam ntxwv ntawm nplooj ntawv. Nco ntsoov txawm li cas los xij qhov no yuav tsum tau qhib hauv Chrome vim nws siv lub vev xaib tshiab thiab zoo tshaj plaws rau Bluetooth API's.

Kauj ruam 1: Yuav tsum tau ua

Yuav tsum muaj
Yuav tsum muaj
Yuav tsum muaj
Yuav tsum muaj
Yuav tsum muaj
Yuav tsum muaj
Yuav tsum muaj
Yuav tsum muaj

Cov cuab yeej siv hauv qhov kev qhia no yog raws li hauv qab no:

Ib qho Arduino Mega 2560 (Nrog rau USB-A rau USB Hom B cable txhawm rau tshaj tawm tus lej) 4x Cov Hnub Nyoog Saj Zawg Zog Pom Pom Studios Solar Shield v2.2An HM-10 Bluetooth Arduino Module (Txhawb Bluetooth 4.0 uas yog qhov tseem ceeb rau kev cuam tshuam nrog cov khoom siv niaj hnub no thiab nplooj ntawv web) A GPS Module Ib qho yooj yim khawm Ib qho eletronic Aduino buzzer Lub roj teeb 5000mAh uas txhawb nqa them ntawm micro-usb thiab tso tawm ntawm USB-A. Lub khob cij kom yooj yim siv thiab ntsuas Muaj ntau cov xov hlau !! (Txiv neej rau poj niam, Txiv neej rau txiv neej, Poj niam rau poj niam, lub zog hluav taws xob muaj peev xwm ntawm cov dej ntws me) Lub taub hau me me USB-A cable rau txhua yam Micro-USB cable rau txhua yam

Kauj Ruam 2: Teeb Lub Hwj Chim

Teeb zog
Teeb zog
Teeb zog
Teeb zog
Teeb zog
Teeb zog

Qhov tseem ceeb tshaj plaws ntawm peb kev teeb tsa mobile yog ua kom ntseeg tau tias peb muaj lub zog thaum mus. Peb yuav siv Daim Ntawv Pom Hnub Ci los tiv thaiv peb cov khoom raws li peb tsim 6 Volt system nrog peb cov hnub ci ci. Cov Pom Hnub Ci Shield tuaj yeem ua haujlwm Hnub ci qhov hluav taws xob ntawm 4.8 ~ 6 volts. Xav tias dawb los ua si ib puag ncig nrog qhov no los ntawm kev muab cov hluav taws xob ntxiv thiab nqis nws qis lossis los ntawm xaim koj lub xov tooj cua sib txawv.

Kauj Ruam 1: Yog tias koj Lub Hnub Ci Panels tsis muaj cov txuas, koj yuav tsum tau txhawm rau sab nraub qaum kom pom cov hlau sib txuas rau cov ntsiab lus zoo thiab tsis zoo ib feem. Txwv tsis pub, yog tias koj muaj cov xov hlau nrog koj lub vaj huam sib luag, xyuas kom lawv tuaj yeem txuas tau rau hauv cov phiaj xwm txuas txuas saum toj no. Kev txiav thiab rov muag koj cov xov hlau tuaj yeem yooj yim dua nyob ntawm kev sib txuas.

Kauj Ruam 2: Soldering tus txiv neej xaim rau txhua tus pin zoo thiab tus poj niam xaim rau txhua tus pin tsis zoo yuav tso cai rau koj txuas koj lub hnub ci vaj huam sib luag raws li xav tau. Nyob ntawm koj qhov kev siv cov cuab yeej muaj sia nyob, qhov kev xaiv thaiv no muab rau koj kom yooj yim dua nyob ntawm koj qhov chaw ua haujlwm thiab xav tau.

Kauj Ruam 2.b: Nws yog qhov ua tau zoo los ntsuas koj lub wirings nrog lub voltmeter. Yog tias ua haujlwm hauv qhov tsaus ntuj, lub teeb nyem los ntawm koj lub xov tooj lub koob yees duab yuav tsum txaus kom xa qee qhov me me ntawm qhov hluav taws xob uas yuav pom.

Kauj Ruam 3: Thaum koj muaj cov kab hluav taws xob ntawm cov hnub ci ci, (Yog tias siv cov uas peb tau piav qhia hauv qhov yuav tsum tau ua, tam sim no koj yuav tsum muaj peev xwm ntawm 6 Volts), koj tuaj yeem pib ntsaws lawv rau hauv Solar Shield hauv qab lub dav hlau sau tias 'Hnub ci '. Yog tias koj cov xov hlau tsis txuas rau hauv qhov chaw nres nkoj no, koj yuav tsum tau muab lub dav hlau txuas txuas rau koj cov xov hlau kom koj tuaj yeem txuas rau qhov no.

Kauj Ruam 3.b: Zoo li cov kauj ruam saum toj no, koj yuav tsis tuaj yeem ntsaws koj lub txhab nyiaj ncaj qha mus rau lub roj teeb dav dav, tshwj xeeb nrog kev lag luam zoo li lub txhab nyiaj. Nws zoo li koj yuav tau txiav cov kab hluav taws xob thiab siv lub lauj kaub los kho cov xov hlau xws li nws tuaj yeem txuas rau lub roj teeb dav hlau rau hnub ci them nyiaj.

Kauj Ruam 4. Tsis tas li nrog lub txhab nyiaj hluav taws xob, ntsaws nws rau hauv qhov chaw nres nkoj microUSB ntawm lub hnub ci ci. Peb lub txhab nyiaj tau them los ntawm MicroUSB, thiab tso tawm los ntawm USB-A. Nrog txoj haujlwm los tshuaj xyuas tus nqi thiab kev tso tawm, koj yuav tsum muaj peev xwm siv tag nrho koj lub txhab nyiaj tsis hais nws lub peev xwm/tsis muaj peev xwm them thiab tso tawm tib lub sijhawm.

Lub Hnub Ci Pom Kev Tiv Thaiv muab lub teeb liab los qhia thaum lub zog nkag los ntawm Solar panels. Qhov no tuaj yeem pab tau hauv kev sim!

Tam sim no peb muaj peb lub txhab nyiaj txaus npaj rau them, peb tuaj yeem nqa nrog koj lub xov tooj them nyiaj uas koj xaiv xws li koj tuaj yeem siv koj lub xov tooj ntawm txhua txoj kev mus! USB-C, Xob Laim, Microusb, koj lub npe!

Kauj Ruam 3: Bluetooth thiab GPS Modules

Bluetooth thiab GPS Modules
Bluetooth thiab GPS Modules
Bluetooth thiab GPS Modules
Bluetooth thiab GPS Modules
Bluetooth thiab GPS Modules
Bluetooth thiab GPS Modules

Tej zaum nws yuav muaj txiaj ntsig siv lub khob cij rau cov kauj ruam hauv qab no, nyob ntawm seb koj puas siv Arduino me dua.

Rau cov kauj ruam no, peb yuav siv SoftwareSerial lub tsev qiv ntawv. Yog tias koj tau ua raws ntawm Arduino sib txawv los ntawm Mega, (Xws li Arduino DUE), koj yuav pom tias koj tsis muaj lub tsev qiv ntawv txuas ntxiv nrog cov cai thiab cov hauv qab no. Kuv tus kheej tau tawm tsam kom nrhiav kev daws teeb meem ntawm DUE thiab hloov mus rau MEGA 2560.

Kauj ruam 1: Pins

HWM - 10

HM-10 tuaj yeem nqis qis 5 Volts, yog li xav tias ntsaws nws rau hauv 3.3 lossis 5v tus pin

vcc - 5vtx - 11rx - 10gnd - GND

GPS (NEO-6M-0-001)

Nco tseg, tus kav hlau txais xov yuav tsum tau sib cais txuas nrog tus txais. Yog tias koj tawm tsam kom ua qhov kev sib txuas no, (Nws yuav tsum tsis txhob siv lub zog ntau dhau thiab yuav tsum ua rau muaj kev txaus siab nyem), tom qab ntawd koj yuav xav tau nqa qee tus pliers thiab ua kom luv qhov dav ntawm lub microcontroller ntawm tus qauv. Ntawm Antenna sab, qhov txuas yuav tsum tau flared me ntsis, yog li tsis txhob sim ua kom qis dua lossis koj yuav tawm tsam ntxiv.

vcc - 5vrx - 18tx - 19gnd - GND

Txij li ob qho qauv no tuaj yeem ua ob qhov 5 Volts, nws tuaj yeem yooj yim dua los xaim lawv hauv kab ntawm Breadboard. Lub GPS Module yuav tsis ntsais liab kom txog thaum nws tau txais lub zog txuas nrog satellite, koj yuav tsum tau tawm mus sab nraud thiab tos ob peb feeb kom qhov no tshwm sim. Txawm li cas los xij ntawm kev siv tom ntej no yuav tsum dhau los ua cov txheej txheem sai dua thiab ua tau los ntawm cov xwm txheej hnyav dua xws li sab hauv tsev.

Nrog GPS Module thiab lub cim xeeb loj dua los ntawm Arduino Mega 2560, peb tuaj yeem xa peb cov ntaub ntawv GPS mus rau cov cuab yeej bluetooth, thiab tsim cov duab qhia chaw los ntawm ntau lub vev xaib thov.

Txuas rau tus lej hauv qab no

github.com/andym03/ArduinoSurvivalKit

Kauj Ruam 4: (Tsis teb los tau) LED khawm thaiv

(Tsis teb los tau) LED khawm thaiv
(Tsis teb los tau) LED khawm thaiv
(Tsis teb los tau) LED khawm thaiv
(Tsis teb los tau) LED khawm thaiv
(Tsis teb los tau) LED khawm thaiv
(Tsis teb los tau) LED khawm thaiv

Raws li koj yuav paub zoo, cov nyees khawm tuaj yeem txuas nrog ntawm qhov yooj yim ob tus pin txuas. Thaum lub pob nyem, qhov kev sib txuas ntawm cov pins no tau rov qab los. Ntau lub khawm LED tseem yuav muaj tus pin ntxiv rau teeb pom kev zoo. Qhov no cais cov txheej txheem ntawm lub teeb thiab kev zoo nkauj thiab lub hom phiaj tiag tiag ntawm lub pob. Peb lub khawm muaj daim ntawv lo rau kev sib txuas zoo thiab tsis zoo rau thaiv, txawm li cas los xij peb tsis muaj txoj hlua rau I/O pins. Qhov no yuav xav tau qee qhov kev sim lossis ntsuas ib puag ncig. Ntxiv cov cua sov thiab cov kab xev hluav taws xob tuaj yeem yog txoj hauv kev zoo los xyuas kom ruaj ntseg ntawm koj cov tshiab soldered ntawm cov xov hlau. Kev hla cov kauj ruam no yuav txuag sijhawm tab sis ua rau muaj kev tsis paub ntau dua thaum koj tab tom sim koj lub khawm zoo nkauj tshiab, tshwj xeeb tshaj yog thaum twb tau sau rau hauv cov ntawv cim teeb meem.

Kauj ruam 2. Ntsuam xyuas koj lub pob thiab ntxiv ib qho kev xav uas koj nyiam rau nws, xws li tig lub bluetooth lossis ua lub pob rau peb lub suab nrov uas yuav raug teeb tsa nyob rau yav tom ntej.

Kauj Ruam 3: Nco ntsoov suav nrog tus neeg sib tw deboured hauv koj cov cai txawm koj yuav siv lub pob rau. Debouncersare yog txoj hauv kev zoo ntawm kev ua hluav taws xob kom nkag siab zoo thiab siv tau rau lub cajmeem.

Pins: Peb khawm tau muab tso rau hauv qab kab 3.3v nrog rau hauv av. Lwm tus pin nyob hauv 5 thiab 6 feem thiab tswj peb lub suab nrov.

Kauj Ruam 5: Kev Xaiv 2: Khawm Ib Leeg

Qhov Xaiv 2: Khawm Ib Leeg
Qhov Xaiv 2: Khawm Ib Leeg

Yog tias koj xav kom txo qis qhov muag thiab tsis meej pem, xav tias tsis txhob xaiv lub pob ib txwm. Qhov no feem ntau yuav sau npe zoo dua thiab yuav muab ntau qhov kev sib tw nyem, uas yooj yim rau kev sim.

Kauj Ruam 6: Buzzer

Lub Buzzer
Lub Buzzer

Lub suab nrov ntawm qhov raug zaus tuaj yeem ua rau muaj kev ntshai rau tsiaj (thiab muaj peev xwm, cuam tshuam rau menyuam yaus me). Ib tus tiv thaiv tuaj yeem siv los xyuas kom koj tsis txhob tshuab lub buzzer, vim nws tsis xav tau kom puv 3.3 volts uas peb Arduino tuaj yeem tso tawm.

Arduino Mega 2560 muaj tus pin los tso tseg, thiab peb peb lub suab nrov nrov tau txuas rau tus pin 47, feem ntau yog khaws cia tau cais thiab teeb tsa los ntawm cov khoom sib cais.

Kauj Ruam 7: Daim Ntawv Thov: Yeem Cov Kauj Ruam - Solar Jacket Jacket

Daim Ntawv Thov: Yeem Cov Kauj Ruam - Lub Hnub Ci Powered Jacket
Daim Ntawv Thov: Yeem Cov Kauj Ruam - Lub Hnub Ci Powered Jacket
Daim ntawv thov: Cov kauj ruam xaiv tau - Lub Hnub Qub Tsim Tsho
Daim ntawv thov: Cov kauj ruam xaiv tau - Lub Hnub Qub Tsim Tsho
Daim Ntawv Thov: Yeem Cov Kauj Ruam - Lub Hnub Ci Powered Jacket
Daim Ntawv Thov: Yeem Cov Kauj Ruam - Lub Hnub Ci Powered Jacket
Daim Ntawv Thov: Yeem Cov Kauj Ruam - Lub Hnub Ci Powered Jacket
Daim Ntawv Thov: Yeem Cov Kauj Ruam - Lub Hnub Ci Powered Jacket

Hnub ci vaj huam sib luag tso:

Lub hnab yas rov ua dua tshiab tau ua kom haum zoo nyob rau hauv 4 daim ntawm qhov hnyav thiab hloov tau lub hnub ci vaj huam sib luag uas muaj lub nplhaib hlau uas yog rau cov xov hlau hla mus rau nruab nrab txheej ntawm lub tsho kom mus txog lub txhab nyiaj them nyiaj rau sab laug. -Hais sab tes ntawm lub tsho ntse. Nws tau muab tso rau pem hauv ntej vim tias cov neeg taug kev mus deb ntev yuav nqa lub hnab ev loj rau nyob hmo ntuj nyob ntawd tso cov vaj huam sib luag tom nraub qaum yuav tsis muaj txiaj ntsig zoo dua li tso rau pem hauv ntej.

Rov qab siv cov yas pob tshab, yog li nws yuav tsis cuam tshuam rau kev ua haujlwm ntawm cov vaj huam sib luag vim nws tso cai rau tshav ntuj dhau mus thiab tseem ua dej tiv taus uas tuaj yeem tiv thaiv xaim los ntawm kev puas tsuaj.

Kuj tseem muaj daim duab plaub kab uas npog lub nplhaib hlau uas tso cai sib txuas ntawm cov roj teeb thiab cov vaj huam sib luag uas ntsuas tau qhov tseeb rau tsuas yog npog cov xaim txuas tab sis tsis yog cov npoo ntawm lub vaj huam sib luag.

Qhov ntau thiab tsawg: hnab yas tso cai rau 4 (195mm x 58mm txhua) cov hnub ci vaj huam sib luag zoo thiab muaj txiaj ntsig tau teeb tsa hauv qhov qauv poob.

Cov ntaub ntawv: Cov ntaub tsis muaj dej thiab cov kab zauv, rov ua dua yas, nplhaib hlau, khawm yas, Kev tsim qauv peb txheej tuaj yeem siv los tiv thaiv koj cov thaiv thiab tseem muab kev nplij siab rau tus neeg siv. Los ntawm kev sib cais cov thaiv los ntawm ob sab txheej sab hauv thiab sab hauv, koj tsis tsuas yog tso cai rau koj tus kheej ntau chav ua haujlwm tab sis koj yuav ua kom koj cov neeg siv yuav tsis muaj kev txawj ntse ntxiv rau lub zog thiab nyuaj ntawm koj li Arduino Survival Kit !!

Kauj Ruam 8: Daim Ntawv Thov: Yeem Cov Kauj Ruam - Smart Jacket

Daim ntawv thov: Cov kauj ruam xaiv tau - Smart Jacket
Daim ntawv thov: Cov kauj ruam xaiv tau - Smart Jacket
Daim ntawv thov: Cov kauj ruam xaiv tau - Smart Jacket
Daim ntawv thov: Cov kauj ruam xaiv tau - Smart Jacket
Daim ntawv thov: Cov kauj ruam xaiv tau - Smart Jacket
Daim ntawv thov: Cov kauj ruam xaiv tau - Smart Jacket

LED teeb kuj tseem tuaj yeem tso rau ntawm lub xub pwg thiab lub tes tsho ntawm txheej txheej ntawm cov khaub ncaws thaum qhov txuas ntxiv txhim kho cov khoom muaj sia nyob thiab pom kev zoo ntawm lub tsho. Kev xaiv ntse lub zog LED qis yuav ua rau muaj kev cuam tshuam tsawg ntawm lub txhab nyiaj thiab tseem tuav lub hom phiaj ntawm peb lub xov tooj ntawm tes Arduino. Xyuas kom muaj kev saib xyuas kom raug kom tsis txhob ua kom sov ntau dhau ntawm cov khaub ncaws thiab cov khoom siv hluav taws xob, xws li qhib rau lub sijhawm ntev. Xav tias dawb tso koj lub xov tooj tom qab thiab mus rau kev taug kev, thaum koj rov qab los koj yuav tuaj yeem tso koj li gps kev sib koom ua ke rau hauv peb lub vev xaib thov txuas hauv thawj kauj ruam ntawm peb cov lus qhia.

Pom zoo: