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

    Now that I see the datasheet I am not so sure anymore. It seems the sensor sends a message that is handled by the micro controller after it.

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

      That's a shame. Is it possible to reprogram the controller? I have a CP2102 somewhere.. would this interface with a chip like that?

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

        Than you would have to reprogram the entire chip, and that's quite some effort...

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

          I was hoping maybe it would be a case of connecting via serial and issuing a few commands to set config options. I guess it's not.. Well I can use the sensor in a non-critical area. Thanks for taking a look for me :)

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

            The config options would be overwritten every time by the controller itself, so there is little chance that would work. Or you have to intercept every message to the sensor from the microcontroller...
            You could try one last thing and that is finding out where the other legs of the potmeter go to

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

              Hi again,

              Ok understood. I have traced the other 2 legs.. One looks like a common between the 2 potentiometers, so input voltage? And the other appears to go to the MCU

              https://imgur.com/a/fjbcjA3

              1 Reply Last reply
              0
              • 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
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          19

                                          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