Questions tagged [datalogging]

logging data into some storage or memory

Filter by
Sorted by
Tagged with
0
votes
1answer
31 views

SD card readline reading batched lines?

So, I am trying to transmit float data, over UART, from my Arduino to another machine. The log of this data is really large, so I am forced to put it on an SD card, and read it into the Arduino line-...
0
votes
3answers
51 views

How to manage two alarms with one interrupt?

I have a datalogger using the RTC DS3231 as an interrupt generator. I am able to have the interrupts work but here is my problem. I would like to take 2 separate measures from 2 different sensors (one ...
0
votes
0answers
34 views

SD delay in writing to file

I am using MPU6050 on an Arduino Mega 2560 with Data logging shield v1.0 and an 8Gb Kingston Micro-SD HC card.I am facing a problem in logging and successfully writing to a file 100 values/sec. Now in ...
0
votes
0answers
40 views

Data logging from ESP32 through UDP socket to PC

The idea is to send raw sensor data from ESP32 to PC through WIFI UDP socket and store it into CSV file using Python. As you can see from the code I am chopping 8 bytes of data into single bytes and ...
0
votes
1answer
27 views

Two arduino boards with sensors i2c

I am new and lost I have been searching the internet about how to transfer data of multiple sensors from one Arduino to another using i2c but no luck. all the codes and tutorials online focus on ...
0
votes
0answers
35 views

PLX DAQ is logging data on the debugger but not diasplaying it on excel sheet

My code is this: I tried to send arduino serial monitor data to plx daq but the sensor data is not displaying on excel. #include "Wire.h" // This library allows you to communicate with I2C devices. ...
0
votes
0answers
43 views

How to read correctly binary data on sd card from a structure?

I am currently struggling to apply Majenkos solution to read binary data from an sd card. I am writing data as floats from a 3-axis accelerometer via a struct this way: struct data { float acc_x; ...
0
votes
0answers
45 views

Using CoolTerm to receive Serial Data into a saveable file

Have functional code that reads data from sensors. Found that I need to use a terminal program to grab the data from the serial output using CoolTerm by Roger Meier. Wasn't able to test it with my ...
0
votes
0answers
38 views

I'm not getting the readings of sensors connected to an Arduino MEGA correctly using PLX-DAQ

I'm trying to send data from four sensors that are connected to my Arduino MEGA to an excel file using PLX-DAQ. So I want to keep taking readings at an interval of 1 second until I wish to stop. So I ...
4
votes
2answers
66 views

Writing to sd card with a sampling rate 50ms or less? I have a sketch that writes to sd every 1s but jams at faster sampling rates. Please help?

My code below reads data from an ADC and 3 digital pins via a Mega and prints to an SD Shield (Deek Robot). I want to be able to read the data every 50ms (20ms ideally). I can't get below 250ms. I've ...
0
votes
1answer
25 views

I cannot open/write to dataFile SD shield in mySketch but have no problem with Datalogger example sketch from the SD library…?

Hello Arduino Community I am collecting data and attempting to log it on to a Deek Robot SD shield via a Mega. I have the data in a dataString which I can Serial.print to the monitor but would ...
0
votes
1answer
35 views

Does LabVIEW Linx affect the communication speed with Arduino?

I am using LabVIEW to connect to Arduino Mega. I control a logic gate to switch the current On/Off and at the same time there is an I2C connection with a sensor. It came to my attention that the ...
1
vote
1answer
62 views

Why am not being able to initialize the Micro-SD?

The reason I bought this MicroSD board because to follow their guide and I have used the recommend code in: File > Example > SD > CardInfo also did the slight change in the code for const int ...
0
votes
1answer
95 views

creating HTTP persistent connection, to create 'smooth' data over GSM sending

Project goals Send data over GSM to firebase Fast sampling - need to send 16 bytes every half second to firebase Send data using GET or POST to server with PHP script, that redirect data to firebase ...
0
votes
0answers
36 views

Send data from arduino to server using GSM, TCP

My actual connection is like: Arduino -> GPRS(http)-> my server(php script)-> firebase <-android plotting app But it only allows to send some data once every 2 - 3 seconds (depending of ping to my ...
0
votes
1answer
49 views

Can't store RFID data in the next 5 bytes of array

I'm working on RFID project to handle multiple cards. I did most of the things OK. But now I have one problem. Which is the following: The RFID code is 5 bytes, so I need an array of 5 bytes. If ...
1
vote
0answers
34 views

Is it a rule of thumb to always use a buffer for realtime data acquisition from a microcontroller? [closed]

I probably have a misunderstanding one way or another, so this may be a bad question, but whenever I see sketches of projects that are outputting realtime data or in general, I always see the use of ...
0
votes
1answer
79 views

Fast data logging

I want to store noise data (basically from A0) from an Arduino Uno to an SD card with faster writing speed, preferably by using 512 data together and the write it at once. What should be the code?
0
votes
1answer
62 views

Arduino stops logging data after ~32761 seconds

I made a small set up to log temperature on SD card, everything is running smoothly until it reach 9:06:01 of logging that is 32761 seconds. I know that corresponds roughly to the maximum value of an ...
0
votes
0answers
112 views

AD7606 DAQ and datalogging

I'm making a Data Acquisition System for force impact usign an AD7606 from Analog Devices, an Arduino DUE and a load cell. I already tested it following this guide an making the proper changes for ...
0
votes
0answers
42 views

Unsure how to get pressure data from MCP3424

I am having trouble reading data from an MCP3424 chip, specifically the one from this website: https://uk.rs-online.com/web/p/general-purpose-adcs/6696086/ I have a pressure transducer that connects ...
1
vote
1answer
238 views

Data loging while browsing a menu on LCD shield

I'm new in arduino and not particularly awaken when it comes to code ;) . I'm developing a device SD logging Temperatures from 2 thermocouple . Hardware works well and I'm now trying to refine use of ...
0
votes
1answer
227 views

Conflict between SD card shield and accelerometer

I'm trying to get the SD card (Adafruit microshield SD card) and an MPU6050 accelerometer to work at the same time. When I connect the SD card to the Arduino (without the accelerometer), it's ok; When ...
0
votes
0answers
178 views

How can I read the serial output of STM32F103C8T6 from USB to Serial TTL?

I recently bought a STM32F103C8T6 board (blue pill) I programming to it using the USB to Serial TTL I bought (CP2102). I'm still taking very first steps and trying to figure out how to operate the ...
0
votes
3answers
119 views

Arduino log file directly to file

I have problem because I need to read values and then save them in a .txt file, but Arduino doesn't have a physical connection with my computer. It only has a connection with a computer using Ubuntu ...
0
votes
1answer
421 views

Interfacing AD7606 with Arduino Due. How to data-log?

I have an 16 bit ADC7606. It is in parallel mode. I have a working sketch that allows me to read 8 channels, convert the 16 bit integer to decimal and then serial prints to monitor. I would like to ...
0
votes
1answer
69 views

Averaging input from multiple input over a fixed amount of time (estimated)

I am trying to average input values for a number of inputs and have it then store those averages into a string to write to a txt doc on a sd card. I am using: // read 6 sensors and append to the ...
0
votes
2answers
52 views

Tian stops working after some hours

I'm having a very strange problem. I have a Tian that is programmed to send out sensor data to a server every x seconds. My program run well but after 14,15 hours of operation it stops working and I ...
2
votes
3answers
986 views

Is it possible to use extra AVR Flash memory as non-volatile EEPROM-like Flash memory storage?

In STM32 microcontrollers it is possible to use a technique that ST calls IAP, or In-Application Programming, in order to write to the Flash memory from your running application. They even have a nice ...
1
vote
2answers
541 views

Uniform timing when using Arduino for data acquisition

I am using Arduino UNO together with a SPI ADC (LTC1859) and SRAM (23CL1024) to record a series of data points at approx 2 kHz sampling rate (let's say a few thousand data points). I have some ...
0
votes
2answers
274 views

EDB char array problem. New input word overlaps the previous words saved

I have been searching everywhere now and nothing seems to work out for me. When I try to input a new word, it overlaps the previously entered words. Here is my struct definition: struct LogEvent{ ...
-1
votes
2answers
383 views

EDB. Is it possible to create multiple tables with db.create()?

Good day! I seem to be having trouble creating multiple tables with EDB. I am using Arduino UNO and SD Card module to save my db. Here is my Serial. Here is my table declaration. struct ...
0
votes
2answers
678 views

Using a Micro SD card for data logging, bad idea? Reliable?

I'm planning a project that will read data from an I/O board. The micro SD card would hold data for input bit identity, labeling ?, then logging after events end. Nothing would be written to or read ...
0
votes
2answers
421 views

How to use an Arduino to measure speed of rocket

I am not very experienced with Arduino and I am trying to learn it. I was wondering what is the easiest and most effective way to calculate speed and log it every second so to say. This would be ...
-1
votes
1answer
2k views

Download and print data from Thingspeak

I opted to try doing this with Thingspeak Library instead, which @gre_gor suggested early on. Worked much easier! Here's working code for anyone else trying to do this. I used the MKR1000. #...
0
votes
1answer
173 views

3 AC current sensors using one Arduino Uno board measuring at 200Hz

I'm new to electronics and need some help please. I'm planning to measure current of a 3-phase output using one sensor for each phase (thus 3 sensors would be required). The frequency of data ...
0
votes
1answer
890 views

ERROR on SIM900AT comand HTTPDATA (POST method)

Good day community, I have a project which is VEHICLE GPS Tracker and I'm using Arduino Mega, NEO GPS6MV2 and SIM900. I'm using SIM900 to send the GPS coordinates on a web server. I'm using the POST ...
0
votes
2answers
517 views

How to read data from an NI DAQ?

I'm using an Arduino to control an experimental setup and read analogue signals from some sensors. But there are other sensors for which I need a DAQ for. I have a National Instrument USB-6259. On my ...
0
votes
2answers
674 views

Arduino Uno SD card fails to initialize

I'm not sure why my SD card fails to initialize when I run my code (below) but works when I just check to see if it is being read by the Arduino with the CardInfo code in the Arduino library. The ...
1
vote
1answer
951 views

Setting Time to UTC with Data Logger Shield (with RTC DS1387)

I own an Adafruit Data Logger Shield https://www.adafruit.com/product/1141 I followed this tutorial https://learn.adafruit.com/adafruit-data-logger-shield/using-the-real-time-clock This part of code ...
2
votes
2answers
514 views

Grab keys from an ordinary USB kyboard

Arduino USB I want to write an Arduino Sketch (if there is no other possibility it can also be plain c) , to grab keyboard inputs from my ordinary USB keyboard. Preferably without expensive hardware, ...
4
votes
2answers
3k views

Data logging speed with arduino

I am trying to make some data logging conserining physiological data coming from a bitalino. My problem is that I would like to collect samples at something like 1 kHz, that is the rate that the ...
0
votes
2answers
85 views

Saving sensor logs of unknown length

I have a sensor giving me values (ints) which I want to keep, and send to a computer via the WiFi shield when requested via HTTP. I have the HTTP thing working, however, I do not know how to have a ...
4
votes
1answer
199 views

Advanced Arduino Project Help

So, I am an Engineer working on a very time tight project. I want to create a system capable of collecting data from a Photodiode and compiling it in a way that will separate data into four columns ...
0
votes
1answer
134 views

Sparkfun OpenLog both lights flashing

I'm building a simple RS232 data logger with the Sparkfun OpenLog and a SEEED RS232-TTL adaptor. I'm powering it with a 9 volt battery and a 7805 voltage regulator. It's dead simple. I built it on a ...
2
votes
0answers
517 views

Arduino Sdcard database Library [closed]

Im using Arduino connected to an SD card and PIR sensor , and based on the inputs from the PIR sensor the data needs to be written on the sd card , It is done , but for retrieving the data from the SD ...
3
votes
3answers
389 views

How to connect 70 analog sensor to a single Arduino (Mega or Uno) device?

I was working on a project in which I need to collect soil moisture data for a farm. For this, I need to collect soil moisture value from 70 sections of the farm on a single Arduino. But, this is not ...
5
votes
3answers
2k views

External Flash Memory File System

I'm building a weather data collector and I want to be able to dump that weather data somewhere. I've considered the options, and since I'm going to be storing a fairly small amount of data (in the ...
1
vote
1answer
285 views

What is the point of a adafruit data logger

In order to play an audio file, I was suggested to get an Adafruit data logger, yet right now I am stuck with the project and I realized that I'm not using the data logger to its full potential. Yet ...
0
votes
1answer
206 views

PCF8563 does not remember time when restarting Arduino Uno?

I'm trying to use the following RTC module (PCF8563) with Arduino Uno. I am using this library to set/get time and date from PCF8563. However, whenever I shut down the Arduino, the time/date is lost! ...