{"id":10237,"date":"2015-04-23T20:31:12","date_gmt":"2015-04-24T00:31:12","guid":{"rendered":"http:\/\/embedded-lab.com\/blog\/?p=10237"},"modified":"2015-04-23T20:32:34","modified_gmt":"2015-04-24T00:32:34","slug":"hacking-another-ikea-lamp","status":"publish","type":"post","link":"https:\/\/embedded-lab.com\/blog\/hacking-another-ikea-lamp\/","title":{"rendered":"Hacking IKEA LAMPAN table lamp"},"content":{"rendered":"<p>Last month, we looked at a\u00a0<a href=\"http:\/\/embedded-lab.com\/blog\/?p=10154\" target=\"_blank\"><strong>IKEA Molgan Lamp hack<\/strong><\/a> and adding ESP8266 connectivity to it. Here is another <a href=\"http:\/\/www.jechavarria.com\/2015\/04\/22\/hacking-a-lampan-ikea-lamp\/\" target=\"_blank\"><strong>IKEA lamp enhancement project<\/strong><\/a>\u00a0by Jesus Echavarria from Spain, where he hacked IKEA LAMPAN to include features like manual RGB controller to set the light colour, a timeout to turn off the light after 30 minutes without changes and a bluetooth connection to control the lamp with a smartphone or tablet.<\/p>\n<div id=\"attachment_10238\" style=\"width: 595px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/embedded-lab.com\/blog\/?attachment_id=10238\" rel=\"attachment wp-att-10238\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-10238\" class=\"size-full wp-image-10238\" alt=\"ikea1\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2015\/04\/ikea1.jpg\" width=\"585\" height=\"328\" srcset=\"https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2015\/04\/ikea1.jpg 585w, https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2015\/04\/ikea1-550x308.jpg 550w\" sizes=\"auto, (max-width: 585px) 100vw, 585px\" \/><\/a><p id=\"caption-attachment-10238\" class=\"wp-caption-text\">Modified IKEA Lamp controller<\/p><\/div>\n<div id=\"attachment_10239\" style=\"width: 590px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/embedded-lab.com\/blog\/?attachment_id=10239\" rel=\"attachment wp-att-10239\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-10239\" class=\"size-full wp-image-10239\" alt=\"Adding Bluetooth RGB controller to IKEA L\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2015\/04\/ikea2.jpg\" width=\"580\" height=\"459\" srcset=\"https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2015\/04\/ikea2.jpg 580w, https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2015\/04\/ikea2-550x435.jpg 550w\" sizes=\"auto, (max-width: 580px) 100vw, 580px\" \/><\/a><p id=\"caption-attachment-10239\" class=\"wp-caption-text\">Adding Bluetooth RGB controller to IKEA LAMPAN<\/p><\/div>\n<blockquote><p>The system is based on a\u00a0<a href=\"http:\/\/ww1.microchip.com\/downloads\/en\/DeviceDoc\/39632e.pdf\" target=\"_blank\">PIC18F2550 microcontroller<\/a>, with a 12MHz external crystal. This allows run up to 48MHz internal code (using the internal PLL),\u00a0necessary to manage the RGB leds. The RGB led\u2019s I use are this\u00a0<a href=\"http:\/\/www.banggood.com\/10Pcs-DC-5V-3MM-x-10MM-WS2812B-SMD-LED-Board-Built-in-IC-WS2812-p-958213.html\" target=\"_blank\">ones<\/a>, that has built-in the WS2811 controller (are compatible with\u00a0<a href=\"https:\/\/www.adafruit.com\/products\/1655\" target=\"_blank\">Adafruit Neopixel<\/a>\u00a0ones). I use 8 leds for the lamp illumination. Note the 100uF capactitor (C3) near of the led connector, to prevents the initial onrush of current from damaging the pixels. Also, R2 resistor (330 ohm) is bwtween the microcontroller pin and the first led to prevent voltage spikes. Check\u00a0<a href=\"https:\/\/learn.adafruit.com\/adafruit-neopixel-uberguide\/power\" target=\"_blank\">Adafruit Neopixel Guide<\/a>\u00a0for more info.<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Last month, we looked at a\u00a0IKEA Molgan Lamp hack and adding ESP8266 connectivity to it. Here is another IKEA lamp enhancement project\u00a0by Jesus Echavarria from Spain, where he hacked IKEA LAMPAN to include features like manual RGB controller to set the light colour, a timeout to turn off the light after 30 minutes without changes and a bluetooth connection to control the lamp with a smartphone or tablet. The system is based on a\u00a0PIC18F2550 microcontroller, with a 12MHz external crystal. This allows run up to 48MHz internal code (using the internal PLL),\u00a0necessary to manage the RGB leds. The RGB led\u2019s<\/p>\n","protected":false},"author":1,"featured_media":10238,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1158],"tags":[1159,1160],"class_list":["post-10237","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-hack","tag-ikea-lamp-hack","tag-rgb-controller"],"_links":{"self":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts\/10237","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/comments?post=10237"}],"version-history":[{"count":4,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts\/10237\/revisions"}],"predecessor-version":[{"id":10243,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts\/10237\/revisions\/10243"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/media\/10238"}],"wp:attachment":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/media?parent=10237"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/categories?post=10237"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/tags?post=10237"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}