Using arduino as storage support

Hi,

I want to do a quick project that allow me to access data from my PC just like a storage support.

Just like that

e.g. i can access my phone's data, and i can use it as a phone

The idea is to have a sensor that produce data, store it as CSV (heap, EEPROM, or SD memory), then allow PC to access it (read it as a file).

I don't want a real file system, I want to start with just one file (one sensor).

I also want to keep the fact that I can reprogram the microchip.

Is this possible ? How can I do that ?

Thanks

What data? How much? How often?

How? is the computer somehow connected to the data store?

What does that mean?

What does that mean?

Most things are possible... but first we must understand what the "thing" is.

One post... so many questions?

Hi, @quentin_1234

From what I can understand;

  1. You have an Arduino with a sensor attached.

  2. You want to store the data from the sensor in a file on the Arduino.

  3. You want to be able to access that file from the Arduino to a PC and read it into an App, such as Excel.

  4. You want to be able to at anytime use the Arduino controller for another use, so you want to be able to reprogram it with a new code?

Reprogramming in that sense is possible.

The other items are possible, if I have understood your requirements.

Can you please tell us your electronics, programming, arduino, hardware experience?

Thanks.. Tom... :smiley: :+1: :coffee: :australia:

I think the easiest way to read large amounts of Arduino data on a PC is to have the Arduino write to a removable SD or Micro-SD card. You can then remove the card from the Arduino and insert it into an SD card reader on the PC.

1 Like

The PC can run MQTT Broker and the MCU's run PubSubClient. The MCU;s can send their data to the PC's MQTT Broker for post processing.

For now, I just want to do that with two or three lines. Later, I'll do it with more storage maybe a SD card. Data is registered every 5 to 10 min. Basically it's just an id, a timestamp and a value.

The computer will be connected through the USB port of the board.

I don't want a file system. So I don't have to develop premises of an OS.

I want to be able to see files about those sensors, but I also want to be able to compile and reprogram the board.

Thank you for the response, and sorry if it's seems unclear

About my skills, I'm more into web development.

I don't have any electronic skills, I develop on Arduino just for fun.

I've already developed a windows driver to control the sound volume with an arduino, but here I'm trying to stay as native as possible.

I've already used MQTT Brocker such as mosquitto, but I don't think that can solve my problem.

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