GithubHelp home page GithubHelp logo

ofdl-robotics-tw / ev3-openmv-stuff Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 0.0 74 KB

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

License: GNU General Public License v3.0

Python 100.00%
lego-mindstorms wro openmv-camera lego-ev3 lego-spike

ev3-openmv-stuff's Introduction

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.

ev3-openmv-stuff's People

Contributors

a10036gt avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

ev3-openmv-stuff's Issues

I have a question about EV3-OpenMV-Stuff.

I want to get data by connecting EV3 and OpenMV.

I tried the I2c method, but it failed.

I decided to try the UART method and found your EV3-OpenMV-Stuff on the Internet.
I connect and run successfully, but the results are not satisfactory.

Only the X coordinate value is output, and the rest are null values.
In OpenMV, it seems to be transmitted properly including Checksum.

I thought you would know why.
So we ask you about the reason.

please help me

Thank.
IMG20221226130807
IMG20221226130818

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.