All Questions
86
questions
0
votes
0
answers
77
views
Timeout Issues in PySerial. Arduino randomly starts timing out
from get_connected_arduinos import get_arduinos
serial_devices = []
def initialize(serial_device):
print("initializing", serial_device)
try:
serial_device["serial"...
0
votes
0
answers
16
views
Connecting two or more arduino boards to a single Pi board
I was wondering what are the pin configurations/connections and scripting to connect more than 1 arduino to a single raspberry Pi board via serial connection.
1
vote
0
answers
97
views
Transmitting Serial data via Wi-Fi from Raspberry Pi to Wi-Fi Module
I previously built two separate projects for sending/receiving data between an Arduino and a Raspberry Pi 3. One transmitted via Bluetooth (HC-05 Module on the Arduino-side to the built-in BT module ...
1
vote
3
answers
289
views
How to connect Arduino to Raspberry through USB-TTL (called like this in electronics shops)?
I want to connect an Arduino to Raspberry Pi through a USB-TTL converter like this one:
My doubt would be about logic voltage. I know that Arduino works with 5V logic, while Raspberry Pi does with 3....
0
votes
0
answers
155
views
How to send a string from RaspberryPi to Arduino via serial interface?
I want my HomeAssistant being able to send out RF433. HomeAssistant is hosted on RaspberryPi while the RF433-module is on ArduinoNano.
I am referencing this article with some modification.
How to send ...
2
votes
1
answer
2k
views
Serial port fails after some time
I use a RPi 3b to request and receive float values over serial from an Arduino Nano (fake). For that I use python and pyserial.
Arduino Loop:
if (Serial.available() > 0) {
String req = Serial....
0
votes
0
answers
64
views
Pi Zero W resets Arduino Due during power up
I have a setup where my Pi Zero W (Pi0W) is connected to an Arduino Due via OTG cable adaptor. My Pi0W seems to reset the Due again when it's about to finish starting up (around 30-40sec mark).
The ...
0
votes
1
answer
857
views
Read serial data from multiple arduino
Please help me find problem in this code:
import serial
ser=serial.Serial("/dev/ttyACM0",9600)
ser.baudrate=9600
ser1=serial.Serial("/dev/ttyUSB0",9600)
ser1.baudrate=9600
ser2=...
1
vote
1
answer
1k
views
Serial comm to Arduino - ImportError: cannot import name Serial from serial
Trying to send a message from my Pi to the Arduino via serial communication and I'm receiving this error despite having installed pyserial ImportError: cannot import name 'Serial' from 'serial' (/home/...
1
vote
1
answer
337
views
Delay/Lag when controlling motors with arduino from raspberry pi
I'm making a car-type-thingy where I control motors connected to an arduino with a raspberry pi via serial communication. I'm using the adafruit motor shield to control the motors. I want to control ...
0
votes
1
answer
768
views
Serial communication with arduino over bluetooth
I am using rfcomm to connect to an Arduino nano (HC-06 bluetooth module) from my RPI 4B+. It works flawlessly and the two devices are able to communicate with no issues. I need to be able to connect ...
1
vote
0
answers
164
views
How do I connect to an Arduino Nano/Uno Serial using GPIO and a Level converter
How do I connect to a Arduino Nano for serial communication using the GPIO pins? I understand that USB is easier, and already use that for development, but I don't have room in my enclosure for a big ...
0
votes
1
answer
466
views
What can I do to avoid an 'Error: unrecognized option -mmcu=avr5' when I try to Verify sketch in Arduino IDE on Raspbian?
I have Raspberry Pi 3 Model B and Arduino Uno board, and I intend to make them communicate via Serial port connection.
I've already faced some problems with my Tools -> Serial Port greyed up before, ...
1
vote
0
answers
212
views
Controlling multiple arduinos from a pi 3b+
I'm working on a robotics project where we need to control 2 motors, read data from 8 ultrasonic sensors, display a 2 digit number on 7 segment displays, drive servos and a few more things.
The ...
-1
votes
1
answer
878
views
How to send variable data from RPi to Arduino Mega
I am sending one integer variable from rpi to arduino. However, it is showing an error. Everything else is correct and here is the code which sends the data:-
from pubnub.pnconfiguration import ...