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
    #10

    Yes, that is what I expected. The voltage level is read by the MCU and used to set options in the sensor. I don't think you can change anything with it. You could try to connect the pin that goes to the MCU, to ground. But no success guaranteed...

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

      I can try - is there a possibility that I could fry it doing that?

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

        if you don't connect VDD to GND, you won't. So you should measure that first.

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

          Gotcha. So we know that pin 4 on the E93196 is VDD, so if I get continuity from pin 4 on the E93196 to either the potentiometer leg or the MCU pin that I am going to be connecting it to, then it's a no go?

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

            Ok, this could be a no go.

            Looks like I can get some continuity between these points: https://imgur.com/a/PKPOJdk

            So that would be connecting connecting VDD to ground?

            But, with a DMM set to 200k, I get a resistance reading of 66.7 between these points: https://imgur.com/a/4K0NPbP because of R12....

            Could this be the resistance that is putting that to 60 seconds? Could I connect those 2 green points? Or remove that Resistor and bridge with solder?

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

              Can you measure the voltage on the pin of the MCU that is connected to the potmeter when it is in the lowest position?

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

                Sure, just to confirm though (because I've not measured anything like this before), I put one probe on the MCU pin and the other to ground? Ie. Battery negative? Sorry if this seems like a really dumb question :D

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

                  Yes like that. And make sure the meter is on voltage reading, and the plugs are also in the voltage measuring connections. So not in the current measuring ones

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

                    I think I may have screwed up one of the earlier measurements. I am using a better meter now, and I got this: https://imgur.com/a/AQk22sR

                    The Blue pin, which I originally said was connected to the VDD pin appears to actually be connected to the ground shield over the chip - I got a reading of zero. The Red pin, I got a reading of 3V (there abouts) and this is the one connected to the VDD pin on the E93196. Turning the potentiometer did not change the voltage on this.

                    I remeasured the resistance from the ground leg of the potmeter to top green dot is 77K, bottom green dot is zero when at 1 minute, both are at 77K when at 15 minutes

                    1 Reply Last reply
                    0
                    • 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


                                          17

                                          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