Cov txheej txheem:

ISurfboard: 4 Kauj Ruam
ISurfboard: 4 Kauj Ruam

Video: ISurfboard: 4 Kauj Ruam

Video: ISurfboard: 4 Kauj Ruam
Video: Часы G-Shock до 250 долларов-15 лучших часов Casio G до 250 доллар... 2024, Kaum ib hlis
Anonim
ISurfboard
ISurfboard

ISurf pawg thawj coj yog ntse, txuas nrog lub rooj tsav nkoj pab cov neeg siv txhim kho lawv cov txuj ci nthwv dej raws li kev siv tshuab thiab sau cov neeg siv cov ntaub ntawv. Niaj hnub no peb yuav tsim lub siab ntsuas hauv Surfboard

Kauj Ruam 1: Daim Ntawv Khw Muag Khoom (Tshooj thiab Cov Cuab Yeej)

Daim Ntawv Khw (Qhov Chaw thiab Cov Cuab Yeej)
Daim Ntawv Khw (Qhov Chaw thiab Cov Cuab Yeej)

Rau pawg iSurf koj yuav xav tau cov khoom hauv qab no:

Qhov:

- Node MCU lossis (nyiam dua) esp32

- Lego mindstormer parts lossis Lego technic parts

- Ob peb cov xov hlau

- 6 piezo sensors

Cov Cuab Yeej:

- Soldering Hlau

- Tub Rog

- Solder Wick

- Kub kua nplaum phom

- Cov hlua roj hmab

Software:

-Ua Arduino

Kauj Ruam 2: Kauj Ruam 2: Kuaj Qhov Circuit

Kauj Ruam 2: Xeem Lub Circuit Court
Kauj Ruam 2: Xeem Lub Circuit Court

1) Siv cov cam khwb cia ntawm txhua lub piezo sensor thiab ua ke lawv ua ob pawg.

2) Txuas cov xov hlau dub ntawm lub piezo sensors ntawm txhua pab pawg.

Tam sim no koj muaj 3 pawg ntawm 2 piezo sensors nrog 2 lub xov tooj liab thiab 1 xaim dub raws li tso tawm/ tawm tswv yim.

3) Txuas cov xov hlau dub nrog Node MCU tus pin hauv av.

4) Txuas txhua lub xaim liab nrog Node MCU's D1 - D6 pins.

Kuaj lub Circuit Court los ntawm kev siv cov ntawv xeem yooj yim:

// State-ing Serial is on 115200.void setup () {Serial.begin (115200); } void loop () {rau (i = 0; i <6; i ++) {if (analogRead (i)> 0) {serial.printIn ("Woohoo lub sensor ua haujlwm") l} lwm {serial.printIn ("Tsis yog, sensor" + i + "tsis ua haujlwm raug"); }}}

Kauj Ruam 3: Kauj Ruam 3: Tsim Surfboard Frame

Kauj Ruam 3: Tsim Surfboard Frame
Kauj Ruam 3: Tsim Surfboard Frame

1) Ua kom muaj cov kab hlau zoo nkauj tawm ntawm lego Minestorm daim. (Nco ntsoov tawm me ntsis ntawm chav rau cov xov hlau).

Kauj Ruam 4: Kauj Ruam 4: Ua Ke Txhua Yam

Kauj ruam 4: Ua ke txhua yam
Kauj ruam 4: Ua ke txhua yam

1) Kub kua nplaum lub piezo sensors mus rau lub wireframe.

2) Txuas cov xov hlau ib yam li qhia hauv qib 1.

3) Txuas Node MCU thiab txuas nrog siv WIFi lossis USB.

4) Tshaj tawm cov cai rau koj Node MCU thiab koj txhua qhov teeb tsa ntawm qhov kev xeem khiav ntawm tus qauv!

Txoj Cai:

teeb tsa tsis muaj dab tsi () {Serial.begin (115200); } void loop () {int TopLeft = analogRead (D1); int TopRight = analogRead (D2); }

Pom zoo: