EasyManuals Logo

Freenove ESP32 User Manual

Default Icon
159 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #154 background imageLoading...
Page #154 background image
Need support? support@freenove.com
152
Development
www.freenove.com
ACTION_BUZZER
Set the frequency of the buzzer.
App command
Action
D#freq#\n
freq refers to the frequency of the buzzer.
D#2000#\n
Make the buzzer sound at the frequency of 2000
D#0#\n
Stop the buzzer.
ACTION_TWIST
Make the robot twist itself.
App command
Action
E#pitch#roll#yaw#\n
E#20#0#0#\n
The robot is tilted by 20 degrees in the pitch direction.
E#10#10#10#\n
The robot is tilted by 10 degrees in three directions.
Unit: degree, ranging from 0 to 20 degrees.
ACTION_MOVE_ANY
F#alpha#stepLength#gama#spd#\n
Make the robot move sideways for alpha degrees counterclockwise in its forward direction while rotating
alpha degrees at each step, with the step length of stepLength and the speed of spd.
/**
* @brief The command for walking, in any direction, at any step length and any
speed, with any rotation angle.
*
* @param alpha The moving direction, with the x-axis direction as 0 degrees,
counterclockwise as positive and clockwise as negative. Unit: degree [0-360]. The x-
direction means moving forward .
* @param stepLength The length of each step (<=20
* @param gama The rotation angle. Rotate in place with Rotate in place, with
counterclockwise as positive and clockwise as negative, and the unit is degrees. [0-
360].
* @param spd The moving speed. Unit: mm / 10ms [1, 8]
*/
App command
Action
F#0#20#0#5#\n
Moving forward at the speed of 5 and step length of 20mm.
F#90#10#-10#5#\n
The robot moves sideways to the left while rotating 10 degrees to
the right at each step, with a step length of 10 and speed of 5.
F#0#0#0#5#\n
Stop moving
This command also only needs to be sent once. Once commanded, the robot keeps walking until it receives
a new command, such as a command to stop walking or to twist its body.
ACTION_CAMERA
This is the command sent to the app to determine whether the camera is malfunctioned. The phone app
receives and parses the command.
Robot command
Action

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Freenove ESP32 and is the answer not in the manual?

Freenove ESP32 Specifications

General IconGeneral
BrandFreenove
ModelESP32
CategoryComputer Hardware
LanguageEnglish

Related product manuals