Cov txheej txheem:

Maestro Servo Controller (Raspberry Pi): 4 Cov Kauj Ruam (nrog Duab)
Maestro Servo Controller (Raspberry Pi): 4 Cov Kauj Ruam (nrog Duab)

Video: Maestro Servo Controller (Raspberry Pi): 4 Cov Kauj Ruam (nrog Duab)

Video: Maestro Servo Controller (Raspberry Pi): 4 Cov Kauj Ruam (nrog Duab)
Video: Alle Stilregeln, an die jeder Mann sich halten sollte 2024, Kaum ib hlis
Anonim
Maestro Servo Controller (Raspberry Pi)
Maestro Servo Controller (Raspberry Pi)

Kev qhia yooj yim ntawm yuav teeb tsa Maestro Servo Controller nrog Raspberry Pi.

Kauj Ruam 1: Qhov Chaw

Qhov
Qhov

XEEM:

RPI Zero W (Cov Khoom Siv Barebones) -

4 Amp Power Adapter -

16GB Micro SD -

120 pcs jumper cable:

5.5 × 2.1mm Txiv neej+Poj Niam DC Power Socket:

Micro USB rau DC chim hloov pauv:

Mini USB rau USB cable:

Maestro Servo Controllers:

Kauj ruam 2: Teeb

Teeb
Teeb

5V -> 5V

GND -> GND

TX -> RX

RX -> TX

1. Lov tes taw console serial

sudo raspi -teeb tsa xaiv cov kev xaiv cuam tshuam -> Serial -> Tsis yog -> Yog txuag & tawm

2. Nruab pyserial

nab hab sej -m pip nruab pyserial (tej zaum yuav qeeb me ntsis)

3. Clone Repo

git clone

4. Lov tes taw bluetooth uart

sudo nano /boot /config.txt

ntxiv rau hauv qab: dtoverlay = pi3-disable-bt

cawm

5. Reboot RPI

sudo rov pib dua

Kauj ruam 3: Code

Code
Code

Maestro Python Library:

Kauj Ruam 4: Cov Lus Qhia Ntxiv

Cov Lus Qhia Ntxiv
Cov Lus Qhia Ntxiv

Phau Ntawv Qhia Hauv Online:

Maestro Control Center/Cov ntaub ntawv:

Pom zoo: