Presentation is loading. Please wait.

Presentation is loading. Please wait.

AVR Moodlight (v4) Frank Bättermann March, 27th, 2009.

Similar presentations


Presentation on theme: "AVR Moodlight (v4) Frank Bättermann March, 27th, 2009."— Presentation transcript:

1 AVR Moodlight (v4) Frank Bättermann March, 27th, 2009

2 AVR-Moodlight - Frank Bättermann Overview ● Purpose ● Basics ● Color mixing ● Light emitting diodes (LEDs), dimming (PWM) ● Project ● Design goals ● Hardware / Software ● Demonstration ● Future

3 AVR-Moodlight - Frank Bättermann sparetime Inc. ● Founded in july 1984 ● Headquarters in room 82 ● Flexible work time ● No earnings ● No shareholders ● Freedom of interests ● World's greatest company... seriously

4 AVR-Moodlight - Frank Bättermann A... mood... light? ● Decorative light ● Living room ● Garden ● Bars, Discos ● Expensive ● Not selfmade... picture: opulentitems.com (1,800 $)

5 AVR-Moodlight - Frank Bättermann Color mixing SubtractiveAdditive

6 AVR-Moodlight - Frank Bättermann Light emitting diode ● Semiconductor ● „Clean“ color ● High effiency ● Various sizes & packages ● Still expensive ● Cooling needed Seoul P5

7 AVR-Moodlight - Frank Bättermann LED in action Imagine moving pictures here...

8 AVR-Moodlight - Frank Bättermann Dimming: PWM ● Duty cycle determines brightness ● 244 Hertz flickering is invisible Brighter: 50% duty cycle Darker: 25% duty cycle

9 AVR-Moodlight - Frank Bättermann Realizing gradients

10 AVR-Moodlight - Frank Bättermann AVR Moodlight ● Design goals ● Learn about AVR microcontrollers ● Standalone device ● As cheap and simple as possible ● Extendable (with electronic skills) ● History ● v1: 2x16 characters LCD, 1 output, ATmega88 ● v2: 4x20 LCD, crossover network, ATmega168 ● v3: temperature sensor, EEPROM, 4 outputs, ATmega128

11 AVR-Moodlight - Frank Bättermann Software ● The very most work: ~1000 hours/18 months ● Written in pure C ● Realtime operating system: FreeRTOS ● Independend tasks and inter-task-communication ● 6 Modes ● Fixed color; preset fades; random fades ● Temperature; Time of day; Analog Input (4 channel)

12 AVR-Moodlight - Frank Bättermann Display Menu, system information, mode & color, time...

13 AVR-Moodlight - Frank Bättermann Hardware RGB signal Low supply current High supply current

14 AVR-Moodlight - Frank Bättermann Short demonstration If there is time left...

15 AVR-Moodlight - Frank Bättermann Future ● Use extension connector ● Buzzer (alarm clock) ● Clap switch (on, off, next color...) ● IR remote ● Use analog input ● Re-attach crossover network ● Measure houseplants humidity? ● Add bigger/smaller LED modules

16 AVR-Moodlight - Frank Bättermann Thank you! Source code, schematics, PCB: http://www.mikrocontroller.net/topic/123253 v3 (by-nc-sa)


Download ppt "AVR Moodlight (v4) Frank Bättermann March, 27th, 2009."

Similar presentations


Ads by Google