Questions tagged [datalogging]
logging data into some storage or memory
122 questions
0
votes
0
answers
271
views
How can I save an image from the ESP32-CAM to a separate SD card?
For a project, I need to take a picture with the ESP32-CAM, save it to an SD card, and then have the Arduino UNO access the image. I have the ESP32-CAM with OV2640 connected to the ESP32-CAM-MB, which ...
0
votes
1
answer
61
views
Arduino used as a multi-sensor controller, then sending results to a laptop to post on a web page
We are a non-profit group, we run a salmon rearing pond on Lake Michigan. We are upgrading our equipment that is over 50 years old with monitoring sensors.
We are adding 9 temperature, 5 oxygen, 2 air ...
4
votes
1
answer
1k
views
Connecting pressure sensor to Arduino to collect pressure and time data
I'm trying to build a pressure data logger using an Arduino and Mindman MP47P-03-F1 (https://www.mindman.com.tw/proimages/pdf/E_MP47_S.pdf) pressure sensor, the sensor is connected to an outer 12-24 ...
1
vote
1
answer
189
views
Inconsistent results when reading input looking for spike patterns
I'm writing a library that will interface with a control unit on a refrigerator compressor pump (QDZH35G). One of the features of the control unit is that it can detect what problems it's encountering ...
1
vote
1
answer
287
views
Modbus rtu server library which logs the requests
Kindly seek help. In my project I want to ‘fake’ a smart meter via Modbus rtu server for a solis inverter.
Somehow the solis realizes that I am faking him, so I am wondering which Modbus rtu server ...
1
vote
0
answers
300
views
RTC problems after longer time periods
I'm using the MKR NB 1500 for server sending, an ENV shield for measuring the environment, and an external lithium battery to power the circuit. The internal RTC and WDT on the NB 1500 are used.
The ...
1
vote
0
answers
74
views
Why is this buffer not being sent to the server?
I'm loading a buffer with different data recorded by sensors and sending them to a server. But I also wanted to log when the data was sent on the client side, so I formatted the time of my RTC clock ...
1
vote
1
answer
441
views
How to compile Arduino-ESP32 core with ESP_LOGx
Why?
In Arduino IDE you can set the core debug level, however, this only sets debug level for files in Arduino-esp32 but the core which is distributed as a precompiled library in .sdk files, located ...
0
votes
3
answers
90
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 ...
2
votes
1
answer
637
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 ...
0
votes
1
answer
2k
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
754
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
100
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
132
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
62
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
188
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
133
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
799
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
202
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
181
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
55
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
273
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
126
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
86
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
210
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 &...
2
votes
1
answer
4k
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
votes
1
answer
51
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
69
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
194
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
172
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
210
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
914
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
144
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
4k
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
1k
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
302
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
501
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
398
views
Two Arduino boards with I2C sensors
I have been searching the internet about how to transfer data from multiple sensors from one Arduino to another using I2C, but no luck. All the code and tutorials online focus on multiple slaves with ...
1
vote
0
answers
6k
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
802
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
787
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
224
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
465
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
2k
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
1k
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
650
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
138
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 more ...
0
votes
1
answer
814
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
182
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
469
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 ...