Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. My Project
  3. IKEA Varv lamp and MySensors

IKEA Varv lamp and MySensors

Scheduled Pinned Locked Moved My Project
4 Posts 3 Posters 2.8k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    doctor64
    wrote on last edited by
    #1

    Hello!
    Let me introduce simple project - MySensors control for IKEA Varv lamp. http://www.ikea.com/us/en/catalog/products/70280709/
    Used hardware:

    • Arduino Pro Mini 5v
    • nrf24L01+ module
    • solid state relay https://www.aliexpress.com/item/5v-1-Channel-OMRON-SSR-G3MB-202P-Solid-State-Relay-Module/32545508200.html
    • 5V to 3.3V converter based on LM1117 https://www.aliexpress.com/item/LM1117-AMS1117-4-5-7V-turn-3-3V-DC-DC-Step-down-Power-Supply-Module-For/32588261370.html
    • piece of prototype board, wires, etc

    Disassemble lamp: remove shade, disassemble bulb holder to get access to switch and wiring, remove cover from base (note four screws hidden under rubber pads)
    0_1504117110134_20170826_141344.jpg
    and get access to internals
    0_1504117769624_20170826_141515.jpg
    Remove mains wires from switch, connect it directly to lamp bulb holder, connect additional wires to switch to use it wits MySensors and route new wires throw pipe stand to bottom part
    0_1504117864798_20170826_195636.jpg
    Open cover of usb charger (be careful and do not damage the board)
    0_1504117979585_20170826_162900.jpg
    solder wires for powering arduino to usb ground and +5v

    Connection between nrf24L01+ and arduino pretty standard, i use piece of prototyping board to hold radio module and voltage converter together. This sub-assembly and arduino pro mini fits perfectly into base of lamp, just cut a little for wires pass freely.
    0_1504118652007_20170827_001716-1.jpg
    Relay module little modified to fit into lamp base - relay de-soldered, pins bend to 90 degree and relay soldered from other side of board, terminals for control signals replaced with pin connectors.
    0_1504118812401_20170827_001734.jpg
    Relay connected to arduino pin 3, switch to pin 4 .
    Because this project should have a wife compatibility mode :) switch was used not as on/off switch, but as a trigger, lamp switch state on switch change, not on switch position.

    Comments and suggestion is welkomed, and sorry for my not-so-good English.

    Successfully used over a week in my home, using OpenHab2 and ethernet gateway.
    Code, if somebody interest, here
    0_1504119175102_IkeaLamp.ino

    mfalkviddM 1 Reply Last reply
    4
    • D doctor64

      Hello!
      Let me introduce simple project - MySensors control for IKEA Varv lamp. http://www.ikea.com/us/en/catalog/products/70280709/
      Used hardware:

      • Arduino Pro Mini 5v
      • nrf24L01+ module
      • solid state relay https://www.aliexpress.com/item/5v-1-Channel-OMRON-SSR-G3MB-202P-Solid-State-Relay-Module/32545508200.html
      • 5V to 3.3V converter based on LM1117 https://www.aliexpress.com/item/LM1117-AMS1117-4-5-7V-turn-3-3V-DC-DC-Step-down-Power-Supply-Module-For/32588261370.html
      • piece of prototype board, wires, etc

      Disassemble lamp: remove shade, disassemble bulb holder to get access to switch and wiring, remove cover from base (note four screws hidden under rubber pads)
      0_1504117110134_20170826_141344.jpg
      and get access to internals
      0_1504117769624_20170826_141515.jpg
      Remove mains wires from switch, connect it directly to lamp bulb holder, connect additional wires to switch to use it wits MySensors and route new wires throw pipe stand to bottom part
      0_1504117864798_20170826_195636.jpg
      Open cover of usb charger (be careful and do not damage the board)
      0_1504117979585_20170826_162900.jpg
      solder wires for powering arduino to usb ground and +5v

      Connection between nrf24L01+ and arduino pretty standard, i use piece of prototyping board to hold radio module and voltage converter together. This sub-assembly and arduino pro mini fits perfectly into base of lamp, just cut a little for wires pass freely.
      0_1504118652007_20170827_001716-1.jpg
      Relay module little modified to fit into lamp base - relay de-soldered, pins bend to 90 degree and relay soldered from other side of board, terminals for control signals replaced with pin connectors.
      0_1504118812401_20170827_001734.jpg
      Relay connected to arduino pin 3, switch to pin 4 .
      Because this project should have a wife compatibility mode :) switch was used not as on/off switch, but as a trigger, lamp switch state on switch change, not on switch position.

      Comments and suggestion is welkomed, and sorry for my not-so-good English.

      Successfully used over a week in my home, using OpenHab2 and ethernet gateway.
      Code, if somebody interest, here
      0_1504119175102_IkeaLamp.ino

      mfalkviddM Offline
      mfalkviddM Offline
      mfalkvidd
      Mod
      wrote on last edited by
      #2

      @doctor64 very nice project, and great instructional photos. Thanks for sharing!

      1 Reply Last reply
      0
      • D Offline
        D Offline
        doctor64
        wrote on last edited by
        #3

        Hmm, for some reason link to code does not working, so, if anybody interested, here on github:
        link text

        1 Reply Last reply
        0
        • D Offline
          D Offline
          dakipro
          wrote on last edited by
          #4

          Nice solution.
          Also that is a very compact (tested and safe) 220V ac -> 19V DC converter inside... hm...

          C: OpenHAB2 with node-red on linux laptop
          GW: Arduino Nano - W5100 Ethernet, Nrf24l01+ 2,4Ghz mqtt
          GW: Arduino Mega, RFLink 433Mhz

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          30

          Online

          11.7k

          Users

          11.2k

          Topics

          113.1k

          Posts


          Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • MySensors
          • OpenHardware.io
          • Categories
          • Recent
          • Tags
          • Popular