Questions tagged [data]
The data tag has no usage guidance.
55
questions
0
votes
0
answers
20
views
Receives data from Light sensor with ISR
I use a laser module (HW483) to transmit a series of 0 or 1 data and Light Sensor Photosensitive(LM393) utilizes ISR to receive data and its digital pin as output. On the transmitter, I use the ...
1
vote
0
answers
43
views
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 ...
-1
votes
1
answer
89
views
Constantly Stream data vía Bluetooth to monitoring
I am using a Bluetooth module HC-05 to Stream data from Arduino to My computer. In they computer I am using a python script to receive
They specifications:
Baud rate: 9600
But I am getting an error. ...
2
votes
2
answers
1k
views
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 ...
1
vote
1
answer
237
views
Why does the data I send to the server get rounded off and how do I send the entire float instead?
#include <Arduino.h>
#include <WiFi.h>
#include "WiFiManager.H"
#include <HTTPClient.H>
#include "ESPAsyncWebServer.h"
#include <AsyncTCP.h>
float version =...
4
votes
1
answer
416
views
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()...
1
vote
1
answer
375
views
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 ...
1
vote
1
answer
254
views
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 <DES.h>
#include <SoftwareSerial.h>
SoftwareSerial link(2, 3); // Rx, Tx
DES des;
...
1
vote
1
answer
347
views
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 ...
1
vote
0
answers
79
views
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. ...
2
votes
2
answers
222
views
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 ...
1
vote
1
answer
386
views
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 ...
0
votes
1
answer
2k
views
Arduino : send data via satellite (or other solutions ? without GSM)
I'm a researcher and I'm looking to build a very tiny embedded system. I must to send data from the desert and above the ocean, to do that I think that my single option is to use satellite ...
3
votes
1
answer
492
views
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 ...
1
vote
1
answer
979
views
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 ...
3
votes
1
answer
185
views
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 ...
1
vote
0
answers
258
views
PCA on ESP32 - libraries and recommendations?
it would seem that this would be a commonly sought-after topic, however I cannot find straightforward libraries for this and it's taking too long, so please allow me the question:
Is there a good ...
0
votes
1
answer
83
views
Can an Arduino access a network database?
This is a similar question to a previous question I have asked. Primarily I am looking to find out more about the capability of the Arduino.
Here is the scenario. There is a PC that is connected to a ...
1
vote
0
answers
154
views
How to set the data length for SPI communication in Arduino library?
How can I set the number of bits that need to be transferred in SPI communication from a Slave chip to Master MCU using Arduino SPI Library in a SPI transaction? Let us say I want to read 14-bits data ...
0
votes
1
answer
313
views
Arduino I2C external 32Kb fram data organization
Hey guys I am a noob when it comes to data structures and storing types of data, I have been recently working on a project where I needed to store long term data for later retrieval. I decided to buy ...
0
votes
2
answers
304
views
Send data before raising edge of a Clock
I'm trying to control a LED strip that has a custom protocol (developed above of I2C).
But in my tests i was successful figuring out how it works :
You set Clk to zero , you send a bit in the data ...
0
votes
1
answer
141
views
Efficient way to store array with repeating values?
So I have about 2000+ X and Y values where I will look up the Y value for a given X value. If I store the values naively they won’t fit in memory, however there are a lot of repeating values and the X ...
0
votes
2
answers
145
views
Getting external data to the Arduino
I have a new Uno R3, it's pretty cool and I've enjoyed playing with it.
Now I want to build a couple of things:
1) a market price LCD tracker.
2) a servo motor type thing to open my electric gate.
...
1
vote
1
answer
2k
views
How to get the free/used space on a SD card and transmit it
I'm using this block of code to read and sum up the bytes of all the text files I have on an SD card:
long get_sd_memory_taken() {
File dir = SD.open("/");
long sd_memory_taken;
int c = 0;
...
1
vote
1
answer
176
views
Receiving multiple Values from android via Bluetooth [duplicate]
my question is, how can I receive 3 integer values in Arduino, which I send from my android phone. I send all 3 values at the same time and I also need to read them in about the same time.
I hope you ...
1
vote
1
answer
746
views
Can not receive data from Python code
I want to send 4 float numbers from Python code to an Arduino; I was trying to send it via serial and I have some problems.
here is my Python code:
import time
import serial
import struct
data = ...
0
votes
1
answer
44
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
0
answers
84
views
Arduino acting strange with photoresistor data
So I stumbled into strange problem. I have this circuit, where I connect 2 photoresistors and bluetooth HC05 to Arduino. When one of the resistors senses bright light bluetooth sends '1' or '3' ...
0
votes
2
answers
424
views
How do I make a character array scanner properly?
I start with this:
char delay_chars[10];
then I have a stream of incoming characters that I need to assign like this:
['I', ' ', 'l', 'o', 'v', 'e', ' ', 'p', 'i', 'e']
I can do that, but then ...
1
vote
0
answers
167
views
How to transfer serial data or plot wirelessly on an arduino?
I have an arduino uno and an accelerometer connected reading vibrations. I want to be able to send the serial data or serial plot wirelessly from the arduino to any program(recommendations will be ...
-1
votes
1
answer
84
views
How to Set Sensor Data Parameters?
Good day! How to set sensor Data parameters?
Like the data only set for example it starts with minimum value of 3 and ends with maximum value of 6 and it will turn on led 1 and if minimum value of 1 ...
0
votes
1
answer
43
views
UPDATE: Fault in processing code - doesn't receive correct data from Arduino
I am receiving data from an LDR which I am inputting into processing. The data seems to be received to Arduino correctly and I have looked at the data being sent via the serial monitor and it all ...
0
votes
2
answers
153
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 ...
0
votes
0
answers
57
views
Serial data printing slowly
I have connected an arduino serial port to my PC and monitoring the output in realterm. I am trying to print:
CR
11.98,123,3520,01CRLF
But it is resulting with some delay. First
CR
1
Is printed. ...
1
vote
0
answers
1k
views
Nodemcu single server with 2 clients
I am trying to connect my nodemcu server with 2 nodemcu clients. One client is connected and it works perfectly. I am unable to configure what to do for the other client to be connected and share data ...
1
vote
2
answers
722
views
Number of digits setting for serial printing the sensor output value
I am getting fan motor rpm as 3200. But if I get the data as 50, I should get the value like 0050. How can I do this?
I can do it like checking the value for single digit(0-9), double digit (10-99), ...
1
vote
0
answers
2k
views
Parsing the data from an HTTP POST request on a ESP8266 / wemos
I'm sending an HTTP Post request on my Android App to my Wemos D1 mini pro and want to parse the incoming data (which is a json). My current code just prints out the whole POST request and I need to ...
1
vote
0
answers
29
views
how do I detect a data connection?
on an ardunio, is there a way to detect if a data connection (vs power only) is present? I want to have my arduino behave differently if connected to a pc, or on stand alone power.
specifically, I ...
1
vote
1
answer
196
views
How to detect patterns in an FFT output?
I have an FFT output from a microphone and I want to detect a specific animal's howl from that (it howls in a characteristic frequency spectrum). Is there any way to implement a pattern recognition ...
1
vote
0
answers
515
views
Sending sensor data from Android app to arduino via USB Serial
I've searched this and have only found solutions for receiving data FROM Arduino TO android, I need the opposite. I basically need to figure out how to press a button from my android phone that will ...
0
votes
2
answers
2k
views
Parsing Arduino Receiving Strings
I'm currently using google geolocation to get location data to one nodemcu and sending it through serial to another Arduino.
The serial command I'm getting right now is,
1.450187T103.824745
I'm ...
1
vote
0
answers
97
views
Reading and sending data from a micro SD card using Micro SD card adapter without using buffer
Actually, I am trying to get data that appears in a .wav file, but I got the problem that it is not as fast as I need because, looking around the SD library I found that most of the bits are saved ...
0
votes
2
answers
701
views
Arduino security
My question is how secure can I make an Arduino? The project I am working on would put the Arduino out in the public (school campus inside a trash can to sense how much trash is in it) and I want to ...
0
votes
1
answer
57
views
Question on how "f" value is calculated in converting Morse Code to laser audio from this tutorial
I am working on this tutorial,
https://www.hackster.io/SURYATEJA/morse-code-communication-using-laser-module-both-ea1b01
and the author created a "Send" and "Receive" code for encoding and decoding ...
1
vote
0
answers
105
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 ...
2
votes
1
answer
929
views
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 ...
0
votes
1
answer
2k
views
Problem converting character array into integer in arduino using atoi function
I'm receiving a character string from a radio signal on my arduino. This character string consists of four character digits, which I want to convert into an integer. The four digit sequence may ...
0
votes
1
answer
491
views
How to scroll data in LED dot matrix through multiple modules?
I've been struggling in this issue for a long time, I know there are people who have done it.
But, I don't have much experience in C to have the skills to design or develop such complicated functions....
0
votes
1
answer
1k
views
ATtiny84 vs ATtiny85 consumption
I'm doing a comparative study between ATtiny84 and ATtiny85, and I found from the datasheet that ATtiny84 consumes less current, is that normal even if it is bigger in terms of size and number of pins?...
2
votes
1
answer
682
views
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', ...