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 631.1k 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
    #1354

    I was just about to make a test board using my CNC when out of the blue my CNC died during setup. So, I did this board instead and will have it fabbed:
    0_1515524108208_HolyIOT_top_v001.png
    0_1515524118988_HolyIOT_bottom_v001.png

    Nca78N 1 Reply Last reply
    0
    • NeverDieN NeverDie

      I was just about to make a test board using my CNC when out of the blue my CNC died during setup. So, I did this board instead and will have it fabbed:
      0_1515524108208_HolyIOT_top_v001.png
      0_1515524118988_HolyIOT_bottom_v001.png

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

      @neverdie for a test board why are you not using standard headers and mapping all pins available ?

      NeverDieN 1 Reply Last reply
      0
      • Nca78N Nca78

        @neverdie for a test board why are you not using standard headers and mapping all pins available ?

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

        @nca78 Because originally I was going to do the board on my CNC (that is, before my CNC dropped dead on me), and I wanted to make it as easy as possible for the CNC to succeed. Also, for testing purposes, I'm most interested in how well it sends/receives, and I don't need many pins to test that. Also, soldering this module may be tricky, so I wanted only the minimum number of pins in case soldering it proves to be difficult.

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

          Just received these tiny NRF51822 devices and would like to turn them in to MySensors 1 button scencontroller.
          Where should I start?

          1. I guess I will need some kind of USB adapter ti program them. Think I read somewhere about JLink. Would this do?

          0_1515562170867_20180110_071948.jpg

          • Tomas
          Nca78N T 2 Replies Last reply
          2
          • korttomaK korttoma

            Just received these tiny NRF51822 devices and would like to turn them in to MySensors 1 button scencontroller.
            Where should I start?

            1. I guess I will need some kind of USB adapter ti program them. Think I read somewhere about JLink. Would this do?

            0_1515562170867_20180110_071948.jpg

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

            @korttoma did you check here ?
            https://forum.mysensors.org/topic/6705/mysensors-nrf5-platform

            For programming the best solution is probably the NRF52 DK, it's not very expensive (30€) and you avoid all the problems related to license of the fake JLINKs (and bricking of the device if you happen to accept the invitation to update the outdated firmware on it), as it includes official licence for programming all nrf5 chips.
            https://www.arrow.com/en/products/nrf52-dk/nordic-semiconductor

            1 Reply Last reply
            2
            • MiKaM Offline
              MiKaM Offline
              MiKa
              wrote on last edited by
              #1359

              Hi,
              Working without problem with mysensors, I use STLink v2 from Aliexpress. LED and Button are mapped on pins 28 and 29 :)

              0_1515563097508_IMG-0324.JPG

              korttomaK MiKaM 2 Replies Last reply
              4
              • MiKaM MiKa

                Hi,
                Working without problem with mysensors, I use STLink v2 from Aliexpress. LED and Button are mapped on pins 28 and 29 :)

                0_1515563097508_IMG-0324.JPG

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

                @mika :+1:

                Now I feel stupid ordering the NRF52 DK for 28€. Well atleast I don't need to worry about bricking any devices.
                Do you have an example sketch for the device you can share?
                Is it possible to somehow monitor the battery status?

                • Tomas
                NeverDieN 1 Reply Last reply
                0
                • korttomaK korttoma

                  @mika :+1:

                  Now I feel stupid ordering the NRF52 DK for 28€. Well atleast I don't need to worry about bricking any devices.
                  Do you have an example sketch for the device you can share?
                  Is it possible to somehow monitor the battery status?

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

                  @korttoma said in nRF5 Bluetooth action!:

                  Is it possible to somehow monitor the battery status?

                  One of @d00616 's demo sketches allows you to read the voltage that's powering the nRF5. Assuming there is no booster involved on this device (seems unlikely), that would be the same as the battery voltage.

                  1 Reply Last reply
                  1
                  • korttomaK korttoma

                    Just received these tiny NRF51822 devices and would like to turn them in to MySensors 1 button scencontroller.
                    Where should I start?

                    1. I guess I will need some kind of USB adapter ti program them. Think I read somewhere about JLink. Would this do?

                    0_1515562170867_20180110_071948.jpg

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

                    @korttoma do you have an Aliexpress link to them?

                    korttomaK 1 Reply Last reply
                    0
                    • T Toyman

                      @korttoma do you have an Aliexpress link to them?

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

                      @toyman sure do LINK

                      • Tomas
                      T korttomaK 2 Replies Last reply
                      0
                      • korttomaK korttoma

                        @toyman sure do LINK

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

                        @korttoma thx. Do they have a CR2032 slot? Sorry, it's not clear from the pictures

                        korttomaK 1 Reply Last reply
                        0
                        • T Toyman

                          @korttoma thx. Do they have a CR2032 slot? Sorry, it's not clear from the pictures

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

                          @toyman yes

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

                            It would probably do well as a "one button scene controller," but is it good for anything else I wonder?

                            korttomaK 1 Reply Last reply
                            0
                            • NeverDieN NeverDie

                              It would probably do well as a "one button scene controller," but is it good for anything else I wonder?

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

                              @neverdie does not seem to be any easy way to get access to any of the pins on the board but who does not need a bunch of "one button scene controllers"?

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

                                I was tempted to try adding the missing accelerometer too, but in the end it's easier and cheaper to make a board with the 2$ module.

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

                                  Speaking of which, I shrunk the HolyIOT board a bit and added the small buzzer:
                                  0_1515684827265_HolyIOT_buzzer_top.png
                                  Hopefully this is small enough that it can be used as a locator beacon.

                                  It turns out this is pretty nearly the minimum size, even if the HolyIOT were smaller, because of the CR2032 battery underneath it. Anyway, that's an interesting result, because the BC182 is smaller than the HolyIOT, but I wouldn't get the benefit of it.

                                  Nca78N 1 Reply Last reply
                                  0
                                  • NeverDieN NeverDie

                                    Speaking of which, I shrunk the HolyIOT board a bit and added the small buzzer:
                                    0_1515684827265_HolyIOT_buzzer_top.png
                                    Hopefully this is small enough that it can be used as a locator beacon.

                                    It turns out this is pretty nearly the minimum size, even if the HolyIOT were smaller, because of the CR2032 battery underneath it. Anyway, that's an interesting result, because the BC182 is smaller than the HolyIOT, but I wouldn't get the benefit of it.

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

                                    @neverdie said in nRF5 Bluetooth action!:

                                    small buzzer:
                                    CR2032 battery

                                    If I'm not wrong this buzzer needs over 100mA, not sure it's a good match for a CR2032 ?

                                    NeverDieN 1 Reply Last reply
                                    1
                                    • MiKaM MiKa

                                      Hi,
                                      Working without problem with mysensors, I use STLink v2 from Aliexpress. LED and Button are mapped on pins 28 and 29 :)

                                      0_1515563097508_IMG-0324.JPG

                                      MiKaM Offline
                                      MiKaM Offline
                                      MiKa
                                      wrote on last edited by
                                      #1371

                                      @mika said in nRF5 Bluetooth action!:

                                      Hi,
                                      Working without problem with mysensors, I use STLink v2 from Aliexpress. LED and Button are mapped on pins 28 and 29 :)

                                      0_1515563097508_IMG-0324.JPG

                                      Im just reporting sketch from NeverDie ;)

                                      https://www.openhardware.io/view/510/Multi-Sensor-TempHumidityPIR-LeakMagnetLightAccel

                                      1 Reply Last reply
                                      1
                                      • Nca78N Nca78

                                        @neverdie said in nRF5 Bluetooth action!:

                                        small buzzer:
                                        CR2032 battery

                                        If I'm not wrong this buzzer needs over 100mA, not sure it's a good match for a CR2032 ?

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

                                        @nca78 said in nRF5 Bluetooth action!:

                                        @neverdie said in nRF5 Bluetooth action!:

                                        small buzzer:
                                        CR2032 battery

                                        If I'm not wrong this buzzer needs over 100mA, not sure it's a good match for a CR2032 ?

                                        I like how nothing slips past you! Yes, it's a pretty severe trade-off in exchange for its small size. So, I'll be using two CR2032's and make it run only in very short bursts. I honestly don't know how well or badly it will turn out.

                                        Nca78N 1 Reply Last reply
                                        1
                                        • NeverDieN NeverDie

                                          @nca78 said in nRF5 Bluetooth action!:

                                          @neverdie said in nRF5 Bluetooth action!:

                                          small buzzer:
                                          CR2032 battery

                                          If I'm not wrong this buzzer needs over 100mA, not sure it's a good match for a CR2032 ?

                                          I like how nothing slips past you! Yes, it's a pretty severe trade-off in exchange for its small size. So, I'll be using two CR2032's and make it run only in very short bursts. I honestly don't know how well or badly it will turn out.

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

                                          @neverdie said in nRF5 Bluetooth action!:

                                          I like how nothing slips past you! Yes, it's a pretty severe trade-off in exchange for its small size. So, I'll be using two CR2032's and make it run only in very short bursts. I honestly don't know how well or badly it will turn out.

                                          I don't see anything to co trim such a high current on your board ? Maybe it's the reason the sound level is low on your other board, max current of the MCU pin is much lower than what the buzzer needs ?

                                          NeverDieN 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.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