2
votes
Accepted
Reading serial data from Arduino in Python continually
I am puzzled why the Arduino code isn't simply stopping at "Serial.availableForWrite()" when I stop reading data on the Python side -- it keeps on running.
This depends on the Arduino board ...
1
vote
Clear serial data for new incoming values
The error lays in your algorithm to collect the command. Your sketch uses the space character ' ' as the separator between incoming messages.
After the first transmission of "voltage 100", ...
1
vote
Why can't I upload a sketch by connecting directly to the serial pins?
OK this was a combination of at least two things:
Main problem:
connecting the fake arduino's RST pin to the FTDI's DTR pin via a 0.1uF capacitor seems to stop it from uploading, when when you ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
serial × 2132arduino-uno × 665
softwareserial × 199
arduino-mega × 197
communication × 130
programming × 129
usb × 122
esp8266 × 102
arduino-nano × 102
uart × 96
arduino-ide × 95
bluetooth × 92
python × 92
serial-data × 74
c++ × 72
string × 66
sensors × 62
arduino-due × 55
arduino-leonardo × 41
i2c × 40
esp32 × 37
array × 37
xbee × 35
interrupt × 32
atmega328 × 31