I have connected Arduino and LCD. Whenever power is given to Arduino. The LCD has to greet me with hello world always, without me uploading program again and again.
It should be a standalone LCD.
My idea is to make an LCD to display text whenever it gets a power supply.
How to permanently store LCD code in EEPROM of Arduino? or is there any alternate way to store code permanently in Arduino.
For example, we can see many Robotics brain which displays the company name at first and then it allows us to code. Flash memory should be used for doing different projects and EEPROM to permanently store the LCD code.
It's like booting my LCD code
Have you tried one of the examples; I think it's called 'hello world'? What happens when you disconnect and reconnect?
yes, it works. But if I upload another program that "hello world" get erased.
consider Arduino as my brain. I am switching it on it should display hello world in it. Now I wanna try other projects by using my brain. So I will upload the code and look the output.
Now I turn off my brain and it should greet me with hello world and then it should start running the previous code to run.
Here the LCD code has to be stored in a place where it never gets erased.
Is it possible in Arduino EEPROM or I should use SD card?
You will need to rewrite the boot loader to be able to achieve that. The boot loader can detect if you received a reset from a power cycle or another reset. Based on that information you can tell the boot loader to either run the program that's currently stored or to do something else.
Is there anywhere I can learn to do that? any tutorials?
