All Questions
Tagged with python arduino-nano
11 questions
0
votes
2
answers
101
views
problem with scripts in Arduino Lab for MicroPython
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 ...
-1
votes
1
answer
149
views
Constantly Stream data vía Bluetooth to monitoring
I am using a Bluetooth module HC-05 to Stream data from Arduino to My computer. In they computer I am using a python script to receive
They specifications:
Baud rate: 9600
But I am getting an error. ...
0
votes
1
answer
82
views
Controlling Arduino through python
How to set the registers of Arduino through python code to vary the sampling rate of Arduino?
Can we control Arduino through python?
1
vote
1
answer
956
views
`time.sleep` in python script reading serial output causes erratic behavior
I am attempting to control the position of my computer's cursor using a potentiometer hooked up to my arduino nano. The arduino is running the following code:
int potPin = 3; // select the input ...
2
votes
1
answer
262
views
Arduino randomly stops sending data to python over serial
I want to send commands to Arduino over USB Serial from my python program and Arduino should send back received command to make sure data wasn't lost. However Arduino randomly stops sending data back. ...
1
vote
1
answer
993
views
How to use pyserial to write two separate message?
I'm using pyserial to communicate with my arduino. I set up the connection and everything works fine. Now I have these two writing commands:
pyserial.write("conn".encode())
pyserial.write(&...
1
vote
1
answer
484
views
Best way to ask Arduino for data from Python?
I'm trying to send numerical data from inertial sensors from my Arduino to a Python script via serial (PySerial).
I found that if I continuously send the data from the Arduino without stopping, the ...
0
votes
1
answer
734
views
Serial Read Data Loss With Arduino Nano
I am trying to use Serial reading from a python serial code (which is running on my Jetson Nano) in my project, but in some loop in my code, my data is receiving wrong.
I use Serial.readBytesUntil() ...
2
votes
1
answer
1k
views
How to connect an Elegoo Nano to a Raspberry Pi and program it?
I own an several Elegoo Nanos and a Raspberry Pi. I would like to connect an Elegoo Nano to the Pi and upload nanpy onto the board and control it's GPIO pins.
I have plugged the nano into the Pi and ...
-1
votes
1
answer
1k
views
Is there a way to send data from Tensorflow to Arduino via Bluetooth?
I am not sure if such a question is accepted here. If not please direct me to a more suitable Exchange.
I am planning a small project involving Machine Learning using TensorFlow and Python, which ...
0
votes
1
answer
1k
views
make Arduino tell when the Python program stops reading from the Serial (crash, etc)
Here's the Arduino code:
void setup() {
Serial.begin(9600);
pinMode(7, INPUT_PULLUP);
}
void loop() {
int val = digitalRead(7);
if (val == HIGH) {
Serial.print("1");
} else {...