Atmega 328p memory
-
@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.
-
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.
-
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.
@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.
-
@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.
@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?
-
@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?
-
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.
-
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.
-
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.
-
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.
-
@dbemowsk In practical terms, it's even better than that, because the compiled code is more dense.
-
@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.
-
@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....
@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.
-
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.
-
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.
@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.
-
Since you're the "new guy," be sure to document your progress as best you can. That will help other "new guys" follow in your footsteps. The more new guys the better. That's what I did with the Bluetooth Actiion! thread, even though, ironically, it ended up having nothing to do with bluetooth per se. But who knew? Where you end up isn't always the direction you were heading originally.
-
Since you're the "new guy," be sure to document your progress as best you can. That will help other "new guys" follow in your footsteps. The more new guys the better. That's what I did with the Bluetooth Actiion! thread, even though, ironically, it ended up having nothing to do with bluetooth per se. But who knew? Where you end up isn't always the direction you were heading originally.
-
It's worth a read. :)