Cov txheej txheem:

Yuav Tswj Li Cas GoPro Hero 4 Siv RC Transmitter: 4 Cov Kauj Ruam (nrog Duab)
Yuav Tswj Li Cas GoPro Hero 4 Siv RC Transmitter: 4 Cov Kauj Ruam (nrog Duab)

Video: Yuav Tswj Li Cas GoPro Hero 4 Siv RC Transmitter: 4 Cov Kauj Ruam (nrog Duab)

Video: Yuav Tswj Li Cas GoPro Hero 4 Siv RC Transmitter: 4 Cov Kauj Ruam (nrog Duab)
Video: Sim Lub Koob Thaij Tshiab Seb Li Cas NAwb 15-04-2021 2024, Kaum ib hlis
Anonim
Yuav Tswj Li Cas GoPro Hero 4 Siv RC Transmitter
Yuav Tswj Li Cas GoPro Hero 4 Siv RC Transmitter

Lub hom phiaj rau txoj haujlwm no yog kom tuaj yeem tswj hwm GoPro Hero 4 nyob deb ntawm RC Transmitter. Txoj hauv kev no yuav siv GoPro ua hauv Wifi & HTTP API rau kev tswj hwm lub cuab yeej & tau txais kev tshoov siab los ntawm PROTOTYPE: YOOJ YIM THIAB CHEAPEST GOPRO REMOTE. Yog tias koj muaj GoPro Hero 3, nws yuav yooj yim dua los siv lub npav npav rau kev tswj ncaj qha, phau ntawv qhia pinout tuaj yeem pom ntawm no. Tab sis txij li qhov chaw nres tsheb npav tau xiam oob qhab ntawm Hero 4 (ua tsaug GoPro!), Peb yuav tau siv Wifi txoj hauv kev. Txoj hauv kev Wifi tseem ua haujlwm ntawm Hero 3, yog li mus rau txoj kev ntawd yog tias koj xav tau kev sib tshuam hla. Qhov no xav tau qee qhov kev paub txog hluav taws xob & kev tsim qauv arduino.

Cia peb pib:

Kauj Ruam 1: Qhov Chaw

Qhov
Qhov

Koj yuav xav tau ob peb yam los ua haujlwm no:

  1. GoPro Hero 4 (pom tseeb)
  2. Drone rau GoPro
  3. ESP8266 Programmable Wifi Module
  4. FTDI Cable/USB 2 TTL Converter (rau nyem qhov chaws rau ESP8266)
  5. LD1117V33 3.3v Voltage Regulator
  6. RC Transmitter/Txais

Kauj ruam 2: Code

Code
Code
Code
Code
Code
Code

ESP8266 ua tau zoo Arduino nrog ua hauv Wifi muaj peev xwm. Qhov no tso cai rau peb kom tau txais txiaj ntsig ntawm GoPro's HTTP API & thov kom ua raws GPIO cov tswv yim. Cov npe ntawm Wifi Cov Lus txib uas koj tuaj yeem ua tau tuaj yeem pom ntawm:

Hauv kuv tus lej. Kuv tau teeb tsa ESP8266 txhawm rau txheeb xyuas seb puas muaj lub pob qhib lossis tawm los ntawm kev txiav txim siab PPM teeb liab ntawm RC Xov Tooj Cua Txais. Tom qab ntawd siv sijhawm, txhawm rau txheeb xyuas lub pob ntev li cas. Yog tias lub pob raug nias tsawg dua 0.5 vib nas this, nws yuav ua rau GoPro. Yog tias lub pob tau nias ntev dua 0.5 vib nas this nws yuav mus los ntawm kev ntes cov qauv ntawm GoPro. Nov yog qhov kev daws teeb meem zoo tshaj plaws uas kuv tuaj yeem tuaj nrog FPV drones.

Nco tseg: Yog tias koj tsis muaj peev xwm pom GoPro cov duab nyob, koj yuav xav hloov kho tus lej rau koj qhov kev siv tshwj xeeb. Txwv tsis pub koj yuav tsis paub hom twg nws nyob hauv.

Txoj Cai

Txoj cai no tau muab tso ua ke los ntawm Bohdan Tomanek (emerysteele), qee cov khoom tau qiv los ntawm ntau qhov chaw hauv internet. Thawj qhov chaw ntawm cov ntaub ntawv yog los ntawm https://euerdesign.de thiab

Kauj Ruam 3: Txuas ESP8266 rau Flashing

Txuas ESP8266 rau Flashing
Txuas ESP8266 rau Flashing

*Kuv lub FTDI adapter muaj 3.3v fais fab tsheb ciav hlau tab sis tsis txaus los txhawb lub zog ESP8266. Yog li kuv hais qhia kom siv lwm 3.3v lub zog siv xws li Arduino, lossis koj tuaj yeem siv 5v fais fab qhia los ntawm FTDI Adapter los ntawm 3.3v tus tswj hluav taws xob.

Flashing Code rau ESP8266 siv Arduino IDE

Txhawm rau nyem qhov chaws rau ESP8266, Kuv yuav siv Arduino IDE.

  1. Ntxiv Tus Thawj Coj Tus Thawj Coj URL rau koj Arduino IDE hauv Qhov Nyiam Qhov rai (Cov Ntaub Ntawv> Nyiam> Tus Thawj Saib Xyuas Ntxiv URLS:): arduino.esp8266.com/stable/package_esp8266com_index.json
  2. Hloov koj lub Rooj Tswjhwm Saib rau "Generic ESP8266 Module"
  3. Txuas FTDI Adapter mus rau PC ntawm USB. Nco ntsoov kom luv GPIO 0 tus pin rau 2 vib nas this thaum lub zog nkag mus rau hom kev ua haujlwm.
  4. Xaiv qhov chaw nres nkoj COM kom raug rau koj lub FTDI ntaus ntawv & xa cov lej rau lub cuab yeej.*Qee lub sij hawm ESP8266 tsis nyem zoo vim li cas los xij … Kuv tau pom tias rov pib dua lub cuab yeej thiab/lossis rov pib dua Arduino IDE zoo li kho qhov teeb meem.

Kauj Ruam 4: Txuas nws thiab teeb tsa GoPro

Txuas nws thiab teeb tsa GoPro
Txuas nws thiab teeb tsa GoPro

Thaum cov cai tau flashed, koj tuaj yeem xaim ESP8266 rau RC Tus Txais Raws li qhia hauv daim duab hauv qab no:

Tam sim no koj yuav tsum tau qhib Wifi App Hom ntawm koj GoPro yog tias koj tseem tsis tau ua. Yog tias koj muaj, nco ntsoov ua kom haum cov teeb tsa wifi hauv tus lej nrog koj GoPro's wifi teeb tsa. Koj yuav tsum tau siv GoPro app rau teeb tsa Wifi thawj zaug. Yog tias koj xav tau rov pib dua koj li GoPro's Wifi Settings, qhov no tuaj yeem ua tiav los ntawm Cov Ntawv qhia zaub mov Pib dua, tom qab ntawd teeb tsa siv GoPro App.

Pom zoo: