USB Microcontroller – PIC18F57K42
8 Analog Inputs  •  21 Digital Inputs  •  8 Digital Outputs  •  Optically Isolated USB  •  OEM Available
PIC18F57K42 Front View
Front View
PIC18F57K42 Top View
Top View
Specifications
Input Power +5VDC, 18mA (no output loading)
Clock Source Internal HFINTOSC or LFINTOSC
USB Communication Optically isolated – Mini-B connector – 128,000 baud
Programming Header 5-pin, 0.1" spacing
Pin 1 – MCLR/VPP
Pin 2 – Vdd (+5VDC)
Pin 3 – Vss (DC Com)
Pin 4 – ICSPDAT
Pin 5 – ICSPCLK
Factory Programming Available with no factory programming, or preprogrammed as specified
Physical Dimensions
Overall Size W 2.83" x L 5.4" x H 0.675"
(W 72mm x L 137.4mm x H 17.145mm)
Mounting Hole Pattern 4 holes – 0.17" dia  •  2.519" x 5.098"
PIC18F57K42 PCB Layout
PCB Layout – Topographical Footprint
I/O – Preprogrammed Configuration
Analog Inputs (8) 0 to 5VDC — RA0–RA7
Digital Inputs (21) 6 — RB0–RB5
4 — RC2–RC5
8 — RD0–RD7
3 — RE0–RE2
Digital Outputs (8) 7 — RF0–RF6
1 — RF7 (LED)
Serial Communication Commands
Read Analog – Single Channel '$' (36d, 24h) + channel number
Read Analog – All Channels '#' (35d, 23h)
Read Digital In – Single Channel '!' (33d, 21h) + channel number
Read Digital In – All Channels '@' (64d, 40h)
Write Digital Out – Single Channel '?' (63d, 3Fh) + channel number
'01' = ON  •  '00' = OFF
For pricing, availability, OEM quantities, or custom programming —  Contact Us →