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.

41 votes
10 answers
178k views

I am not very skilled with the C Language and I was wondering if there is a way in which python could be used to program an Arduino. This would most likely require a different IDE in order to be able ...
JVarhol's user avatar
  • 1,903
12 votes
1 answer
3k views

I'm having trouble trying to get Arduino digital ports values and set these values into a Python Tkinter Widget Scale. I'm using Python and Arduino with Firmata. I'm able to access my arduino board ...
Vinicius Biscolla's user avatar
10 votes
2 answers
35k views

I am new to Arduino (and computer programming in general), so I apologize if this question looks silly. Once I set up a basic arduino-LED connection, I have problems sending INTEGERS to arduino ...
mickkk's user avatar
  • 281
5 votes
5 answers
66k views

I am new to programming and am trying to communicate with my arduino using python through serial communication. I am using the following code: Arduino code: int ledPin = 11; void setup() { Serial....
Severus's user avatar
  • 151
5 votes
1 answer
5k views

I want to send string 50 to Arduino through serial port, the Arduino UNO seems it communicates with port COM25 but it doesnt receive the string properly: import serial # if you have not already done ...
floppy380's user avatar
  • 245
5 votes
3 answers
8k views

So am I using an Arduino with a shield to gain some voltage values for an ECG. I am then plotting that data in Python. However whenever I "observe" the serial port, be that through the Arduino serial ...
hawkar's user avatar
  • 553
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 ...
Shyam3089's user avatar
  • 165
3 votes
4 answers
255 views

I've started to prototype something using an Arduino Mega and Yún Shield. It's simple. It reads an ADC at 50Hz and sends data to a server through a socket. But because of that combination, I need to ...
Jonathan Anctil's user avatar
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 ...
S Andrew's user avatar
  • 183
3 votes
1 answer
963 views

I'd like to be able to use Python from a sketch. According to the Arduino playground, one can use PySerial from a computer to talk with an Arduino via Python. It looks like from that page you can ...
hichris123's user avatar
3 votes
2 answers
1k views

I am trying to read potential meter data from Arduino using python, with the program on Arduino as follows : #include <cvzone.h> SerialData serialData; int sendVals[2]; void setup() { ...
M. Al lail Qadrillah's user avatar
3 votes
2 answers
2k views

Is it possible to have bidirectional communication betweeen an Arduino Uno Rev 3 and a Raspberry Pi Modell B+ running Rasbian? They're connected ofer USB, and it would be good if I could use Python on ...
Yannik Pieper's user avatar
3 votes
1 answer
16k views

I'm trying to plot a graph with python using the canvas widget, I'm currently sending data in from an arduino sensor sketch ..does anyone have an idea on how I can plot this graph in real time on ...
dada's user avatar
  • 127
3 votes
0 answers
5k views

I want to connect OpenCV (Python) with arduino Uno when it detects a tennis ball. OpenCV code: import numpy as np import cv2 import serial face_cascade = cv2.CascadeClassifier('tennisballdetect.xml')...
sayem48's user avatar
  • 31
3 votes
1 answer
2k views

So for my project I have one Arduino Mega hooked up with a quadrature rotary encoder which is connected to the computer. An Arduino Uno is connected to a circuit I built, which in turn is connected to ...
Max's user avatar
  • 31

15 30 50 per page
1
2 3 4 5
13