• اولین جامعه مجازی آموزشی خودت انجام بده
  • منتظر بخش های جذاب و مسابقات سایت باشید
محبوب ترین ارسال های سایت
Most Popular
موضوعات
Category
آخرین مطالب
Recent Post
آرشيو
Arshive
مطالب تصادفی
Random Post
آمار بازدید
افراد آنلاین 7
ورودی گوگل امروز : 81
بازدید امروز : 529
بازدید دیروز : 631
کل بازدیدها : 77239
تعداد کل مطالب : 191
ارسال روزانه : 1.04
نظرات روزانه : 0.77
تبادل لینک با 15
کیت برد اولین جامعه مجازی آموزشی خودت انجام بده فارسی |Kitboard DIY | بهمن ۲۵م, ۱۳۹۰   کیت برد اولین جامعه مجازی آموزشی خودت انجام بده فارسی |Kitboard DIY | دسته بندی :   سفینه جهانی, سیاره کیت برد اولین جامعه مجازی آموزشی خودت انجام بده فارسی |Kitboard DIY | 118 بازدید

نویسنده :

    نمایش نوشته های بیشتر



Our friend Pete Mills developed this great ATTiny based Electronic Candle, we have seen electronic candles before but what makes this one shine is how the flickering was done. Pete actually sampled the actual flicker patterns of a real candle flame so that this reproduced flame would look as close to the real thing as possible.

You can see some other electronic candle designs here for inspiration.

“The ATTiny Candle is an LED candle. It uses a high brightness LED and some software to mimic the look of a traditional candle without the dangers associated with an open flame.

I figured the hardest part of this project would be making the flicker look realistic, so I decided to let nature do that part for me.  I made this candle with a Light Detecting Resistor ( LDR ) and a fixed resistor acting as a voltage divider.  This is fed to one of the ATTiny85′s ADC inputs and sampled at discrete time intervals.  At this time, the sample rate is 100mS.  These 8-bit light level values are then stored to EEPROM so that the candle can recall the flicker pattern to play back on the LED that is connected to a PWM channel after being turned off.  You only need to program the pattern once, but you can program it over and over again with just the push of a button.”

Source link

VN:F [1.9.13_1145]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.13_1145]
Rating: 0 (from 0 votes)


برچسب ها : , , , , , , , ,


کیت برد اولین جامعه مجازی آموزشی خودت انجام بده فارسی |Kitboard DIY | نظرات شما :