Month: January 2021
Expanding Arduino Serial Port Buffer Size
Software Serial Buffer Expansion
The change for software serial ports require a simple modification of the file:
<base Arduino folder>\hardware\arduino\avr\libraries\SoftwareSerial\SoftwareSerial.h
Change:
__#define _SS_MAX_RX_BUFF 64 // RX buffer size
To:
__#define _SS_MAX_RX_BUFF 256 // RX buffer size
Hardware Serial Buffer Expansion
The change for hardware serial ports require a simple modification of the file:
<base Arduino folder>\hardware\arduino\avr\cores\arduino\HardwareSerial.h
Change:
__#define SERIAL_TX_BUFFER_SIZE 64
__#define SERIAL_RX_BUFFER_SIZE 64
To:
__#define SERIAL_TX_BUFFER_SIZE 256
__#define SERIAL_RX_BUFFER_SIZE 256
Btw, you can copy the SoftwareSerial.cpp and h files from the Arduino directory in to your project directory and then include it with “(quotation marks) instead of the < (pointy brackets). If you do this, make sure to also change the #include <SoftwareSerial.h> in your copy of SoftwareSerial.cpp to “SoftwareSerial.h”.
~you use <pointy brackets> to include files from arduino libraries and
“quotes” to include from project directory.
Source: Internet of Home Things » Expanding Arduino Serial Port Buffer Size
Why Serial.write() instead of Serial.print()
Serial.write() just sends raw bytes of data.
Serial.print() converts and displays data in human readable forms (ASCII).
Source: Why Serial.write() instead of Serial.print()
Gas Sensor Carbon Dioxide Detection Sensor Module CCS811 CO2 eCO2 TVOC Air Quality Detecting I2C Output CJMCU 811
The Swinging Ladies – Jazzwoche Burghausen 1996
The Unknown Saint (2019)
https://www.imdb.com/title/tt10077998/
How to determine the capacity of the JsonDocument? | ArduinoJson 6
Source: How to determine the capacity of the JsonDocument? | ArduinoJson 6
Gran Concerto di Capodanno 2021 – Teatro Massimo Bellini di Catania
Chinatown (1974)
https://www.imdb.com/title/tt0071315/
What is Watchdog Timer ?
https://create.arduino.cc/projecthub/rafitc/what-is-watchdog-timer-fffe20
MAX485 Low-Power, Slew-Rate-Limited RS-485/RS-422 Transceivers – Maxim Integrated
https://www.maximintegrated.com/en/products/interface/transceivers/MAX485.html