Questions tagged [stream]

16 questions
6
votes
1 answer

Is it possible to print a custom object by passing it to Serial.print()?

I googled about it, but can't find the answer. As I would guess I would have to inherit from the Print class and somehow pass to its print methods the part of my object I would like to be printed. But I am not sure how to go about it or if it is…
Mykolas
  • 165
  • 4
4
votes
0 answers

What’s the most stable digital communication protocol for sewable electronics?

I’ve spent the past few days trying researching communication protocols and I have a few issues. With sewable electronics, you need to work with cables with a fairly high resistance that are constantly moving. That means unreliable and noisy…
2
votes
0 answers

Stream esp-32 camera to RMTP server like YouTube

I am doing research for a project in which I need to play with camera streams. After multiple hit and trails and googling I am not getting even close to the solution for streaming ESP-32 Camera stream to my own RMTP server directly. Already tried…
1
vote
0 answers

legality of streaming data on 868 or 915 Mhz in EU/US

From what I read about duty cycles in the EU there is a 10% limitation (even less in some sub bands). The modules I found have a max. rate of 300 kbps. Even if you max out the duty cycle that would only be 30kbps. How do consumer devices like a…
michi
  • 13
  • 3
1
vote
1 answer

Create New Serial Class Inheriting from Stream

How should I inherit from Stream, for creating a new class MySerial able to be initialized from a Stream0 instance?. The error so far is: "cannot declare variable 'mySerial' to be of abstract type 'MySerial'". If I make a class MySerial not…
Brethlosze
  • 337
  • 1
  • 4
  • 17
1
vote
2 answers

Unusual use of << operator... not a bit shift?

Poking through the example code of SDFS, I saw the following: static ArduinoOutStream cout(Serial); // F stores strings in flash to save RAM cout << F("\ntype any character to start\n"); What exactly is << doing in this case? Moreover, F seems to…
Bo Thompson
  • 261
  • 1
  • 3
  • 13
1
vote
1 answer

Can Arduino accept HDMI input video stream, and output it without any modification to the video?

I'd like to know please whether an Arduino can accept an HDMI signal from a satellite receiver, let it flow without any modification to the stream, and output it to TV?
NumberD
  • 11
  • 2
0
votes
0 answers

Stream data using Firebase Realtime Database rest api with nodeMCU client

I have data on firebase rtdb, which i want to listen in my nodemcu. I know there are libraries available like this one which provides listeners, but i want to do it using REST API streaming as mentioned in firebase documentation for rest api…
aryan
  • 11
  • 1
0
votes
1 answer

Parsing JSON response from Stream

I want to parse JSON response from a GET Request. I do this usually by using a String variable to store the response and later parse this string using ArduinoJSON library like shown below: #include #include "OTA.h" #include…
Zaffresky
  • 183
  • 3
  • 17
0
votes
0 answers

I'm looking for the StreamSend.h library for use in Arduino/ESP8266 serial communications using struct

I've come across an interesting yet old article within StackExchange which has great examples of sending structured variables over serial communications. The library StreamSend.h and it's source code no longer exist on this site and I'm finding it…
Brian
  • 11
  • 1
0
votes
1 answer

How to read shiftOut function using arduino

(I'm sorry for my bad English, but I will do my best) I have a Chinese MUC which already programmed. It communicates with a LED driver chip using three wires (STB,CLK,DIN). (LED driver controls 16 digit 7 Segment display) After some research, I…
hatore
  • 1
  • 1
0
votes
2 answers

Help understanding Print::write()--it calls write()--where is write() defined? Help reading code

I'm writing a new serial library (eRCaGuy_Peer2Peer) to allow any 2 pins on an Arduino to be used for peer-to-peer type communication between Arduinos, withOUT interrupts or timers/counters. Currently SPI, Serial, and I2C are pin-specific, and…
Gabriel Staples
  • 1,385
  • 11
  • 27
-1
votes
1 answer

How to pass Strem object to my class

I'm trying to creaper class wraper to use an Streamobject but I've an error when I try to compile. My .hfile : #include class TestSerialListener { public: TestSerialListener(Stream &serial); void testPrint(void); private: bool…
simon
  • 133
  • 5
-1
votes
1 answer

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. The right data got in the computer should…
-1
votes
1 answer

Multiple Serial Ports Stream Switch

I am trying to define multiple serial ports (multiple BMS management boards) and select via a global variable the port which one is active, this is the sketch I am trying to…
1
2