- on Microcontrollers
- Published in issue 9/2010 on page 66
Vision System for Small Microcontrollers
Few pixels -- clear sight
CAM/CAD data for the PCB referred to in this article is available as a Gerber file. Elektor GREEN and GOLD members can exclusively download these files for free as part of their membership. Gerber files allow a PCB to be produced on an appropriate device available locally, or through an online PCB manufacturing service.
Elektor recommends its business partner Eurocircuits as the company of choice for its own prototypes and volume production in selected cases.
* PIC16F690 microcontroller
* 18 × 16 pixel B&W video image
* 4 grey levels
* LED illumination
* Relay control
* Image comparison
* Movement detection
* Serial link
* Constructional difficulty: medium
The BOM (Bill of Materials) is the technically exhaustive listing of parts and other hardware items used to produce the working and tested prototype of any Elektor Labs project. The BOM file contains deeper information than the Component List published for the same project in Elektor Magazine. If required the BOM gets updated directly by our lab engineers. As a reader, you can download the list here.
Want to learn more about our BOM list? Read the BOM list article for extra information.
Resistors (5%, 0.25W)
R1 = 75Ohm
R2 = 680kOhm
R3,R4,R5 = 4.7kOhm
R6 = 10kOhm
R7, R8, R17 = 1kOhm
R9–R12 = 470Ohm
R13 = 680Ohm
R14, R16 = 47kOhm
R15 = 1.5kOhm
C1 = 470µF 25V radial electrolytic, 10mm diam.
C2,C3,C5–C10 = 100nF, polyester (MKT), lead pitch
C11–C15 = 1µF 16V, radial electrolytic, 5mm diam.
C4 = 220µF 25V, radial electrolytic, 8mm diam.
D1, D2 = 1N4004
D3 = BAT48, Schottky diode, DO-35 case
D4 = LED, red, low current, 3mm
D5 = LED, green, low current, 3mm
D10 = LED, yellow, low current, 3mm
D6–D9 = infrared LED, QED222 (e.g. Farnell # 1652526)
D11 = 1N4148
IC1 = 7805, TO-220 case
IC2 = C-MOS IR camera module (CCIR*) e.g. Conrad Electronics # C-Cam-01 150001
IC3 = LM1881N/NOPB, DIP-8 case (e.g. Farnell # 1564700)
IC4 = MAX232N, PDIP-16 case
IC5 = PIC16F690-I/P, DIP-20 case (e.g. Farnell # 1103406)
RE1 = Relay, Multicomp type HRM1-S DC5V (e.g. Farnell # 9479937)
JP1–JP5 = 2-pin pinheader with jumper,
K1 = power supply connector, 2.1mm, horizontal, PCB mount
K2 = RCA (phono) connector, PCB mount
K3 = 6-pin pinheader,
K4, K5 = 3-way PCB screw terminal block, 5mm lead pitch
K6 = 9 way sub-D socket (female), horizontal, PCB mount
S1,S2 = pushbutton, e.g. Tyco Electronics type FSM4JH (Farnell # 1555982)
Sockets for IC3, IC4 and IC5 (8-pin, 16-pin, 20-pin respectively)
* substitute NTSC version where applicable.