-
Datei
PCA9635.h
PCA9635_AI_CTLONLY 0x6 #define PCA9635_AI_CTLPWMONLY 0x7 #define PCA9635_REG_MODE1 0x00 #define PCA9635_REG_MODE2 0x01 #define PCA9635_REG_PWM0 0x02 #define PCA9635_REG_PWM1 0x03 #define PCA9635_REG_PWM2 0x04 #define PCA9635_REG_PWM3 0x05 #define PCA9635_REG_PWM4 0x06 #define PCA9635_REG_PWM5 0x07 #define PCA9635_REG_PWM6 0x08 #define PCA9635_REG_PWM7 0x09 #define PCA9635_REG_PWM8 0x0A #define PCA9635_REG_PWM9 0x0B
in „Funktion funktionieren nicht aber warum?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
PCA9635.h
PCA9635_AI_CTLONLY 0x6 #define PCA9635_AI_CTLPWMONLY 0x7 #define PCA9635_REG_MODE1 0x00 #define PCA9635_REG_MODE2 0x01 #define PCA9635_REG_PWM0 0x02 #define PCA9635_REG_PWM1 0x03 #define PCA9635_REG_PWM2 0x04 #define PCA9635_REG_PWM3 0x05 #define PCA9635_REG_PWM4 0x06 #define PCA9635_REG_PWM5 0x07 #define PCA9635_REG_PWM6 0x08 #define PCA9635_REG_PWM7 0x09 #define PCA9635_REG_PWM8 0x0A #define PCA9635_REG_PWM9 0x0B
in „Funktionsaufruf Funktioniert nicht richtig..warum?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Main.c
TWIM_Init (1000)) { printf ("Error in initiating TWI interface\n"); while (1); } /** Initzialisiere PCA9635 **/ PCA9635_OFF(); PCA9635(); sei(); /** Endlosschleife **/ while(1) { /** Write byte(s) to the slave **/ if( get_key_press( 1<<KEY0 )) { PORTD = PORTD | ( 1<<PD5 ); Full_On(); //PCA9635(); } if ( get_key_press( 1<<KEY1 )) { PCA9635_OFF(); PCA9635(); PORTD &= ~( 1<<PD5 ); } } return 0; }
in „Funktion funktionieren nicht aber warum?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
PCA9635.c
#include <stdio.h> #include <avr/io.h> #include "TWI_Master.h" #include "PCA9635.h" #define PCA9635_ADD1 0b0010101 #define PCA9635_ADD2 0b0010111 #define AUTO_INCREMENT_ALL_REGISTERS 0x80 #define NR_LEDS 27 uint8_t Led[NR_LEDS]; void SetColor( uint8_t ColorNr, uint8_t Red, uint8
in „Funktion funktionieren nicht aber warum?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Main.c
in initiating TWI interface\n"); while (1); } /** Endlosschleife **/ while(1) { Variablen_Init(); PCA9635(); /** Write byte(s) to the slave **/ if( get_key_short( 1<<KEY0 )) { Full_Output(); PCA9635(); PORTD = PORTD | ( 1<<PD5 ); _delay_ms(1000); LED0 = 0x20; LED1 = 0x33; LED2 = 0x20; LED11 = 0x42; PCA9635(); } if ( get_key_long( 1<<KEY0 )) { Variablen_Init(); PCA9635(); PORTD &= ~( 1<<PD5 ); } } return 0; }
in „Funktionsaufruf Funktioniert nicht richtig..warum?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
PCA9635.c
include <stdio.h> #include <avr/interrupt.h> #include "General.h" #include "TWI_Master.h" #include "PCA9635.h" uint8_t LED[NR_LEDS]; uint8_t LED_OUTPUT[ 1 + NR_LEDS / 8]; void PCA9635_OFF(void) { uint8_t i; //Reg 0x01 = MODE2 - set to 0xFF - noninverted logic state, open-drain MODE2 = 0x02; // Set all
in „Funktion funktionieren nicht aber warum?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
PCA9635.c
------------------------ // Funktion : LED Beleuchtungskzept // Schaltung : Beleuchtung // Datei : PCA9635.c //------------------------------------------------------------------------------------------------------- // Prozessor : ATmega8 // Takt : 1 MHz // Sprache : C // letzte Änderung: 04.06.2014 /
in „Funktionsaufruf Funktioniert nicht richtig..warum?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
LED.c
1000000UL #include <avr/io.h> #include <util/delay.h> // AVR Timemanager #include "TWI_Master.h" #include "PCA9635.h" int main(void) { if( !TWIM_Init( 1000 ) ) { while (1) ; } while(1) { FullOn(); PCA9635(); _delay_ms( 1000 ); FullOff(); _delay_ms( 1000 ); PCA9635(); } }
in „Funktion funktionieren nicht aber warum?“ · Mikrocontroller und Digitale Elektronik ·
-
Bild
Blockschaltbild und Übersicht I2C-Bus LED Dimmer
state machine Open-drain outputs capable of 25-mA sink LED dimmers (Freq. range: 152 Hz to 1.69 sec.) PCA9530 2-bit LED dimmer PCA9531 8-bit LED dimmer PCA9532 16-bit LED dimmer PCA9533 4-bit LED dimmer PCA9632/33 Fm+ 4-bit 5-PWM LED controller PCA9634 Fm+ 8-bit 9-PWM LED controller PCA9635 Fm+ 16-bit 17-PWM LED controller PCA9685 Fm+ 16-bit 4Kstep LED controller LED blinkers (Freq. range: 152 Hz to 1.69 sec.) PCA9550 2-bit LED blinker PCA9551 8-bit LED blinker PCA9552 16-bit LED blinker PCA9553 4-bit LED blinker PCA9625
in „Ansteuerung einer Anzeigetafel - Federal Vama Traffic Storm“ · Fahrzeugelektronik · · Diagramme
-
PDF
PCA9685.pdf
delay is independently programmable for each of the 16 channels. This feature is not available in PCA9635. • The PCA9685 has 4096 steps (12-bit PWM) of individual LED brightness control. The PCA9635 has only 256 steps (8-bit PWM). • When multiple LED controllers are incorporated in a system, the PWM
in „LED-Streifen dimmen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
PCA9635.h
#ifndef PCA_H_ #define PCA_H_ #define NR_COLORS 9 // Anzahl RGB Leds void SetColor( uint8_t ColorNr, uint8_t Red, uint8_t Green, uint8_t Blue ); void FullOff( void ); void FullOn( void ); void PCA9635( void );
in „Funktion funktionieren nicht aber warum?“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
PCA9626.pdf
to reconfigure all device registers to the same condition. In addition to these features found in PCA9633, PCA9634, PCA9635, PCA9622 and PCA9624, a new feature to control LED output pattern is incorporated in the PCA9626. A new control byte called ÔChase ByteÕ allows enabling or disabling of selective
in „Probleme mit PCA9626 und I2C“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
PCA9622DR_118.pdf
to reconfigure all device registers to the same condition. The PCA9622, PCA9625 and PCA9635 software is identical and if the PCA9622 on-chip 100 mA NAND FETs do not provide enough current or voltage to drive the LEDs, then the PCA9635 with larger current or higher
in „Kontrolle Eagle Schaltplan“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
TechNotes_V3.1_Mini-ITX_D3003-S.pdf
backlight-connector, and drive power connector is limited! GPIO access is provided via the SM-Bus controller PCA9554A Max. overall output current: ftp://ftp.ts.fujitsu.com/pub/Mainboard-OEM-Sales/Products/Mainboards/Industrial&ExtendedLifetime/D3003-S/Documen +3.3V / 5A tation_D3003-S/Specification/GPIO_Chip_PCA9554a.pdf