Skip to main content

All Questions

Tagged with
0 votes
0 answers
59 views

Issue with connecting Arduino to my Flask API

When I try to start my Flask API this error appears: could not open port 'COM3': PermissionError(13, 'Odmowa dostępu.', None, 5) How can I fix it? I checked device manager and in displayed in port ...
Jakub Lesisz's user avatar
0 votes
2 answers
166 views

Strange Python issue

I use Win 10, I was trying to connect Python to Arduino using serial.Serial, and it gave an attribute error. I think this error is fixed, but now it says: Also, Arduino doesn't connect, I am in ...
Syed Mohammad Hasnain Raza Riz's user avatar
0 votes
0 answers
130 views

GUI PySide6 and Arduino Uno

I have problem implementing thread logic in my GUI. I created 2 different apps that are used to control the RGB diodes on one port (COM3) . Now I need to add them to my main GUI app, and I need to use ...
Srdjan Popadic's user avatar
-1 votes
1 answer
46 views

How should i connect Arduino with python properly?

it displays TypeError: 'int' object is not callable this error here is the code from serial import Serial import time arduinoData = Serial("com3",115200) time.sleep(1) while True: while(...
Tejasisnothere's user avatar
1 vote
0 answers
94 views

Sending data to moisture meter through USB Host Shield from Arduino

Im working on a moisture meter that has RS232 output with integrated PL2303 to USB cable. I can read 0x10 from and send 0x20 to the meter to get the measurement data on Python from PC. But with ...
Nguyễn Thanh's user avatar
1 vote
1 answer
40 views

How do I link two applications that are not connected in any way, even by programming languages?

I'm a beginner, I'm currently studying arduino and working with it. I have created a small circuit that, at the touch of a button, outputs true ( 1 ) or false (0) to the Arduino IDE console. I had an ...
Nizier's user avatar
  • 9
0 votes
0 answers
212 views

Serial Communication Between Pycharm and Arduino

Traceback (most recent call last): File "C:\Users\Dell\PycharmProjects\Arduino cv\Outputs\Led.py", line 11, in <module> Arduino_Serial = serial.Serial('COM3', 9600) # Create ...
Ashna Shakeel's user avatar
4 votes
1 answer
759 views

Using PyFirmata with a simulator like SimulIDE

I'm trying to learn PyFirmata, but don't want to get all of the hardware I need to do so. Instead I want to use a simulator, right now I'm using SimulIDE. In order to use PyFirmata, a board has to be ...
kmoore1616's user avatar
-1 votes
1 answer
396 views

Arduino: Using motor to control two motors and measuring distance traveled

I am trying to control two motors using a motor driver from pololu and an arduino uno which is instructed by a raspberry pi. However, I am getting errors when I try to read the encoder output so that ...
Garberchov's user avatar
0 votes
0 answers
328 views

ESP32 MQTT publishes same message twice instead of two distinct messages to different topics

I'm trying to send data over MQTT from an ESP32 to my computer. I have two distinct sets of data going to two topics, temperature and gravity. For some reason, it will only publish one message, but ...
broke student's user avatar
-1 votes
1 answer
406 views

Create .so library from .h and cpp libraries, to be used with python on raspberry pi

How could I create a .so library since I have several .h and .cpp files? I have an algorithm that works to be able to write/read RFID cards, but I only have this algorithm working with Arduino. So my ...
Ernesto Lomar's user avatar
0 votes
0 answers
677 views

Can I somehow convert my Python script to Arduino?

I created a voice assistant program in Python which I would like to move into the Arduino IDE for another project. Is there a way to convert a python file to an ino file or something like that?
B Gaming's user avatar
0 votes
0 answers
495 views

Can Ardunio code be adapted to run from Spyder(or other Python IDE)?

An example of the title question code is shown below. Is there a way to run this code from a Python IDE (like Spyder)? I say this after trying it and having no success. I have installed the Adafruit ...
jimbob's user avatar
  • 1
0 votes
2 answers
6k views

How to add Headers to http request in Arduino IDE

This is the code in Arduino IDE that does not work (httpCode = -1): #include <ESP8266WiFi.h> #include <ESP8266HTTPClient.h> #include <ArduinoJson.h> char ssid[] = "-------"...
igusso's user avatar
  • 1
0 votes
1 answer
645 views

Can I get my python script to enter commands in the arduino serial monitor?

I have an Arduino script to send commands to some sensitive hardware. I don't want to alter the Arduino's code very much because I didn't write it, but I want to be able to enter a sequence of ...
snowmer25's user avatar

15 30 50 per page