2022 Developer Survey is open! Take survey.

Questions tagged [arduino]

For questions pertaining to the Arduino microcontroller and it's integration with Raspberry Pi projects. Questions about Arduino only are off-topic and can be asked at Arduino Stack Exchange.

Filter by
Sorted by
Tagged with
1 vote
1 answer
23 views

rPi Pico IRQ with callback freezes Pico

I am trying to configure rp2040 function gpio_set_irq_enabled_with_callback on Pico using Arduino IDE with installed Arduino mbed OS because i need some libraries. When called interrupt happens but ...
user avatar
  • 21
-1 votes
0 answers
27 views

Connecting a RPi to an Arduino Motor Shield

My friend and I are building a robot and we need to connect an Arduino Motor Shield to a Raspberry Pi (picture added below) but we don’t have access to a Breadboard and neither can we get one, does ...
user avatar
0 votes
0 answers
20 views

two camaras streaming app

I'm actually new to raspberry pi tech. so i need to know about some things because I'm gonna build a project for my final year. so my problem is... - i need to connect two cameras and both must ...
user avatar
0 votes
3 answers
72 views

Python script stops mysteriously after a few hours

The Problem I have a raspberry pi 3b+ running a python 3.7 script that is controlling an arduino. The arduino is reading values in from a few different sensors, and sending the data back to the python ...
user avatar
0 votes
3 answers
96 views

Rpi3B+ ssh session drops randomly

I have a Raspberry Pi 3 Model B Plus Rev 1.3 in my Ethernet network that runs headless with octoprint and an arduino pro mini connected to it via i2c. Wifi is disabled. The Rpi is powered from an ...
user avatar
-1 votes
1 answer
45 views

Rx, Tx/UART not being detected by Pi? What is wrong?

