Questions tagged [data]
54 questions
4
votes
1 answer
How to determine when a sensor's output signal changes significantly?
Starting with an analog signal from any sensor, how do I automatically determine if there is a real signal change or a reset? Below is the sample code that better explains my goal:
value = sensorRead();
if (millis() > t + 1000) {
value_old =…
boromyr
- 43
- 3
3
votes
1 answer
Getting Accurate Velocity Readings From IMU
Hi I am currently using a BNO055 for a design project. This sensor outputs a linear acceleration vector corresponding to three (xyz) directions. I am trying to "integrate" the acceleration to get a speed the object it is mounted to is traveling.
I…
Jonathan Seffinga
- 63
- 1
- 5
3
votes
1 answer
Is it possible to gather data while the Arduino is being powered with a battery, connect to comp, and then read off the values in Serial Monitor?
I want to do a project where I gather data such as sunlight hours per day, as well as temperature highs/lows. Once I have gathered 24 hours worth of data, I want to hook it up to the computer to read off the values in Serial monitor.
When I try and…
2
votes
2 answers
How can I log data to a thumb drive?
I am working on a project where I need to log data, but I was wondering if it is possible to log that data to a thumb drive? I know that I can log data to an SD card, but I thought a thumb drive would be more accessible to users who wish to obtain…
Renier Jr.
- 99
- 1
- 8
2
votes
2 answers
How to program an Arduino Uno to collect data using a timer interrupt and analyze that data in matlab?
I working on a project where I want to collect sensor data (from a sensor) and I want to analyze the first 20 data sample (e.g., find the range, trendline e.t.c.). I know how to compile a timer interrupt in Arduino IDE (using an ISR timer), but how…
Dema Govalla
- 71
- 5
2
votes
1 answer
Arduino String: use a non-null-terminated char array?
I'm using a library that takes a String as it's parameter (https://github.com/gmag11/painlessMesh)
I want to pass char arrays that is binary (UTF-8) data that also contains null-bytes (0x00). Right now, the resulting String is cut off at the first…
user125756
- 123
- 3
2
votes
1 answer
Writing data to a specific address in EEPROM
I'm trying to write two strings to an Arduino Uno's EEPROM. Here, the first code block works fine: it writes string(True/False) at 'address 0'. But the second block, which writes data at 'address 5', is not working as expected.Reading data at…
smc
- 203
- 1
- 5
- 14
1
vote
0 answers
Sharing data between M4 and M7 on a Giga R1 at high speeds
I'm working on a project to implement an attitude controller for a quadcopter. Loop times are extremely important as you can imagine.
I already have tested code for a cascading controller (inner loop does angular rate, outer does attitude) for a…
246tnt
- 21
- 1
1
vote
1 answer
Why does the data I send to the server get rounded off and how do I send the entire float instead?
#include
#include
#include "WiFiManager.H"
#include
#include "ESPAsyncWebServer.h"
#include
float version = 1.9;
uint32_t chipId = 0;
String chipId2 = "";
int i;
String serverName = "http://d";
//…
jay
- 35
- 4
1
vote
1 answer
How to send data from one Arduino to another isolated?
I have no experience about serial communications, with that being said; I have two circuits isolated from each other and each have a ATMEGA8 reading a voltage on their ADC.
I want one of them to send ADC data to another without having a common…
ElectronSurf
- 814
- 4
- 17
- 43
1
vote
1 answer
Sending Data Between Arduino Nano and D1 Mini
I am sending data from Arduino Nano to D1 Mini,
Transmitter is Arduino Nano
Transmitter Code:
#include
#include
SoftwareSerial link(2, 3); // Rx, Tx
DES des;
byte in[8];
String input;
char text[20];
char charVal[6];
char…
VinRocka
- 145
- 7
1
vote
1 answer
Send packet of multiple sensors data to Bluetooth module
In my project I am using 3 sensors. I am sending a regular stream of sensors data to Bluetooth module but now I want to send data in form of packet (which may be 30 bytes or 40 bytes of size) in which first 10 bytes contain the first sensor data…
Namra Noor
- 53
- 4
1
vote
0 answers
Data output , ds18b20 , lcd1602 , yl-69, dht11
Good afternoon, I wonder if you could help me. I have the code but the data from the sensors is not correct. Perhaps there are some errors, could you fix them?
I apologise for my inaccurate statement. I have the task of displaying data from three…
Дарина Бакута
- 11
- 2
1
vote
1 answer
Arduino MKR GMS alternative
I’m starting on a project about monitoring the soil in the agriculture field and also to visualise the data remotely. The aim of this project is collect the atmospheric data as well as the soil related parameters and then send them to cloud where…
Huy
- 11
- 1
1
vote
1 answer
Why isn't this EEPROM.get() working?
I am trying to save a string/char to EEPROM with EEPROM.put() and then get the value, but it doesn't work and I get a blank value when I do a EEPROM.get().
I remember this is how it worked on arduino nano, but now I am trying with an ESP32 board, do…
adrianTNT
- 252
- 4
- 17