. , - .
![](https://habrastorage.org/webt/bz/u5/cv/bzu5cveeopuetfrblpp_-cugg0i.jpeg)
— . , , .
, , , .. , . , , .
, — Youtube. AliExpress, . 27- .
![](https://habrastorage.org/webt/k4/4b/gx/k44bgx07o5m0yezj2ozb2xgqb2s.jpeg)
27 …
, , .
Arduino. . : , ( , ). , ( ).
![](https://habrastorage.org/webt/ba/tr/nd/batrndfvay3ft6zhgdnwub1o-84.jpeg)
, , . . , , .
, , , . .
, . — , , ? :
![](https://habrastorage.org/webt/9h/er/6g/9her6gitp8uzl1io6bcms26qcwo.jpeg)
. , sg90 360°: , , , .
— , .
: , , . , , .
![](https://habrastorage.org/webt/pv/fn/l0/pvfnl0hcqik6ofdf37vg0x4olji.jpeg)
, — . , , . , , —
VL53L0X . , , , . - 5, , .
![](https://habrastorage.org/webt/1j/7v/sj/1j7vsjyxxezkjxh95l1jku2-n2y.jpeg)
— . , , . — . .
. . , , : , .. . - 3G , , .
![](https://habrastorage.org/webt/tr/3u/j4/tr3uj4jx8thwre3o3v30lxhsirw.jpeg)
, . , :
![](https://habrastorage.org/webt/eu/1k/wp/eu1kwp6v9vpix4xkcmvkmncmjae.jpeg)
. , 8 , , , .
— , . , . — . , , Arduino, .
, , . .
![](https://habrastorage.org/webt/kz/hq/2b/kzhq2bwlzjvd-rw43ejh-ur-uxm.jpeg)
50 . , , , . , , . , .
. , , , . , — Arduino .
, - . .
, 8.4 , 5 — Arduino .
():
![](https://habrastorage.org/webt/8u/y5/j-/8uy5j-tm7ah4regwnriy-gsylg8.png)
, . . .
![](https://habrastorage.org/webt/rr/ms/rt/rrmsrt7g43ed7guybcbugkoj14q.jpeg)
. , , 2000 . - FAST, .
, , -. 50 . , , . , , . , , , , , . .
![](https://habrastorage.org/webt/tg/rk/kr/tgrkkrteouyf1pqcyqpsqozmqfk.jpeg)
![](https://habrastorage.org/webt/qs/lt/n4/qsltn4obefspud7rvoulugh0-hy.jpeg)
.
esp8266 Wi-Fi. ESP8266, , —
ESP-01.
, , . RemoteXY, AT-. - RemoteXY. , , , IoT.
![](https://habrastorage.org/webt/sb/tw/y3/sbtwy3qqfrgnizav6ze85ogczes.jpeg)
USB . USB ( ).
![](https://habrastorage.org/webt/_h/hv/uh/_hhvuhtxp2dta1-hgnzv40yr9r0.jpeg)
, .
ESP-01 3.3 , 5 . , . , . , . .
![](https://habrastorage.org/webt/gv/vx/as/gvvxaswprxalwfcicrbr-omweuu.jpeg)
— , 2 , 4 ( RX TX Arduino ).
, , ESP+Arduino . , . , . , , 4 .
![](https://habrastorage.org/webt/kr/lv/3d/krlv3djpq_xaaa6kgv63vofdsdc.jpeg)
, .
. , , .
![](https://habrastorage.org/webt/cv/lt/cb/cvltcbbbb9idvyj65gmr2tp_fi4.png)
, , Arduino. Arduino — Wi-Fi AT-. , . Arduino, .
, , . — — .
, — , . , , , .
if ((RemoteXY.button_1 == 1) && (RemoteXY.button_2 == 0) && (val_f < 100)) {
pwm_UP = 1;
pwm_DOWN = 0;
}
else if ((RemoteXY.button_1 == 0) && (RemoteXY.button_2 == 1) && (val_f > 25)) {
pwm_UP = 0;
pwm_DOWN = 1;
}
else {
pwm_UP = 0;
pwm_DOWN = 0;
}
,
RemoteXY.button_# .
, ( ), . - FAST , . . Arduino , 1.1 , Arduino . 8.4 1.1 . , , .
. ( ).
. — .
![](https://habrastorage.org/webt/ie/kq/un/iekqunj_kf29qryzxv5jpibhvms.jpeg)
, , . , , . , . , , . . , , .
, , .
:
, . ( ) . , .