Skip to content

Connect Lego Hub (Spike/Inventor) to PC/Android with low latency #2004

Answered by czuryk
czuryk asked this question in Q&A
Discussion options

You must be logged in to vote

As I realized, there is no other way to connect to the Hub under Pybricks control except the option mention above. I found a data transmission delay that allowed me to control the hub correctly.
So I wrote my own Android app as an alternative way to control the Hub using a smartphone. I have shared the current realisation of my own Android BLE app with some basic functions:
https://github.com/czuryk/Lego/tree/main/PyBricks/BLE

Of course, this won't replace the more preferred option of controlling it with an Xbox controller, but in order to not only control the model but also receive, processing and represent hub telemetry and sensor data, using a smartphone GUI this approach is much more …

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@czuryk
Comment options

@czuryk
Comment options

@czuryk
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by czuryk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants