Questions tagged [datalogging]
logging data into some storage or memory
116
questions
0
votes
3
answers
40
views
How do you deal with balancing the limited storage of Arduino with the decrease in speed if you just print everything as it gets measured?
I am working on a simple data acquisition system based on an Arduino Uno. Each run would ideally collect up to 10k data points (all doubles). Obviously, the Arduino doesn't have the capacity to hold ...
0
votes
0
answers
25
views
My Arduino Datalogging Shield fails to read the SD card
I used a couple of codes , including the cardinfo and datalogging examples from the IDE itself but no matter what code I use the shield fails to read my SD card, I also disconnected anything else just ...
2
votes
1
answer
87
views
Can I use Data Logger Shield with Arduino Sensor shield V5.0?
so I did a little research on this but the answer to my particular problem did not exist.
I have a data logger shield created by deek robot (deek-robot.com) which seems pretty similar to adafruits ...
-1
votes
1
answer
206
views
how can I delete contents of an SD card in arduino?
I have a datafile, datalog.txt I can open, read and write cool. What is the best way to delete all the file contents?
Should I try rewriting the SD card file with NULL data?
I have been reading the &...
0
votes
1
answer
174
views
Seeking to write a ton of information to an SD card as close to live as possible
So I've recently started a project where I am using an accelerometer, along with a SD card breakout board. I've been able to get information to write properly to the SD card with no issues whatsoever. ...
1
vote
0
answers
31
views
RTC shield with LCD and Keypad
I am having issues with a code that I have been modifying.
I can change the TIME, and DATE from a keypad, and see the data on the serial monitor, but it is not recording on the SD Card. Anyone that ...
2
votes
0
answers
72
views
Parsing read SD file into 2 variables
Recently I started some tests controlling water heater with temperature sensor data as described in detail here
So far I've been testing a small dataset to control water temperature that is quite easy ...
1
vote
2
answers
36
views
Can UNO log more PCB 353b33 accelerometer data points compared to TDS3014B oscilloscope?
I'm currently recording data points from an analog accelerometer(PCB 353b33) using a TDS3014B oscilloscope which has Record Length of 10,000 points at a Sample Rate 1.25 Ga/s. I'm want to record more ...
3
votes
1
answer
125
views
Reproduce simulated temperature data with Arduino
I'm starting a test using Arduino to reproduce a set of temperature values in water each three hours and need some help with it.
I will use two ds18b20 sensors to control two thermostats connected to ...
-1
votes
1
answer
33
views
HTTP-POST returns 400 when posting a value from the sensor
I'm trying to POST the data of total, but it returns 400. but when I try a sample data like
int httpResponseCode = http.POST("{\"amount\":\"total\"}"); (400)
into
int ...
0
votes
2
answers
209
views
How to add the previous value to current value from sensor
const byte interruptPin = 4;
void ICACHE_RAM_ATTR count();
void setup() {
Serial.begin(115200);
// Set up our digital pin as an interrupt
pinMode(interruptPin, INPUT_PULLUP);
attachInterrupt(...
1
vote
0
answers
99
views
Can I record us (microseconds) with AnalogBinLogger example in SdFat's library?
I am using the AnalogBinLogger from the SdFat example library. I am using it to record 8 analog channels at 5kHz! which is amazing (thank you SdFat).
Is it possible to include a separate column to ...
2
votes
1
answer
58
views
File created, but not logging data
I am starting using Arduino and have very little to none experience coding. However, I have managed to code and understand how it works.
The problem that I have is that I am unable to log (record) ...
1
vote
0
answers
31
views
Problem with data logging in arduino environment
iam recently making a projects that include arduino, mpu6050 and bmp280 and finally i have to log that data so, iam using a microSD card module
info of the the microSD card:
Initializing SD card......
-1
votes
1
answer
142
views
storing 600 unsigned int values in an array and find minimum and maximum values
I am reading an ASCII serial data values from a sensor and storing it in an unsigned integer variable. The values are ~45000 to 50000 range. I need to store 600 values and then find the minimum and ...
1
vote
0
answers
48
views
Transfer analog value via Bluetooth HC-05 (master) to second HC-05 (slave)
II have setup a UNO and a HC-05 Bluetooth module as a 'Slave', and a NANO and an HC-05 Bluetooth module as 'Master', I believe the comm's work ok as I am receiving values and text, but the analog IN ...
1
vote
1
answer
61
views
More effecient datalogging code
Background:
I am using a Teensy 3.6 to data log over a dozen sensors. I am printing to Serial1 for local Serial access, Serial3 for remote access (via xbee, same data is on Serial1 as on Serail3, just ...
1
vote
0
answers
102
views
How to separate in columns the data contained in a barcode
I have the following code, which allows me by scanning a typical 128 barcode to write this code in SD card under the Header "FA" as well as the time and date of scanner under the Header &...
1
vote
1
answer
732
views
Where is the Arduino IDE log file located? Not the Serial Monitor
"An error ocurred while uploading the sketch"
I'm having this specific error when uploading a sketch to my board and the IDE doesn't specify the problem correctly.
It's version is 1.8.13 for ...
1
vote
1
answer
90
views
Barcode not logged in SD card UART
After trying for a good month.. looking like a Newbie I have not managed to log the result of barcode scanner , using rtc SD module and a waveshare scanner connected via UART to ports 2 and 3 from the ...
-1
votes
1
answer
31
views
acelermetor count goes down after 1 peak
I am using a Wemos D1 Mini and an mpu 6050 accelerametor. I managed to get the acceleratmetor to work and have 1 value come out of movements. So when a peak it hit (aka, the threshold of 1.00 is hit) ...
0
votes
1
answer
41
views
Combined code and nothing works. Head scratcher for sure
I have spent a little over 2 hours trying to debug this code. All I did was combine a section of code to write to the SD card. Both of the codes work fine on their own. I can't figure this one out. I ...
1
vote
0
answers
148
views
Using SMS to send commands to the Arduino. Having problems in data parsing
I'm still inexperienced in programming and i apologize in advance if my mistakes are stupidly obvious. This sketch I'm working on is a basic GSM project using SIM900a Mini and an Arduino UNO that ...
0
votes
4
answers
69
views
How to link a computer processor to an Arduinno on a board? [closed]
I am completely new to Arduinno, so please forgive if the question is stupid.
Here is the problem: I have a project where I want an Arduino (or similar microchip board) to handle some sensors and ...
0
votes
2
answers
123
views
data classification with arduino
I want to classify my data from 3 sensors with arduino so that every time i enter the specific date or hour, or also it can be a period of time like 10 days ago, it shows me the exact data. In other ...
-1
votes
1
answer
366
views
Multiple MPU9250 Synced
I am interested in collecting data from 3 MPU9250 via I2C communication protocol. As I've read, I can collect measurements on the same I2C Bus from up to two MPUs. However, how can I collect Synced ...
-1
votes
1
answer
70
views
sending specific date's data from data logger shield to serial port
I was wondering if it is possible to save lots of data( exp: one year data) in data logger shield and then read them from serial port without ejecting the SD card... this part of my question is fine......
0
votes
1
answer
1k
views
ESP32 saving data to SD card in .csv doesnt format correctly
i want to save a vector to a .csv file on a SD Card.
I watched this tutorial on how to do it and it describes it perfectly even though its kinda dated.
My Problem is that everything is saved into the ...
2
votes
2
answers
702
views
EEPROM.get returns bad data
I am using the attached code.
What I am trying to do is:
Test if there is a personalized "board serial number" written in the EEPROM (by previous code run)
If data found was not 7 characters (e.g SN-...
0
votes
1
answer
147
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-...
1
vote
4
answers
125
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 ...
1
vote
1
answer
108
views
Two Arduino boards with I2C sensors
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 ...
1
vote
0
answers
2k
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 ...
1
vote
0
answers
558
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
2
answers
342
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
1
answer
125
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
1
answer
283
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
1
answer
787
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
1
answer
772
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
...
1
vote
0
answers
402
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
1
answer
71
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 ...
0
votes
1
answer
520
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
1
answer
108
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 ...
1
vote
0
answers
284
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 ...
1
vote
0
answers
80
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
1
answer
677
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
1
answer
635
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 ...
1
vote
0
answers
472
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
3
answers
1k
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
1
answer
1k
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 ...