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. My Project
  3. Double Micro (nano) Ampere meter

Double Micro (nano) Ampere meter

Scheduled Pinned Locked Moved My Project
54 Posts 9 Posters 15.4k Views 11 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.
  • gohanG Offline
    gohanG Offline
    gohan
    Mod
    wrote on last edited by
    #33

    @AWI do you think that logging reading to SD card could be a useful addition? (in case you want to monitor something for a longer time)

    NeverDieN 1 Reply Last reply
    0
    • gohanG gohan

      @AWI do you think that logging reading to SD card could be a useful addition? (in case you want to monitor something for a longer time)

      NeverDieN Offline
      NeverDieN Offline
      NeverDie
      Hero Member
      wrote on last edited by NeverDie
      #34

      @gohan said in Double Micro (nano) Ampere meter:

      @AWI do you think that logging reading to SD card could be a useful addition? (in case you want to monitor something for a longer time)

      Yeah, but then you'd probably also want an RTC to go with it. There are already shields for both of those, though, so it's probably better to keep the project simple. Since I'm interested in solar charging current, I'll probably monitor wirelessly and do my logging that way. It's more fun to see stuff graphed in real time. :)

      1 Reply Last reply
      0
      • NeverDieN Offline
        NeverDieN Offline
        NeverDie
        Hero Member
        wrote on last edited by NeverDie
        #35

        The refresh rate is really slow: a lot slower than 100ms described in
        https://www.openhardware.io/view/380/Micro-nano-ampere-meter-double
        where in the introduction it says, "~100ms update rate to be able to 'see' power fluctuations (like radio communication)". What do I need to change to get that?

        It matters less, but response to button pushes is also very slow. Has anyone devised a fix for that?

        Rather than re-invent the wheel, I thought I'd ask first.

        I did try increasing the sample rate by solder bridging the "RATE" solder pads on the back:
        alt text
        I'm not sure, but that may have helped speed things up a bit. It's still very slow updating though: nearly 7 seconds between screen updates.

        Anyhow, current consumption during normal operation is something < 1.5mA, according to the datasheet. So, for my purposes (admittedly a bit different than the OP's), I need to get it powered up, take a reading, and then power down again as quickly as possible. The datasheet says the powerdown drain for the HX711 is <1ua.

        AWIA 1 Reply Last reply
        0
        • Nca78N Offline
          Nca78N Offline
          Nca78
          Hardware Contributor
          wrote on last edited by
          #36

          I have the same problem, I don't have a jumper on my HX711 board so I soldered directly the pin of the IC with a small wire.
          It has clearly improved things, but it's still slow so I will try to reduce number of samples and if it's not enough switch to TTP223 touch buttons in toggle mode, one to reset, one to change screen, so I will never miss a press.

          NeverDieN 1 Reply Last reply
          1
          • NeverDieN NeverDie

            The refresh rate is really slow: a lot slower than 100ms described in
            https://www.openhardware.io/view/380/Micro-nano-ampere-meter-double
            where in the introduction it says, "~100ms update rate to be able to 'see' power fluctuations (like radio communication)". What do I need to change to get that?

            It matters less, but response to button pushes is also very slow. Has anyone devised a fix for that?

            Rather than re-invent the wheel, I thought I'd ask first.

            I did try increasing the sample rate by solder bridging the "RATE" solder pads on the back:
            alt text
            I'm not sure, but that may have helped speed things up a bit. It's still very slow updating though: nearly 7 seconds between screen updates.

            Anyhow, current consumption during normal operation is something < 1.5mA, according to the datasheet. So, for my purposes (admittedly a bit different than the OP's), I need to get it powered up, take a reading, and then power down again as quickly as possible. The datasheet says the powerdown drain for the HX711 is <1ua.

            AWIA Offline
            AWIA Offline
            AWI
            Hero Member
            wrote on last edited by
            #37

            @NeverDie @Nca78 a lot going on here :grinning: Nice to see that my afternoon project sparked creativity.
            I started this to be a datalogger for remote monitoring of MySensors node power consumption. During the run changed my mind and it turned out to be this which fits my needs. But all options are still open..
            The converter has a max sample rate of 80Hz which was default on the board I used. I balanced accuracy and readability by applying sample averaging. This averages out much of the noise from USB source etc.
            The sparkfun boards are probably designed a little different and don't have the shield which helps to keep out noise.
            To increase speed you can change the amount of averaging (number of readings per sample)
            To get a better response for the button the way is to go for non blocking (averaging) readings of the Adc. The library is very basic so that would be the best place to start.

            1 Reply Last reply
            0
            • NeverDieN Offline
              NeverDieN Offline
              NeverDie
              Hero Member
              wrote on last edited by NeverDie
              #38

              Seems like adding a larger cap on the ADC input would be an alternate way to average the readings, and require fewer ADC cycles. I'll give that a try.

              I have the HX711 with the metal can on order, but only China had it, so it will take a while to get here. If anyone gets desperate, I suppose they could make their own metal enclosure and connect it to the "yellow" pin, which is there for that purpose. Unfortunately, noise will still leak in over the wiring, so I don't have high hopes it will make much difference.

              1 Reply Last reply
              0
              • gohanG Offline
                gohanG Offline
                gohan
                Mod
                wrote on last edited by
                #39

                I got mine hx711 with shield, I only need to buy a 2-3 hours extension for the daily 24 hours as it seems they are not enough lately 😌

                1 Reply Last reply
                1
                • NeverDieN Offline
                  NeverDieN Offline
                  NeverDie
                  Hero Member
                  wrote on last edited by
                  #40

                  I've concluded that the ADS1220 is, for now, a better fit for my needs. If I have it sample at 20SPS and throw out the first sample, then all subsequent samples are within less than 1ua of the final number. That's from a sloppy dupont wiring on a breadboard, so more proper and shorter connections on a PCB might be even better. Regardless, for my immediate purposes, repeat-ability at <1ua is good enough. The current consumption is less, and I get my answer much faster than with the HX711.

                  Just to be clear, I'm not here to rain on the HX711's parade. I'm mentioning the above only in case anyone else has needs similar to mine. I may revisit the HX711 later, after I receive the metal can version from China. Meanwhile, I look forward to following whatever progress people make with it.

                  1 Reply Last reply
                  1
                  • NeverDieN Offline
                    NeverDieN Offline
                    NeverDie
                    Hero Member
                    wrote on last edited by
                    #41

                    I received the red HX711 board with the metal can. What does the J1 solder jumper on the back do?
                    0_1497564378048_hx711_bacik.jpg
                    Also, any mods I should make before attaching the metal lid (to, for example, speed up the sample rate?)
                    0_1497564428726_hx711_front.jpg

                    NeverDieN 1 Reply Last reply
                    0
                    • NeverDieN Offline
                      NeverDieN Offline
                      NeverDie
                      Hero Member
                      wrote on last edited by
                      #42

                      I threw together this wireless node for measuring and reporting sub-milliamp currents using an ADS1220. I hope to do the same now with the HX711. Since it's auxillary to the circuit being tested, the extra measurement time of the HX711 won't matter so much.
                      0_1497564913054_sub1ma.jpg

                      1 Reply Last reply
                      0
                      • NeverDieN NeverDie

                        I received the red HX711 board with the metal can. What does the J1 solder jumper on the back do?
                        0_1497564378048_hx711_bacik.jpg
                        Also, any mods I should make before attaching the metal lid (to, for example, speed up the sample rate?)
                        0_1497564428726_hx711_front.jpg

                        NeverDieN Offline
                        NeverDieN Offline
                        NeverDie
                        Hero Member
                        wrote on last edited by NeverDie
                        #43

                        The reference PCB in the HX711 datasheet (https://cdn.sparkfun.com/datasheets/Sensors/ForceFlex/hx711_english.pdf) does not show a J1. Whatever it is, AWI did not solder bridge his J1, at least not in the photographed version he posted.

                        1 Reply Last reply
                        0
                        • korttomaK Offline
                          korttomaK Offline
                          korttoma
                          Hero Member
                          wrote on last edited by
                          #44

                          Hi guyes!

                          Finished my device yesterday but to my surprise the display is blank all the time when running the "Double Micro Ampere meter" sketch. I tested the display with the "Hello World!" example from the Lib and it seems to work. What might I be doing wrong?
                          0_1497588160666_20170616_073644.jpg

                          • Tomas
                          NeverDieN 1 Reply Last reply
                          1
                          • korttomaK Offline
                            korttomaK Offline
                            korttoma
                            Hero Member
                            wrote on last edited by
                            #45

                            Seems like it cannot communicate with the HX711 so it gets stuck at "scale.begin"
                            Need to look in to that. I'm using A3 and A6 for the dout and sck this should work right? Or do I have to use A0 and A1?

                            • Tomas
                            1 Reply Last reply
                            0
                            • korttomaK Offline
                              korttomaK Offline
                              korttoma
                              Hero Member
                              wrote on last edited by
                              #46

                              Seems I can't use A6 since A6 and A7 are "Analog Exclusively Pins". Darn, need to disassemble and correct...

                              • Tomas
                              1 Reply Last reply
                              1
                              • Nca78N Offline
                                Nca78N Offline
                                Nca78
                                Hardware Contributor
                                wrote on last edited by
                                #47

                                Looking great !

                                @NeverDie check the pinout of the IC on the datasheet and check if the jumper is connected to RATE pin on one side.

                                korttomaK NeverDieN 2 Replies Last reply
                                1
                                • Nca78N Nca78

                                  Looking great !

                                  @NeverDie check the pinout of the IC on the datasheet and check if the jumper is connected to RATE pin on one side.

                                  korttomaK Offline
                                  korttomaK Offline
                                  korttoma
                                  Hero Member
                                  wrote on last edited by
                                  #48

                                  @Nca78 Seems to be working now :D I should not have deviated from the instructions :blush:

                                  • Tomas
                                  1 Reply Last reply
                                  1
                                  • korttomaK korttoma

                                    Hi guyes!

                                    Finished my device yesterday but to my surprise the display is blank all the time when running the "Double Micro Ampere meter" sketch. I tested the display with the "Hello World!" example from the Lib and it seems to work. What might I be doing wrong?
                                    0_1497588160666_20170616_073644.jpg

                                    NeverDieN Offline
                                    NeverDieN Offline
                                    NeverDie
                                    Hero Member
                                    wrote on last edited by NeverDie
                                    #49

                                    @korttoma

                                    The banana plugs (is that what they are?) look very smart.

                                    1 Reply Last reply
                                    0
                                    • Nca78N Nca78

                                      Looking great !

                                      @NeverDie check the pinout of the IC on the datasheet and check if the jumper is connected to RATE pin on one side.

                                      NeverDieN Offline
                                      NeverDieN Offline
                                      NeverDie
                                      Hero Member
                                      wrote on last edited by NeverDie
                                      #50

                                      @Nca78 said in Double Micro (nano) Ampere meter:

                                      @NeverDie check the pinout of the IC on the datasheet and check if the jumper is connected to RATE pin on one side.

                                      Yup, it is. Thanks! Another mystery solved.

                                      Nca78N 1 Reply Last reply
                                      0
                                      • NeverDieN NeverDie

                                        @Nca78 said in Double Micro (nano) Ampere meter:

                                        @NeverDie check the pinout of the IC on the datasheet and check if the jumper is connected to RATE pin on one side.

                                        Yup, it is. Thanks! Another mystery solved.

                                        Nca78N Offline
                                        Nca78N Offline
                                        Nca78
                                        Hardware Contributor
                                        wrote on last edited by
                                        #51

                                        @NeverDie said in Double Micro (nano) Ampere meter:

                                        @Nca78 said in Double Micro (nano) Ampere meter:

                                        @NeverDie check the pinout of the IC on the datasheet and check if the jumper is connected to RATE pin on one side.

                                        Yup, it is. Thanks! Another mystery solved.

                                        Then you might have to solder it if you're not ready to very very patient :p

                                        1 Reply Last reply
                                        1
                                        • Nca78N Nca78

                                          I have the same problem, I don't have a jumper on my HX711 board so I soldered directly the pin of the IC with a small wire.
                                          It has clearly improved things, but it's still slow so I will try to reduce number of samples and if it's not enough switch to TTP223 touch buttons in toggle mode, one to reset, one to change screen, so I will never miss a press.

                                          NeverDieN Offline
                                          NeverDieN Offline
                                          NeverDie
                                          Hero Member
                                          wrote on last edited by
                                          #52

                                          @Nca78 said in Double Micro (nano) Ampere meter:

                                          I have the same problem, I don't have a jumper on my HX711 board so I soldered directly the pin of the IC with a small wire.
                                          It has clearly improved things, but it's still slow so I will try to reduce number of samples and if it's not enough switch to TTP223 touch buttons in toggle mode, one to reset, one to change screen, so I will never miss a press.

                                          I just now ordered these:
                                          https://www.aliexpress.com/item/10PCS-LOT-Touch-Sensor-Jog-type-touch-module-capacitive-touch-buttons/32416625224.html?spm=2114.13010608.0.0.IOBe1p
                                          Is it the kind you're using? I guess the solder bridge determines whether or not it latches?

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


                                          33

                                          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