Questions tagged [data]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
182 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 =...
user avatar
4 votes
1 answer
97 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()...
user avatar
  • 43
1 vote
1 answer
123 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 ...
user avatar
1 vote
1 answer
96 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; ...
user avatar
1 vote
1 answer
125 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 ...
user avatar
1 vote
0 answers
51 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. ...
user avatar
2 votes
2 answers
112 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 ...
user avatar
1 vote
1 answer
111 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 ...
user avatar
  • 11
0 votes
1 answer
595 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 ...
user avatar
3 votes
1 answer
152 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 ...
user avatar
1 vote
1 answer
501 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 ...
user avatar
  • 242
3 votes
1 answer
82 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 ...
user avatar
1 vote
0 answers
135 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 ...
user avatar
0 votes
1 answer
72 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 ...
user avatar
1 vote
0 answers
79 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 ...
user avatar
  • 111
0 votes
1 answer
161 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 ...
user avatar
0 votes
2 answers
187 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 ...
user avatar
0 votes
1 answer
85 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 ...
user avatar
0 votes
2 answers
98 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. ...
user avatar
  • 115
1 vote
1 answer
1k 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; ...
user avatar
1 vote
1 answer
111 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 ...
user avatar
  • 11
1 vote
1 answer
434 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 = ...
user avatar
0 votes
1 answer
41 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 ...
user avatar
  • 7
0 votes
0 answers
74 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' ...
user avatar
0 votes
2 answers
356 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 ...
user avatar
1 vote
0 answers
119 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 ...
user avatar
-1 votes
1 answer
62 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 ...
user avatar
0 votes
1 answer
39 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 ...
user avatar
0 votes
2 answers
126 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 ...
user avatar
  • 37
0 votes
0 answers
54 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. ...
user avatar
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 ...
user avatar
1 vote
2 answers
373 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), ...
user avatar
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 ...
user avatar
  • 41
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 ...
user avatar
  • 838
1 vote
1 answer
155 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 ...
user avatar
1 vote
0 answers
447 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 ...
user avatar
0 votes
2 answers
955 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 ...
user avatar
  • 15
1 vote
0 answers
69 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 ...
user avatar
0 votes
2 answers
513 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 ...
user avatar
0 votes
1 answer
46 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 ...
user avatar
1 vote
0 answers
80 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 ...
user avatar
  • 11
2 votes
1 answer
785 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 ...
user avatar
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 ...
user avatar
  • 351
0 votes
1 answer
418 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....
user avatar
  • 283
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?...
user avatar
2 votes
1 answer
615 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', ...
user avatar
  • 183
0 votes
1 answer
31 views

Is this a good function for I2C receive?

I'm trying to fix my I2C code: Is the following function correct because it has multiple returns. I don't know if that would work. uint8_t I2C_rx(uint8_t ack_rx) { uint8_t i; if (ack_rx) ...
user avatar
  • 283
1 vote
1 answer
395 views

Two data outputs to be displayed on one 16x1 lcd display

Before pursuing this very far, I would like to know if I can get two different data outputs (one on the left 8 and the other data on the right 8). And if so, are there any requirements on the display ...
user avatar
0 votes
1 answer
643 views

Transfer byte-buffer with ENC28J60

How do I transfer a series of byte[256]-buffers to a server with an ENC28J60 Ethernet adapter? I get blocks of uint8_t from an Arducam camera module and I'd like to transfer them to a host. Does ...
user avatar
0 votes
1 answer
134 views

Passing serial data to Processing using something other than ln to trigger Processing

I have a Uno program and I can transfer data to Processing using println. In Processing bufferUntil('\n') interprets the ln as \n, stops buffering, and reads the string until the next '\n'. I would ...
user avatar