Skip to main content

All Questions

Tagged with
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"...
UnityBug's user avatar
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.
Syed Hassan's user avatar
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 ...
JoeBro391's user avatar
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....
JMRMEDEV's user avatar
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 ...
ロジャー's user avatar
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....
Razorneck's user avatar
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 ...
bot1131357's user avatar
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=...
Kirill_code's user avatar
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/...
patriciajlim's user avatar
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 ...
noobrobotguy's user avatar
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 ...
marc.soda's user avatar
  • 111
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 ...
Chase Cromwell's user avatar
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, ...
Roovy's user avatar
  • 3
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 ...
OM222O's user avatar
  • 121
-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 ...
suu's user avatar
  • 37

15 30 50 per page
1
2 3 4 5 6