Skip to content
  • 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. Atmega 328p memory
  • Getting Started
  • Controller
  • Build
  • Hardware
  • Download/API
  • Forum
  • Store

Atmega 328p memory

Scheduled Pinned Locked Moved Hardware
38 Posts 7 Posters 3.6k Views 7 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 NeverDie

    If you just want to quickly get a feel for the nRF52, though, I'd recommend getting two nRF52 DK's (one for each end of a radio link). It's probably the least frustrating way to get started, and as @nca78 mentioned, you can use them more generally later as programmers if you take a liking to nRF5's.

    dbemowskD Offline
    dbemowskD Offline
    dbemowsk
    wrote on last edited by
    #14

    @neverdie Will the nRF52s work on my nRF24 network?

    Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
    Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

    mfalkviddM NeverDieN 2 Replies Last reply
    1
    • dbemowskD dbemowsk

      @neverdie Will the nRF52s work on my nRF24 network?

      mfalkviddM Offline
      mfalkviddM Offline
      mfalkvidd
      Mod
      wrote on last edited by
      #15

      @dbemowsk yes

      dbemowskD 1 Reply Last reply
      0
      • mfalkviddM mfalkvidd

        @dbemowsk yes

        dbemowskD Offline
        dbemowskD Offline
        dbemowsk
        wrote on last edited by
        #16

        @mfalkvidd Perfect. As I mentioned, I am going to look over the modules this weekend and see if I can find one that is suited for my board.. From there I will look at fabricating a new PCB.

        Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
        Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

        1 Reply Last reply
        1
        • dbemowskD dbemowsk

          @neverdie Will the nRF52s work on my nRF24 network?

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

          @dbemowsk said in Atmega 328p memory:

          @neverdie Will the nRF52s work on my nRF24 network?

          You mean is it backward compatible? Yes, if you use the mysensors code base. You can thank @d00616 for that. :) Otherwise it wouldn't be.

          1 Reply Last reply
          1
          • dbemowskD Offline
            dbemowskD Offline
            dbemowsk
            wrote on last edited by
            #18

            So looking at a dev board like this one to test things, one thing that I do not see is any analog inputs. I am also wondering about an I2C connection. I am also assuming that the black connector is the programming header.

            Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
            Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

            NeverDieN 1 Reply Last reply
            0
            • dbemowskD dbemowsk

              So looking at a dev board like this one to test things, one thing that I do not see is any analog inputs. I am also wondering about an I2C connection. I am also assuming that the black connector is the programming header.

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

              @dbemowsk Most of the GPIO pins can be assigned to be whatever you want. For instance, only one pin can serve as RESET (pin 21), but it can be re-assigned to work as an analog pin if you prefer to use it that way. Likewise, pins can be re-assigned to serve as I2C if you prefer that. All this gives you more freedom in the trace layouts. i.e. it's a good thing.

              dbemowskD 1 Reply Last reply
              0
              • NeverDieN NeverDie

                @dbemowsk Most of the GPIO pins can be assigned to be whatever you want. For instance, only one pin can serve as RESET (pin 21), but it can be re-assigned to work as an analog pin if you prefer to use it that way. Likewise, pins can be re-assigned to serve as I2C if you prefer that. All this gives you more freedom in the trace layouts. i.e. it's a good thing.

                dbemowskD Offline
                dbemowskD Offline
                dbemowsk
                wrote on last edited by
                #20

                @neverdie So they are not strictly data lines... That is nice. So what you are saying is that if I wire them to the headers on my board, I can just wire the header pins to the closest GPIO lines and then just reference them to what they are in the sketch. Can any of them be SPI bus lines also?

                Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
                Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

                NeverDieN 1 Reply Last reply
                0
                • dbemowskD dbemowsk

                  @neverdie So they are not strictly data lines... That is nice. So what you are saying is that if I wire them to the headers on my board, I can just wire the header pins to the closest GPIO lines and then just reference them to what they are in the sketch. Can any of them be SPI bus lines also?

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

                  @dbemowsk There may be some caveats in the datasheet, but basically yes.

                  Good luck!

                  1 Reply Last reply
                  0
                  • dbemowskD Offline
                    dbemowskD Offline
                    dbemowsk
                    wrote on last edited by
                    #22

                    I figured I could do my testing with one of the dev boards, and if everything works I can just design a board using one of the surface mount modules. Thanks for all the feedback.

                    Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
                    Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

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

                      For instance, I would suggest not using the NFC pins if you can avoid it. They can be redefined, but they aren't 100% equivalent to the other pins.

                      dbemowskD 1 Reply Last reply
                      0
                      • NeverDieN NeverDie

                        For instance, I would suggest not using the NFC pins if you can avoid it. They can be redefined, but they aren't 100% equivalent to the other pins.

                        dbemowskD Offline
                        dbemowskD Offline
                        dbemowsk
                        wrote on last edited by
                        #24

                        @neverdie With the number of pins, I am sure I can avoid some without a problem.

                        Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
                        Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

                        NeverDieN 1 Reply Last reply
                        0
                        • dbemowskD dbemowsk

                          @neverdie With the number of pins, I am sure I can avoid some without a problem.

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

                          @dbemowsk That's the spirit! You'll know soon enough if you step on something you shouldn't.

                          1 Reply Last reply
                          0
                          • dbemowskD Offline
                            dbemowskD Offline
                            dbemowsk
                            wrote on last edited by
                            #26

                            WIth a 32 bit processor, 64kB of ram and 512kB of flash, it should have more than enough speed and space for what I want to do. Heck, I could probably fit some onboard sensors like temp and humidity and possibly power monitoring if I can figure out something with my power supply board.

                            Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
                            Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

                            NeverDieN 1 Reply Last reply
                            0
                            • dbemowskD dbemowsk

                              WIth a 32 bit processor, 64kB of ram and 512kB of flash, it should have more than enough speed and space for what I want to do. Heck, I could probably fit some onboard sensors like temp and humidity and possibly power monitoring if I can figure out something with my power supply board.

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

                              @dbemowsk In practical terms, it's even better than that, because the compiled code is more dense.

                              dbemowskD 1 Reply Last reply
                              0
                              • NeverDieN NeverDie

                                @dbemowsk In practical terms, it's even better than that, because the compiled code is more dense.

                                dbemowskD Offline
                                dbemowskD Offline
                                dbemowsk
                                wrote on last edited by
                                #28

                                @neverdie So with all of this, would I need to upgrade my gateway to 2.1 or 2.2? I am currently on 2.0.

                                Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
                                Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

                                NeverDieN 1 Reply Last reply
                                0
                                • dbemowskD dbemowsk

                                  @neverdie So with all of this, would I need to upgrade my gateway to 2.1 or 2.2? I am currently on 2.0.

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

                                  @dbemowsk Forget those. You need to run the most current developers release. It's the safest choice. Perhaps there's a more precise answer, but....

                                  dbemowskD 1 Reply Last reply
                                  0
                                  • NeverDieN NeverDie

                                    @dbemowsk Forget those. You need to run the most current developers release. It's the safest choice. Perhaps there's a more precise answer, but....

                                    dbemowskD Offline
                                    dbemowskD Offline
                                    dbemowsk
                                    wrote on last edited by
                                    #30

                                    @neverdie I always hate upgrading the gateway because it ends up being, do the upgrade and HOPE everything that I have on my network plays well with it. I usually just pull the old pro mini and save it. Then flash a new one with the updated version. That way if I have to fall back I can.

                                    Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
                                    Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

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

                                      Or just set up a parallel network to test on until you're comfortable with it. That's what I do. That way you don't drop the ball with whatever currently works. Hardware is cheaper than your time, and you can recycle it endlessly.

                                      dbemowskD 1 Reply Last reply
                                      1
                                      • NeverDieN NeverDie

                                        Or just set up a parallel network to test on until you're comfortable with it. That's what I do. That way you don't drop the ball with whatever currently works. Hardware is cheaper than your time, and you can recycle it endlessly.

                                        dbemowskD Offline
                                        dbemowskD Offline
                                        dbemowsk
                                        wrote on last edited by
                                        #32

                                        @neverdie Great idea. I would just need another FTDI adapter and set up another MySensors instance on my Vera. If I have to order the nRF52, I can order an extra FTDI at the same time. Then I can take my time porting over things to the new gateway and phase out the old one as time and resources permit.

                                        Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
                                        Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

                                        Nca78N 1 Reply Last reply
                                        1
                                        • dbemowskD Offline
                                          dbemowskD Offline
                                          dbemowsk
                                          wrote on last edited by
                                          #33

                                          This is why I LOVE this forum....

                                          Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
                                          Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

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


                                          16

                                          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
                                          • OpenHardware.io
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular