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. Hardware
  3. Experiences with arduino Mega in a small package(Mega2560-CORE)? Alternative arduino with more memory?

Experiences with arduino Mega in a small package(Mega2560-CORE)? Alternative arduino with more memory?

Scheduled Pinned Locked Moved Hardware
14 Posts 4 Posters 4.6k Views 4 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.
  • D dakipro

    I've been looking now about it, it looks like a "drop in" replacement for a arduino with a radio?
    Have you @gohan worked with it, if so how was your experience?

    I am a bit unsure if it is used widely enough or would I be one of the pioneers (actually unsure if I have enough experience/will to be one). If it is a fully (or mostly) compatible with arduino/mysensors/examples and sketches then it would be awesome.

    I have very optimistic project ahead of me and I am certain I will have a lot of challenges with the project itself without introducing more variables then needed.

    Is it just to order f.eks. this one https://www.ebay.com/itm/NRF52832-Development-Board-Wireless-Bluetooth-Transceiver-Module/332127356835 ?
    and use programator?
    Do you happen to have some tutorial about how to get started, what other things are needed beside the module itself?

    Looks very interesting, I like most that radio is already on board, avoiding the need to connect it to arduino (the most tedious part of my sensors)

    gohanG Offline
    gohanG Offline
    gohan
    Mod
    wrote on last edited by
    #5

    @dakipro It is still a quite new solution, but judge yourself if it is supported enough by mysensors -> https://forum.mysensors.org/topic/6961/nrf5-bluetooth-action

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

      If you think it's too early for nrf5 there are some boards on AliExpress (and probably eBay too) with ATSAMD21G18 chip meaning they have official Arduino support as it's the same chip than Arduino Zero.
      It has 256K of flash and 32K or ram and the boards are at the same price than what you link.

      Only reason for me to use a mega would be to need many pins at 5V. Or to need a lot of i/o pins but in that case you would need a full sized mega.

      1 Reply Last reply
      0
      • R reinhold

        (I know this post is off-topic regarding the original request... Sorry for that)

        If your concern is mainly about connecting the radio to the arduino, then I can warmly recommend one of those "Arduino nano IO shields":
        https://www.aliexpress.com/item/For-arduino-Nano-Terminal-Expansion-Board-Adapter-IO-Shield-Electronic-Circuit-328P-w-XBEE-nRF24L01-Socket/32841357885.html

        You just plug in the nrf24l01 (I'm using a small adapter PCB to use the SMD version with the pin header) and the nano and you are ready to go. Also comes with a connector for a 9V power adapter (which I needed for the gas sensors drawing 100+ mA). It also has the four pins for I2c (VCC, GND, SCL, SDA) and Serial (GND, VCC, Tx, Rx) next to each other, and it provides +5V and GND together with each in-/output pin.

        To make prototyping even easier, I unsoldered (or broke off) the small female pin headers for the xbee and used two-sided duct tape to add a tiny breadboard instead (where I simply plugin in I2C devices like an OLED or a sensor):
        https://www.aliexpress.com/item/7pcs-Mini-55-Points-Breadboard-Solderless-Prototype-Tie-point/32661906252.html

        D Offline
        D Offline
        dakipro
        wrote on last edited by
        #7

        Thanks, I have ordered standard Mega hoping it will just fit. I will need more then 2 interrupt pins and would like to drive a display, and some leds and microphone and what not. Notice the "would like" as I am sure I will reach the point where it will be pointless to continue with my ambition, but hey... its a hobby :)

        @reinhold Thanks for the tip about the shield, I didn't know one exists, that will help prototyping a LOT easier :)

        C: OpenHAB2 with node-red on linux laptop
        GW: Arduino Nano - W5100 Ethernet, Nrf24l01+ 2,4Ghz mqtt
        GW: Arduino Mega, RFLink 433Mhz

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

          The more i2c devices you have, the less wires you need to have 😀

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

            If you want to manage a lot of things at the same time go for atsam board, with 32K of RAM and the processing power you will have less contraints.

            1 Reply Last reply
            0
            • D Offline
              D Offline
              dakipro
              wrote on last edited by
              #10

              Can you @Nca78 link to one "recommended"?
              You mentioned they are similar price, but all i have found are 25e+ which is worth it I guess, but... its is 5 arduino megas :)

              C: OpenHAB2 with node-red on linux laptop
              GW: Arduino Nano - W5100 Ethernet, Nrf24l01+ 2,4Ghz mqtt
              GW: Arduino Mega, RFLink 433Mhz

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

                I was talking about the price of your small mega board. This board, sorry no recommended seller I don't have one. Maybe check online if you need a programmer to install a zero bootloader on it, because that could be a problem you would not have with a mega.
                http://s.aliexpress.com/2umu2E36

                1 Reply Last reply
                0
                • D Offline
                  D Offline
                  dakipro
                  wrote on last edited by
                  #12

                  Ok now I see that I never knew that arduino zero (m0?) exists at all :( That one might be the right choice for me, but I didn't find much resources online about people using and recommending them.

                  I didn't knew that SAMD21 is same/similar to ATSAM (or is it?). Honestly, I am still lost :)

                  The one you @Nca78 linked might be exactly what I need, (if) it has more then 2-4 interrupt pins, and 10-15ish digital pins, and I think this one does have all of that.
                  I am currently setting a goal on connecting a lcd (or oled) , some buzzer, LED ring, microphone for secret knocker project, some usual "simple" sensors like motion, proximity, lux, temperature, air quality.
                  It is ambitious but I hope I will learn a lot about sensors and programming by gradually adding complexity and sensors.

                  I appreciate suggestions, perhaps some of mentioned boards might find its way into the store, to help others with same question. The reason I really enjoy mysensors community and project (besides useful things around the house) is possibility to gradually learn new things, by fallowing the experience of others. Having the "store" is also very helpful as one doesn't have to wonder (much) what to purchase and what is compatible and how will it work, whilst still giving a lot of room for "I made this on my own" feeling :)

                  C: OpenHAB2 with node-red on linux laptop
                  GW: Arduino Nano - W5100 Ethernet, Nrf24l01+ 2,4Ghz mqtt
                  GW: Arduino Mega, RFLink 433Mhz

                  Nca78N 1 Reply Last reply
                  0
                  • D dakipro

                    Ok now I see that I never knew that arduino zero (m0?) exists at all :( That one might be the right choice for me, but I didn't find much resources online about people using and recommending them.

                    I didn't knew that SAMD21 is same/similar to ATSAM (or is it?). Honestly, I am still lost :)

                    The one you @Nca78 linked might be exactly what I need, (if) it has more then 2-4 interrupt pins, and 10-15ish digital pins, and I think this one does have all of that.
                    I am currently setting a goal on connecting a lcd (or oled) , some buzzer, LED ring, microphone for secret knocker project, some usual "simple" sensors like motion, proximity, lux, temperature, air quality.
                    It is ambitious but I hope I will learn a lot about sensors and programming by gradually adding complexity and sensors.

                    I appreciate suggestions, perhaps some of mentioned boards might find its way into the store, to help others with same question. The reason I really enjoy mysensors community and project (besides useful things around the house) is possibility to gradually learn new things, by fallowing the experience of others. Having the "store" is also very helpful as one doesn't have to wonder (much) what to purchase and what is compatible and how will it work, whilst still giving a lot of room for "I made this on my own" feeling :)

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

                    @dakipro said in Experiences with arduino Mega in a small package(Mega2560-CORE)? Alternative arduino with more memory?:

                    Ok now I see that I never knew that arduino zero (m0?) exists at all :( That one might be the right choice for me, but I didn't find much resources online about people using and recommending them.

                    I didn't knew that SAMD21 is same/similar to ATSAM (or is it?). Honestly, I am still lost :)

                    AT is like ATmel I think so yes ATSAMD21 is the same than SAMD21 :)

                    The one you @Nca78 linked might be exactly what I need, (if) it has more then 2-4 interrupt pins, and 10-15ish digital pins, and I think this one does have all of that.

                    It does, nearly all digital pins can be used as interrupt pins.

                    I am currently setting a goal on connecting a lcd (or oled) , some buzzer, LED ring, microphone for secret knocker project, some usual "simple" sensors like motion, proximity, lux, temperature, air quality.
                    It is ambitious but I hope I will learn a lot about sensors and programming by gradually adding complexity and sensors.
                    Thank you for talking about the secret knocker, I had forgotten about this one and it will be a great use for accelerometer board.

                    Try to use as many i2c sensors as possible it will save you a lot of time, then in addition of those 2 pins you only need to connect interrupt pins and program sensors to work for you and trigger interrupts on the required events.
                    But anyway I think with a Mega you will quickly hit a wall because of the limited capabilities of the IC.

                    I also forgot about the "blue pill" boards with a stm32f103c8t6, they are less than 2$ on AliExpress and have a pretty good IC for the price: 20K ram, 64K flash and a 72MHz Cortex M3. Not as impressive as the SAMD21 on the memory side but much more room for evolution than a mega, and it has a nice touch: some 5V tolerant pins !
                    Thousands of people are using these board in Arduino so you'll have no problem finding information, and it's compatible with MySensors. So in fact this is the one I suggest you to start with ;)
                    https://www.aliexpress.com/item/STM32F103C8T6-ARM-STM32-Minimum-System-Development-Board-Module/32656040083.html

                    1 Reply Last reply
                    0
                    • D Offline
                      D Offline
                      dakipro
                      wrote on last edited by
                      #14

                      At these prices, I ordered a couple of them, just because all the cool kids have them :)

                      I was thinking, that (on top of all already ambitious functionality) it would be nice to have a Firmware over the air functionality wouldn't it, as I am certainly going to need to debug and fix the code... So in the end I might split the functionality in two/three pro minis, or if I manage to make Mega do FOTA (didn't find much info about someone doing it already).
                      But then there is maybe issue with proximity of the radios in the box which is an old round lamp, radius 10ish cm. I guess I will have to wait for the boards to see how will it all fit together...

                      C: OpenHAB2 with node-red on linux laptop
                      GW: Arduino Nano - W5100 Ethernet, Nrf24l01+ 2,4Ghz mqtt
                      GW: Arduino Mega, RFLink 433Mhz

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