Raspberry Pi Build HAT serial protocol

2024-08-31
●The BuildHAT is a board that provides an interface between a Raspberry Pi host and up to four LEGO LPF2 (LEGO Power Functions version 2) devices. Supported LPF2 devices include a wide range of actuators and sensors. Firmware running on the HAT deals with the hard real-time requirements of the LPF2 devices, including monitoring for connection and disconnection events and interrogating devices to determine their capabilities and properties.
●The HAT communicates with the Raspberry Pi host over the 'command port', a 115200 baud serial interface with eight bits per character, no parity and one stop bit ('8N1'). There is no flow control. The command port protocol is entirely in plain text, and it is perfectly possible to simply run a terminal emulator on the host and interact manually with the HAT.
●When experimenting the HAT in this way it is convenient to enable echo mode so that you can see what you are typing:see the description of the echo command below. See also the plimit command, which must be sent before many operations will work correctly.
●This document describes the commands available over that interface.

WAVESHARE ELECTRONICS

Raspberry Pi Build HAT

More

Part#

board

More

More

Technical Documentation

More

More

Please see the document for details

More

More

English Chinese Chinese and English Japanese

2021/10/19

741 KB

- The full preview is over. If you want to read the whole 17 page document,please Sign in/Register -
  • +1 Like
  • Add to Favorites

Recommend

All reproduced articles on this site are for the purpose of conveying more information and clearly indicate the source. If media or individuals who do not want to be reproduced can contact us, which will be deleted.

Contact Us

Email: