Skip to content

Documentation and example code for extending MINDSTORMS hubs with i2c and uart devices using the LMS-uart-convertor board and LMS-esp-i2c-wifi board.

License

Notifications You must be signed in to change notification settings

antonvh/LMS-uart-esp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Anton's MINDSTORMS Hacks Breakout board - libraries and API

Hi there!

Welcom to this repository. If you just obtained one of our breakout boards, head over to the Breakout Wiki to start soldering. All boards come pre-flashed so you shouldn't have to flash them.

Once you're done soldering, head back here to try the libraries and example projects!

Libraries/API

We have built a couple of generic communication libraries allowing for easy communication between the MINDSTORMS hubs and other electronics.

  • UartRemote This library helps you to exchange data between two programs, if they have a serial communications link between them. Currently it is only implemented on UART links, but sockets and RFCOMM are serial links too. They should also benefit from this easy UART API.

  • LPF2 This library emulates power function motors and sensors over the UART protocol. This means you can integrate those sensor with minimal programming on the LEGO hub side. the Distance Sensor Breakout board would be an example.

    • LPF2 Example micropython, possible use case OpenMV is quickly connected with this example and can exchange digits 0-9 with the Lego Hub with minimal code.
  • VL53 This library is for use of the I2C VL53 chip, that can detect the "time of flight", or how long the light has taken to bounce back to the sensor for distance. Calibration and sensor readings.

  • Huskylens Connect LEGO robots to the Huskylens

Projects and Examples

  • Example Projects where we expand the EV3, SPIKE Prime and Robot Inventor hubs with third party electronics and hardware. Full code and instructions included as much as possible.

  • Work in Progress In this folder you will find projects that we are currently working at. They will not necessarily be without bugs and they can be in an unfinished state. As soon as they are ready to execute, the projects will be moved to the Projects folder.

About

Documentation and example code for extending MINDSTORMS hubs with i2c and uart devices using the LMS-uart-convertor board and LMS-esp-i2c-wifi board.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •