Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN3288 Datasheet(PDF) 18 Page - STMicroelectronics

Part # AN3288
Description  The purpose of this application note is to provide an accurate description
PDF  27 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3288 Datasheet(HTML) 18 Page - STMicroelectronics

Back Button AN3288 Datasheet HTML 14Page - STMicroelectronics AN3288 Datasheet HTML 15Page - STMicroelectronics AN3288 Datasheet HTML 16Page - STMicroelectronics AN3288 Datasheet HTML 17Page - STMicroelectronics AN3288 Datasheet HTML 18Page - STMicroelectronics AN3288 Datasheet HTML 19Page - STMicroelectronics AN3288 Datasheet HTML 20Page - STMicroelectronics AN3288 Datasheet HTML 21Page - STMicroelectronics AN3288 Datasheet HTML 22Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 18 / 27 page
background image
Special features
AN3288
18/27
Doc ID 18011 Rev 2
brk_stat = TRUE;
...
}
else if(acc>thr2b) /* it corresponds to a medium braking effort */
{...
TIM1_SetCompare1(PWM2); /* set the PWM duty cycle to 50% */
brk_stat = TRUE;
...
}
...
else /* if no braking */
{TIM1_SetCompare1(PWM0); /* PWM duty cycle to 100% set LEDs OFF */
brk_stat = FALSE;
}
state= WAIT;
break;
4.2
Continuous dimming mode
The choice of the main ranges of deceleration for characterizing the light response is purely
discretionary. It's possible to set a continuous dimming mode matching the LEDs’ brightness
with the resolution of the accelerometer. Fixing a simple relation of proportionality between
the PWM duty cycle and the deceleration, according to a coefficient opportunely selected,
the LED’s brightness may vary continuously in a range of values containing more than 1,000
programmable levels.
/* PWM duty cycle proportional to the deceleration */
PWM_duty_cycle=(acc*(k));
...
if(acc< thr1)
/* if deceleration is higher than the activation
threshold */
{
...
TIM1_SetCompare1(PWM_duty_cycle); /* set the PWM duty cycle */
brk_stat = TRUE; }
...}



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com