Questions tagged [data]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
33 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
42 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
45 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
1answer
76 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; ...
0
votes
1answer
64 views

Can not receive data from python code

I want to send 4 float numbers from a 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
2answers
41 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. ...
0
votes
2answers
47 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 ...
0
votes
1answer
21 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 ...
0
votes
1answer
36 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
31 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
0answers
13 views

How do I post data from a real-time firebase db to my webpage?

I am trying to print data from my real-time Firebase db to my webpage. I have 0 experience with js and HTML, so the guides and tutorials I found online were too advanced for me. I currently have the ...
0
votes
0answers
41 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
44 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
34 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 ...
-1
votes
2answers
84 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
48 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. ...
0
votes
0answers
696 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
122 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
508 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 ...
0
votes
0answers
68 views

Wrong serial data

I am communicating with a system serially using Arduino Nano and I am able to communicate with it except for one issue. I have two functions and I want to call them together so that I can get two ...
0
votes
0answers
26 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
80 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 ...
0
votes
0answers
336 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
205 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 ...
0
votes
0answers
37 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
121 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
42 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 ...
0
votes
0answers
65 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
489 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
301 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
786 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?...
0
votes
1answer
1k 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 ...
2
votes
1answer
444 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
30 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
383 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
442 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
107 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
454 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> ...