Skip to content

mirte-robot/Telemetrix4RpiPico

 
 

Repository files navigation

Telemetrix4RpiPico

The Pico server code may be viewed here.

Modules interface

Hiwonder:

Servos are identified based on an id. The actual servo id is only transmitted at init, after that the index of the servo in the init list is used to offload id searching from the pico to the computer.

Init:

[ uart_id, rx_pin, tx_pin, len(servos), servo_1_id, servo_2_id, ..., servo_X_id ]

Set angle:

Message subtype 1

time in ms.

 [ 1, len(servos), servo_1_num, servo_1_angle_high_byte, servo_1_angle_low_byte, servo_1_time_high_byte, servo_1_time_low_byte, ...,  servo_X_angle_high_byte, servo_X_angle_low_byte, servo_X_time_high_byte, servo_X_time_low_byte, ...]

Set enabled:

[ 2, len(servos), enabled(1 or 0) servo_1_num, servo_X_num]

Set all enabled:

[ 2, 0, enabled]

About

Raspberry Pi Pico C SDK Application

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 91.2%
  • CMake 6.6%
  • Dockerfile 1.3%
  • Shell 0.9%