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).
This product is EOL now.
Resources | Parameter |
---|---|
Net weight | 32g |
Gross weight | 34g |
Product Size | 70*16*18mm |
Package Size | 200*100*10mm |
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. .
M5Core(GROVE A) | GPIO22 | GPIO21 | 5V | GND |
---|---|---|---|---|
TRACE Unit | SCL | SDA | 5V | GND |
Mega328 ISPDownload interface Pin foot definition
TRACE is a commonly used sensor for auto-car toy. It is used to determine whether there are black lines by receiving reflected light.
Get analog value Return analog value
Get digital value Return analog digital value
set limit should value Set limit value