Lesson 3 Quick User Experience
Note: This section takes TonyPi Pro version as example and the content is applied to all versions.
1. Getting Ready
1.1 APP Installation
Android user: Please find the installation pack under the same folder and transfer it to your phone to install. Please note that enable all permissions for App in your phone settings, otherwise it may affect the normal realization of functions!
iOS user: Please search “WonderPi" in APP store. Please open GPS and WIFI service before trying this APP.
1.2 Start the Device
Please connect the battery pairing wires in red to red and black to black according to the previous steps. Then turn TonyPi's power switch to the ON position.
2. Device Connection
After booting up successfully, TonyPi Pro will generate a hotspot started with “HW”, and then connect to this hotspot in the "settings" on your phone.
- Open the APP first and choose “Advanced platform”, and then "TonyPi" in the home interface. A screen shows "WonderPi" logo, with three robot options: "TonyPi", "SpiderPi", "Pupp". Below them are numbered buttons: "1 Primary Platform" and "2 Advanced Platform". The user is instructed to select "Advanced Platform".
- Click "TonyPi Pro" icon.
- Then click [+] icon to select "Direct Connection Mode". A screen shows "Searching..." with a modal dialog offering "Direct Connection Mode", "LAN Mode", and "Cancel". The user should select "Direct Connection Mode". A [+] icon is visible on the right.
- Connect to the hotspot started with “HW" in your phone settings according to interface prompts. A screen shows "WonderPi" logo and a prompt: "Connect your phone/iPad to Device hotspot: 'HW-xxxxxxxx', and return to app." with a button "Go to connect device hotspots".
- Back to WonderPi after connecting WI-FI, and then APP will connect the device automatically. Wait for a moment. When the robot icon appears, as the figure shown below, it means that the connection is successful. A phone's Wi-Fi settings screen showing "CONNECTED HW-14FF6F27 Connected (no Internet access)". The WonderPi app screen showing "Device list:" with a robot icon labeled "TONYPIPRO:14FF6F27".
Note: If you are an iOS user, when connecting to a hotspot, please do not return to the app until Wi-Fi icon appears on the top of your phone, otherwise the device may not be searched. In case of this situation, you can click [refresh] icon to refresh multiple times to search for the device.
If the prompt "The network is unavailable, do you want to continue to connect" pops up, please click "Keep connecting".
In addition to using the mobile phone to connect Wi-Fi directly, you can set Raspberry Pi and mobile phone under same network at the same time. Please refer to folder "4. Raspberry Pi Board Basic Lesson/4. Raspberry Pi Basic Lessons/ Lesson 7 Raspberry Pi WLAN Connection".
3. Mobile APP Operation
- Click robot icon to enter game selection interface. The "Mode Selection" screen displays several icons: [model-control] Model Control, [auto-shooting] Auto Shooting, [color-recognition] Color Recognition, [line-follow] Line Follow, [color-tracking] Color Tracking.
- Select a game, such as “Model Control” to enter the corresponding interface, and then TonyPi Pro will return to the initial posture. The "Model Control" interface is shown. It includes a large area for real-time camera feed and control elements. On the left, there are icons for movement control. Below the camera feed are buttons labeled [attention], [action], [get-up], and [instructions].
- The "Model Control" interface consists of two parts. On the left side, you can drag the icon to control the movement of TonyPi Pro. The functions of other icons can refer to the following table:
Icon Function [drag-control] Drag to control the movement of TonyPi Pro [move-lr-attention] Control robot to move right and left, and attention. [perform-actions] Perform built-in actions and falling and standing up action. The left side of interface is the real-time image transmitted by camera and you can swipe screen to control the head's movement. Please note that the servo on head has position limitation protection. After turning to the extreme position, sliding the screen again will give vibration feedback. Do not continue to turn for the servo protection.
- You can refer to “operation instruction” in lower-right corner of interface. The specific content is as the figure shown below: A "Body control" section is shown with directional arrows for swiping. It shows icons for [swipe-lr], [swipe-ud], and [double-click-center] to return to center. Below this is an "Ok" button [ok].
TonyPi Pro will back to the initial posture when you switch to another game.
- If you want to back to the home interface, please click the blank area to display menu and click [back] icon.
- If you want to learn the working principle of each game function, please come to folder "3. AI Vision Games Lesson".
- The remaining games can refer to the following table: Note: 1) If the screen get stuck, please exit and enter again. 2) No.8 and No.9 is the games specially designed for TonyPi Pro. (user who purchased standard and advanced versions can skip it.)
No. Game Instruction 1 Model Control Control the movement of TonyPi Pro and camera to perform action group and the function of falling and standing up. 2 Auto Shooting Select a specific color and then TonyPi Pro will adjust its position to kick the ball. 3 Color Recognition TonyPi Pro will nod when detect the red and shake its head when the green and blue are detected. 4 Line Follow Select the color and then TonyPi Pro will move along the specified color line. 5 Color Tracking Select the color and then TonyPi's camera will track the color to move. 6 Facial Recognition TonyPi Pro will look around to search a humanoid face with 1 meter. It will wave to greet when the face detected. 7 Tag Recognition Recognize the tag to execute the corresponding actions. 8 Cross Hurdle Recognize the blue part of hurdle tool, and then perform “hurdling” action. 9 Go Up and Down Stair Recognize the red part of stair tool, and then perform “going up and down stair" action.