Cov txheej txheem:

Orienteering Race Bracelet: 11 Kauj Ruam
Orienteering Race Bracelet: 11 Kauj Ruam

Video: Orienteering Race Bracelet: 11 Kauj Ruam

Video: Orienteering Race Bracelet: 11 Kauj Ruam
Video: Studio Killers - I wanna ruin our friendship (Jenny) (Lyrics) 2024, Hlis ntuj nqeg
Anonim
Orienteering Race Bracelet
Orienteering Race Bracelet

Koj puas tau sim mus rau qib tom ntej ntawm kev taw qhia? Muaj tag nrho cov ntaub ntawv xav tau ntawm tes? Ntawm no koj yuav pom yuav ua li cas peb txhim kho kev ua haujlwm zoo nrog thev naus laus zis.

Peb tab tom tsim txoj hlua tes ntawm kev taw qhia uas yuav muab cov ntaub ntawv ntau rau koj, thiab tso cai rau koj ua haujlwm ntau, xws li:

- Qhov kub thiab huab cua ntawm huab cua

- Lub compass

- Txoj haujlwm uas koj nyob nrog GPS cov ntaub ntawv

- Kev txheeb xyuas ntawm txhua lub caij nplooj zeeg

- Ib tus lej RFID

- SOS khawm

- Xa tag nrho cov ntaub ntawv mus rau huab

Txhua yam koj yuav tsum ua yog ua raws cov lus qhia no ib kauj ruam zuj zus, yog li cia peb pib!

Nco tseg: Txoj haujlwm no tau tuav los ntawm Cov Txheej Txheem Txheej Txheem Txheej Txheem los ntawm Polytech Paris-UPMC.

Kauj Ruam 1: Cov Khoom Xav Tau

Cov Khoom Xav Tau
Cov Khoom Xav Tau

Nov yog cov npe khoom uas koj xav tau los tsim cov cuab yeej no:

- GPS Groove

- Tus tswj hwm Pololu Regulator U1V11F5

- Hloov 0, 5V -> 5V

- RFID Marin H4102

- Accelerometer ADXL335

Compass: 3 axis module HMC5883L

- LCD npo: gotronic 31066

- DHT11: Qhov ntsuas kub thiab av noo

- Khawm rau SOS

- Sigfox Module

- Txhawb roj teeb + roj teeb LR06 1.2v 2000 mAh

- Microcontroller: MBED Board LPC1768

Tam sim no raws li peb muaj tag nrho peb cov rooj tog, peb tuaj yeem mus rau theem tom ntej.

Kauj ruam 2: Programming DHT11 Sensor

Programming DHT11 Sensor
Programming DHT11 Sensor

1. Muab 4K7 Resistor nruab nrab ntawm VCC thiab cov ntaub ntawv tus pin ntawm DHT11

2. Txuas cov kab ntsuab rau tus Pin uas koj xav tau cov ntaub ntawv (ntawm no nws yog D4 tus pin ntawm NUCLEO L476RG)

3. Pawg Thawj Coj yuav tsum tsis txuas nrog 3V3 kev noj zaub mov (Liab) thiab hauv av (Dub)

4; Siv qhov txuas txuas ntawm tus pin A0 ntawm NUCLEO L476RG kom pom cov ntaub ntawv

5. Siv MBED ib puag ncig los sau cov cai (Cf. yees duab)

Qhov ua tiav main.c muaj nyob ntawm cov ntawv txuas

Kauj Ruam 3: Ua Haujlwm HMC5883L Sensor

Kev ua haujlwm HMC5883L Sensor
Kev ua haujlwm HMC5883L Sensor

1. Rau HMC5883L koj tuaj yeem noj cov zaub mov zoo ib yam li ua ntej.

2. Ntawm lub rooj tsav xwm NUCLEOL476RG, koj muaj ob tus Pin hu ua SCL thiab SDA

3. Txuas SCL ntawm HMC5883L mus rau SCL tus pin ntawm NUCLEO Board.

4. Txuas SDA ntawm HMC5883L mus rau SCL tus pin ntawm NUCLEO Board.

Qhov ua tiav main.cpp muaj nyob ntawm cov ntawv txuas.

Kauj Ruam 4: Ua Haujlwm Accelerometer ADXL335

Programming Accelerometer ADXL335
Programming Accelerometer ADXL335

1. Zoo li cov kauj ruam ua ntej, koj tuaj yeem siv cov khoom noj ib yam nkaus (3V3 thiab hauv av).

2. Ntawm MBED interface, siv peb qhov kev tawm tswv yim sib txawv tshaj tawm tias "analogin"

3. Hu lawv InputX, InputY, thiab InputZ.

4. Tom qab ntawd koom nrog lawv nrog peb tus pin uas koj xaiv (ntawm no peb siv feem siv PC_0, PC_1, thiab PB_1)

A0 Pin tseem yog chaw nres nkoj qhov twg txhua cov ntaub ntawv xa tawm.

Qhov ua tiav main.cpp muaj nyob ntawm cov ntawv txuas

Kauj Ruam 5: Programming RFID Tag

Programming RFID Tag
Programming RFID Tag

1. Siv cov zaub mov zoo ib yam

2. Ntawm lub microcontroller, siv ob tus lej muaj rau txuas RX/TX RFID sensor (ntawm no nws yog D8 thiab D9 ntawm NUCLEO L476RG)

3. Ntawm MBED, tsis txhob hnov qab tshaj tawm tus lej PIN (ntawm no nws yog PA_9 & PA_10)

Qhov ua tiav main.cpp muaj nyob ntawm cov ntawv txuas

Kauj Ruam 6: Kev teeb tsa GPS Groove

Programming lub GPS Groove
Programming lub GPS Groove

1. Koj tuaj yeem siv cov zaub mov zoo ib yam ntawm no (3V3 thiab Av)

2. Siv tsuas yog xa GPS thiab txuas nws ntawm lub microcontroller.

3. Tom qab ntawd koj yuav tsum txiav cov ntaub ntawv rau kev siv cov ntaub ntawv cuam tshuam, zoo li DMS thiab lub sijhawm.

Qhov ua tiav main.cpp muaj nyob ntawm cov ntawv txuas.

Kauj Ruam 7: Xa Cov Ntaub Ntawv ntawm Actoboard

Xa Cov Ntaub Ntawv ntawm Actoboard
Xa Cov Ntaub Ntawv ntawm Actoboard

1. Rau txhua qhov kev hloov pauv siv rau Actoboard, peb yuav tsum hloov nws tag nrho hauv hom "int".

2. Ntawm MBED tus neeg sau, siv cov cim hauv qab no ntawm "printf": "AT $ SS: %x, lub npe ntawm qhov sib txawv koj xav xa ntawm actoboard".

3. Qhov sib txawv yuav tsum muaj nyob hauv daim ntawv Hexadecimal, zoo li XX. Tus nqi <FF (255 hauv lej) tsis sib xws, yog vim li cas peb tsuas siv thawj peb lub cim rau RFID.

4. Tsim ib tus as khauj ntawm Actoboard.

Kauj Ruam 8: Sigfox Module

Sigfox Module
Sigfox Module

1. Txuas lub sgfox module ntawm lub microcontroller.

2. Siv daim npav actoboard thiab cov qauv sib xws kom tau txais cov ntaub ntawv ntawm actoboard, ua tsaug rau sigfox module.

Kauj Ruam 9: Xa Cov Ntaub Ntawv ntawm Huab

Xa Cov Ntaub Ntawv ntawm Huab
Xa Cov Ntaub Ntawv ntawm Huab
Xa Cov Ntaub Ntawv ntawm Huab
Xa Cov Ntaub Ntawv ntawm Huab
Xa Cov Ntaub Ntawv ntawm Huab
Xa Cov Ntaub Ntawv ntawm Huab

1. Tsim tus lej Bluemix thiab tsim NodeRed daim ntawv thov "Bracelet" ntawm huab los ntawm kev siv Cloudant teeb tsa.

2. Txuas Actoboard cov ntaub ntawv rau NodeRed daim ntawv thov ntawm huab ntawm Actoboard URL thiab POST nws.

3. Siv NodeRed daim ntawv thov nrog cov ntaub ntawv khaws cov ntaub ntawv tau txais los ntawm actoboard thiab xa mus rau NodeRed daim ntawv thov.

4. Create ib yam khoom los tso saib cov ntaub ntawv tau txais rau txhua qhov ntsuas. piv txwv li "Database ° 1".

5. Kho cov khoom Geospatial los tso saib GPS tswj ntawm daim ntawv thov kev siv los ntawm kev siv JSON cov lus programming.

Kauj ruam 10: Main.cpp

Nov yog lub ntsiab.cpp + gps.h uas yog ua los ntawm peb vim tias GPS ua haujlwm ntev dhau lawm.

Pom zoo: