Non-volatile memory chip to use with Arduino

I'm new to all this Arduino . . . cool stuff. I have a project that I'm trying out where I have created code on the Arduino to flash small lights to simulate "fireflies". But I'm looking for some kind of flash memory (ROM) to buy that I can download this code to which can be powered up and used permanently to work some lights in my garden, etc. Is there such a chip, and which kind do you recommend? Thanks in advance for any help!

Welcome to the forum

Why do you need a ROM when the sketch that you uploaded to the Arduino will still be there when you turn it on the next time ?

I don't really understand your problem. The flash on Arduino is non volatile. Once you upload a sketch it will stay there even without any power source.
The only thing you need to use it in the garden is a sufficent power supply. E.g. a suitable (rechargeable) battery.

Not sure what your goal is. Maybe you can try to port your code to a smaller µc like the ATTiny.

Sorry about the confusion. I don't want to actually use my arduino in my garden. I want to download my program onto another ROM source, then solder my lights to it and have a seperate, working system. I only want the code from my Arduino downloaded to this external "memory chip". And I just don't know what this "external memory" module should be? My arduino just needs to be able to connect and download to it? So it is this external chip that I'm trying to buy. Thanks!

An Arduino is more than a ROM - and you need more than a ROM to get your Sketch running your lights. Which Arduino are you using at the moment? An Arduino Nano V3 is nearly the same as an UNO R3 but a lot smaller to put in in a small case and use it in the garden.

2 Likes

When you power a ROM chip it does not do anything from its own. When you want something smaller than a Arduino Uno, you might take a look at the ATTiny's.

2 Likes

When you look at the very original Uno, you see that the ATmega328p chip is placed in a socket. The idea is that you can program the Uno, make it work, then pop the MCU out of the socket, place it in your finished project, and pop a new MCU into the Uno for the next project.

That's what you're apparently trying to do.

I'd do it a little different, I'd use a Pro Mini and solder that on my finished board. Costs barely more than a bare ATmega328p chip and is much easier to work with.

Now you have the idea, I do that a lot with Nano's and it works great. In your spare time skim the Arduino Cookbook and read the sections relative to your project.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.