About 15,500 results
Open links in new tab
  1. How to use multiple Software Serial in Arduino nano?

    Mar 2, 2016 · I'm working on a project that needs to use at least 2 serial communications (2 TXs and RXs) alternately and in different pins. I wonder if it is possible to program the Arduino Nano for this task.

  2. c++ - SoftwareSerial for Arduino Nano 33 IoT - Stack Overflow

    Jul 24, 2019 · I am planning on moving from the old 5V Arduino Nano to the new Arduino Nano 33 IoT. I have written a functioning code for the old 5V Arduino Nano using Software Serial (SoftwareSerial.h) to commun...

  3. Can we use 2 or more SoftwareSerial in Arduino? - Stack Overflow

    Sep 19, 2022 · SoftwareSerial library has the following known limitations: It cannot transmit and receive data at the same time. If using multiple software serial ports, only one can receive data at a time. If your project requires simultaneous data flows, see Paul Stoffregen's AltSoftSerial library.

  4. STM32F103C8T6 (Blue pill) and Arduino nano serial communication

    Feb 26, 2020 · I have a next code in in my Arduino nano: #include <SoftwareSerial.h> SoftwareSerial mySerial(2, 3); void setup() { Serial.begin(115200); while (!Serial) { ; // wait for serial port to connect. Needed for Native USB only } // set the data rate for the SoftwareSerial port mySerial.begin(9600); } void loop() // run over and over { mySerial.write("Software serial from Arduino Nano\n"); delay(500 ...

  5. Does the Ardiuno Nano have a Serial2 port? - Stack Overflow

    Apr 20, 2012 · No. Arduino Nano uses either an ATmega168 or ATmega368 microcontroller, and these only have a single UART. Just like a regular Arduino (Uno or Duemilanove). They do have both I2C and SPI, which you can use for communicating with another Arduino, and for some applications you can use SoftwareSerial, which allows you to do async serial on any pins, but also uses up a lot of CPU cycles.

  6. arduino - SoftwareSerial example not working as expected - Stack …

    I figured I would need to use the SoftwareSerial library to read the incoming data and print that data on my screen using the hardware serial and the Serial Monitor in the Arduino IDE. To become familiar with (software) serial communication on the Arduino, I reviewed the documentation of the SoftwareSerial library.

  7. bluetooth - How many Software Serial can use with arduino nano, …

    Aug 4, 2016 · I am trying to use multiple serial ports with this arduino models. I am planning to use 1 ESP8266 module and 1 Hm-10 BLE module. I want to connect webserver via ESP. But I have to send my ssid an...

  8. gps - Arduino Nano Gnss Software Serial - Stack Overflow

    I want to connect Arduino nano and GNSS (SIMCom’s SIM33ELA standalone GNSS module). First I wrote a program for rx/tx, which is worked well, but now I want to use Software Serial and I got something wrong data.

  9. Arduino Nano no serial communication SIM800C - Stack Overflow

    Jul 13, 2019 · I switched the Arduino because SoftwareSerial is usually not really working at higher baud rates (like 115200) and the Mega has three more real serial ports. I also tried hooking up V_TTL to 3.3V with the Nano and 5V with the Mega respectively.

  10. arduino - ESP32 - SoftwareSerial Library - Stack Overflow

    Feb 6, 2020 · I have a ESP32 and I need to work with more serial ports, but I can't be using the Software Serial Library into ESP32, because the Arduino IDE don't recognize the library. How could I be using it?...

Refresh