Main.UsbIkeaDioder History
Hide minor edits - Show changes to markup
Deprecated: Function create_function() is deprecated in /home/bluekitc/public_html/ringwald.ch/electronics/pmwiki.php on line 456
According to the AtmoWin Wiki entry, there's also support for Atmolights in VLC.
According to the AtmoWin Wiki entry, there's also support for Atmolights in VLC.
Images
http://electronics.ringwald.ch/img/USB-IKEA-DIODER-1.jpg
Images
http://electronics.ringwald.ch/img/USB-IKEA-DIODER-1.jpg \\
This page describes an AVR-based USB controller for the nice IKEA DIODER LED strip. The original controller has a single button to choose one of seven colors or to cycle through all of them at full brightness. The new controller is controlled via USB and supports 8-bit resolution for the brightness of each color component. USB support is kindly provided by the ingenious Virtual USB-port for AVR microcontrollers project.
This page describes an AVR-based USB controller for the nice IKEA DIODER LED strip. The original controller has a single button to choose one of seven colors or to cycle through all of them at full brightness. The new controller is controlled via USB and supports 8-bit resolution for the brightness of each color component. USB support is kindly provided by the ingenious Virtual USB-port for AVR microcontrollers project.
\\
Get an IKEA DIODER from the next IKEA - sadly, they don't offer to ship them.
Get an IKEA DIODER from the next IKEA - sadly, they don't offer to ship them.
This flickr page describes the innards of the original controller.
This flickr page describes the innards of the original controller.
Remove the microcontroller in the upper left with a side-cutter to protect the PCB and clean up remaining pieces with the soldering iron.
Remove the microcontroller in the upper left with a side-cutter to protect the PCB and clean up remaining pieces with the soldering iron.
Then, on a breadboard, build up a basic ATmega8 circuit using the AVR, a 12 Mhz crystal and 2 12-22 pF capacitors (we didn't have caps at home but luckily, the our circuit works even without them - better use them).
Then, on a breadboard, build up a basic ATmega8 circuit using the AVR, a 12 Mhz crystal and 2 12-22 pF capacitors (we didn't have caps at home but luckily, the our circuit works even without them - better use them).
The three control lines for the LEDs are connected to PB1-3 as the ATmega8 provides three independent PWM outputs on these pins. On the board, the voltage regulator capacitor C2 is not populate, which makes for a nice 5V power source for the ATmega8.
The three control lines for the LEDs are connected to PB1-3 as the ATmega8 provides three independent PWM outputs on these pins. On the board, the voltage regulator capacitor C2 is not populate, which makes for a nice 5V power source for the ATmega8.
For the USB connection, we followed the 3.7V Z-Diode approach, but did not connect the USB-VCC as the AVR is already powered by the DIODER power supply.
For the USB connection, we followed the 3.7V Z-Diode approach, but did not connect the USB-VCC as the AVR is already powered by the DIODER power supply.
Software
The firmware for the ATmega is based on the hid-data example for V-USB. The main "challenge" was to figure out how the 3 PWM channels are controlled properly. See PWM_enable() and settingsUpdated() for this detail.
Software
The firmware for the ATmega is based on the hid-data example for V-USB. The main "challenge" was to figure out how the 3 PWM channels are controlled properly. See PWM_enable() and settingsUpdated() for this detail.
ATmega8 firmware and command line tool
ATmega8 firmware and command line tool
Images
http://electronics.ringwald.ch/img/USB-IKEA-DIODER-1.jpg
Modified DIODER PCB and new USB controller
Images
http://electronics.ringwald.ch/img/USB-IKEA-DIODER-1.jpg
http://electronics.ringwald.ch/img/USB-IKEA-DIODER-2.jpg
Modified DIODER PCB and new USB controller
Final box
http://electronics.ringwald.ch/img/USB-IKEA-DIODER-2.jpg
Final box
\\
http://electronics.ringwald.ch/img/USB-IKEA-DIODER-1.jpg
Software
The firmware for the ATmega is based on the hid-data example for V-USB. The main "challenge" was to figure out how the 3 PWM channels are controlled properly. See PWM_enable() and settingsUpdated() for this detail.
Modified DIODER PCB and new USB controller
ATmega8 firmware and command line tool
Usage
After being controllable via USB, the next step is to integrate it with an media player to provide an Ambilight (tm) effect for our projector.
The German VDR Project already support similar devices, someone also posted the sources for a xine post plugin.
According to the AtmoWin Wiki entry, there's also support for Atmolights in VLC.
Images
http://electronics.ringwald.ch/img/USB-IKEA-DIODER-1.jpg
http://electronics.ringwald.ch/img/USB-IKEA-DIODER-2.jpg
Modified DIODER PCB and new USB controller
Final box
http://electronics.ringwald.ch/img/USB-IKEA-DIODER-2.jpg
Software
The firmware for the ATmega is based on the hid-data example for V-USB. The main "challenge" was to figure out how the 3 PWM channels are controlled properly. See PWM_enable() and settingsUpdated() for this detail.
Final box
ATmega8 firmware and command line tool
Usage
After being controllable via USB, the next step is to integrate it with an media player to provide an Ambilight (tm) effect for our projector.
The German VDR Project already support similar devices, someone also posted the sources for a xine post plugin.
According to the AtmoWin Wiki entry, there's also support for Atmolights in VLC.
\\
http://electronics.ringwald.ch/img/USB-IKEA-DIODER-2.jpg
http://electronics.ringwald.ch/img/USB-IKEA-DIODER-2.jpg \\
Future
After being controllable via USB, the next step is to integrate it
Usage
After being controllable via USB, the next step is to integrate it with an media player to provide an Ambilight (tm) effect for our projector.
The German VDR Project already support similar devices, someone also posted the sources for a xine post plugin.
According to the AtmoWin Wiki entry, there's also support for Atmolights in VLC.
This page describes an AVR-based USB controller for the nice IKEA DIODER LED strip. The original controller has a single button to choose one of seven colors or to cycle through all of them at full brightness. The new controller is controlled via USB and supports 8-bit resolution for the brightness of each color component. USB support is kindly provided by the ingenious Virtual USB-port for AVR microcontrollers project.
This page describes an AVR-based USB controller for the nice IKEA DIODER LED strip. The original controller has a single button to choose one of seven colors or to cycle through all of them at full brightness. The new controller is controlled via USB and supports 8-bit resolution for the brightness of each color component. USB support is kindly provided by the ingenious Virtual USB-port for AVR microcontrollers project.
\\
Hardware
Instructions
\\
Remove the microcontroller in the upper left with a side-cutter to protect the PCB and clean up remaining pieces with the soldering iron.
Then, on a breadboard, build up a basic ATmega8 circuit using the AVR, a 12 Mhz crystal and 2 12-22 pF capacitors (we didn't have caps at home but luckily, the our circuit works even without them - better use them).
Remove the microcontroller in the upper left with a side-cutter to protect the PCB and clean up remaining pieces with the soldering iron.
The three control lines for the LEDs are connected to PB1-3 as the ATmega8 provides three independent PWM outputs on these pins. On the board, the voltage regulator capacitor C2 is not populate, which makes for a nice 5V power source for the ATmega8.
For the USB connection, we followed the 3.7V Z-Diode approach, but did not connect the USB-VCC as the AVR is already powered by the DIODER power supply.
Then, on a breadboard, build up a basic ATmega8 circuit using the AVR, a 12 Mhz crystal and 2 12-22 pF capacitors (we didn't have caps at home but luckily, the our circuit works even without them - better use them).
http://electronics.ringwald.ch/img/USB-IKEA-DIODER-1.jpg
The three control lines for the LEDs are connected to PB1-3 as the ATmega8 provides three independent PWM outputs on these pins. On the board, the voltage regulator capacitor C2 is not populate, which makes for a nice 5V power source for the ATmega8.
Modified DIODER PCB and new USB controller
http://electronics.ringwald.ch/img/USB-IKEA-DIODER-2.jpg
For the USB connection, we followed the 3.7V Z-Diode approach, but did not connect the USB-VCC as the AVR is already powered by the DIODER power supply.
Final box
http://electronics.ringwald.ch/img/USB-IKEA-DIODER-1.jpg
Modified DIODER PCB and new USB controller
http://electronics.ringwald.ch/img/USB-IKEA-DIODER-2.jpg
Final box
Get an IKEA DIODER from the next IKEA - sadly, they don't offer to ship them. This flickr page describes the innards of the original controller. Remove the microcontroller in the upper left with a side-cutter to protect the PCB and clean up remaining pieces with the soldering iron.
Get an IKEA DIODER from the next IKEA - sadly, they don't offer to ship them.
Then, on a breadboard, build up a basic ATmega8 circuit using the AVR, a 12 Mhz crystal and 2 12-22 pF capacitors (we didn't have caps at home but luckily, the our circuit works even without them - better use them).
This flickr page describes the innards of the original controller.
The three control lines for the LEDs are connected to PB1-3 as the ATmega8 provides three independent PWM outputs on these pins. On the board, the voltage regulator capacitor C2 is not populate, which makes for a nice 5V power source for the ATmega8.
Remove the microcontroller in the upper left with a side-cutter to protect the PCB and clean up remaining pieces with the soldering iron.
For the USB connection, we followed the 3.7V Z-Diode approach, but did not connect the USB-VCC as the AVR is already powered by the DIODER power supply.
Then, on a breadboard, build up a basic ATmega8 circuit using the AVR, a 12 Mhz crystal and 2 12-22 pF capacitors (we didn't have caps at home but luckily, the our circuit works even without them - better use them).
The three control lines for the LEDs are connected to PB1-3 as the ATmega8 provides three independent PWM outputs on these pins. On the board, the voltage regulator capacitor C2 is not populate, which makes for a nice 5V power source for the ATmega8.
http://electronics.ringwald.ch/img/USB-IKEA-DIODER-1.jpg
For the USB connection, we followed the 3.7V Z-Diode approach, but did not connect the USB-VCC as the AVR is already powered by the DIODER power supply.
Modified DIODER PCB and new USB controller
http://electronics.ringwald.ch/img/USB-IKEA-DIODER-2.jpg
http://electronics.ringwald.ch/img/USB-IKEA-DIODER-1.jpg
Final box
Modified DIODER PCB and new USB controller
http://electronics.ringwald.ch/img/USB-IKEA-DIODER-2.jpg
Final box
We've got an IKEA DIODER from the next IKEA - sadly, they don't offer to ship them. This flickr page describes the innards of the original controller. We removed the microcontroller in the upper left with a side-cutter to protect the PCB.
Get an IKEA DIODER from the next IKEA - sadly, they don't offer to ship them. This flickr page describes the innards of the original controller. Remove the microcontroller in the upper left with a side-cutter to protect the PCB and clean up remaining pieces with the soldering iron.
Then, on a breadboard, we've build up a basic ATmega8 circuit using the AVR, a 12 Mhz crystal and 2 capacitors.
Then, on a breadboard, build up a basic ATmega8 circuit using the AVR, a 12 Mhz crystal and 2 12-22 pF capacitors (we didn't have caps at home but luckily, the our circuit works even without them - better use them).
The three control lines for the LEDs are connected to PB1-3 as the ATmega8 provides three independent PWM outputs on these pins. On our board, the place for voltage-regulator was not used, which allowed to power the ATmega8 from there with 5V.
For the USB connection, we followed the 3.7V Z-Diode approach.
The three control lines for the LEDs are connected to PB1-3 as the ATmega8 provides three independent PWM outputs on these pins. On the board, the voltage regulator capacitor C2 is not populate, which makes for a nice 5V power source for the ATmega8.
For the USB connection, we followed the 3.7V Z-Diode approach, but did not connect the USB-VCC as the AVR is already powered by the DIODER power supply.
http://electronics.ringwald.ch/img/USB-IKEA-DIODER-1.jpg
http://electronics.ringwald.ch/img/USB-IKEA-DIODER-1.jpg \\
We've got an IKEA DIODER from our favorite IKEA store - they did not offer to ship it. This flickr page describes the innards of the original controller. We removed the microcontroller in the upper left with a side-cutter to protect the PCB.
We've got an IKEA DIODER from the next IKEA - sadly, they don't offer to ship them. This flickr page describes the innards of the original controller. We removed the microcontroller in the upper left with a side-cutter to protect the PCB.
This page describes an AVR-based USB controller for the nice IKEA DIODER LED strip. The original controller only allows to select one of seven colors and to cycle through all of them at full brightness. The new controller is controlled via USB and supports 8-bit resolution for the each color component. USB support is provided by the ingenious Virtual USB-port for AVR microcontrollers project.
This page describes an AVR-based USB controller for the nice IKEA DIODER LED strip. The original controller has a single button to choose one of seven colors or to cycle through all of them at full brightness. The new controller is controlled via USB and supports 8-bit resolution for the brightness of each color component. USB support is kindly provided by the ingenious Virtual USB-port for AVR microcontrollers project.
This page describes an AVR based USB controller for the nice IKEA DIODER LED strip. The original controller only allows to select one of seven colors and to cycle to all of them at full brightness. The new controller is controlled via USB and supports 8-bit resolution for each color. USB support is provieded by the ingenious Virtual USB-port for AVR microcontrolers project.
This page describes an AVR-based USB controller for the nice IKEA DIODER LED strip. The original controller only allows to select one of seven colors and to cycle through all of them at full brightness. The new controller is controlled via USB and supports 8-bit resolution for the each color component. USB support is provided by the ingenious Virtual USB-port for AVR microcontrollers project.
Future
After being controllable via USB, the next step is to integrate it
http://electronics.ringwald.ch/img/USB-IKEA-DIODER-1.jpg
Modified DIODER PCB and new USB controller
http://electronics.ringwald.ch/img/USB-IKEA-DIODER-2.jpg
http://electronics.ringwald.ch/img/USB-IKEA-DIODER-1.jpg
Final box
Modified DIODER PCB and new USB controller
http://electronics.ringwald.ch/img/USB-IKEA-DIODER-2.jpg
Final box
The code for the ATmega is based on the hid-data example for V-USB. The main "challenge" was to figure out how the 3 PWM channels are controlled properly. See PWM_enable() and settingsUpdated() for this detail.
The firmware for the ATmega is based on the hid-data example for V-USB. The main "challenge" was to figure out how the 3 PWM channels are controlled properly. See PWM_enable() and settingsUpdated() for this detail.
We've got an IKEA DIODER from our favorite IKEA store - they did not offer to ship it. This flickr page describes the innards of the original controller. We removed the microcontroller in the upper left with a side-cutter to protect the PCB.
Then, on a breadboard, we've build up a basic ATmega8 circuit using the AVR, a 12 Mhz crystal and 2 capacitors.
The three control lines for the LEDs are connected to PB1-3 as the ATmega8 provides three independent PWM outputs on these pins. On our board, the place for voltage-regulator was not used, which allowed to power the ATmega8 from there with 5V.
For the USB connection, we followed the 3.7V Z-Diode approach.
http://electronics.ringwald.ch/img/USB-IKEA-DIODER-1.jpg
Modified DIODER PCB and new USB controller
http://electronics.ringwald.ch/img/USB-IKEA-DIODER-2.jpg
Final box
= USB IKEA DIODER RGB LED Controller =
== Overview == This page describes an AVR based USB controller for the nice IKEA DIODER LED strip. The original controller only allows to select one of seven colors and to cycle to all of them at full brightness. The new controller is controlled via USB and supports 8-bit resolution for each color. USB support is provieded by the ingenious [http://www.obdev.at/products/vusb/index.html Virtual USB-port for AVR microcontrolers project].
USB IKEA DIODER RGB LED Controller
Overview
This page describes an AVR based USB controller for the nice IKEA DIODER LED strip. The original controller only allows to select one of seven colors and to cycle to all of them at full brightness. The new controller is controlled via USB and supports 8-bit resolution for each color. USB support is provieded by the ingenious Virtual USB-port for AVR microcontrolers project.
== Hardware ==
== Software ==
Hardware
Software
: [http://electronics.ringwald.ch/files/USB-IKEA-DIODER-v1.0.zip ATmega8 firmware and command line tool]
ATmega8 firmware and command line tool
= USB IKEA DIODER RGB LED Controller =
== Overview == This page describes an AVR based USB controller for the nice IKEA DIODER LED strip. The original controller only allows to select one of seven colors and to cycle to all of them at full brightness. The new controller is controlled via USB and supports 8-bit resolution for each color. USB support is provieded by the ingenious [http://www.obdev.at/products/vusb/index.html Virtual USB-port for AVR microcontrolers project].
== Hardware ==
== Software == The code for the ATmega is based on the hid-data example for V-USB. The main "challenge" was to figure out how the 3 PWM channels are controlled properly. See PWM_enable() and settingsUpdated() for this detail.
: [http://electronics.ringwald.ch/files/USB-IKEA-DIODER-v1.0.zip ATmega8 firmware and command line tool]