APGRD004 Microchip Technology, APGRD004 Datasheet - Page 14

REF DESIGN MOD AUTO AMBNT LIGHT

APGRD004

Manufacturer Part Number
APGRD004
Description
REF DESIGN MOD AUTO AMBNT LIGHT
Manufacturer
Microchip Technology
Datasheets

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
Part Number:
APGRD004
Manufacturer:
MICROCHIP
Quantity:
12 000
© 2008 Microchip Technology Inc.
The software includes two assemble time conditional options:
1. Select the microcontroller, PIC12F615 or PIC12F683, by removing the comment
2. Select the lighting zone number.
3.1.2
The size of a LIN network is restricted to a maximum of 16 nodes (one master and
fifteen slaves). The clock synchronization, the simplicity of UART communication and
the single-wire medium are the major factors for the cost efficiency of LIN.
For more information on the LIN communications protocol, refer to Microchip
application note AN729 “LIN Protocol Implementation Using PICmicro
(DS00729).
The firmware in the LED lighting module has been optimized for a baud rate of 10417.
This is the standard bit rate advocated by SAE J2602.
3.1.3
The firmware responds to the following two LIN identifiers:
• Command Frame
• Status Request Frame
3.1.3.1
ID Byte provides the functional ID bits, and Register 3-2 to Register 3-7 provide the
command format.
REGISTER 3-1:
bit 7-6
bit 5-0
#define proc 12F615;
#define proc 12F683;
; #defineZone1
; #defineZone2
; #defineZone3
Note:
semicolon in front of one of the two lines of code shown below:
#defineZone0;
bit 7
1
Parity
Local Interconnect Network (LIN)
Command Message Frame
COMMAND FRAME
The software provides for any combination of four zones.
Parity: As Defined in the LIN Specification
ID Number: Ambient Light ID 0x23
bit 6
0
comment out those zones not to be responded to.
ID BYTE
remove comment semi-colon to select processor.
bit 5
1
bit 4
0
bit 3
Software Components
0
ID Number
bit 2
0
bit 1
1
®
DS51714A-page 10
MCUs”
bit 0
1

Related parts for APGRD004