Questions tagged [data]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
71 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
1answer
69 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
1answer
69 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
0answers
31 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
2answers
84 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
1answer
42 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
1answer
148 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
1answer
70 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
1answer
284 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
1answer
52 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
0answers
87 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
1answer
68 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
0answers
59 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
1answer
125 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
2answers
129 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
1answer
60 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
2answers
75 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
1answer
766 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
1answer
79 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
1answer
285 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
1answer
40 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
54 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
2answers
244 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
0answers
95 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
1answer
57 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
1answer
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 ...
0
votes
2answers
118 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
0answers
52 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
0answers
968 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
2answers
269 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
0answers
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
0answers
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
1answer
131 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
0answers
415 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
2answers
620 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
0answers
55 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
2answers
366 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
1answer
44 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
0answers
73 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
1answer
721 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
1answer
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
1answer
389 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
1answer
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
1answer
572 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', ...
0
votes
1answer
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) ...
1
vote
1answer
392 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 ...
0
votes
1answer
591 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 ...
0
votes
1answer
121 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 ...
0
votes
1answer
545 views

How can I split data coming from JSON?

In my recent project, I'm working with Arduino and JSON. Now, I get data from JSON and I can able to receive in Arduino side. Below one is my Arduino code: #include<LiquidCrystal.h> ...