Skip to content

An OpenMV software, hardware example for LEGO Mindstroms EV3 (support SPIKE/RI).

License

Notifications You must be signed in to change notification settings

ofdl-robotics-tw/EV3-OpenMV-Stuff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EV3-OpenMV-Stuff

An OpenMV software, hardware example for LEGO Mindstroms EV3 (support SPIKE/RI).

How it works

Team ceeoinnovations created a MicroPython library for the LEGO UART Protocol that can be used with OpenMV, and we wrote a sample program to let OpenMV detect objects by color and mark them with IDs on the screen (OpenMV IDE view) and send the largest object information to EV3.

Hardware

We designed a simple PCB that can combine OpenMV Board and EV3 Port, and Lego holes can be used to fasten the board to Lego brick.

Software

Using OpenMV python, open "FindBlobEx_LMS.py" and copy the "LPF2.py" to OpenMV disk drive, then Download the program to OpenMV, connect OpenMV to EV3, and OpenMV IDE screen will show the object ID with square, EV3 will receive the largest object information(You can change the code to send diffrent information to EV3).

Go to release page to download EV3-G blocks, the block will return following info:

  • For a block:
    • Connection status see Connection Status Code below
    • ID ID of Block
    • X X Center of Block
    • Y Y Center of Block
    • W Width of Block
    • H Height of Block

Documents used

Disclaimer

LEGO® is a trademark of the LEGO Group of companies which does not sponsor, authorize or endorse this software. The LEGO Group and contributors to this repo are not liable for any loss, injury or damage arising from the use or misuse of the provided code or hardware.

About

An OpenMV software, hardware example for LEGO Mindstroms EV3 (support SPIKE/RI).

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages