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. Current Sensing?

Current Sensing?

Scheduled Pinned Locked Moved Hardware
111 Posts 12 Posters 30.7k Views 10 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.
  • scalzS Offline
    scalzS Offline
    scalz
    Hardware Contributor
    wrote on last edited by
    #47

    too hard to resist, so first draft freshly printed
    0_1489017590275_20170309_005521.jpg

    S gohanG 2 Replies Last reply
    0
    • scalzS scalz

      too hard to resist, so first draft freshly printed
      0_1489017590275_20170309_005521.jpg

      S Offline
      S Offline
      Samuel235
      Hardware Contributor
      wrote on last edited by
      #48

      @scalz - I hate being a student and having no time. Beat me to it! Do you have the circuitry sorted?

      What 3D modelling software do you use? Fusion, solidworks?

      Also, what size have you made that, what size PCB would it accept?

      MySensors 2.1.1
      Controller - OpenHAB (Virtual Machine)
      Gateway - Arduino Mega MQTT Gateway W5100

      1 Reply Last reply
      0
      • scalzS scalz

        too hard to resist, so first draft freshly printed
        0_1489017590275_20170309_005521.jpg

        gohanG Offline
        gohanG Offline
        gohan
        Mod
        wrote on last edited by
        #49

        @scalz
        It may be a good idea to make an housing for the phototransistor that is basically an led, so you can have pcb externally in the same box with the Arduino.

        S 1 Reply Last reply
        0
        • gohanG gohan

          @scalz
          It may be a good idea to make an housing for the phototransistor that is basically an led, so you can have pcb externally in the same box with the Arduino.

          S Offline
          S Offline
          Samuel235
          Hardware Contributor
          wrote on last edited by
          #50

          @gohan - While it would be possible, its not allowing much surface to attach to the meter. My soloution will be out by tonight i hope. I'm proposing we attach this module to the meter and connect into another board that is attached to the side of the meter that is the heart of the module (a atmega328 board). The designs and schematic anyway, we can then ponder over what my designs call and we can improve before production and release to openhardware.io

          MySensors 2.1.1
          Controller - OpenHAB (Virtual Machine)
          Gateway - Arduino Mega MQTT Gateway W5100

          gohanG 1 Reply Last reply
          0
          • S Offline
            S Offline
            Samuel235
            Hardware Contributor
            wrote on last edited by
            #51

            From my initial bit of research, the product that we were talking about from OpenEnergyMonitor doesn't seem to be optimized for detecting a blinking LED. It works, but is not optimized for best result. If the pulse started becoming relatively quick for any reason then this would start to saturate and the LDR will not return to its normal status quick enough. I'm designing using a compactor and photodiode to get around this issue. Schematics are nearly done and will attempt to get this PCB small as possible for either my own 3d printable model to stick onto the meter or @scalz.

            Could you possibly share that model at all @scalz? Obviously, depending on what engine you have used to create this that is :)

            MySensors 2.1.1
            Controller - OpenHAB (Virtual Machine)
            Gateway - Arduino Mega MQTT Gateway W5100

            1 Reply Last reply
            0
            • sundberg84S Offline
              sundberg84S Offline
              sundberg84
              Hardware Contributor
              wrote on last edited by sundberg84
              #52

              I dont know it its worth anything, but here is my solution for a energymonitor (pulse counter)

              https://www.byggahus.se/forum/attachment.php?attachmentid=156953&d=1445108667
              https://www.byggahus.se/forum/attachment.php?attachmentid=156955&d=1445109103
              https://www.byggahus.se/forum/attachment.php?attachmentid=208900&d=1486415706

              And to asnwer your question above, I use this for my hole house, and are going to build a portable current sensing monitor which i can move around and measure different outlets.

              Controller: Proxmox VM - Home Assistant
              MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
              MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
              RFLink GW - Arduino Mega + RFLink Shield, 433mhz

              S 1 Reply Last reply
              0
              • sundberg84S sundberg84

                I dont know it its worth anything, but here is my solution for a energymonitor (pulse counter)

                https://www.byggahus.se/forum/attachment.php?attachmentid=156953&d=1445108667
                https://www.byggahus.se/forum/attachment.php?attachmentid=156955&d=1445109103
                https://www.byggahus.se/forum/attachment.php?attachmentid=208900&d=1486415706

                And to asnwer your question above, I use this for my hole house, and are going to build a portable current sensing monitor which i can move around and measure different outlets.

                S Offline
                S Offline
                Samuel235
                Hardware Contributor
                wrote on last edited by
                #53

                @sundberg84 - An interested little throw together!

                I really like the idea of that portable current sensor to move around. Please do publish those designs, that is something that could be of use to some!

                MySensors 2.1.1
                Controller - OpenHAB (Virtual Machine)
                Gateway - Arduino Mega MQTT Gateway W5100

                1 Reply Last reply
                0
                • S Samuel235

                  @gohan - While it would be possible, its not allowing much surface to attach to the meter. My soloution will be out by tonight i hope. I'm proposing we attach this module to the meter and connect into another board that is attached to the side of the meter that is the heart of the module (a atmega328 board). The designs and schematic anyway, we can then ponder over what my designs call and we can improve before production and release to openhardware.io

                  gohanG Offline
                  gohanG Offline
                  gohan
                  Mod
                  wrote on last edited by
                  #54

                  @Samuel235
                  Of course it would need a bigger surface than an led diameter, but could be smaller in volume.

                  S 1 Reply Last reply
                  1
                  • gohanG gohan

                    @Samuel235
                    Of course it would need a bigger surface than an led diameter, but could be smaller in volume.

                    S Offline
                    S Offline
                    Samuel235
                    Hardware Contributor
                    wrote on last edited by Samuel235
                    #55

                    @gohan The trouble is though, as i mentioned just in the post regarding the product from OpenEnergyMonitor, a photo transistor is not the best/optimal way to go about this. As the LM393 module is built, it is the correct method. Using a photodiode and a comparator. No one seems to be doing that, and this is exactly what i'm doing right now. I'm pretty confident we can get this to a size that would satisfy your suggestions, we shall see.

                    Edit: Typo.

                    MySensors 2.1.1
                    Controller - OpenHAB (Virtual Machine)
                    Gateway - Arduino Mega MQTT Gateway W5100

                    gohanG 1 Reply Last reply
                    0
                    • scalzS Offline
                      scalzS Offline
                      scalz
                      Hardware Contributor
                      wrote on last edited by scalz
                      #56

                      Beep beep lol
                      I'm joking. That was really quick to do. The box is same size 22mm. I'm not sure to see the point of making it smaller as it needs holding points.
                      I've used solidworks.
                      Yep I've done the pcb too. Ultra low power, a few parts. But I need to test the circuit (maybe at lunch) as I'm not planning to use comp nor amp. Again I did it because it was quick and because I can :)

                      S 1 Reply Last reply
                      0
                      • scalzS scalz

                        Beep beep lol
                        I'm joking. That was really quick to do. The box is same size 22mm. I'm not sure to see the point of making it smaller as it needs holding points.
                        I've used solidworks.
                        Yep I've done the pcb too. Ultra low power, a few parts. But I need to test the circuit (maybe at lunch) as I'm not planning to use comp nor amp. Again I did it because it was quick and because I can :)

                        S Offline
                        S Offline
                        Samuel235
                        Hardware Contributor
                        wrote on last edited by Samuel235
                        #57

                        @scalz - I might as well just leave it to you >.<

                        Nice, solidworks is what i'm using at the moment too. Fancy sharing the files or is it just a quick rough idea that you're not sticking with?

                        Would be nice to compare the two designs together for the circuit. I might see about getting a board produced at my Uni on the routing machine. Lets both make our versions and would be nice to compare them side by side. (I'm thinking about sending you one of mine once its produced, and you're welcome to scrutinise it to help me improve)

                        Out of interest, i'm looking at either 3.5mm audio jack or RJ45 (RJ45 looks to be a slightly cheaper route) to connect back to the 'arduino' box. What are you thinking of doing for connectivity?

                        MySensors 2.1.1
                        Controller - OpenHAB (Virtual Machine)
                        Gateway - Arduino Mega MQTT Gateway W5100

                        1 Reply Last reply
                        1
                        • scalzS Offline
                          scalzS Offline
                          scalz
                          Hardware Contributor
                          wrote on last edited by scalz
                          #58

                          It took me less an hour for the box+pcb..i wouldn't have invest more time as i've lot of others stuff to do.
                          For the connector, I let the user choosing as I'm not really planning to design a dedicated pcb for the mcu side. Because there are already lot of boards and it just need one signal. Or I have multiple custom dev board with usb connection too etc. I was mainly interested in doing a low power sensor with a good digital level. Now I need to check my little idea..

                          S 1 Reply Last reply
                          1
                          • scalzS scalz

                            It took me less an hour for the box+pcb..i wouldn't have invest more time as i've lot of others stuff to do.
                            For the connector, I let the user choosing as I'm not really planning to design a dedicated pcb for the mcu side. Because there are already lot of boards and it just need one signal. Or I have multiple custom dev board with usb connection too etc. I was mainly interested in doing a low power sensor with a good digital level. Now I need to check my little idea..

                            S Offline
                            S Offline
                            Samuel235
                            Hardware Contributor
                            wrote on last edited by
                            #59

                            @scalz - Perfect, okay. Well i will sort something out with the MCU side in mine then. I might go down the route of custom board, but then again, it may be easier for the user to just use a arduino maybe, just that the connection of the sensor would be a little 'temp' if i don't do a custom board maybe. Not sure yet. Will get the sensor product sorted first.

                            MySensors 2.1.1
                            Controller - OpenHAB (Virtual Machine)
                            Gateway - Arduino Mega MQTT Gateway W5100

                            1 Reply Last reply
                            0
                            • S Samuel235

                              @gohan The trouble is though, as i mentioned just in the post regarding the product from OpenEnergyMonitor, a photo transistor is not the best/optimal way to go about this. As the LM393 module is built, it is the correct method. Using a photodiode and a comparator. No one seems to be doing that, and this is exactly what i'm doing right now. I'm pretty confident we can get this to a size that would satisfy your suggestions, we shall see.

                              Edit: Typo.

                              gohanG Offline
                              gohanG Offline
                              gohan
                              Mod
                              wrote on last edited by gohan
                              #60

                              @Samuel235
                              Sorry, I meant photodiode, I messed up the name. I am planning to use the module as shown in photos posted by sundberg

                              1 Reply Last reply
                              0
                              • scalzS Offline
                                scalzS Offline
                                scalz
                                Hardware Contributor
                                wrote on last edited by scalz
                                #61

                                assembled my sensor this noon.
                                It looks like this from the top view, with the indication led (optional if battery powered device). The sensor is of course on bottom.

                                0_1489071698219_20170309_135129.jpg

                                So i just ran a few tests and was able to detect up to 40hz. Then missed pulses started. but i've not tweaked it yet.
                                My test config was a signal generator connected to an external led, put it in front of my sensor. And checked the result with a scope.
                                I think 40Hz should be enough lol, and was very suprised i was able to go as high with my circuit, that's cool.

                                I'll upload my files at openhardware

                                Enjoy MySensors Pulse :)

                                S 1 Reply Last reply
                                3
                                • scalzS scalz

                                  assembled my sensor this noon.
                                  It looks like this from the top view, with the indication led (optional if battery powered device). The sensor is of course on bottom.

                                  0_1489071698219_20170309_135129.jpg

                                  So i just ran a few tests and was able to detect up to 40hz. Then missed pulses started. but i've not tweaked it yet.
                                  My test config was a signal generator connected to an external led, put it in front of my sensor. And checked the result with a scope.
                                  I think 40Hz should be enough lol, and was very suprised i was able to go as high with my circuit, that's cool.

                                  I'll upload my files at openhardware

                                  Enjoy MySensors Pulse :)

                                  S Offline
                                  S Offline
                                  Samuel235
                                  Hardware Contributor
                                  wrote on last edited by
                                  #62

                                  @scalz Do we get to see the PCB? or is the circuit that basic there isn't one?

                                  MySensors 2.1.1
                                  Controller - OpenHAB (Virtual Machine)
                                  Gateway - Arduino Mega MQTT Gateway W5100

                                  gohanG 1 Reply Last reply
                                  0
                                  • S Samuel235

                                    @scalz Do we get to see the PCB? or is the circuit that basic there isn't one?

                                    gohanG Offline
                                    gohanG Offline
                                    gohan
                                    Mod
                                    wrote on last edited by
                                    #63

                                    @Samuel235
                                    My bet is there isn't one :D

                                    S scalzS 2 Replies Last reply
                                    0
                                    • gohanG gohan

                                      @Samuel235
                                      My bet is there isn't one :D

                                      S Offline
                                      S Offline
                                      Samuel235
                                      Hardware Contributor
                                      wrote on last edited by
                                      #64

                                      @gohan - I'd be pretty shocked if there was when it was made this quick. Either way, its very nice and a quick turn around.

                                      MySensors 2.1.1
                                      Controller - OpenHAB (Virtual Machine)
                                      Gateway - Arduino Mega MQTT Gateway W5100

                                      YveauxY 1 Reply Last reply
                                      0
                                      • S Samuel235

                                        @gohan - I'd be pretty shocked if there was when it was made this quick. Either way, its very nice and a quick turn around.

                                        YveauxY Offline
                                        YveauxY Offline
                                        Yveaux
                                        Mod
                                        wrote on last edited by
                                        #65

                                        @Samuel235 do not underestimate the @scalz man!

                                        http://yveaux.blogspot.nl

                                        S 1 Reply Last reply
                                        1
                                        • YveauxY Yveaux

                                          @Samuel235 do not underestimate the @scalz man!

                                          S Offline
                                          S Offline
                                          Samuel235
                                          Hardware Contributor
                                          wrote on last edited by
                                          #66

                                          @Yveaux - Oh, i know what this guy is capable of, at no point do i underestimate him. I'm actually very jealous ;)

                                          MySensors 2.1.1
                                          Controller - OpenHAB (Virtual Machine)
                                          Gateway - Arduino Mega MQTT Gateway W5100

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