APGRD004 Microchip Technology, APGRD004 Datasheet - Page 16
APGRD004
Manufacturer Part Number
APGRD004
Description
REF DESIGN MOD AUTO AMBNT LIGHT
Manufacturer
Microchip Technology
Specifications of APGRD004
Main Purpose
Lighting, RGB LED Controller
Embedded
Yes, MCU, 8-Bit
Utilized Ic / Part
MCP2021, PIC12F615
Primary Attributes
4 Tiny Boards, Each Have: RGB LED, LIN Transceiver, Voltage Regulator, MCU
Secondary Attributes
LIN Commands are Interpreted to Control 16,383 Colors and 1,023 Dimming Levels
Silicon Manufacturer
Microchip
Silicon Core Number
APGDT001
Kit Contents
4 Ambient Lighting Modules, Documentation
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
APGRD004
Manufacturer:
MICROCHIP
Quantity:
12 000
© 2008 Microchip Technology Inc.
REGISTER 3-6:
REGISTER 3-7:
Table 3-2 lists some typical command frames.
TABLE 3-2:
bit 7-4
bit 4-0
Note 1:
bit 7-0
2 3 1F 8 0 8 0 8 0 0 15 E
2 3 1 0 FF 0 0 0 0 0 2 ED
2 3 5 0 0 0 FF 0 0 0 4 AB
2 3 9 8 0 0 0 0 FF 0 7 6 0
2 3 0 8 8 0 8 0 0 0 0 8 EE
2 3 1F 0 0 8 0 8 0 0F D 0
bit 7
bit 7
0
Frame
The fifth byte selects a particular zone that is to respond to this message. Each of
four bits represents a zone; thus, four zones are defined. Zones can be individually
addressed or in any combination.
Reserved
ZONE<3:0>: Zone Select
0000 = No zones
0001 = Zone 1
0010 = Zone 2
0011 = Zone 1 and 2
0100 = Zone 3
0101 = Zone 1 and 3
0110 = Zone 2 and 3
0111 = Zone 1, 2 and 3
1000 = Zone 4
1001 = Zone 4 and 1
1010 = Zone 4 ad 2
1011 = Zone 4, 1 and 2
1100 = Zone 4 and 3
1101 = Zone 4, 1 and 3
1110 = Zone 4, 2 and 3
1111 = All zones
Checksum<7:0>: Checksum of Data Bytes as Defined in the LIN Specification
bit 6
bit 6
COMMAND FRAME BIT VALUES
0
(Reserved)
SIXTH DATA BYTE (CHECKSUM)
FIFTH DATA BYTE (ZONE)
ID
23
23
23
23
23
23
bit 5
bit 5
0
Ramp from 0 to 50
Ramp from 75 to 0
Intensity%
100
100
Checksum
50
25
bit 4
bit 4
0
ZONE3
bit 3
bit 3
(1)
Red%
Software Components
100
50
50
0
0
0
ZONE2
Green
bit 2
bit 2
Zone Selection
100
50
50
50
%
0
0
Blue
100
ZONE1
50
50
%
0
0
0
bit 1
bit 1
DS51714A-page 12
Zone
All
1
2
3
3
4
ZONE0
bit 0
bit 0
Amber
Green
Color
White
Cyan
Blue
Red