Skip to content

Commit a1852c8

Browse files
authored
Update README.md
1 parent 5ec4054 commit a1852c8

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

README.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,24 @@
22
An OpenMV software, hardware example for LEGO Mindstroms EV3 (support SPIKE/RI).
33

44
## How it works
5-
Team ceeoinnovations created a MicroPython library for the LEGO UART Protocol that can be used with OpenMV, and we wtote 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.
5+
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.
66

7+
## Hardware
8+
![](https://github.com/ofdl-robotics-tw/EV3-OpenMV-Stuff/blob/main/Adapter%20PCB/EV3OpenMV_PCB_rev1.PNG?raw=true)
9+
10+
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.
11+
12+
## Software
13+
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).
14+
15+
Go to release page to download EV3-G blocks, the block will return following info:
16+
* For a block:
17+
* `Connection status` see **Connection Status Code** below
18+
* `ID` ID of Block
19+
* `X` X Center of Block
20+
* `Y` Y Center of Block
21+
* `W` Width of Block
22+
* `H` Height of Block
723

824
## Documents used
925
- [PyBricks - LEGO Powered Up UART Protocol](https://github.com/pybricks/technical-info/blob/master/uart-protocol.md)

0 commit comments

Comments
 (0)