I installed the controler (Version 1.6.0) on a Samsung tablet (Galaxy Tab S3, Android 9) and try to connect to PiDog (Raspberry Pi 4B) but get a message: Connection failed. With both the scan or manual option. I use the IP Address given by the Ping command during the monitor installation (10.0.0.12). The Wi-Fi network is working OK with other App.
Am I doing something wrong?
Thanks
To troubleshoot the connection issue, please:
Ensure both your PiDog and mobile device are on the same local network
Alternatively, try manually entering PiDog’s IP address in the app
For more effective troubleshooting, could you please:
Share a screenshot of the terminal running the PiDog app
Include any error messages or unusual outputs
This will help us quickly identify and resolve any issues.
Hi,
Everything is on the same network. No problem there.
I’m sending you 2 screenshots. One with the manual input, the other with the scan option. Hope that helps.
Thank you,
Bernard Mataigne
I’m not entirely sure if the issue is caused by the APP’s compatibility with your tablet’s system. Could you try running the APP on another device to see if the problem persists?
Additionally, are there any error messages or warnings in the Python program’s output? This information would help us diagnose the issue more effectively.
I have tried it on my Pixel 8 Pro (Android 15): same results. And, no, no messages from Python.
Thanks
Bernard Mataigne
Is 10.0.0.12 still the ip address? Im just wondering if you’re getting caught out with a dynamic ip address? Maybe try making it static via your router. If nothing else, it’s one less variable to worry about!
I tried to make it static but still get a not connected message!
Thanks,
Bernard Mataigne
Could you please share a screenshot of the Raspberry Pi running the 12_app_control.py program? This program primarily communicates with the app via WebSockets.
Additionally, I’ve attached a simple WebSocket test program. You can open it in a browser to check if the connection works properly.websocket_test_html.zip - Google Drive
Thank you. I tried the WebSocket Client but got a message: Error: undefined (see the picture 1 ). So I reinstalled everything, following the documentation and I spotted a couple of errors. You will find those screen images attached.
And last, now I can’t calibrate the robot: after trying to position a leg, I lost the link between my computer and the PiDog!
Below are our suggestions for the issues you encountered:
Installation Error
Based on the error screenshot you provided, the issue might be network-related.
Recommended action: Please try reinstalling and observe if the issue persists.
PIDog Code Download Error
The error occurred because a duplicate copy of the PIDog code already exists in your directory.
Solution: Avoid downloading the code again if it’s already present.
Servo Calibration & Raspberry Pi Reboot
The sudden shutdown/reboot during servo calibration suggests that the servo homing (zero position) might not have been properly set before assembly.
Next steps:
Run the servo homing example to check each servo’s movement.
Share photos or a video of the operation so we can better analyze the root cause.