APGRD004 Microchip Technology, APGRD004 Datasheet - Page 13

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
3.1
© 2008 Microchip Technology Inc.
SOFTWARE COMPONENTS
This chapter lists and describes the firmware components in this device and is
composed of:
• Software Module Overview – The individual files that make up the firmware.
• Local Interconnect Network (LIN) – LIN is a single-wire, serial communications
• Command Message Frame – LIN identifiers.
• LIN Slave Protocol Handler – This complies to the LIN 2.0 protocol.
The displayed color of the three-element RGB LEDs is controlled by varying the
brightness of the individual LEDs with three software Pulse-Width Modulator (PWM)
outputs. The overall intensity of all three LEDs is set by the hardware PWM output.
For detailed information, refer to the Microchip application note AN1074, “Software
PWM Generation for LED Dimming and RGB Color Applications” (DS01074).
The function of the firmware is:
• Based on the internal 8 MHz oscillator
• Interrupt driven Pulse-Width Modulation routine
• LED brightness, controlled by hardware PWM generated by the on-chip
• Ramp up and ramp down dimming functions
3.1.1
Table 3-1 lists and describes the basic modules of this software.
TABLE 3-1:
BBSLAVE.asm
IDTABLE.inc
RGB615_xxxxxx.asm
protocol based on the common asynchronous byte word interface.
- Frequency of 976 Hz PWM
- Color resolution of 8 bits
Capture/Compare/PWM module
- Frequency of 3968 Hz PWM
- Brightness resolution of 10 bits
- Range of 0 to 65 seconds
- Resolution of 1 ms
Chapter 3. Software Components
Software Module Overview
Module
BASIC SOFTWARE MODULE
INTERIOR AMBIENT LIGHTING MODULE
WITH LIN INTERFACE USER’S GUIDE
LIN handler/driver slave task routines.
LIN identifier descriptor table.
Initialization and main program.
Description
DS51714A-page 9

Related parts for APGRD004