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. Hardware
  3. Modifying IKEA Tradfri Sensor (E1525) timeout help wanted

Modifying IKEA Tradfri Sensor (E1525) timeout help wanted

Scheduled Pinned Locked Moved Hardware
29 Posts 3 Posters 233 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.
  • electrikE Offline
    electrikE Offline
    electrik
    wrote on last edited by
    #19

    So is the third leg of the potentiometer still connected to the MCU input on? And what do you measure there? The voltage should change of you change the position

    1 Reply Last reply
    0
    • B Offline
      B Offline
      bob21
      wrote on last edited by
      #20

      Voltages:

      All 3 potmeter legs to MCU (blue): 2.9V - Does not change when potmeter moved
      All 3 potmeter legs to MCU (red): ~0.2mV-0.3mV - Does not change when potmeter moved

      Resistance:

      Top green on potmeter to MCU (red): 67K (turning dial does not change)
      Bottom green dot on potmeter to MCU (red): 67K at max time, 110K at minimum time
      Unmarked leg to MCU (red): 110K and does not change when potmeter moved

      1 Reply Last reply
      0
      • electrikE Offline
        electrikE Offline
        electrik
        wrote on last edited by electrik
        #21

        It's confusing me.
        The potmeter has three legs. One is positive supply (VDD probably), one is ground and the other one should change voltage of you move the dial. You should measure between ground and the point you want to measure.

        Edit
        Now you should find out where this third leg is going to

        1 Reply Last reply
        0
        • B Offline
          B Offline
          bob21
          wrote on last edited by
          #22

          Yeah sorry about that. My inexperience is probably exacerbating things :grimacing: thank you for putting up with me ;)

          I am looking at the potmeter, and I think I can fairly say the legs are like this: https://imgur.com/a/1bTBnUo

          So with one probe on the variable leg, where to I test with the other probe?

          It looks like the variable leg first goes to TP5_1, then to TP5_2, then to the MCU, but it is not clear which pin: https://imgur.com/a/hbgOOBU

          1 Reply Last reply
          0
          • electrikE Offline
            electrikE Offline
            electrik
            wrote on last edited by
            #23

            @bob21 said in Modifying IKEA Tradfri Sensor (E1525) timeout help wanted:

            So with one probe on the variable leg, where to I test with the other probe?

            Always to ground

            @bob21 said in Modifying IKEA Tradfri Sensor (E1525) timeout help wanted:

            It looks like the variable leg first goes to TP5_1, then to TP5_2, then to the MCU, but it is not clear which pin: https://imgur.com/a/hbgOOBU

            With the continuity function of your multimeter (when it beeps if you short the probes) you can trace where it goes to.

            1 Reply Last reply
            0
            • B Offline
              B Offline
              bob21
              wrote on last edited by
              #24

              My meter doesn't beep, but I get a reading of 0.1 between TP5_2 and the second pin from the right, this seems to be the lowest reading by far: https://imgur.com/a/RLFyOBP is this a sign that it is connected here?

              But, when I set the potmeter to minimum the Voltage = 2.95, and this doesn't change... the potmeter set to max is still 2.95V... :disappointed:

              1 Reply Last reply
              0
              • electrikE Offline
                electrikE Offline
                electrik
                wrote on last edited by electrik
                #25

                So, do you measure a voltage change on any of the pins of the potmeter when you change it?
                And what is the type of the MCU?

                1 Reply Last reply
                0
                • B Offline
                  B Offline
                  bob21
                  wrote on last edited by bob21
                  #26

                  According to the pics I found, the MCU is a Silicon Labs Mighty Gecko EFR32MG1P132GI.

                  With 1 probe to ground I tested:

                  Pos leg with dial at 1 minute (min): 2.97V
                  Pos leg with dial at 15 mins (max): 2.97V
                  Neg leg with dial at 1 minute (min): 2.96V
                  Neg leg with dial at 15 mins (max): 2.95V
                  Variable leg with dial at 1 minute (min): 2.96V
                  Variable leg with dial at 15 mins (max): 2.97V

                  Seems like a very small change.. is this enough of a change to be useful?

                  1 Reply Last reply
                  0
                  • electrikE Offline
                    electrikE Offline
                    electrik
                    wrote on last edited by
                    #27

                    I'm out of ideas, I'm giving up.
                    You could try to tie the variable pin to ground but it could damage your sensor

                    1 Reply Last reply
                    0
                    • B Offline
                      B Offline
                      bob21
                      wrote on last edited by
                      #28

                      Ok, no worries. I'd like to thank you for spending your time on this :)

                      1 Reply Last reply
                      1
                      • P Offline
                        P Offline
                        peter_s
                        wrote on last edited by
                        #29

                        Hello everyone!

                        Based on the quite useful reverse engineered schematic at https://hackaday.io/project/174308-tradfri-pir-motion-sensor-hacking the measurements were somewhat sabotaged by the 2N7002 (see Connors comment "enables voltage dividers only when triggered").
                        the transistor is controlled by the Elmos E931.96 PIR motion controller IC.
                        The latter is programmable by the IKEA TRÅDFRI ICC-1 module's EFR32MG1P132F256GM32 MCU.
                        E.g.

                        2. Blind Time 
                        Ignores motion after the interrupt output is switched back to 0 
                        Range: 0.5s... 8s. 
                        The blind time is [Register Value] *0.5s 
                         
                        3. Programmable pulse counter 
                        1... 4 pulses with sign change in between 
                        Amount of pulses = [Register Value] + 1 
                         
                        4. Window time 
                        For noisy environments 
                        2s... 8s window 
                        Window time = [Register Value] * 2s + 2s
                        

                        https://github.com/basilfx/TRADFRI-Hacking gives a good overview on that.

                        What is the issue with tose 60s?

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


                        13

                        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