Questions tagged [datalogging]

logging data into some storage or memory

Filter by
Sorted by
Tagged with
12
votes
3answers
26k 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 ...
6
votes
2answers
9k views

arduino creates strange files in SD card

I'm new to Arduino and electronics. I want to make a project including SD data-logger, but I had a problem. I would appreciate if someone show me where I made a mistake. Firstly, circuit was set up ...
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 ...
4
votes
2answers
120 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 ...
4
votes
2answers
4k 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 ...
4
votes
1answer
207 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 ...
3
votes
3answers
2k 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 ...
3
votes
3answers
470 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 ...
3
votes
2answers
4k views

Connect Arduino to MySQL database online problem

I'm trying to connect Arduino with MySQL database on my online server. I manage my project to work on WampServer locally on localhost, but when I try to move everything online I have problem... on ...
3
votes
3answers
6k views

Using Arduino as Keylogger

Is it possible to use arduino uno r3 as USB keylogger by connecting the usb male pin to CPU and keybord cable to female USB pin of arduino. So that the keystrokes are stored in EEPROM. Without using ...
2
votes
2answers
351 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-...
2
votes
3answers
2k 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 ...
2
votes
1answer
1k views

Reading atomic radio clock

i have some data logging to do. And i want some what accurate time meaning accuracy has to be +/- 1 minute. I have considered a RTC, but then i thought. When i was 10 i got a watch that kept time ...
2
votes
2answers
678 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, ...
2
votes
2answers
475 views

What happens when there's no space left on SD card?

I'm coding a data logger and I would like to know what happens if there are no bytes remaining to be written using SD library, ie, if the SD card is full of data. The logging would just stop or I ...
2
votes
1answer
96 views

Inherent delay running EEPROM.read()

I'm using EEPROM to store long term data for use in sketches (thanks to DarthRubik for the guidance). I store stuff like a location ("Garden") and a device name ("Greenhouse Monitor 02") plus ...
2
votes
0answers
572 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 ...
1
vote
3answers
77 views

Arduino Uno data logger shield recording nonsense time

I'm using an Arduino Uno with the Adafruit Data Logger Shield powered by a Voltaic 5V 2A battery pack. When writing to an SD card, the time stamp never changes (always reports the same now.unixtime). ...
1
vote
2answers
697 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 ...
1
vote
1answer
1k 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 ...
1
vote
1answer
390 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 ...
1
vote
4answers
1k views

Low power + Logging motion detection

Scenario: I would like to monitor my closet's door as I highly suspect a family member is opening and using my items without permission. To respect privacy and also because my closet is nowhere near a ...
1
vote
1answer
310 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 ...
1
vote
1answer
263 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 ...
1
vote
1answer
1k 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 ...
1
vote
1answer
833 views

Pattern detection in sensor data

I'm using a heart rate sensor along with an Arduino for a project of mine. I have to determine whether the heartbeat is following a particular pattern (eg: when when heartbeat regularizes a lot after ...
1
vote
1answer
505 views

How to structure data for HTTP upload

I'm building a GPS tracker using an arduino nano, Adafruit Ultimate GPS breakout, a SD card slot and a SIM800L module. So far everything works, the tracker uploads the data to a server as well as ...
1
vote
1answer
53 views

Reading sensor data, massaging it and performing operation based on transformed data

This is the outline of my project: interpret environment data (sensor, motor, etc..). Modify this data into a more usable form, send it back to the same motor for further operation from modified data....
1
vote
2answers
161 views

Possibilities and limitations for onboard data acquisition

I could define myself as a "nerdy cyclist", so while my interest in Arduino is steadily growing (have not bought or used yet), my first idea for a project would be: Instrument a bicycle with some ...
1
vote
2answers
1k views

datalogging sampling frequency bottleneck

My datalogging system which consits of the Flora, RTC, SD card breakout board, LSM9DS0 sensor is shown in the picture below; https://www.dropbox.com/s/d8pwcn59nq11lzs/2014-11-25%2012.26.56.jpg?dl=0 ...
1
vote
0answers
35 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 ...
1
vote
1answer
771 views

Is it possible for ThingSpeak to show a simple table of all data collected? [closed]

I just recently found the ThingSpeak platform for the IoT. I have been playing around with its features a bit, but I have not found a way for it to show a simple table of all the data collected. For ...
1
vote
4answers
1k views

Proper error logging using Arduino

Coming from a C# background where I do logs for every application, and given that I will be using the Mega for most projects and therefore have the memory available to do so, I want to incorporate ...
1
vote
0answers
290 views

Arduino Yun OpenWrt MySQL Issue

I am using OpenWrt in Arduino Yun. I want to save some sensors data into MySQL Server which is installed in OpenWrt localhost. But it gives an error when I try to login MySQL after reboot the system. ...
1
vote
1answer
524 views

pushing accelerometer data in packets from an arduino due to the pc and unto processing

I'm quite a newbie to this and I've been struggling for sometime now with my school project, trying to find a way to send accelerometer data from my MMA7361 in data packets, I understand that I have ...
0
votes
2answers
15k views

Have Arduino write data to a MySQL database?

Would it be possible to have an Arduino write directly to a MySQL database? I'm a web programmer, so I'm familiar with how to get records from a MySQL database. I have MAMP installed on my mac, so I ...
0
votes
3answers
15k views

Simultaneously reading data from multiple serial ports

I have three sensors latched on to three different Arduino devices. The respective Arduino devices are connected on to an Arduino Mega on Serial1, Serial2 and Serial3. The data from each device ...
0
votes
4answers
45 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
4answers
87 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
2answers
883 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
1answer
179 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
374 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
3answers
309 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
789 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
2answers
660 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
1answer
896 views

Interfacing to scale over RS-232

Objective: interface and Arduino MEGA to a Mettler Toledo SB32001 using the RS-232 communication protocol described in the manual. Equipment Used: SB32001 Mettler Toledo 32 kg scale Arduino MEGA ...
0
votes
1answer
148 views

Compare the new sample in a high sampling rate datalogger

I am using sdFat library the analog bin logger example, Github: SdFat/SdFat/examples/AnalogBinLogger/ The program is working fine and every thing but the thing is, this high speed datalogger uses ...
0
votes
2answers
38 views

Cost-effective storage for prototyping

In my project I need to add some storage space and I don't want to use an SD card, because in the "final product" the user shouldn't be able to access the data on their own. So I was considering the ...
0
votes
1answer
33 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
1answer
50 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-...