Data Sheet
Servo Driver HAT
WIFI REMOTE CONTRLLING
Running the demo code:
cd Servo_Driver_HAT/python/Wifi-Control
sudo python main.py
Expected result: Sender (Phone or PC) and receiver (Raspberry Pi) should be
connected to the same LAN. This demo code uses TCP protocol for data transmitting.
After running demo code, IP address of Raspberry Pi and the socket port 8000 will be
printed.
Open the APP on your phone, choose WiFi Control, input ip address of Raspberry Pi
and SoketPort, click Connect:
After connecting, it will enter the control page, click buttons could control servos
from channel 0 to channel 4