Cov txheej txheem:

Arduino FR632 RSSI Antenna Tracker: 10 Kauj Ruam
Arduino FR632 RSSI Antenna Tracker: 10 Kauj Ruam

Video: Arduino FR632 RSSI Antenna Tracker: 10 Kauj Ruam

Video: Arduino FR632 RSSI Antenna Tracker: 10 Kauj Ruam
Video: AD8318 RSSI Meter 2024, Hlis ntuj nqeg
Anonim
Arduino FR632 RSSI Kav hlau txais xov Tracker
Arduino FR632 RSSI Kav hlau txais xov Tracker

Tus tracker no tsis siv ib qho system gps.

Tus neeg taug qab no siv ntau tus neeg txais cov vis dis aus thiab arduino pro mini, los ntawm cov tswv yim sib xws arduino nyeem RSSI qhov feem pua ntawm cov txais.

Sinal nws piv thiab servo ua raws lub zog RSSI teeb liab.

Tsis muaj khub, tsis muaj telemetry, tsis muaj teeb tsa.

Tsuas yog koj xav tau kho tus nqi RSSI_MAX thiab RSSI_MIN hauv tus lej arduino txog koj tus neeg txais, kom ua qhov tsis txaus siab (tshem tawm cov slashs) cov lej debug zoo li no, qhib koj lub drone thiab qhib qhov saib xyuas ntawm arduino IDE, koj yuav pom MIN thiab MAX qhov tseem ceeb, tsuas yog ntxig rau ntawm tus lej.

yog (debug)

{

// Serial.print ("RSSI%:");

// Serial.print (daim ntawv qhia (avgLeft, RSSI_MIN, RSSI_MAX, 0, 100));

// Serial.print (",");

// Serial.print (daim ntawv qhia (avgRight, RSSI_MIN, RSSI_MAX, 0, 100));

Kauj Ruam 1: Yam Kuv Siv

FR632 Tus Txais Video -

Arduino Pro Mini -

Nco tseg: Hauv cov duab koj tuaj yeem pom arduino pro micro, hlawv tom qab ob qhov kev sim, nws clone!

Hauv daim duab kawg koj tuaj yeem pom arduino pro mini uas kuv siv.

Kauj Ruam nqis nqis -

Kev pabcuam txuas ntxiv -

Ob txoj kev txuas kav hlau txais xov

Qee cov xov hlau

Qhov Chaw Nres Nkoj

1mm solder taub

Solder

Kauj ruam 2: Cov lus qhia

Cov lus qhia
Cov lus qhia

Nrog cov ntsuas ntsuas xyuas qhov polarity ntawm DC jack pins thiab txuas ob lub xov hlau, zoo thiab tsis zoo.

Ua tib zoo xaim cov xov hlau hauv tus pin raug yog tias koj tsis ua nws koj tuaj yeem hlawv cov kauj ruam.

Kauj ruam 3:

Duab
Duab

Muab cov xov hluav taws xob tso rau qhov nqis qis, cais cov theem qis nrog qee daim kab xev ob sab.

Kauj ruam 4:

Duab
Duab

Rssi tus pin hauv FR632 tau txais nws 4 tus pin los ntawm sab xis mus rau sab laug

Kauj ruam 5:

Duab
Duab

Rho tawm cov arduino nrog qee daim kab xev ob sab

Kauj Ruam 6:

Duab
Duab

Muab cov arduino zoo li duab.

Kauj ruam 7:

Duab
Duab

Muab cov xov hlau txuas rau

Kauj ruam 8:

Duab
Duab

Solder tus pin RSSI rau A0 thiab A1 analog pins.

Solder tus pin RSSI rau A0 thiab A1 analog pins.

Solder lub servo teeb liab xaim rau tus pin 5 (PWM), hauv av xaim rau arduino gnd thiab zoo servo hlau rau arduino tus pin nyoos.

Ceev faj, koj yuav tsum kho qhov ntsuas hluav taws xob mus rau 5V lossis 6V, ua tib zoo saib rau qhov siab tshaj plaws servo voltage.

Kauj Ruam 9: Xeem

Kuv siv 3S lipo rau lub zog FR632.

Qhib lub FR632, xaiv koj cov channel thiab koj tau npaj ya.

Dav Hlau Zoo!

Kauj ruam 10: Qhov chaw

Andreiva Qhov project

Arduino Txoj Cai

Pom zoo: