An ultra-low resolution full color I²C camera to provide machine vision for microcontroller-based robotics. The project was inspired by the vision of biological mollusks, which is also low resolution and (in some species) color responsive.
While optical flow sensors and mouse hacks have better resolution, they are unable to differentiate color in natural lighting.
Useful for detecting colored edges, features, objects and scenes when little processing power is needed or available.
To complete, glue (do not screw) a lens mount centered on the large white square. The projected image from the chosen lens must cover all 7 sensors (projection area approximately equivalent to 1/1.63" image sensor).
Features:
Access pixels with Vishay VEML6040 RGBW color sensor library
Sensor select helper code:
#define TCAADDR 0x70
void tcaselect(uint8_t i) {
if (i > 7) return;
Wire.beginTransmission(TCAADDR);
Wire.write(1 << i);
Wire.endTransmission();
}
Circuits.io Bill Of Materials | ||||
---|---|---|---|---|
IDS | # | Component | Footprint | Properties |
U1, U2, U3, U4, U5, U6, U7 | 7 | VEML6040 RGBW Color Sensor i2c rgb color sensor | SMD 4 (forked) | |
U8 | 1 | TCA9548A I2C Multiplexer | SOIC-24 | |
R1, R18, R3, R4, R5, R6, R7, R8, R9, R10, R11, R12, R13, R14, R15, R16, R17 | 17 | Resistor | 1206 | 2.7 kohm |
J1 | 1 | 1x2 Pin Header 1x2 Pin Header | 1x2 Pin Header | |
J2 | 1 | header (1x3) | header (1x3) |
Name | Size | # Downloads |
---|---|---|
circuit.drl | 886 B | 735 |
circuit.gbl | 54.31 kB | 666 |
circuit.gbo | 38.21 kB | 656 |
circuit.gbs | 23.84 kB | 704 |
circuit.gtl | 95.49 kB | 669 |
circuit.gto | 53.1 kB | 635 |
circuit.gts | 30.79 kB | 633 |
Name | Size | # Downloads |
---|---|---|
snail_vision.ino | 2.51 kB | 533 |
veml6040.cpp | 3.57 kB | 606 |
veml6040.h | 2.45 kB | 719 |
Revision | Created | Layers | Dimensions |
---|---|---|---|
rev1 | 8 years ago | 2 | 29 × 46 |