How to store data and call it out anytime

Hi there, I am currently having an idea of storing some data I obtained from receiver and store in somewhere, then call it out whenever I want.. and it should be not only one variable(?) But I have no clue on how to implement this even from the scratch.. someone pls give some suggestion. I don't have any code to show as of now. Here is my plan:

  1. Get data from receiver, both char and int data types
  2. Store the data accordingly, for example, int a has char value of -189 and int b has char value of -146
  3. Call int a to know what is its char value in any time

FYI, I am using Arduino Mega board and with a LoRa shield mounted on it. I wanted to store the data I receive from the LoRa then process it accordingly.

Hello
Well, I think you may can use a SD - card.

Hi stephanie,

your question is a bit unprecise. How does the receiving work?
What exact type of microcontroller are you using?

  • Arduino Uno?
  • Arduino Mega?
  • microbit?
  • ESP8266?
  • ESP32?

post the exact name and a link to where you have bought the microcontroller
If you don't know he exact name post a picture of the microcontroller

based on what technology does the "receiving" take place:

  • serial interface?
  • wifi?
  • blue tooth?

Is it sufficient of the received data stays until power is plugged of?
or must the data be kept even if a power-off occurs so that after re-powering the data ist still there?

Will you receive the data only a few times or 10.000 of times?

From all these questions you can see. It is nescessary to describe the whole project in detail
for opimal support.

best regards Stefan

hi, is there any function or features in Arduino tat I can use for that purposes?
SD card doesn't seem to fit my cases..

please describe your project in detail
best regards Stefan

hi,
I am using Arduino Mega and with a communication shield mounted on it.
Thats why I wanted to store the data I gt from the shield and process it accordingly..

Hello,
as already mentioned, your purpose is stated very unspecifically in your post.

OK this answers the question which microcontroller. And that you are using some "communication-shield."

Well nothing specific can be suggested as long as you don't tell in DETAIL what this "communication-shield" is.

You are working on an informatic project. And what is most needed in an informatic project is

information.

So how many rounds of very quick but too short answers just causing another round of asking back again and again and again and again
making everybody loose their will to answer at all do you wanna play?

I have no idea on how to implement at all. But I have edited and provided basic flow and information on the post already

You should NOT correct initial posts except for typos
anything else is written down here

Have nice day.

to be as specific as you are:

use the receive-function of the lora-shield and store the values into variables.

Well this very unspecific sentence does not help at all.

What would indeed help is

You should post code by using code-tags
There is an automatic function for doing this in the Arduino-IDE
just three steps

  1. press Ctrl-T for autoformatting your code
  2. do a rightclick with the mouse and choose "copy for forum"
  3. paste clipboard into write-window of a posting

I'm still here to help.
But I will not write down a
50 pages long tutorial " covering it all for all Lora-shields how to comunicate"
best regards Stefan

I am using hardware as below:
ArduinoMega--LoRa RFM 95W shield and Radio Head libraries.
I know how to get the data from the shield so I believe here is only question on how to store data in Arduino board itself..

But I don't know how your receiving code looks like. And I don't know what your description

means as code.
And this is the reason why I ask
You should post code by using code-tags
There is an automatic function for doing this in the Arduino-IDE
just three steps

  1. press Ctrl-T for autoformatting your code
  2. do a rightclick with the mouse and choose "copy for forum"
  3. paste clipboard into write-window of a posting

best regards Stefan

is it this library?

or this library?

or this library?

easiest way to answer this is
You should post code by using code-tags
There is an automatic function for doing this in the Arduino-IDE
just three steps

  1. press Ctrl-T for autoformatting your code
  2. do a rightclick with the mouse and choose "copy for forum"
  3. paste clipboard into write-window of a posting

best regards Stefan

Seem? You might need to explain that. It is a pretty obvious way for ordinary people, and reading values from it, or downloading entire files are common procedures.

yup, It is the first one. But like I said I have totally no clue on how to store the data that why I dont have any related code as of now

Because I just wanted to store simple data which I believe can be done by using memory in Mega board itself..

What is the reason to refuse posting your code?
there are a lot of examples. None of these examples fits with your description LoRa RFM 95W