-
Datei
main.c
while ((CLKCTRL.MCLKCTRLB & 0x1)); // !(CLKCTRL.MCLKCTRLA & 0x1) || } void TIMERA_init() { //float pwm = TOP_CNT/100 * PWM; //TCA0.SINGLE.CTRLA &= ~((1<<3) | (1<<2) | (1<<1)); //Prescaler für Timer einstellen 0 cbi(TCA0_SINGLE_CTRLA,3); cbi(TCA0_SINGLE_CTRLA,2); cbi(TCA0_SINGLE_CTRLA,1); //PWM für WO0
in „Attiny414 TCB0 lässt sich nicht konfigurieren“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
tm512ac_v1-7_en.pdf
decorative lighting system Internal structure block diagram AI 解码模块oding EEPROM BI module ADRI ADRO Control PWM 控module SET VDD OSC VDD OUTR 驱动输出rive OUTG output OUTW GND 上电复位er-on reset REXT GND Figure 1 Pin Arrangement of SOP16 GND 1 16 VDD OUTR 2 15 NC OUTG 3 14 NC OUTB 4 13 PWM OUTW 5 TM512AC 12 BI REXT 6
in „TM512AC - Startadresse programmieren“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
tm512ac_v1-7_en.pdf
decorative lighting system Internal structure block diagram AI 解码模块oding EEPROM BI module ADRI ADRO Control PWM 控module SET VDD OSC VDD OUTR 驱动输出rive OUTG output OUTW GND 上电复位er-on reset REXT GND Figure 1 Pin Arrangement of SOP16 GND 1 16 VDD OUTR 2 15 NC OUTG 3 14 NC OUTB 4 13 PWM OUTW 5 TM512AC 12 BI REXT 6
in „TM512AC - Startadresse programmieren“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
uint16_t Zahl_1,uint16_t Zahl_2); // // // ++++ Main-Programm ++++ // // int main(void) { DDRB |= (1<<PWM_0); // Ausgang PWM als Farbe-Dimmer DDRA |= (1<<PWM_1); // Ausgang PWM als Helligkeit-Dimmer PORTB |= (1<<PWM_0); // Ausgang PWM als Farbe-Dimmer PORTA |= (1<<PWM_1); // Ausgang PWM als Helligkeit-Dimmer
in „Automatisches LED-Licht mit Funkmodulen“ · Projekte & Code ·
-
Datei
BCM.S
UEberlauf (TIMER1) ;TOIE0 => Interrupt bei UEberlauf (TIMER0) ldi r24,(1<<TOIE1) sts TIMSK1,r24 // PWM Werte erzeugen rcall FillPWM // Timer1 Startwert ldi r24,255 ;HIGH sts TCNT1H,r24 ldi r24,0 ;LOW sts TCNT1L,r24 pop r24 ret ;-------------------------------------------------------------- ;---------
in „Bit Angle Modulation Probleme“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
evdp610.pdf
-bitmode,the PWM base period is equal to 256 PWM clock cycles. 2.3 Input Clock Selection and Jumper Settings In 7-bit mode the PWM base period is equal to 128 Theevaluationboardhas3jumpersettings(labeledJP1 PWM clock
-
Datei
Servotester.txt
für 20ms Wert; volatile unsigned short intZ_01; //Zähler für 1-2ms Wert; volatile unsigned char intPWM; //Wert für 4kHz PWM-Signal volatile unsigned char intSeV; //Wert für Servosignal 1-2ms volatile unsigned char intYN; //Boolean Yes/Now Y/N volatile unsigned int intBB; #define ADC_VREF_TYPE 0xC0 SIGNAL
in „Warum funktioniert mein Servotester (Tiny26) nicht?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
power_management_status, 2); } } } void boost() { if(bit_is_clear(power_management_status, 4)) { set_pwm_a(pwm); //sched_task(2); CON_EN; sbi(power_management_status, 4); return; } correction = 0; for(uint8_t i = 1; i < INTEGRAL_LENGTH; i++) { errors[i] = errors[i - 1]; } errors[0] = boost_voltage - vol_and_cur
in „RTOS UART Semaphore“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
drv8350f_7_.pdf
1 1 1 1 1 1 PWM !PWM L H L H Align 1 1 1 0 0 0 1 L L PWM !PWM L H B → C 2 1 0 0 0 1 1 PWM !PWM L L L H A → C 3 1 0 1 0 1 0 PWM !PWM L H L L A → B 4 0 0 1 1 1 0 L L L H PWM !PWM C → B 5 0 1 1 1 0 0 L H L L PWM !PWM
in „BLDC-Motor: Überspannung beim Bremsen trotz Durchschaltung aller Low-Side-MOSFETs?“ · Analoge Elektronik und Schaltungstechnik ·
-
Datei
AEMA_PWM_24Hz.asm
.INCLUDE "tn461Adef.inc" ; R16 and R17 are used for calculations ; R30 Z-Buffer is used as pwm position pointer ; R31 Z-Buffer is used as pwm position pointer .CSEG ; Reset and interrupt vectors .ORG 0x0000 RJMP RESET .ORG OC0Aaddr RJMP Timer0_Falling .ORG OC0Baddr RJMP Timer0_Rising .ORG 0x0013
in „PWM für langsame periodische Signale“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
NUVOTON_M058_M0516.pdf
PWM generator PWM interrupt synchronized to PWM period 16-bit digital Capture timers (shared with PWM timers) with rising/falling capture inputs Supports capture interrupt z UART Up to two sets of UART
in „ARM Cortex M0 NUVOTON M058ZBN auslesen / flashen“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
arm.pdf
/ D18 / PWM0.3 / CTS1PID16151 D19 PODADAC PID20P0.26 / AD0.3 / AOUT / RXD3 P3.19 / D19 / PWM0.4 / DCD1PID20161 5PID20P0.27 / SDA0 P3.20 / D20 / PWM0.5 / DSR1PID20167 D20 C3030 4PID20P0.28 / SCL0 P3.21 / D21 / PWM0.6
in „ARM Board Layout“ · Platinen ·
-
PDF
DelSig.pdf
the value in RAM. The interrupt occurs when the PWM reaches its terminal count and the PWM’s output produces a falling edge. The choice of a PWM for this function is purely arbitrary; a timer or counter could have been used as well. However, the PWM
in „Beispiel Anwendungen/Application zu ADCs - Abtastrate & Auflösung“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
include <avr/interrupt.h> #include <avr/io.h> #define LED (1<<3) #define enc_end 100 volatile char pwm_counter = 0,pwm; volatile uint8_t enc_delta=0; //------------------------------------------------------------------------------ int main (void) { char val[3]; //Port für LED auf output DDRA = 0xff;
in „Dreahimpulsgeber auswertung“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Neu_Textdokument.txt
Dim A As Integer 'Winkel Alpha Dim B As Integer 'Sin- Wert von Alpha Dim C As Integer 'Ein- Zeit der PWM (indirekte Spannung) Dim D As Integer 'Winkel Dim E As Integer Dim W As Byte 'PWM- Timer ==================================================================== Config Timer1 = Pwm , Pwm = 8 , Compare A Pwm = Clear Down , Compare B Pwm = Clear Up , Prescale = 256 Enable Timer1 'Interrupttimer ================================================================ Config Timer2 = Timer , Prescale = 1 On Timer2
in „ATmega48. Timer2 startet nicht (Bascom)“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
USART.pdf
= UDR0; break; case 0x02 : // Set Switchsening Time SensingTime = UDR0; break; case 0x03 : // Set PWM1 compare RelayPWM[0][0] = UDR0; break; case 0x04 : // Set PWM2 compare RelayPWM[1][0] = UDR0; break; case 0x05 : // Set PWM3 compare RelayPWM[2][0] = UDR0; break; case 0x06 : // Set PWM4 compare RelayPWM
in „ATmega 164P USART funktioniert nur mit beschaltung auf PB7“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
Kochfeld.pdf
forgets to turn off the induction cooking system. 20/39 Doc ID 12433 Rev 3 AN2383 Measurements at PWM frequency 6 Measurements at PWM frequency The following scope waveforms were taken during the different working phases. These signals are synchronized with the PWM signal, therefore running at PWM signal
in „Induktionsofen- funktioniert nur mit magnetischen Metallen!“ · Offtopic ·
-
PDF
Atiny2313.pdf
) (PWM11) (PWM10) Operation TOP OCR1 x at Set on 0 0 0 0 0 Normal 0xFFFF Immediate MAX 1 0 0 0 1 PWM, Phase Correct, 8-bit 0x00FF TOP BOTTOM 2 0 0 1 0 PWM, Phase Correct, 9-bit 0x01FF TOP BOTTOM 3 0 0 1 1 PWM, Phase Correct, 10-bit 0x03FF TOP BOTTOM 4 0 1 0 0 CTC OCR1A Immediate MAX 5 0 1 0 1 Fast PWM, 8-bit 0x00FF TOP TOP 6 0 1 1 0 Fast PWM, 9-bit 0x01FF TOP TOP 7 0 1 1 1 Fast PWM, 10-bit 0x03FF TOP TOP
in „Suche tutorial“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
RoofControl.c
waitfornextTimer(void) { while (ticker < 50) {}; ticker = 0; } int main(void) { uint16_t calc = 0; pwm = ticker = 0; roomtemp = rooftemp = difftemp = 0; initPorts(); initADC(); initTimers(); sei(); // main loop while (1) { waitfornextTimer(); // time ticker // debug pwm = roomtemp; uart_put(pwm); OCR1A = pwm; } return 0; }
in „nach Drehzahlregulierung Motor Summt“ · Analoge Elektronik und Schaltungstechnik ·
-
PDF
e_pumps.pdf
7 6 ������ ������ ����������� ����� grundfos.com 9 GRUNDFOS OEM UPER Electronically regulated with PWM (PulseWidth Modulation) control and return signal GRUNDFOS OEM UPM The speed control inside Grundfos OEM UPER en- This new version of Grundfos PWM-E-pumps is a high sures a very low noise level due
-
PDF
San_Ace_92RF38_E-1100637.pdf
0.63 39 (70000/40˚C) 9RF0924P1H001 Reverse 24 20.4 to 27.6 0 0.09 2.2 5300 1.2 42.4 146 0.59 43 * PWM frequency: 25 kHz ˙ Airflow - Static Pressure Characteristics / PWM Duty - Speed Characteristics Example 9RF0912P1H001 With pulse sensor with PWM control function Operating voltage range Operating voltage
-
PDF
2287522.pdf
08h PWM0 7:0 IDC0[7:0] R/W 0000 0000* PWM0 Individual Duty Cycle 09h PWM1 7:0 IDC1[7:0] R/W 0000 0000* PWM1 Individual Duty Cycle 0Ah PWM2 7:0 IDC2[7:0] R/W 0000 0000* PWM2 Individual Duty Cycle 0Bh PWM3 7:
in „[V] 10St. NXP PCA9955 16-channel Fm+ I2C-bus 57 mA/20 V constant current LED driver SSOP28 (10€)“ · Markt ·
-
PDF
2287522.pdf
08h PWM0 7:0 IDC0[7:0] R/W 0000 0000* PWM0 Individual Duty Cycle 09h PWM1 7:0 IDC1[7:0] R/W 0000 0000* PWM1 Individual Duty Cycle 0Ah PWM2 7:0 IDC2[7:0] R/W 0000 0000* PWM2 Individual Duty Cycle 0Bh PWM3 7:
in „[V] 10St. NXP PCA9955 16-channel Fm+ I2C-bus 57 mA/20 V constant current LED driver SSOP28“ · Markt ·
-
Datei
cpu_map.h
pins. #define SPINDLE_ENABLE_DDR DDRB #define SPINDLE_ENABLE_PORT PORTB // Z Limit pin and spindle PWM/enable pin swapped to access hardware PWM on Pin 11. #ifdef VARIABLE_SPINDLE #ifdef USE_SPINDLE_DIR_AS_ENABLE_PIN // If enabled, spindle direction pin now used as spindle enable, while PWM remains on
in „Projekt: SerialComCNC Serielles Frontend für CNC GRBL mit ATMega“ · Projekte & Code ·
-
Datei
HCT595.c
SHCP GPIO_Pin_3 /* B3: SHCP */ #define HC595_MR GPIO_Pin_8 /* B8: MR (Master Reset) */ #define HC595_PWM GPIOA #define HC595_OE GPIO_Pin_9 /* A9: LED HC595_OE (PWM) */ #define ILI9341_PWM GPIOA #define ILI9341_OE GPIO_Pin_8 /* A8: Display (PWM) */ /* ---------------- Typen Deklarationen ---------------
in „EmBitz Debugging Problem mit STM32F103“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Aqualicht-dcf-Gesteuert-V1_1_.bas
Config Pind.6 = Output 'Sekunden Blinker Config Pind.4 = Output 'Relais für licht ganz aus '--------- PWM-Timer definieren ------------------------------------------------ Config Timer0 = Pwm , Compare A Pwm = Clear Down , Compare B Pwm = Clear Down , Prescale = 1 Enable Timer0 Start Timer0 '--------- DCF-Definieren
in „Sonnenauf - Untergang mit Dimmer“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
PWM_PA0_Uvergl.asm
;ausgangsspannungsregelung nach stepdown ;pwm an atmega16 für 2 khz ;bei 4mhz taktfrequenz ;mit timer0 im fast pwm mode, 8 bit aufloesung ;pwm-signal liegt auf pb3 oc0 ;adc takt mittels rcall ;werner/16.2.12 .include "m16def.inc" .def v_panel =
in „Hilfe Ladereglung Atmega16 Assembler“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
PWM_PA0-Uvergl.-Einfach-15kHZ.asm
;ausgangsspannungsregelung nach stepdown ;pwm an atmega16 für 15 khz ;bei 4mhz taktfrequenz ;mit timer0 im fast pwm mode, 8 bit aufloesung ;pwm-signal liegt auf pb3 oc0 ;adc aufruf mittels rcall ;werner,24.2.12 .include "m16def.inc" .def v_akku
in „Hilfe Ladereglung Atmega16 Assembler“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
config.h
#define F_CPU 16000000L // Systemtakt in Hz #define F_PWM 100 // PWM-Frequenz in Hz #define PWM_STEPS 250 // PWM-Schritte pro Zyklus(1..255) #define T_PWM (F_CPU/(F_PWM*PWM_STEPS)) // Systemtakte pro PWM-Takt // Timer #define TIMERFREQ 10 // Timerfrequenz
in „Wie macht man solche Lichtmodes? Lauflicht, PWM und Co“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Pysiologisches_Dimmen.pl
= 116; # Experimentell ermittelt for ( 0 .. 54 ) { my $pwm_value = $value >> 6; print "$pwm_value\n"; $value = $value + ($value >> 3); }; print "\nAufdimmen: Faktor k = 1.25 = (1 + 1/4)\n"; $value = 53; # Experimentell ermittelt for ( 0 .. 32 ) { my $pwm_value = $value >> 6; print "$pwm_value\n"; $value = $value + ($value >> 2); };
-
Datei
PPS5330_hack.c
15.634ms uint8_t Digi_offset = 74; uint16_t Umax = 30000; // mV uint16_t Usoll = 5000; // mV uint32_t PWM_value = 15540; // 15540 ~ 30.0V uint16_t OCR_value = 0; PWM_value = (PWM_value * 1000); OCR_value = (((uint32_t)(PWM_value / Umax) * Usoll) / 1000); //set PWM (U-Soll) OCR1A = Digi_offset + OCR_value; OCR1B = 16382; // set PWM Ampre TCCR1A |= (1 << COM1A1)|(1 << COM1B1); // set none-inverting mode TCCR1A |= (1 << WGM11); TCCR1B |= (1 << WGM12)|(1 << WGM13); // set Fast PWM mode using ICR1 as TOP TCCR1B |= (1 << CS10); //
in „PPS5330 Labor-Netzteil hack“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
PPS5330_hack.c
15.634ms uint8_t Digi_offset = 74; uint16_t Umax = 30000; // mV uint16_t Usoll = 5000; // mV uint32_t PWM_value = 15540; // 15540 ~ 30.0V uint16_t OCR_value = 0; PWM_value = (PWM_value * 1000); OCR_value = (((uint32_t)(PWM_value / Umax) * Usoll) / 1000); //set PWM (U-Soll) OCR1A = Digi_offset + OCR_value; OCR1B = 16382; // set PWM Ampre TCCR1A |= (1 << COM1A1)|(1 << COM1B1); // set none-inverting mode TCCR1A |= (1 << WGM11); TCCR1B |= (1 << WGM12)|(1 << WGM13); // set Fast PWM mode using ICR1 as TOP TCCR1B |= (1 << CS10); //
in „PPS5330 Labor-Netzteil hack“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
wiring.c
overflow interrupt not set correctly #endif // timers 1 and 2 are used for phase-correct hardware pwm // this is better for motors as it ensures an even waveform // note, however, that fast pwm mode can achieve a frequency of up // 8 MHz (with a 16 MHz clock) at 50% duty cycle #if defined(TCCR1B) &&
in „Sekunden,Minuten zählen mit der Funktion Millis()“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
UniversalBlinker.asm
PORTB, 0 rjmp WartenLow ; und wieder von vorn... Sinus: sbi ddrb,0 ; PB0 als Ausgang ldi temp, 0 ; PWM initialisieren out OCR0A, temp ldi temp, 0x83 ; nur Kanal A out TCCR0A, temp ldi temp, 0x02 out TCCR0B, temp ldi temp,1 ; Start ohne Vorteiler out TCCR0B,temp SchleifePWM: ldi temp,0 ldi CountPWM,255 Up: rcall Warten out OCR0A, temp inc temp dec CountPWM brne Up ldi CountPWM,255 Down: rcall Warten out OCR0A, temp dec temp dec CountPWM brne Down rjmp SchleifePWM Warten: ldi DelayPWM,250 W1: nop nop nop nop nop dec DelayPWM brne W1 ret BL50100: SEI ;
in „Attiny13 Universeller Blinker“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
control-panel.pdf
1k f_PWM = f_CPU/1024 = 10.8 kHz 1 3 V 3 Low pass filters: tau = 10 ms (+) 4 R12 2 10k? 20k R23 PWM_I: 1k * per 1.0 A: 180 ticks -5V -5V * per 0.1 A: 18 ticks * duty cycle: * 0 A: 0% (off) * 1 A: 17.58% U sense
in „Labornetzteil: Tasten ohne Funktion“ · Analoge Elektronik und Schaltungstechnik ·
-
PDF
drv8711.pdf
7.3.1 PWM Motor Drivers The DRV8711 contains two H-bridge motor predrivers with current control PWM circuitry. More detailed descriptions of the subblocks are described in the following sections. Copyright ©
in „UV-Laserdrucker II“ · Platinen ·
-
PDF
doc6241-1369051.pdf
BUS (PB0..PB17) PB1 TIOB0 A1_NBS2 PB2 SCK0 A2 PB3 NPCS3 A3 PB4 TCLK0 A4 PB5 NPCS3 A5 PB6 PCK0 A6 PB7 PWM3 A7 PB8 ADTRG A8 PB9 NPCS1 A9 PB10 NPCS2 A10 PB11 PWM0 A11 PB12 PWM1 A12 PB13 PWM2 A13 PB14 PWM3 A14 PB15 TIOA1 A15 PB16 TIOB1 A16_BA0 PB17 PCK1 A17_BA1 PB18 PCK2 D16 NandFlash (NANDCS) PB19 FIQ D17
-
Datei
LED2.asm
Possition in der Farbtabelle .def schleiffe = r20 ; Anzahl der ABGEARBEITETEN Schleiffen ; bezogen auf die PWM Durchläuffe .def runde = r21 ; der wievielte Durchlauf der PWM Schleiffe ist das? (Die Anzahl der durchläufe wird durch Speed festgelegt .def richtung = r22 ; Die Richtungs Flags. Wenn bit 0=HI wird
in „PWM aus 8Bit Signal erzeugen“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
mpx_8digit.pdf
Farben, bestehenden Anzeigen besteht. Zu diesem Zweck steht ein weiteres globales Array uint8_t dig_pwm[8]; zur Verfügung. Das Dimmen wird innerhalb der Interruptroutindurch eine softwarerealisiert Pulseweitenmodulation (PWM) realisiert. Gültige Helligkeitsstufen sind im Bereich von 1 bis 16 (inklusive). Programmbeispiel: dig_pwm[7]= 1; dig_pwm[6]= 3; dig_pwm[5]= 5; dig_pwm[4]= 7; dig_pwm[3]= 9; dig_pwm[2]= 11; dig_pwm[1]= 13; dig_pwm[0]= 16; fb_setdezint32(12345678); Die Zahl 12345678 wird mit abnehmender Helligkeit zur Anzeige
in „AVR-ATmega: Multiplex von 8 Digits 7-Segment und 8 Tasten“ · Projekte & Code ·
-
PDF
ob2354ap.pdf
OB2354 Current Mode PWM Power Sw itchFreq Suffling GENERAL DESCRIPTION ■ Fixed 50KHZ Switching Frequency controller with a high voltage power MOSFET. It ■ Low VDD Startup Current and LowpeOperating Ñ power, and cost effective
in „Klackerndes Relais im CD-Player - obwohl vom Netz getrennt.“ · Analoge Elektronik und Schaltungstechnik ·
-
PDF
STK520.pdf
AT90PWM2 & AT90PWM3. DALI Hardware Interface. ® Supported by AVR Studio 4. Zero Insertion Force Socket for SO24 & SO32 Packages. High Voltage Parallell Programming. Serial Programming. DALI Peripherals can
in „DALI EVG stk520“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
[i].reg_off,multibyte_PWM[i].reg_val_D00,multibyte_PWM[i].reg_val_D08,multibyte_PWM[i].reg_val_D14,multibyte_PWM[i].reg_val_D24); if (!(result == 0)) { sprintf(ausgabe,"ERROR %d %x,%x ",result,address,multibyte_PWM[i].reg_off); lcd_setcursor(0,1); lcd_string(ausgabe); _delay_ms(1000); break; } } } size = (sizeof(init_PWM)/sizeof(init_PWM[0])); address = 0x34; if (result == 0) { for (i=0; i < size; i++) { result = TWI_send8(address,init_PWM[i].reg_off,init_PWM[i].reg_val_D00); if (!(result == 0)) { sprintf(ausgabe,"ERROR
in „C-Code auf AVR effizient schreiben“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
p16f15214.inc
CCPR2 EQU H'00310' CCPR2L EQU H'00310' CCPR2H EQU H'00311' CCP2CON EQU H'00312' CCP2CAP EQU H'00313' PWM3DC EQU H'00314' PWM3DCL EQU H'00314' PWM3DCH EQU H'00315' PWM3CON EQU H'00316' PWM4DC EQU H'00318' PWM4DCL EQU H'00318' PWM4DCH EQU H'00319' PWM4CON EQU H'0031A' TMR0L EQU H'0059C' TMR0 EQU H'0059C'
in „PIC MPMASMX PIC-AS“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
RGB.c
_BV(CS00) | _BV(CS01); TIMSK = _BV(TOIE0); sei(); while(1) { } } ISR(TIMER0_OVF_vect) { if((RED >= pwm_cnt) && (RED != 0)) { LEDPORT |= (1 << R); } else { LEDPORT &= ~(1 << R); } if((GREEN >= pwm_cnt) && (GREEN != 0)) { LEDPORT |= (1 << G); } else { LEDPORT &= ~(1 << G); } if ((BLUE >= pwm_cnt) && (BLUE
in „RGB Farbwechsel Verbesserungsvorschläge“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
atmega2560_2561.pdf
PWM, 8-bit 0x00FF BOTTOM TOP 6 0 1 1 0 Fast PWM, 9-bit 0x01FF BOTTOM TOP 7 0 1 1 1 Fast PWM, 10-bit 0x03FF BOTTOM TOP 8 1 0 0 0 PWM, Phase and Frequency ICRn BOTTOM BOTTOM Correct 9 1 0 0 1 PWM,Phase and
in „Ethernet Buchse“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ledctl.asm
********* Verwendung der Register ***************************** ; r0 ; für Zeiger .def PWM_CNT = r1 ; PWM counter .def SAVE_TCCR1B= r2 ; Sicherung tccr1b .def PRETIMER0 = r3 ; Vorteiler Timer0 .def TEMP = r16 .def LEDA = r17 ; fading counter .def LEDA_NEXT = r18 ; nächste Fadingcounter .def
-
PDF
34.pdf
verschiedene Strom messmethoden Stand I(t) 2. Integration des Stromes über eine der Technik: I(t) ganze PWM-Periode des Trägersignals 1. Abtastung des (Bild 4). Durch die Integration werden abtastbedingte Gleichanteile und Stö Stromes synchron zum Trägersignal der rungen effektiv unterdrückt. In der Pra PWM (Bild 3). Durch xis wird die Integration durch die Bil die zur Schaltfrequenz PWM dung einer Summe vieler A/D-Wand lungen mit hoher Abtastrate realisiert. synchrone Abtastung des Stromes wird der Diese Technik wird auch Überabtastung Stromrippel effizient 1Bild3.Abtastung desStromessynchronzumPWM-Trägersignal
in „Settling time von ADS1178, blickt jemand durch?“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
TS19371_E08.pdf
With OVP LED Dimming Control There are some different types of dimming control circuits: 1. Using a PWM Signal to SHDN Pin With the PWM signal applied to the SHDN pin, the TS19371 is turned on or off by the PWM signal. The LEDs operate at either zero or full current. The average LED current increases proportionally with the duty cycle of the PWM signal. A 0% duty cycle will turn off the TS19371 and corresponds to zero LED current. A 100% duty cycle corresponds to full current. The typical frequency range of the PWM signal is 1kHz to 10kHz.
in „TFT-Display Hintergrundbeleuchtung“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
atmega8China.pdf
。 相频修正修正 PWM 模式与相位修正 PWM 模式的主要区别在于 OCR1x 寄存器的更新时 间,详见 Figure 39 与 Figure 40。 相频修正修正 PWM 模式的 PWM 分辨率可由 ICR1 或 OCR1A 定义。最小分辨率为 2 比 特 (ICR1 或 OCR1A 设为 0x0003),最大分辨率为 16 位 (ICR1 或 OCR1A 设为 MAX)。 PWM 分辨率位数可用下式计算: log
in „Buch AVR von Günter Schmitt durcharbeiten“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
fet440_ta_pwm01.c
***************************************************************** // MSP-FET430P440 Demo - Timer_A PWM TA1-2 upmode, DCO SMCLK // // Description; This program will generate a two PWM outputs on P1.2/2.0 using // Timer_A in an upmode. The value in CCR0, 512, defines the period and the // values in CCR1
in „MSP430 als Taktgeber nutzen“ · Mikrocontroller und Digitale Elektronik ·