Questions tagged [datalogging]

logging data into some storage or memory

Filter by
Sorted by
Tagged with
-1
votes
1answer
29 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
2answers
33 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
1answer
42 views

Can I have Arduino to read and write data using SDcard? [closed]

I'm doing a project and I have a simple doubt. I want a code so that whenever a admin rfid card is read it takes the next rfid card and stores it to a database like excell sheet or any other way of ...
0
votes
0answers
28 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 ...
0
votes
0answers
59 views

Can a 0.2V voltage drop (i.e. from 5.0V to 4.8V) cause Arduino to stop working?

I want to log wind speed, using adafruit anemometers (https://www.adafruit.com/product/1733) at three different levels. For this, I have connected an Arduino UNO with an SD logger shield (Shield ...
1
vote
0answers
22 views

Why Micro SD card can't log the data when we connect servo motor?

recently Iam making a project which includes Arduino Nano, MPU6050, BMP280, micro SD card module and a servo motor. Brief explanation of my project is basically I am trying to collect data from the ...
0
votes
0answers
42 views

Excel Data Streamer shows no data

I have been trying to stream data into excel for my arduino leonardo. I have been trying to record the CO2 levels and volatile organic compounds into excel. I've used a comma to separate however ...
2
votes
1answer
44 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
0answers
23 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......
0
votes
1answer
42 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
0answers
23 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
1answer
47 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 ...
0
votes
0answers
59 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
1answer
112 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 ...
0
votes
1answer
58 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
1answer
25 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
1answer
37 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 ...
0
votes
0answers
70 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
2answers
96 views

Sensors / Data logging Temperature and Humidity 50ft away [closed]

I am looking at using a DHT11 for logging my temp and humidity in a few boxes i have. I need to be able to run these sensors several feet away (50ft ish) I would like to use Ethernet cable to do this....
0
votes
4answers
59 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 ...
-1
votes
2answers
92 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
1answer
116 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
1answer
51 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
0answers
51 views

Can't log mpu6050 and gps data to sd card at the same time

I am working on a school project, where I have to log GPS and acceleration data to an sd card at the same time, but I cannot get it to work. Logging GPS and acceleration data separately work fine. The ...
0
votes
1answer
572 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 ...
2
votes
2answers
456 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
1answer
65 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
4answers
94 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
130 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 ...
1
vote
0answers
789 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
67 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 ...
0
votes
0answers
222 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. ...
1
vote
0answers
1k 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; ...
1
vote
0answers
949 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
0answers
353 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
178 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
70 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
216 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
467 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
505 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
0answers
279 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
58 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
36 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
289 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
91 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
0answers
221 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
0answers
70 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
497 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
481 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
0answers
424 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 ...