I'm working on Serial communication between the Raspberry Pi and the Arduino, with the Raspberry Pi serving as master. I connected, using a logic level shifter, Arduino's Rx (Software Serial was used ...
user avatar
  • 89
0 votes
1 answer
59 views

Minicom not working

I am trying to connect my Pi 4 running Rasbian 2020 to an Arduino, after making all the connections I try to communicate with the Arduino by using Minicom. However, Minicom doe not respond to anything ...
user avatar
0 votes
0 answers
51 views

Pi Pico nrf24l01 on arduino ide

I have made an Rx and Tx with nrf24l01, when I have both serial monitors open (Rx& Tx) the communication is fine I can see package receiving, but when I close e.g. the serial monitor of Tx. I don'...
user avatar
0 votes
0 answers
35 views

PiCan 2 Data Logging on higher frequency problem

I have a project that logs data from a vechicle's OBD 2 port (using PiCan2 on top of RPi3B) and combines that data with data from sensors connected to an external Arduino. The Arduino communicates ...
user avatar
0 votes
1 answer
56 views

Using I2C with MMC34160PJ magnetometer

I'm trying to read data from the MMC34160PJ magnetometer using the Raspberry Pi 4. However, I'm pretty stuck as to how I can do it as there's seemingly no example code or library for it. I have been ...
user avatar
0 votes
1 answer
46 views

SPI Communication between Raspberry Pi and Arduino questions

Basically the title, but I have been looking into SPI as I am working on a project that basically requires a Serial connection between a Raspberry Pi (as a master) and an Arduino (slave); I intended ...
user avatar
  • 89
-1 votes
1 answer
59 views

How to upload hex file to arduino via raspberry pi?

I want to upload hex file from raspberry pi to arduino connected via USB. I am using avrdude but I fail. pi@raspberrypi:~/test $ ls beeop led_test.ino.hex As it can be seen I have this led_test.ino....
user avatar
0 votes
1 answer
22 views

Obtaining a constant audio signal independent to volume

Sorry if this is a silly question but Is there a way to have an independent gain audio signal from a Raspberry Pi that does not vary with the software volume control? I am trying to get a constant ...
user avatar
  • 1
2 votes
1 answer
55 views

Moved from main Stack Overflow: Udev Rules Not working with Rasberry Pi - Teensy connection

I am pretty deep into this now and operating at about 50% understanding. We have a Raspi 3B+ running Ubuntu 20.04 for Raspi. We have a Teensy 3.7. They are connected together with a USB cable. I know ...
user avatar
  • 135
0 votes
0 answers
153 views

Slow write speeds to Rasberry Pi Pico flash using LittleFileSystem/LittleFS

I have a Sparkfun Things Plus RP2040 with 16MB of onboard flash. I am trying to write a program which uses the flash as a buffer (let's say to store 5MB of data) before writing to an SD card. The idea ...
user avatar
0 votes
0 answers
44 views

Raspberry Pi 4 Model B Project: IoT Parking Apps with Car Plate Recognition for Smart City using Node Red

recently I found a project that involves using Raspberry Pi and Arduino Mega Board to create a Car Plate Recognition system but I am stuck with connecting the pins as I am not a professional in using ...
user avatar
0 votes
0 answers
20 views

Slow serial encoding between Pi4 and Arduino for object tracking

I have been working on a project that involved in Object tracking. I have been using the OpenCV and mobilenetSSD_v2 as my model with a google coral, the video itself has a bit of delay but it's still ...
user avatar
  • 1
0 votes
2 answers
36 views

USB to TTL "for arduino" compatible with Pi?

Not real familiar with these devices yet; is there any difference between this, where it says "for arduino" and perhaps one for a raspberry pi? I have a Pi and just want to confirm whether I ...
user avatar
0 votes
2 answers
64 views

Can I connect a Raspberry Pi 4B to an Arduino Power Supply Module? And if so, how?

simulate this circuit – Schematic created using CircuitLab I am trying to use an Arduino Power Supply Module to provide enough power to allow at least 5V and 10 mA through to an external supply. ...
user avatar
0 votes
1 answer
28 views

Signaling a Pi from an Arduino

I am building a project that uses an Arduino for controlling addressable LEDs and a Pi for sending data over usb. What I am trying to figure out is whether there is a way to have the Arduino signal ...
user avatar
  • 3
0 votes
0 answers
49 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 ...
user avatar
1 vote
2 answers
203 views

Can't upload sketches to Arduino Uno with Raspberry Pi 4

Using my raspberry pi 4 with Arduino IDE to upload sketches to my Arduino Uno. Raspberry Pi 4 is encased in an Argon Neo (in case that's important). At first I tried to get the board info and received ...
user avatar
  • 13
0 votes
1 answer
35 views

Check on Rasperry Pi what is connected to Arduino Uno

i have a question regarding Rasperry Pi and Arduino. I have them connected via USB and on the Arduino is a NFC Reader connected(via Pins). Can I look on the Rasperry Pi with a command or something ...
user avatar
  • 1
-1 votes
1 answer
59 views

I2C conflict between Raspberry Pi and Black Pill (STM32F411CEU6)

I'm doing the following experience: I have a pressure sensor and I'm doing some readings using a Raspberry Pi 4 and a Black Pill (STM32F411CEU6), using an I2C connection. The sensor has pull-up ...
user avatar
  • 213
0 votes
0 answers
59 views

Use RPi3 to read sensor data from Arduino Uno with HM-10 bluetooth module

I want to use Rpi3 and bluepy read sensor data from Arduino Uno with HM-10. I write program like this : import bluepy.btle as btle p = btle.Peripheral("D8:A9:8B:7C:01:EB") while True: # ...
user avatar
  • 1
0 votes
1 answer
45 views

How to use 433 RF codes to start actions on Rpi

My setup is: Arduino with 433 cheap transmitter module, photodiode and a laser and 433 receiver connected to Rpi, button. I've used rpi-rf lib to receive codes. I'm trying to make stopwatch that when ...
user avatar
1 vote
1 answer
446 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....
user avatar
0 votes
2 answers
298 views

433MHz RF communication between Arduino + Raspberry Pi

I bought a 433MHz receiver and transmitter to send data from a Raspberry Pi 3 to an Arduino Uno. I searched the internet for tutorials, Arduino StackExchange and Raspberry Pi StackExchange but I did ...
user avatar
1 vote
2 answers
458 views

over-current condition on usb port when connecting arduino nano

Hi I am trying to power an arduino nano via usb port. I am using a 5V 3A power supply. I have 2 different usb cables. One lights up the arduino, but it is not recognized in /dev/ttyACM0 The other one ...
user avatar
0 votes
1 answer
53 views

Wireless transmission multiple arduinos to raspberry

I am fairly new to this, having worked only a bit with arduinos. I would like to know if it would be possible to connect multiple arduinos to a raspberry, just to transmit a signal. Description: A ...
user avatar
  • 1
0 votes
0 answers
45 views

LED strip works through Arduino PWM, but not Raspberry Pi PWM

I've been stuck on this for a while. I'm following a simple tutorial for RPi-controlled LEDs. From this, my LEDs do random stuff and don't light up correctly. I've been trying strandtest from this ...
user avatar
0 votes
1 answer
116 views

How to send data from RPI to Arduino via I2C

Im working on a project to build an autonomous lego car. Im running into some problems here, and i could use some help. Right now, im struggling to send and receive data from RPI (4) to Arduino (Nano)....
user avatar
  • 1
1 vote
0 answers
93 views

How to read AC current sensor (10,12 channel's)

I have a python program which needs to read the power, voltage and current. (Raspberry , I2C & CT Sensor) Please explain whether Arduino is required if we are using Raspberry. Is it possible to ...
user avatar
  • 11
0 votes
1 answer
49 views

Raspberry vs arduino i2c communication

i used to use arduino as a i2c communication device but i'm changing to raspberry and i have a question about how to send and receive data from raspberry to my device the device in question is a ...
user avatar
0 votes
2 answers
89 views

Need to send and recieve data to an arduino via 5-10m CAT6 away from each othere

Hello I would like to know if there is already a protocol that both the raspberry pi zero and the arduino (nano) have in common that i can use to communicate 5-10 meters away no added hardware? With ...
user avatar
  • 636
0 votes
0 answers
71 views

CAN communication between arduino and raspberry pi

I am trying to communicate between Raspberry Pi and Arduino. In arduino I am using this program to transmit #include <SPI.h> #include <mcp_can.h> const int spiCSPin = 10; MCP_CAN CAN(...
user avatar
0 votes
0 answers
47 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 ...
user avatar
2 votes
1 answer
447 views

RFM69HCW with Raspberry as gateway for wsn

Good day, I am making a wireless sensor network prototype using communication technology, the RFM69HCW module [3]. I use an Arduino nano for the processing unit for the sensor nodes, and for ...
user avatar
  • 21
0 votes
1 answer
175 views

How to connect raspberry pi zero v1.3 with arduino over bluetooth (HC-06)

I have raspberry pi zero v1.3 which have no build in bluetooth, i want to use hc-06 bluetooth module with raspberry pi and arduino for serial communication, just for receiving data from arduino to ...
user avatar
  • 1
0 votes
1 answer
296 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=...
user avatar
-1 votes
2 answers
140 views

Connection between nodemcu and raspberry in different networks

You can send measured data from a sensor connected to the NodeMCU to the Raspberry, only I don't want a physical connection, I want to connect via another wifi. Example, Raspberry is at my house and ...
user avatar
  • 1
0 votes
1 answer
550 views

Is it possible to connect a Raspberry Pi with multiple inertial sensors simultaneously via Bluetooth?

I'm working on a project in which I have to connect 3 (or more) inertial sensors to a virtual reality headset (OculusQuest) via Bluetooth, but the problem is that it only accepts one connection, so I ...
user avatar
  • 17
1 vote
1 answer
931 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/...
user avatar
1 vote
1 answer
431 views

Connecting an Arduino Nano to a Raspberry Pi using Serial Cable on an a Pi 3B+ or Zero W

I wanted to connect an Arduino Nano to either my Pi 3B+ or my Zero W preferably my Zero. When I connected my Nano to my Pi Zero and ran a simple script with the python 3 serial library, it didn't work....
user avatar
  • 944
0 votes
1 answer
34 views

Boot Rpi 0W via start-signal from Arduino Nano 33 IOT

My Arduino Nano 33 IOT and Rpi 0W can either share or have their own 5V powerbanks. I would like to boot Rpi via a signal from my Arduino, i.e. the Rpi boots on Arduinos command. Can this be done? How?...
user avatar
0 votes
1 answer
216 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 ...
user avatar
0 votes
1 answer
78 views

Clock problem when programming ATMega328P over ICSP pins

I'm following this example from Adafruit that shows how to program an AVR such as ATMega328P from a Raspberry Pi, using the AVR's ICSP pins. I run all the steps and it is working fine except a single ...
user avatar
  • 213
0 votes
1 answer
740 views

BLE data receive and send from arduino HC08 to raspberry pi

I have noticed that there are lots of topics about classic BT connect to arduino and send data to raspberry pi by creating virtual port (using rfcomm) I have tried this method for BLE Device. However ...
user avatar
1 vote
1 answer
37 views

Some questions surrounding FC-51 IR sensor

I am looking into using the Ifrared sensor. But i found datasheet andinformation about the manufacturer scarce. I need to know if the sensor is rohs compliant and if it or the manufacturer has other ...
user avatar
  • 11
0 votes
1 answer
535 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 ...
user avatar
  • 111

1
2 3 4 5
8