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
0answers
38 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
22 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
28 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 ...
-2
votes
0answers
22 views

How to control an Arduino, LCD, and MPU 6050 with Raspberry Pi

Im working on a homework assignment where our professor has asked us to do the following, MPU6050 + LCD: Write a Python program to read the accelerometer and gyroscope readings from the MPU6050 and ...
0
votes
1answer
24 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
36 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
27 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
27 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
24 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 ...
1
vote
1answer
57 views

How can Rpi communicate with Arduino in RF (Radio Frequency)?

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 ...
0
votes
0answers
27 views

Connect Raspberry Pi with Official Arduino TFT Screen

I've been owning for a few years now this useful LCD screen from Arduino https://www.arduino.cc/en/Guide/TFT and I wanted to ask if it was possible to connect it to the Raspberry Pi 2. The official ...
-1
votes
1answer
153 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
40 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
66 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
41 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
205 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
48 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 ...
0
votes
0answers
30 views

Socket communication between Pi and Arduino

I'm a beginner with Raspi and I would appreciate your advice and input on a project I'm working on. Hardware: Raspi 3B+ with latest Rasbian, Arduino MKR 1000 I have a bunch of sensors attached to ...
1
vote
1answer
113 views

Is it possible to have a Raspberry Pi work like a much faster arduino

Let's imagine you have a real-time problem that you can solve with the Raspberry Pi hardware but you need something much faster than an Arduino. Is it possible to bypass the OS of a Raspberry Pi to ...
0
votes
0answers
33 views

Project Guideline/ Suggestions: Arduino Mega-Raspberry Pi Combo for HD Video Streaming with Stamping

