Questions tagged [datalogging]

logging data into some storage or memory

Filter by
Sorted by
Tagged with
0 votes
1 answer
4k views

POST request not working

I'm following a guide on storing sensor data to MySQL: Guide My POST request isn't getting any results to my server. For now, I'm only storing temperature. Here is my code for saving data: void ...
1 vote
1 answer
268 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 ...
0 votes
0 answers
25 views

Adafruit Datalogger and Bluefruit LE issues

I'm having issues using the Adafruit Bluefruit LE shield at the same time as the Adafruit Datalogger shield. I can use either shield independently without issue. When I stack the two, I can talk with ...
0 votes
1 answer
38 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 ...
1 vote
1 answer
107 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
164 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
1 answer
679 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
2 answers
3k views

nRF24L01+ packet loss caused by Arduino reading and communicating with sensors

I have 2 Arduinos communicating with each other. My problem is that one sends packets every 1.5-2 seconds but the other Arduino does sensor reading and data uploading with a Wifi module, which may ...
1 vote
0 answers
172 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
40 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
266 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
48 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 ...
3 votes
2 answers
334 views

Which thermometer for home brewing

Hello, I have an Arduino Yun and I brew beer. I would like to log the temperature of the beer at all time during the fermentation process (final stage). This means the thermometer would have to ...
2 votes
1 answer
425 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 ...
12 votes
3 answers
40k views

How to increase SD card write speed in arduino

I'm creating a data-logger system which logs data in SD card at a high speed of about 20000-30000 bytes per second. But the SD library in arduino currently writes data at about 4500-5000 bytes per ...
-1 votes
1 answer
212 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 ...
0 votes
1 answer
3k 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 ...
0 votes
1 answer
523 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. ...
0 votes
1 answer
1k 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
2 answers
403 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 ...
1 vote
0 answers
68 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 ...
3 votes
1 answer
129 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 ...
3 votes
2 answers
1k views

Grab keys from an ordinary USB keyboard

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, ...
2 votes
0 answers
99 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
474 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 vote
2 answers
38 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 ...
0 votes
2 answers
298 views

Data Logging GPS with Arduino

I am working on a project for my final in a first year programming course at my high school. I would like to make an Arduino based data logging device that I can bring with my on the mountain biking ...
-1 votes
1 answer
83 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
608 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
168 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
124 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
42 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 vote
0 answers
92 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
67 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
154 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
2k 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
4 answers
327 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 votes
1 answer
34 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
45 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
180 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 ...
-1 votes
1 answer
727 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 ...
0 votes
4 answers
91 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
157 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
95 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......
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
265 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 votes
2 answers
698 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 ...
1 vote
1 answer
2k views

Unpacking Arduino binary data on a python sketch

As a follow up to my earlier post: Simultaneously reading data from multiple serial ports, I am stuck trying to develop a python sketch that can read the incoming serial data from the com port on my ...
2 votes
3 answers
3k views

Sum values, store them and print the last value

I have a mass flow meter connected to an Arduino Uno board. I have managed to read the volume flow in L/hour, but now I'm struggling to implement a code that stores the values so that I see the number ...
0 votes
2 answers
56 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 ...