Skip to main content

Questions 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.

0 votes
2 answers
117 views

I am trying to set up an Arduino Nano ESP32 so that I can code in MicroPython. I successfully installed Arduino Lab for MicroPython and flashed the firmware onto the device, but when I try to run the ...
2 votes
1 answer
243 views

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
96 views

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
209 views

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
101 views

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
2k views

I want to run an Arduino LCD shield with Python code. After having done some research on the internet, I can not find any tutorial, some just give some basic code with LED. And one things that how can ...
0 votes
1 answer
317 views

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 ...
0 votes
1 answer
352 views

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
59 views

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
235 views

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 ...
2 votes
1 answer
133 views

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 ...
5 votes
1 answer
1k views

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 ...
0 votes
1 answer
421 views

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. ...
0 votes
1 answer
294 views

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
530 views

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 ...

15 30 50 per page
1
2 3 4 5
13