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
D

doctor64

@doctor64
About
Posts
27
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • IKEA Varv lamp and MySensors
    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

    My Project
  • Login

  • Don't have an account? Register

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