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. nRF5 action!

nRF5 action!

Scheduled Pinned Locked Moved My Project
1.9k Posts 49 Posters 630.9k Views 44 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.
  • NeverDieN Offline
    NeverDieN Offline
    NeverDie
    Hero Member
    wrote on last edited by
    #539

    I see that Amazon is selling the Arduino Primo now: https://www.amazon.com/Arduino-A000138-low-power-coin-sized-wearables/dp/B073JN7XXR/ref=sr_1_12?ie=UTF8&qid=1501982634&sr=8-12&keywords=nrf52832

    First time I've seen it for sale anywhere.

    T 1 Reply Last reply
    0
    • NeverDieN NeverDie

      I see that Amazon is selling the Arduino Primo now: https://www.amazon.com/Arduino-A000138-low-power-coin-sized-wearables/dp/B073JN7XXR/ref=sr_1_12?ie=UTF8&qid=1501982634&sr=8-12&keywords=nrf52832

      First time I've seen it for sale anywhere.

      T Offline
      T Offline
      Toyman
      wrote on last edited by Toyman
      #540

      @NeverDie they also has started to sell "big" Primo

      NeverDieN 1 Reply Last reply
      0
      • T Toyman

        @NeverDie they also has started to sell "big" Primo

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

        @Toyman said in nRF5 Bluetooth action!:

        @NeverDie they also has started to sell "big" Primo

        Yeah, the big version has Wi-Fi, so I suspect it's meant to function much like a wireless serial gateway.

        For the convenience of other readers here, here's a link:
        https://www.amazon.com/Arduino-A000135-featuring-Nordic-processor/dp/B0721P6STJ/ref=sr_1_1?ie=UTF8&qid=1502011422&sr=8-1&keywords=arduino+primo

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

          Maybe you can get much of the same benefits--but at a lower cost--by combining an nRF5 with an ESP8266. Example:
          https://www.openhardware.io/view/443/nRF52832-ESP-LINK-Shield-for-ESP8266-Wemos-D1-Mini

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

            This is strange: now when I do the timed sleep on the infor-link module, it shows a current drain of about 60ua, whereas yesterday it was around 6ua. Maybe I somehow damaged it by connecting a couple of the input pins (A2 and A4) to Vcc? I wouldn't think so, though, because the datasheet says it should be safe to Vcc + 0.3v.

            I have one unused infor-link module left. I'll try wiring it up, but without the input pins this time, and measure it. I'm wondering now whether the sleep current will measure out to be 60ua, or 6ua.

            NeverDieN 1 Reply Last reply
            0
            • NeverDieN NeverDie

              @rmtucker
              Is there a mysensors demo sketch that involves i2c? I could try it on my end, though I expect I'd probably get the same as you.

              d00616D Offline
              d00616D Offline
              d00616
              Contest Winner
              wrote on last edited by
              #544

              @NeverDie said in nRF5 Bluetooth action!:

              Is there a mysensors demo sketch that involves i2c? I could try it on my end, though I expect I'd probably get the same as you.

              I have used I2C with an display and u8g2 without any problem.

              @NeverDie said in nRF5 Bluetooth action!:

              I have one unused infor-link module left. I'll try wiring it up, but without the input pins this time, and measure it. I'm wondering now whether the sleep current will measure out to be 60ua, or 6ua

              With the nRF51 there is an bug, after using the debug interface the current consumption is higher until reset.

              rmtuckerR 1 Reply Last reply
              1
              • d00616D d00616

                @NeverDie said in nRF5 Bluetooth action!:

                Is there a mysensors demo sketch that involves i2c? I could try it on my end, though I expect I'd probably get the same as you.

                I have used I2C with an display and u8g2 without any problem.

                @NeverDie said in nRF5 Bluetooth action!:

                I have one unused infor-link module left. I'll try wiring it up, but without the input pins this time, and measure it. I'm wondering now whether the sleep current will measure out to be 60ua, or 6ua

                With the nRF51 there is an bug, after using the debug interface the current consumption is higher until reset.

                rmtuckerR Offline
                rmtuckerR Offline
                rmtucker
                wrote on last edited by
                #545

                @d00616 said in nRF5 Bluetooth action!:

                I have used I2C with an display and u8g2 without any problem.

                Yes But it seems to have trouble reading sensors.
                It has been mentioned on sandeepmistry github.

                d00616D 1 Reply Last reply
                1
                • NeverDieN NeverDie

                  This is strange: now when I do the timed sleep on the infor-link module, it shows a current drain of about 60ua, whereas yesterday it was around 6ua. Maybe I somehow damaged it by connecting a couple of the input pins (A2 and A4) to Vcc? I wouldn't think so, though, because the datasheet says it should be safe to Vcc + 0.3v.

                  I have one unused infor-link module left. I'll try wiring it up, but without the input pins this time, and measure it. I'm wondering now whether the sleep current will measure out to be 60ua, or 6ua.

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

                  @NeverDie said in nRF5 Bluetooth action!:

                  This is strange: now when I do the timed sleep on the infor-link module, it shows a current drain of about 60ua, whereas yesterday it was around 6ua. Maybe I somehow damaged it by connecting a couple of the input pins (A2 and A4) to Vcc? I wouldn't think so, though, because the datasheet says it should be safe to Vcc + 0.3v.

                  I have one unused infor-link module left. I'll try wiring it up, but without the input pins this time, and measure it. I'm wondering now whether the sleep current will measure out to be 60ua, or 6ua.

                  The answer is.... neither. This time, with a fresh infor-link module, it measured at about 16ua.

                  However, I'm guessing there's quite a lot of noise involved, because this time I noticed I could change the reading just by moving my hand closer or further away from the infor-link module. So, I may have to scope this to see what's going on.

                  NeverDieN 1 Reply Last reply
                  0
                  • rmtuckerR rmtucker

                    @d00616 said in nRF5 Bluetooth action!:

                    I have used I2C with an display and u8g2 without any problem.

                    Yes But it seems to have trouble reading sensors.
                    It has been mentioned on sandeepmistry github.

                    d00616D Offline
                    d00616D Offline
                    d00616
                    Contest Winner
                    wrote on last edited by
                    #547

                    @rmtucker said in nRF5 Bluetooth action!:

                    @d00616 said in nRF5 Bluetooth action!:

                    I have used I2C with an display and u8g2 without any problem.

                    Yes But it seems to have trouble reading sensors.
                    It has been mentioned on sandeepmistry github.

                    I have found this issue: https://github.com/sandeepmistry/arduino-nRF5/issues/180

                    Is this yours?

                    rmtuckerR NeverDieN 2 Replies Last reply
                    0
                    • d00616D d00616

                      @rmtucker said in nRF5 Bluetooth action!:

                      @d00616 said in nRF5 Bluetooth action!:

                      I have used I2C with an display and u8g2 without any problem.

                      Yes But it seems to have trouble reading sensors.
                      It has been mentioned on sandeepmistry github.

                      I have found this issue: https://github.com/sandeepmistry/arduino-nRF5/issues/180

                      Is this yours?

                      rmtuckerR Offline
                      rmtuckerR Offline
                      rmtucker
                      wrote on last edited by
                      #548

                      @d00616
                      No not mine but that is the issue i was talking about.
                      When connecting DS3231 RTC i get the same as that guy mentions.
                      When connecting HTU21D the readings are all over the place.

                      NeverDieN 1 Reply Last reply
                      0
                      • NeverDieN NeverDie

                        @NeverDie said in nRF5 Bluetooth action!:

                        This is strange: now when I do the timed sleep on the infor-link module, it shows a current drain of about 60ua, whereas yesterday it was around 6ua. Maybe I somehow damaged it by connecting a couple of the input pins (A2 and A4) to Vcc? I wouldn't think so, though, because the datasheet says it should be safe to Vcc + 0.3v.

                        I have one unused infor-link module left. I'll try wiring it up, but without the input pins this time, and measure it. I'm wondering now whether the sleep current will measure out to be 60ua, or 6ua.

                        The answer is.... neither. This time, with a fresh infor-link module, it measured at about 16ua.

                        However, I'm guessing there's quite a lot of noise involved, because this time I noticed I could change the reading just by moving my hand closer or further away from the infor-link module. So, I may have to scope this to see what's going on.

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

                        @NeverDie said in nRF5 Bluetooth action!:

                        @NeverDie said in nRF5 Bluetooth action!:

                        This is strange: now when I do the timed sleep on the infor-link module, it shows a current drain of about 60ua, whereas yesterday it was around 6ua. Maybe I somehow damaged it by connecting a couple of the input pins (A2 and A4) to Vcc? I wouldn't think so, though, because the datasheet says it should be safe to Vcc + 0.3v.

                        I have one unused infor-link module left. I'll try wiring it up, but without the input pins this time, and measure it. I'm wondering now whether the sleep current will measure out to be 60ua, or 6ua.

                        The answer is.... neither. This time, with a fresh infor-link module, it measured at about 16ua.

                        However, I'm guessing there's quite a lot of noise involved, because this time I noticed I could change the reading just by moving my hand closer or further away from the infor-link module. So, I may have to scope this to see what's going on.

                        So, I decided to try running it from a 10F 2.7v supercap and see how long it lasts. It reports its voltage once every 5 minutes. I'm using Domoticz to log the values and graph them.

                        1 Reply Last reply
                        2
                        • d00616D d00616

                          @rmtucker said in nRF5 Bluetooth action!:

                          @d00616 said in nRF5 Bluetooth action!:

                          I have used I2C with an display and u8g2 without any problem.

                          Yes But it seems to have trouble reading sensors.
                          It has been mentioned on sandeepmistry github.

                          I have found this issue: https://github.com/sandeepmistry/arduino-nRF5/issues/180

                          Is this yours?

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

                          @d00616 said in nRF5 Bluetooth action!:

                          @rmtucker said in nRF5 Bluetooth action!:

                          @d00616 said in nRF5 Bluetooth action!:
                          

                          I have used I2C with an display and u8g2 without any problem.

                          Yes But it seems to have trouble reading sensors.
                          It has been mentioned on sandeepmistry github.

                          I have found this issue: https://github.com/sandeepmistry/arduino-nRF5/issues/180

                          Is this yours?

                          Does it rest entirely on Sandeep's shoulders as to if/when it gets fixed? I'm trying to understand how big/small the workforce is.

                          rmtuckerR 1 Reply Last reply
                          0
                          • rmtuckerR rmtucker

                            @d00616
                            No not mine but that is the issue i was talking about.
                            When connecting DS3231 RTC i get the same as that guy mentions.
                            When connecting HTU21D the readings are all over the place.

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

                            @rmtucker said in nRF5 Bluetooth action!:

                            @d00616
                            No not mine but that is the issue i was talking about.
                            When connecting DS3231 RTC i get the same as that guy mentions.
                            When connecting HTU21D the readings are all over the place.

                            @scalz Have you encountered any I2C problems in your work on Aeos? I seem to recall you have a TH sensor in it.

                            rmtuckerR 1 Reply Last reply
                            0
                            • NeverDieN NeverDie

                              @d00616 said in nRF5 Bluetooth action!:

                              @rmtucker said in nRF5 Bluetooth action!:

                              @d00616 said in nRF5 Bluetooth action!:
                              

                              I have used I2C with an display and u8g2 without any problem.

                              Yes But it seems to have trouble reading sensors.
                              It has been mentioned on sandeepmistry github.

                              I have found this issue: https://github.com/sandeepmistry/arduino-nRF5/issues/180

                              Is this yours?

                              Does it rest entirely on Sandeep's shoulders as to if/when it gets fixed? I'm trying to understand how big/small the workforce is.

                              rmtuckerR Offline
                              rmtuckerR Offline
                              rmtucker
                              wrote on last edited by
                              #552

                              @NeverDie
                              Actually i wonder if development has stopped?
                              no new commits in three months?

                              1 Reply Last reply
                              0
                              • NeverDieN NeverDie

                                @rmtucker said in nRF5 Bluetooth action!:

                                @d00616
                                No not mine but that is the issue i was talking about.
                                When connecting DS3231 RTC i get the same as that guy mentions.
                                When connecting HTU21D the readings are all over the place.

                                @scalz Have you encountered any I2C problems in your work on Aeos? I seem to recall you have a TH sensor in it.

                                rmtuckerR Offline
                                rmtuckerR Offline
                                rmtucker
                                wrote on last edited by
                                #553

                                @NeverDie
                                Trouble is the aeos is using nrf52 not nrf51.

                                NeverDieN 1 Reply Last reply
                                0
                                • rmtuckerR rmtucker

                                  @NeverDie
                                  Trouble is the aeos is using nrf52 not nrf51.

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

                                  @rmtucker said in nRF5 Bluetooth action!:

                                  @NeverDie
                                  Trouble is the aeos is using nrf52 not nrf51.

                                  At least it would be something, rather than nothing. Wouldn't you rather be on nRF52 anyway? It has advantages. (I say that even though I do have some nRF51's on order, but only just because they're small and cheap).

                                  rmtuckerR 1 Reply Last reply
                                  0
                                  • NeverDieN NeverDie

                                    @rmtucker said in nRF5 Bluetooth action!:

                                    @NeverDie
                                    Trouble is the aeos is using nrf52 not nrf51.

                                    At least it would be something, rather than nothing. Wouldn't you rather be on nRF52 anyway? It has advantages. (I say that even though I do have some nRF51's on order, but only just because they're small and cheap).

                                    rmtuckerR Offline
                                    rmtuckerR Offline
                                    rmtucker
                                    wrote on last edited by
                                    #555

                                    @NeverDie
                                    yes but it would take 4-6weeks and i was impatient so thought i would start with what i could get.
                                    But it seems it does not work on either looking at some of the other issues on sandeeps github.

                                    NeverDieN 3 Replies Last reply
                                    1
                                    • rmtuckerR rmtucker

                                      @NeverDie
                                      yes but it would take 4-6weeks and i was impatient so thought i would start with what i could get.
                                      But it seems it does not work on either looking at some of the other issues on sandeeps github.

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

                                      @rmtucker
                                      Hmmmm... Maybe this explains why I didn't notice any MySensor's example demo code that used I2C.

                                      On the other hand, I wouldn't think the gap can be all that big if d00616 is able to use I2C for display purposes.

                                      Still, that by itself doesn't get you there.

                                      1 Reply Last reply
                                      0
                                      • rmtuckerR rmtucker

                                        @NeverDie
                                        yes but it would take 4-6weeks and i was impatient so thought i would start with what i could get.
                                        But it seems it does not work on either looking at some of the other issues on sandeeps github.

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

                                        @rmtucker

                                        Bummer. I guess you still have anticimex's suggestion though of the bit-bang workaround, if you're so inclined. If you're able to get that to work, please do post to let us know.

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

                                          @NeverDie i have no problem with my aeos (nrf52) and i2c so far. only tested the onboard sensors.

                                          agree, in case, you can use a software i2c lib.

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

                                          Posts


                                          Copyright 2019 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