Serial communication doesn't work RPI--ARDUINO uart [closed]
i want to use serial communication to send data from an arduino nano to a raspberry zero w.
I used this method of connecting the pi to the arduino
I used this code
import serial
port = serial.Serial("/dev/ttyAMA0", baudrate=9600, timeout=3.0)
while True:
print(port.read())
but it doesn't work, I tried many things but they all didn't work for example:
- disabled serial login shell using
raspi-config
- tried other wirings
- added
dtoverlay=pi3-disable-btto config.txt - tried searching for the correct port
- tried this command
sudo systemctl disable hciuart
- tried different baudrates
I use this arduino code
void setup() {
Serial.begin(9600);
}
void loop() {
Serial.print("10,20,30,40,50");
delay(500);
}
could somebody help me?
Thanks
raspberry-pi serial arduino
closed as off-topic by DavidPostill♦ Dec 23 '18 at 16:27
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "This question is not about computer hardware or software, within the scope defined in the help center." – DavidPostill
If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment |
i want to use serial communication to send data from an arduino nano to a raspberry zero w.
I used this method of connecting the pi to the arduino
I used this code
import serial
port = serial.Serial("/dev/ttyAMA0", baudrate=9600, timeout=3.0)
while True:
print(port.read())
but it doesn't work, I tried many things but they all didn't work for example:
- disabled serial login shell using
raspi-config
- tried other wirings
- added
dtoverlay=pi3-disable-btto config.txt - tried searching for the correct port
- tried this command
sudo systemctl disable hciuart
- tried different baudrates
I use this arduino code
void setup() {
Serial.begin(9600);
}
void loop() {
Serial.print("10,20,30,40,50");
delay(500);
}
could somebody help me?
Thanks
raspberry-pi serial arduino
closed as off-topic by DavidPostill♦ Dec 23 '18 at 16:27
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "This question is not about computer hardware or software, within the scope defined in the help center." – DavidPostill
If this question can be reworded to fit the rules in the help center, please edit the question.
This belongs on arduino.stackexchange.com or raspberrypi.stackexchange.com but as written is not a good fit for either of them.
– DavidPostill♦
Dec 23 '18 at 16:29
add a comment |
i want to use serial communication to send data from an arduino nano to a raspberry zero w.
I used this method of connecting the pi to the arduino
I used this code
import serial
port = serial.Serial("/dev/ttyAMA0", baudrate=9600, timeout=3.0)
while True:
print(port.read())
but it doesn't work, I tried many things but they all didn't work for example:
- disabled serial login shell using
raspi-config
- tried other wirings
- added
dtoverlay=pi3-disable-btto config.txt - tried searching for the correct port
- tried this command
sudo systemctl disable hciuart
- tried different baudrates
I use this arduino code
void setup() {
Serial.begin(9600);
}
void loop() {
Serial.print("10,20,30,40,50");
delay(500);
}
could somebody help me?
Thanks
raspberry-pi serial arduino
i want to use serial communication to send data from an arduino nano to a raspberry zero w.
I used this method of connecting the pi to the arduino
I used this code
import serial
port = serial.Serial("/dev/ttyAMA0", baudrate=9600, timeout=3.0)
while True:
print(port.read())
but it doesn't work, I tried many things but they all didn't work for example:
- disabled serial login shell using
raspi-config
- tried other wirings
- added
dtoverlay=pi3-disable-btto config.txt - tried searching for the correct port
- tried this command
sudo systemctl disable hciuart
- tried different baudrates
I use this arduino code
void setup() {
Serial.begin(9600);
}
void loop() {
Serial.print("10,20,30,40,50");
delay(500);
}
could somebody help me?
Thanks
raspberry-pi serial arduino
raspberry-pi serial arduino
asked Dec 23 '18 at 16:20
user9729726user9729726
61
61
closed as off-topic by DavidPostill♦ Dec 23 '18 at 16:27
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "This question is not about computer hardware or software, within the scope defined in the help center." – DavidPostill
If this question can be reworded to fit the rules in the help center, please edit the question.
closed as off-topic by DavidPostill♦ Dec 23 '18 at 16:27
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "This question is not about computer hardware or software, within the scope defined in the help center." – DavidPostill
If this question can be reworded to fit the rules in the help center, please edit the question.
This belongs on arduino.stackexchange.com or raspberrypi.stackexchange.com but as written is not a good fit for either of them.
– DavidPostill♦
Dec 23 '18 at 16:29
add a comment |
This belongs on arduino.stackexchange.com or raspberrypi.stackexchange.com but as written is not a good fit for either of them.
– DavidPostill♦
Dec 23 '18 at 16:29
This belongs on arduino.stackexchange.com or raspberrypi.stackexchange.com but as written is not a good fit for either of them.
– DavidPostill♦
Dec 23 '18 at 16:29
This belongs on arduino.stackexchange.com or raspberrypi.stackexchange.com but as written is not a good fit for either of them.
– DavidPostill♦
Dec 23 '18 at 16:29
add a comment |
0
active
oldest
votes
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
This belongs on arduino.stackexchange.com or raspberrypi.stackexchange.com but as written is not a good fit for either of them.
– DavidPostill♦
Dec 23 '18 at 16:29