I hope all is well. I'm new to the Raspberry Pi arena, and would love some feedback on the feasibility of this project: I have an Arduino Mega that's logging data (in addition to other stuff which is ...
1
vote
1answer
44 views

Small, Rechargeable LiPo and RPi 4B

I've started a new, more specific thread, here. I'm looking for a way to power my Pi 4B inside a 3d-printed laptop project (nothing has actually been started yet), and it would be great to hear what ...
1
vote
0answers
46 views

upload GPS real time data to web browser with wifi [closed]

i am doing a project for my collage. The objective of this project is to collect real time GPS data and displaying the data on a web server, i am now able to run the program on Arduino IDE to get the ...
3
votes
0answers
154 views

Problem sending analog read values over serial

Ok I apologize as I have edited this quite a bit, but I have narrowed down the problem a bit more. For some reason I can't transfer values from my arduino analog pins?? I am trying to send values ...
1
vote
1answer
166 views

Get time in microseconds (a 8 digit number) in python3

I am converting an Arduino code to python3. I am trying to read data from IMU 9250 sensor from the I2C interface of raspberry-pi. I am facing issue with the timing libraries of raspberry-pi and ...
0
votes
0answers
18 views

HC05 not able to bind Raspberry pi3 bluetooth mac address B8:27:FB:A4:88:12 by AT command

I am trying to bind raspberry pi Bluetooth address on hc05 and Arduino by AT command but every time I am getting the error(7) Here is my AT command Details: AT+BIND=B8,27,FB,A4,89,12 OK ...
2
votes
0answers
25 views

Permanent Arduino usb address on RPi!

So my project is using to Arduinos slaves to RPI that is master. They communicate through USB. Each time I remove one of the Arduinos I need to modify the .Py script to add the new USB alocated. Is ...
0
votes
0answers
114 views

RF ISM 433MHz Module Using Rpi RadioHead Low Speed Problem

I have a rf module 433Mhz which consist of a transmitter and a receiver, I used virtualwire and Radiohead library in Arduino and it's pretty fast. When I shifted that to rpi there were no dedicated ...
2
votes
2answers
157 views

Is it safe to connect a GPIO Pi pin directly to a 3.3V Arduino pin, and vice versa?

I have Pi4 on a UPS and a 3.3 volt Arduino (Nano 33 IOT) supplied without a UPS protection. I am designing a system where Pi monitors a 3.3V Arduino pin to know if there is a power outage (and shut ...
0
votes
1answer
77 views

Regularly power up an autonomous Raspberry Pi? (e.g. once a week)

I want to power a Raspberry PI from a power bank, which should give me - according to various sources on the Internet - 30 to 70 hours of operation. How can I power up the Raspberry Pi once a week to ...
2
votes
1answer
104 views

Need advice for connecting multiple arduinos to raspberry pi

I have a project in hand where I need to connect 5 arduinos as slaves to Raspberry Pi. Load Cells, Reed Switch, Solenoid lock will be connected to each of the arduino. The arduinos need to send the ...
0
votes
0answers
84 views

Issue with I2C communication with raspberry pi and arduino

I am new to I2C communication and python coding so please bear with me if my question is naive or my code looks very bad. I am able to achieve I2C communication between raspberry pi and arduino and ...
0
votes
1answer
96 views

Receiving data with an unwanted character

I'm sending data to my Raspberry Pi 3 from an Arduino Mega via serial communication, but sometimes the Arduino sends a strange character, in most of the time it sends a mirrored question mark. Why ...
0
votes
0answers
52 views

Node-red on Pi: Unable to send/receive to Arduino Leonardo via USB serial

I'm connecting a Arduino Leonardo to Pi4 (P3b+ has the same issue). I wish to send and receive data from it in node-red (using serial nodes from the standard palette). I can see that Arduino is ...
0
votes
1answer
147 views

Problem with i2c communication between arduino and raspberrypi

I have connected Rpi with Arduino using i2c communication. Pin Configuration: Rpi ---- Arduino Mega SDA SDA SCL SCL GND GND I also have an encoder attached to Rpi. Encoder `------ Rpi 5V 5V Gnd Gnd ...
1
vote
1answer
67 views

Addressing PCA9865 Servo Driver

Although not directly related to the Raspberry Pi, the piece of hardware I'm attempting to understand can be utilized by the Pi and it's a relatively basic concept that I'm looking for more ...
1
vote
0answers
285 views

Can I connect CJMCU-4541 MICS-4514 Carbon Monoxide Nitrogen Oxygen Sensor with Raspberry Pi zero

This sensor CJMCU MICS-4514 Carbon Monoxide Nitrogen Oxygen Sensor is arduino compatible can it be used with raspberry pi
0
votes
0answers
55 views

Arduino Mega to Raspberry pi 3 Uart communication stops after a short while

I have been trying to setup a data stream from Arduino to rpi using an USB to Uart converter. I am using 4 startbytes and then reading all 36 bytes of data at once. Baudrate, parity and stopbits are ...
0
votes
0answers
232 views

Error occurred: Please Check “Store archive output”

I am trying to download and install the Arduino IDE on the Raspberry Pi 3 Model B Vol 2. I have followed the tutorials and attempted to download the Arduino 32 arm bit tar file on the pi. I am ...
0
votes
0answers
159 views

reading EMG on Rpi3 using Teensy 3.2 on usb serial

We are using MyoWare EMG sensor and reading the RAW EMG pin as well as filtered SIG pin on the board. What it basically does is sends an analog value as a fraction of the input Voltage, which in this ...
1
vote
1answer
67 views

Peculiar features of I2C communication between RPi and Arduino

I am currently trying to establish two-way communications between an Arduino Leonardo and a Pi model B using the I2C bus, as slave and master respectively. Spookily, the Pi can successfully send ...
3
votes
2answers
283 views

Can I drive a custom LED matrix from my Pi

I have an idea for a project, but I am unsure of the best route to take. I am going to create a custom 11x10 LED matrix (addressable LEDs like WS2812) with the intention of lighting up certain LEDs ...
2
votes
1answer
92 views

I2C Communication between Arduino and RPi failing when Arduino is sending data

I'm trying to read some data from the Arduino slave and when I receive the data it shows some numbers but not the correct ones. I'm using node and i2c-bus module, also tried with wiringPi but got the ...
-2
votes
1answer
73 views

How can I reproduce arduino's shiftOut( ) fonction on a raspberry pi 3+ in C langage?

Can someone help me to reproduce arduino's shiftOut( ) fonction on a raspberry pi 3+ in C langage? Preferably using bcm2835 library.
-1
votes
1answer
697 views

Serial Communication of <raspberry pi zero w> with <arduino nano>

Background I'm trying to control some motors by raspberry pi zero w. I did, but the PWM produced by Software was unstable. So I decided to use arduino uno with zero. (Zero is required because I ...
2
votes
2answers
2k views

How to send and read a string from Raspberry pi to Arduino via serial interface?

I was trying to send and receive data between Raspberry pi and Arduino UNO. I'm able to send and receive a string from Arduino to Pi using Serial.println. I spent hours searching a better tutorial or ...
3
votes
1answer
270 views

How to get Data from Rasperry to Arduino?

Id like to get a simple integer from my pi over to my Arduino (live, so while both are running and with Minimum latency), but I cant use any Pins because im already using all of them because I use a ...
0
votes
0answers
48 views

USB com port Assignment

When the Raspberry pi boots up, it looks for the Arduino connected serially. I have a udev rules that finds the USB port Arduino is connected. This works just fine. In the program I am bit-banging ...
1
vote
2answers
75 views

Raspberry Pi and Arduino Due Spi

Is there any way to establish SPI communnication between Raspberry Pi 3B + and Arduino Due. Both only support master mode. I tried to google but mostly answers from 2013 come up. Has there any recent ...
1
vote
0answers
35 views

Raspberry Pi3 not receiving HTTP request from Arduino

I have been running an application on an older original Raspberry Pi. The Raspberry Pi was running Incredible PBX and I have some tables set up in the MySQL database to store data received from an ...
1
vote
1answer
76 views

Incorrect i2c read bytes

NOTE: Please read the bottom. There's a plot twist. I'm reading three bytes and my NodeJS code reads 3, 192, 144 in decimal while my logic analyzer reads 0x03, 0xC0, 0x10 which translates to 3, 192, ...

1
2 3 4 5
8