Skip to main content

Questions tagged [buffer]

The term "buffer" is a very generic term, and is not specific to IT or CS. It's a place to store something temporarily, in order to mitigate differences between input speed and output speed. While the producer is being faster than the consumer, the producer can continue to store output in the buffer. When the consumer speeds up, it can read from the buffer. The buffer is there in the middle to bridge the gap.

0 votes
1 answer
68 views

I am trying to collect data from a geophone using a UNO R4 minima as slave with a Zihatec shield, so that I can integrate it into a larger project on a modbus RTU bus. The signal from the geophone is ...
user36093's user avatar
  • 111
0 votes
3 answers
273 views

I am using an Arduino Nano in combination with a NEO 6m GPS module. The GPS module is sending data, consisting of a few hundred chars, every second. Since I am communicating with my PC over the ...
Vincent Pruy's user avatar
0 votes
2 answers
97 views

I have a question regarding serial buffer readout. At program start, I send a serial command to a sensor that 1. activates him and 2. let him send data - that works. When I unplug the sensor, the ...
Gymknopf's user avatar
1 vote
1 answer
286 views

I want to check for specific string (like "RecordStart") in a UART stream (115 200 baud 8N1) from a camera, to know when it is recording or not/if there is an SD. I am using an ESP32-WROOM-...
AyubowanPro's user avatar
3 votes
1 answer
323 views

I am working on a project with Bluetooth commands between various devices. I would like to try and convert a string to a DataView Object on Arduino, so I can send it over BLE, much like this function ...
NRav's user avatar
  • 243
1 vote
0 answers
61 views

I'm loading a buffer with different data recorded by sensors and sending them to a server. But I also wanted to log when the data was sent on the client side, so I formatted the time of my RTC clock ...
5TableLegs's user avatar
0 votes
2 answers
479 views

I am trying to move a stepper motor when a specific command is send to Arduino Mega 2560. This command is read character by character and stored in a string variable. Whenever a new command is sent, ...
Yan Araújo's user avatar
1 vote
1 answer
344 views

I'm getting an unexpected extra character added to the serial monitor print line only when I initialize an SD card in the code. Normal The code below gives me this expected result in the serial ...
Dashiell Rose Bark-Huss's user avatar
1 vote
0 answers
354 views

I would like to save my Circular Buffer in the RTC memory of my ESP32 when I use deep sleep. So I have initialized it with RTC_DATA_ATTR but when I go into Deep Sleep I lose the data I've saved. Is ...
EMall's user avatar
  • 11
1 vote
1 answer
77 views

I am currently trying to determine how the ESP8266 WifiSniffer program by Kalanda works. Here is the source code: #include <Arduino.h> extern "C" { #include <user_interface.h> ...
Lachlan Etherton's user avatar
-2 votes
1 answer
4k views

I'm trying to do serial communication between Arduino mega and a esp8266, and having issues with determining the size of the JSON document. I have read that the receiver buffer size should be greater ...
Binara Medawatta's user avatar
1 vote
2 answers
2k views

In using the SerialTransfer.h / pySerialTransfer libraries to send commands between my laptop and an Arduino Mega, I am sending multiple sequential strings between the devices. However, I'm having ...
David W's user avatar
  • 39
0 votes
2 answers
960 views

So Arduino Mega has Serial, Serial1, Serial2, Serial3. However, does those Serial lines use the same buffer? or four independent ones? i.e. are they truly receive single independently, or actually ...
ShoutOutAndCalculate's user avatar
0 votes
1 answer
316 views

#include <ESP8266WiFi.h> #include <ESP8266HTTPClient.h> #include <WiFiClientSecureBearSSL.h> #define WIFI_SSID "ssid" #define WIFI_PASSWORD "password" void setup() { Serial.begin(...
alphaceph's user avatar
3 votes
1 answer
214 views

Can some one explain this behaviour please, i have the following code byte buffer[512]; byte block; byte len; Serial.setTimeout(60000L) ; // wait until 20 seconds for input from serial ...
DevilWAH's user avatar
  • 143

15 30 50 per page