New answers tagged serial
0
votes
Accepted
Incorrect data received on serial communication
The communication is working with INT, but I am having troubles to receive correct characters. Instead of characters I'm only receiving numbers.
Suggest you take a step back because you have code that ...
- 334
0
votes
Accepted
Curious Collision between OneWire and RadioHead
Finally had time to get back to this. I connected the data-out line from the sender to the data-in line of the receiver, and discovered it always works. So it's not any sort of collision between ...
- 125
-1
votes
Need ESP32 to use 3 Serial Ports
Welcome Richard, your question is interesting and a common problem in the Arduino arena. I simply use a SPI or I2C board that outputs RS232. I stumbled across them a few years back and used several, ...
- 1,589
1
vote
HC-05 Bluetooth module; two serial ports, COM4 and COM5
I found this answer in Microsoft Technet helpful:
when connecting your terminal program to the first you are actually instructing Windows to attempt to establish the Bluetooth connection to the ...
- 139
1
vote
USB serial communication arduino nano and jetson nano
I also belive its to do with the following line,
data = arduino.readline()
Try the following,
while True:
try:
arduino.flushInput() // Clear buffer
data = arduino.readline()
// ...
- 11
0
votes
USB serial communication arduino nano and jetson nano
This stackoverflow question/answer implies that .readline() needs to be converted to a string.
import serial
ser = serial.Serial("COM11", 9600)
while True:
cc=str(ser.readline())
...
- 6,821
Top 50 recent answers are included
Related Tags
serial × 2084arduino-uno × 653
softwareserial × 197
arduino-mega × 192
communication × 127
programming × 125
usb × 119
esp8266 × 100
arduino-nano × 100
arduino-ide × 94
bluetooth × 92
uart × 91
python × 88
c++ × 72
serial-data × 68
string × 63
sensors × 60
arduino-due × 55
arduino-leonardo × 41
i2c × 40
array × 37
xbee × 36
esp32 × 34
interrupt × 32
atmega328 × 31