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
0
votes
2answers
39 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. ...
0
votes
1answer
24 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 ...
0
votes
0answers
39 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 ...
1
vote
2answers
57 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 ...
0
votes
1answer
33 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 ...
-1
votes
1answer
43 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 ...
0
votes
0answers
45 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: # ...
0
votes
1answer
30 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 ...
1
vote
1answer
123 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
2answers
88 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 ...
1
vote
2answers
156 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 ...
0
votes
1answer
35 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 ...
0
votes
0answers
32 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 ...
0
votes
0answers
32 views

Serial communicaction problems between Raspberry Pi and Arduino

I am carrying out a project in which I transfer information between an Arduino Mega and two Raspberry Pi 3 Model B. On the first Raspberry there is running a console program that is connected to the ...
0
votes
1answer
64 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)....
1
vote
0answers
69 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 ...
0
votes
1answer
37 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 ...
0
votes
0answers
293 views

IOError: [Errno 5] input/output error when sending serial communication to Arduino

I have a webpage set up on a flask server behind apache, that sends an encoded message to Arduino when a user presses the button on the website, which Arduino then turns on an LED when it receives ...
0
votes
2answers
61 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 ...
0
votes
0answers
59 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(...
0
votes
0answers
39 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 ...
2
votes
1answer
226 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 ...
0
votes
1answer
133 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 ...
0
votes
1answer
165 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=...
0
votes
1answer
95 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 ...
0
votes
1answer
286 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 ...
1
vote
1answer
714 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
1answer
365 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....
0
votes
1answer
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?...
0
votes
1answer
156 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
1answer
65 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 ...
0
votes
1answer
565 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 ...
1
vote
1answer
35 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 ...
0
votes
1answer
370 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 ...
2
votes
1answer
264 views

Connecting Arduino Uno to a Raspberry Pi

Lets start with i'm a complete novice. Pi Zero W: Used as a water level detector with the 3.3v and 3 GPIO pins soldered with some wires, that are spaced and attached to a pole, the 3.3v at the bottom ...
1
vote
0answers
79 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 ...
1
vote
0answers
34 views

Raspberry pi oled display

I have got a problem with Raspberry Pi and Oled display (128x32). Yesterday I tried and everything was OK, but today when I started working it didn't work. Raspberry Pi detecting i2c device. I'm using ...
0
votes
0answers
209 views

How to upload sketch in ESP32 with rpi4?

I bought a doit devkit v1 somedays ago. I have Arduino installed in my raspberry pi(binaries from arduino.cc). I installed the board today and tried to upload a simple code. But it cold not upload the ...
0
votes
1answer
164 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
0answers
143 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 ...
2
votes
0answers
129 views

Slow Serialcommunication between Raspberry Pi and Ardunio Mega

I'm in the process of tinkering with something, and for that I need an Arduino to collect measurement data, and a PI to process it all and send it on. My problem is that the connection between my Pi ...
0
votes
1answer
61 views

Control the startup and monitoring GPIO status

I want to control the startup of a Raspberry Pi 4 and at the same time listen to the GPIO status of the 40 pin. Can I use an Arduino for that? If so, any advice on which Arduino shall I use?
0
votes
1answer
62 views

Arduino Leonardo problem uploading from Rasbian Arduino IDE

I recently installed Arduino IDE on my Raspberry Pi 4 and I'm trying to program an Arduino Leonardo through it. I wander if anyone experienced anything like this I'm getting here, as I searched a lot ...
2
votes
1answer
136 views

How can Rpi communicate with Arduino in RF (Radio Frequency), Say Using nRFL2401+?

I need to transmit and receive data between Rpi and Arduino, in RF (Radio Frequency). I must say I have next to zero experience in this field. So any help, papers, documentation, book or manual would ...
-1
votes
1answer
652 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 ...
0
votes
0answers
74 views

Windows 10 Iot core and Arduino

I am a newbie in raspberry pi. can you help me? thanks. Is raspberry pi with Windows IoT core OS can connect or communicate to Arduino, like uploading sketch or control it using visual studio ...
1
vote
0answers
240 views

raspberry pi 4B and arduino

I installed the Arduino IDE, connected the boards through USB and the raspbian recognized the Arduino board on the /dev/tty/acm0 port. I opened the blink example, loaded to the Arduino and got this ...
0
votes
1answer
131 views

Porting Arduino code to Raspberry PI

So I have some simple code for an Arduino device that I am trying to run on a Raspberry Pi, and I'm having some issues. Here is the code: #include <VirtualWire.h> byte message[...
1
vote
1answer
633 views

Rpi SPI nRF24L01+ 2.4GHz Transceiver Module Send Message to Arduino Problem

I have recently bought two nRF24L01+ radio chips for communication between my Raspberry Pi and Arduino. I will be solely using this from Raspberry towards Arduino. The tutorial I followed: https://...
1
vote
0answers
100 views

How can Rpi GPIO read the status of a water flow switch connected to a chlorinator?

My pool salt chlorinator uses a flow switch (https://harwil.com/product/flow-switch-model-q-12/) to detect when the pool water is circulating, which is one of the conditions to allow the production of ...

1
2 3 4 5
8