Skip to content

A protocol decoder plugin for sigrok that interprets the pulses on the wires between the Lego BOOST Hub and its peripheral devices (motors, sensors)

Notifications You must be signed in to change notification settings

dracode/sigrok-lego-boost

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

sigrok-lego-boost

This repository contains Python code to add a protocol decoder for LEGO BOOST peripherals to sigrok. For me, the hardest part of this was getting sigrok working in the first place. I strongly recommend using the pre-compiled AppImage binaries available; the versions in the standard Debian/Ubuntu repositories are hopelessly out of date. They offer precompiled binaries for Windows as well, though I have not tested the plugin there. For another option, the latest Kali release actually has recent sigrok builds that you can install normally via apt.

To use this protocol decoder with sigrok, simply copy the "boost" directory contained here to the appropriate plugin directory on your system. For me on Ubuntu and Kali, this is: $HOME/.local/share/libsigrokdecode/decoders/

Now when you start PulseView or use the command-line tool sigrok-cli, you will have the ability to stack the "boost" decoder atop a UART decoder which will turn the serial codes into intelligible messages about what the sensors and motors are sending back to the LEGO BOOST Hub.

Other projects with related info that you might like:
Herr Treczoks' Powered UP! documentation
Jorge Pereira's BOOST Reverse Engineering writeups
Andrey Pokhilko's Python BOOST library

About

A protocol decoder plugin for sigrok that interprets the pulses on the wires between the Lego BOOST Hub and its peripheral devices (motors, sensors)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages