4.0 KiB
TRACE
SKU:A048
Description
TRACE unit is mainly consist of 4 sets of IR, 1x infrared emitting and 1x infrared receiver for each set. The infrared LEDs should be placed towards and close to the ground where having black tracing lines and white background (or vice versa) layouts.
The IR transmitter keep emitting, at the mean time infrared ray would be absorbed by different color of objects. Black can absorb more ray than other color, so the infrared receiver (infrared sensitive phototransistor) would receive less which makes the resistance value of the phototransistor would vary with different object color. Then we assign an AD convertor tp capture the data.
This Unit communicates with the M5Core via GROVE PORTA I2C (0x5A).
Product Features
- operation range: The reflecting surface is less than 11mm from the photoelectric surface
- Program Platform: Arduino, UIFlow (Blockly, Python)
- Two Lego-compatible holes
Include
- 1x TRACE Unit
Applications
- Self-tracing robot
Specification
| Resources | Parameter |
| Net weight | 32g |
| Gross weight | 34g |
| Product Size | 70*16*18mm |
| Package Size | 200*100*10mm |
Related Link
EasyLoader
1.EasyLoader is a simple and fast program burner. Every product page in EasyLoader provides a product-related case program. It can be burned to the master through simple steps, and a series of function verification can be performed. .
- After downloading the software, double-click to run the application, connect the M5 device to the computer through the data cable, select the port parameters, click "Burn" to start burning. (For M5StickC burning, please Set the baud rate to 750000 or 115200)
- Currently EasyLoader is only suitable for Windows operating system, compatible with M5 system adopts ESP32 as the control core host. Before installing for M5Core, you need to install CP210X driver (you do not need to install with M5StickC as controller)Click here to view the driver installation tutorial
Schematic
PinMap
| M5Core(GROVE A) | GPIO22 | GPIO21 | 5V | GND |
| TRACE Unit | SCL | SDA | 5V | GND |
Mega328 ISPDownload interface Pin foot definition
Example
1. Arduino
2. UIFlow
Last updated: 2020-12-14
<script> var purchase_link = 'https://m5stack.com/collections/m5-unit/products/m5stack-trace-board-for-lidar-bot'; anchor_search(purchase_link); scrollFunc(); </script>
