CARVIEW |
Select Language
HTTP/2 200
date: Sun, 27 Jul 2025 14:01:03 GMT
content-type: text/html; charset=utf-8
cf-ray: 965caaa4b96420c5-BLR
cf-cache-status: DYNAMIC
cache-control: private
set-cookie: prov=ff2f85d2-6877-45bc-b62c-4c6f28557fa7; expires=Mon, 27 Jul 2026 14:01:03 GMT; domain=.stackexchange.com; path=/; secure; httponly
strict-transport-security: max-age=31536000; includeSubDomains
vary: Accept-Encoding
content-security-policy: upgrade-insecure-requests; frame-ancestors 'self' https://stackexchange.com
x-clacks-overhead: GNU Terry Pratchett
x-frame-options: SAMEORIGIN
x-request-guid: a982044d-933f-420b-9e44-44a7c2183cf6
x-worker-origin-response-time: 468000000
x-dns-prefetch-control: off
set-cookie: prov=ff2f85d2-6877-45bc-b62c-4c6f28557fa7; Path=/; HttpOnly; Domain=stackexchange.com
set-cookie: __cf_bm=3qLwmHfBRvAmk26rMEMhI8ZUxj6L5udijjH93Ou.2dk-1753624863-1.0.1.1-oTdoKOkrtCqgJ2LiaYSIvtO0LgJYvkHik9fueOrCVA.gKbp13UkSHCYlAPXgGrNgi_Ck94ayXuQESOpTO3wkQcKyI.nCW_KZMmUxhG8jVZs; path=/; expires=Sun, 27-Jul-25 14:31:03 GMT; domain=.stackexchange.com; HttpOnly; Secure; SameSite=None
set-cookie: _cfuvid=dTRYkGfzUpOczhv.Vda_GmVkiPEGPYWn0FQsnlkQxZg-1753624863976-0.0.1.1-604800000; path=/; domain=.stackexchange.com; HttpOnly; Secure; SameSite=None
server: cloudflare
content-encoding: gzip
Newest 'python' Questions - Arduino Stack Exchange
Skip to main content
Stack Exchange Network
Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack ExchangeTeams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about TeamsQuestions tagged [python]
Python is a programming language. Use this tag for questions regarding how to use Python with your Arduino, or on using of pySerial or such software. Also consider using [programming] and other specific tags.
191 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
1
answer
88
views
Reading JSON from Arduino via Serial Missing Parts of Message
I have a project (Digital Dashboard for a Motorhome) in Pi that reads JSON data from an Arduino board and sends it via Serial.
The Pi gets the JSON data, makes some adjustments and then sends it to an ...
-1
votes
1
answer
121
views
Error in Compiling for Seeed Xiao nRF52840 [closed]
I am using Arduino IDE 2.3.4 to program a XIAO nRF52840 Sense. I added the board using the instructions on the official getting started page.
After installing the board in Arduino IDE, I open up the ...
-1
votes
1
answer
76
views
Looking for a library to operate LEDs using FastLED via serial communication from another device running Python
I have an LED display connected to a Teensy microcontroller using the FastLED library, which is connected to a Raspberry Pi Zero running Python via a USB hub.
I am looking for an existing library that ...
0
votes
1
answer
295
views
Xiao ESP32-C6 in CircuitPython
So I recently bought two Xiao ESP32-C6 from SeeedStudio; they work with Arduino code out of the box. Now I want to flash the CircuitPython bootloader from here https://circuitpython.org/board/...
0
votes
1
answer
53
views
Problems sending data to my Arduino from Python using pySerial
I'm trying to send a '1' or a '0' to my Arduino in Python using pySerial so that from my Arduino I can read whatever the Python program sends and then turn a relay on and off depending on what it ...
-1
votes
1
answer
201
views
Reading serial data from Arduino in Python continually
Using a stepper motor and a range finder (TFLuna), I am trying to build a "Lidar" (like a Radar, but with light). Here is the algorithm:
Turn motor one step, calculate angle, measure ...
0
votes
1
answer
396
views
Python script cannot connect to serial port
I want to control the LEDs with my hand, for this I used the repository https://github.com/paveldat/finger_counter/tree/main. I want to control the LEDs with my hand, for this I used the repository. ...
2
votes
1
answer
117
views
Micropython installation on Arduino nano
I am currently trying to use micropython on an arduino Nano 33 BLE using MacOS. Following the instructions from arduino website I was able to complete steps 1-3. At step 4, I can find the bossac file ...
0
votes
1
answer
262
views
How to fix UnicodeDecodeError when using Serial.println
I am using an Arduino Uno R3 to send instructions to a serial monitor in a Python program with Serial.println. But when I send a specific line, I get a a UnicodeDecodeError.
The line in the Arduino ...
3
votes
1
answer
479
views
How to ignore garbage values in serial communication between arduino and python
I have arduino uno. I am trying to send and receive serial data from arduino to python. I have usb to uart converter. I have connected its tx to rx of Arduino and rx to tx of Arduino and gnd is ...
5
votes
1
answer
993
views
ESP32 SocketIO Client is not connecting to Flask-SocketIO Server
I'm trying to connect a ESP32 client using SocketIO with a Flask-SocketIO server and it's not getting connected.
The server uses SSL. The local server address is https://192.168.1.137:3000.Is the ...
2
votes
1
answer
214
views
Connecting Arduino Mega 2560 to Python with PyFirmata
I am currently controlling two servos using the Arduino IDE, but now need to integrate my Arduino code into a Python script. I read about how to use PyFirmata and went through the process of uploading ...
1
vote
1
answer
192
views
Sending values with pyserial does not function if there is also sensing on Arduino Due
I'm using an Arduino Due to make a feedback loop using python, but this does not seem to function. The python code I'm using is the following:
from serial import Serial
board = Serial('COM11',9600)
...
2
votes
0
answers
587
views
Sending an image captured using ov7670 using arduino and serially transmit it to python
I am working on using an ov7670 camera module with arduino uno,capturing the image frame wise and transmitting the image serially line by line of each frame to python for image processing, however i ...
0
votes
1
answer
303
views
CircuitPython - how to connect Adafruit esp32 AirLift with Adafuit HttpServer? Incompatible socket object
I am building a CircuitPython weather station based on Adafruit M4 board stacked with Adafruit ESP32 AirLift module.
Both work fine together when it comes to making http calls (via the ...
- The Overflow Blog
-
-
- Featured on Meta
-
-
Related Tags
serial × 93
arduino-uno × 61
programming × 17
arduino-mega × 17
raspberrypi × 12
communication × 11
arduino-nano × 10
arduino-ide × 10
arduino-yun × 9
arduino-due × 7
usb × 7
esp8266 × 7
c × 6
firmata × 6
sketch × 5
float × 5
esp32 × 5
c++ × 4
i2c × 4
led × 4
windows × 4
robotics × 3
wifi × 3
bluetooth × 3
button × 3
more related tags
Hot Network Questions
- Do TeX engines support Shavian OpenType fonts?
- Why am I winning always? A coincidence perhaps?
- Existence of Jordan curves between a compact and an open set
- Automatic drawing of polygon around selected polygons in QGIS
- Were the Fantastic Four the only superheroes on Earth-828 in The Fantastic Four: First Steps?
- Kepler's first law proof error - can anyone help me see what the error is?
- Is it possible to use the PC power button to pre-select the OS in rEFInd UEFI dual boot setup?
- About Harp Pedaling for a Pentatonic Glissando
- Confusing/incorrect sentence in proof of Zorn's Lemma in Lang's "Real and Functional Analysis"
- Are classified documents subject to a subpoena in discovery?
- How do I set up a recursive algorithm to repeatedly square root a positive real number?
- leftmargin in enumerate
- Why aren't there baleen whales at about the size of a dolphin?
- What Isp can be gotten from a napthalene (mothball) hot gas thruster? Did it work in space?
- Can a minor run a business by having an adult act on their behalf?
- I don't have enough alive employees to start the day. What now?
- Can expanding foam provide interior strength for a large model?
- "I met a monk and philosopher." How many people did I meet?
- What does "enter the hold at arden" mean
- Can I switch the stand on my Apple Studio Display?
- When and why is fwait necessary when using the 8087 coprocessor?
- In Jurassic Park, is the lysine dependency intentionally fake (in-universe)?
- When did the OEIS get even better?
- Can Spi flash memory's contents be corrupted from heat?