GithubHelp home page GithubHelp logo

magneval / alpha-bluetooth Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alpha-hacks/alpha-bluetooth

0.0 0.0 0.0 161 KB

UBTECH alpha robot comunication software (www.ubtrobot.com/)

Python 100.00%

alpha-bluetooth's Introduction

alpha-bluetooth

UBTECH alpha robot comunication software (www.ubtrobot.com/)

Bluetooth

[Buetooth protocol PDF](Alpha1 Series Bluetooth communication protocol565212.pdf)

Note: In the Attribute column "W" indicates write; "R" indicates read; and "A" indicates automatic report of BT

  • BT handshake (R)
  • Obtaining an action list (R)
  • Implementing an action list (W)
  • Play stop (W)
  • Sound switch (W)
  • Play control (W)
  • Heartbeat packet (W)
  • Reading robot state (R/A)
  • Volume adjustment (W)
  • Powering off all servos (W)
  • Controlling all servo indicators (W)
  • Clock calibration (W)
  • Reading clock parameters (R)
  • Setting clock parameters (W)
  • Reading the software version (R)
  • Reading battery capacity of the robot (R)
  • Low voltage alarm (A)
  • Reading the hardware version number of the robot (R)
  • Controlling the motion of a single servo (W)
  • Controlling the motion of multiple servos (W)
  • Reading back angle of a single servo (powered off) (R)
  • Reading back angle of multiple servos (powered off) (R)
  • Setting offset value of a single servo (W)
  • Setting offset value of multiple servos (W)
  • Reading offset value of a single servo (R)
  • Reading offset value of multiple servos (R)
  • Reading version of a single servo (R)
  • Reading version of multiple servos (R)
  • Play completion (A)
  • Allowing charge during play (W/A)
  • Reading the SN of the robot (R)
  • Reading the UDID of the main chip (R)
  • Sending the action list (A)
  • Completing action list sending (A)

Dependencies

sudo apt-get install libbluetooth-dev
pip3 install -r requirements.txt

Test

python3 main.py

Buetooth protocol PDF URL

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.