Hello, welcome to the SunFounder Raspberry Pi & Arduino & ESP32 Enthusiasts Community on Facebook! Dive deeper into Raspberry Pi, Arduino, and ESP32 with fellow enthusiasts.

Why Join?

  • Expert Support: Solve post-sale issues and technical challenges with help from our community and team.

  • Learn & Share: Exchange tips and tutorials to enhance your skills.

  • Exclusive Previews: Get early access to new product announcements and sneak peeks.

  • Special Discounts: Enjoy exclusive discounts on our newest products.

  • Festive Promotions and Giveaways: Take part in giveaways and holiday promotions.

👉 Ready to explore and create with us? Click [here] and join today!

16. AI Detection from APP¶

In this project, we will use an app - SunFounder Controller to view real-time video streaming, as well as use the AI detection features on your mobile device, such as face and pose detection.

SunFounder Controller is an application that allows users to customize the controller for controlling their robot or as an IoT platform. 11 kinds of show and control widgets are integrated in this APP, such as Button, Joystick, Gauge, and Radar. The controller page has 17 areas from A~Q, you can place different widgets to customize your own controller.

Now take a look at how to use the APP in a simple way.

How to do?

  1. The ESP32-CAM and the Arduino board share the same RX (receive) and TX (transmit) pins. So, when you’re uploading code, you’ll need to first disconnect the ESP32-CAM to avoid any conflicts or potential issues.

  2. Open the 16_ai_detection_from_app.ino file under the path of zeus-car-main\examples\16_ai_detection_from_app.

  3. After the code is uploaded successfully, you can plug in the ESP32-CAM and then slide the power switch to ON to start the Zeus Car.

  4. Toggle the Upload Switch to the side of Run (right side on this diagram) to start the ESP32 CAM.

  5. Press the reset button to get the Arduino board’s program running again.

  6. Now, install SunFounder Controller from APP Store(iOS) or Google Play(Android) to your mobile device.

  7. Connect to Zeus_Car WLAN.

    • Find Zeus_Car on the WLAN of the mobile phone (tablet), enter the password 12345678 and connect to it.

    • The default connection mode is AP mode. So after you connect, there will be a prompt telling you that there is no Internet access on this WLAN network, please choose to continue connecting.

  8. Then open the APP and create a controller.

    • To add a controller on SunFounder Controller, click the + icon.

    • Select the Blank and Dual Stick template and give it a name.

    • As you are now inside the controller, click the app_camera icon to enable the AI detection feature. You will find both Face Detection and Pose Detection options.

    • Save all settings by clicking on the app_save button. As no widgets have been selected, the screen is completely black.

    • The next step is to connect the Zeus Car to your device via the app_connect button. Wait a few seconds and Zeus_Car(IP) will appear, click on it to connect.



      Please make sure your Wi-Fi is connected to Zeus_Car, if you are not seeing the above message for a long time.

  9. Run the Controller.

    After the “Connected Successfully” message appears, click the app_run button, then the camera footage will appear on the app.

    If you have Face Detection turned on, then the face that appears in the screen will be framed.


    If you have Pose Detection on, then the pose will be depicted.



    If you want to switch to another AI detection, you can click on the app_edit icon and repeat the above steps.