Skip to main content

Questions tagged [raspberrypi]

For questions about integrating the Arduino microcontroller with the single-board computer Raspberry Pi. Questions just about Raspberry Pi are off-topic but can be asked on Raspberry Pi Stack Exchange.

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

I have a project (Digital Dashboard for a Motorhome) in Pi that reads JSON data from an Arduino board and sends it via Serial. The Pi gets the JSON data, makes some adjustments and then sends it to an ...
Honeybadger22's user avatar
0 votes
2 answers
153 views

This is similar to Is it possible to program an AVR chip (atmega328p) via i2c?, but not exactly, and that thread is a little shy on details. I have an ATTiny88 attached via I2C to a Raspberry Pi, with ...
LesRhorer's user avatar
  • 113
0 votes
1 answer
157 views

I am building an airplane. As a controller I am using a Raspberry pi 4. There are 3 sensors (MPU6050, QMC5883L, BME280) and arduino pro mini connected to the raspberry via i2c. When sending requests ...
Xrou's user avatar
  • 13
0 votes
1 answer
142 views

Premise: I'm trying to determine a good way to architect getting data from 4 plant monitors to a single Arduino. For context, that Arduino will have a Wifi connection that will transmit the data from ...
Avogadro's user avatar
  • 103
1 vote
1 answer
675 views

I have connected my Arduino UNO through USB to Raspberry pi 3B. I am using CLI for editing, compiling and uploading sketches > arduino-cli upload --fqbn arduino:avr:uno cli-test. However, after ...
DaSnipeKid's user avatar
1 vote
1 answer
381 views

I'm having issues with Arduino and RPI3 serial communication, it'll become unresponsive after a little time. Tried increasing BAUD rate and same issue, also happens on Windows as well so RPI is not at ...
Philip Rollins's user avatar
1 vote
1 answer
89 views

Why do I have to burn the code twice to actually burn it on to the Arduino board? I have to execute this command twice - only then is the chip getting programmed. I'm using this command to burn the ...
user137442's user avatar
2 votes
1 answer
229 views

I have a setup with serial comm from Raspberry Pi to Arduino. It's communicating at baud 9600 on both devices, and from Raspberry Pi 3b+ GPIO-14,UART0,TX0 to Arduino Nano RX0. There's a level shifter ...
errolflynn's user avatar
1 vote
2 answers
121 views

I'm trying to receive a string from an Arduino to a Raspberry Pi via a Bluetooth socket connection (RFCOMM). I'm using an HC-06 Bluetooth module, an Arduino UNO R3, and an RPi 4 Model B. For the ...
phosphorescent's user avatar
1 vote
1 answer
87 views

I have a I2C connection between an RPI 3B+ and Arduino Nano. I want to send a key and a corresponding value byte, and the arduino does something with that inside a timed ISR. Which works. But I get ...
aWiseMan's user avatar
2 votes
1 answer
1k views

I'm trying to send the temperature value from the DHT sensor to a raspberry pi through I2C. Which is the best way to do it?. The temp value is a float, and I think I have to convert it to byte and ...
Guille's user avatar
  • 123
0 votes
1 answer
109 views

I need to modify an existing library that relies on being able to detrmine what board / processor the code is being run on. To do this, it uses definitions such as this for an Arduino Mega: // Arduino ...
Ben Bird's user avatar
  • 101
0 votes
2 answers
340 views

I am experimenting with Aquaponics and since I am a software developer I found it "smart" to use arduino/raspberry in order to control the water flow and not simply use a water pump with ...
Investigator's user avatar
2 votes
2 answers
2k views

I'm trying to figure out how to program my new Raspberry Pico with Arduino, but don't see a port to select so I can't upload the blink sketch. Here's what I've done: The Pico is working, I can ...
kxtronic's user avatar
  • 396
1 vote
1 answer
188 views

The code below sends data to Raspberry Pi every 20 millisecond. The code works fine but sometimes python throws an error. Why this is happening? Should I give more time between writeData? Error: > ...
Shyam3089's user avatar
  • 165
0 votes
1 answer
83 views

I have looked all over for a solution to this. I'm a noob in the arduino space and am really just getting my feet wet. It's possible that I am interpreting what I am reading wrongly. If so I apologize....
Dan's user avatar
  • 103
1 vote
0 answers
316 views

I want to use the Arduino IDE using a raspberry pi with raspbian OS because it's the only way I can read a Digispark usb (I don't have 2.0 usb ports in my laptop so I can't read the usb with it). I ...
iam_agf's user avatar
  • 111
5 votes
3 answers
442 views

I recently bought a Raspberry Pi Pico to play with, and am attempting to upload my first program to it the Arduino way, as my own operating system rather than a c++ program over an existing operating ...
nerdguy's user avatar
  • 63
1 vote
0 answers
156 views

I have a robot that I have brought that is designed for raspberry pi (it comes with a raspberry pi HAT), and I am terrible at using my raspberry pi. So I was thinking what if there is some sort of way ...
DigitalRookie4's user avatar
1 vote
0 answers
87 views

I want to use Raspberry Pi as an aggregator & distributor of messages originating from or destined for a flight simulation program. I'd like to use arduinos connected via spi as specific hardware ...
Patrick Callahan's user avatar
1 vote
0 answers
74 views

I am using Raspberry Pi 4 to connect via usb to program ardino Nano, I intend to communicate with the nano via i2c, but this is irrelivant. With a fresh install of Arduino for ARM 32 bit I get this ...
Arcanist's user avatar
1 vote
1 answer
597 views

I can't find any tutorials online explaining how to wire and control a 16mm push button like the one in the picture: Do you have any suggestions as to how use it with an arduino or a raspberry pi?
S.E.K.'s user avatar
  • 53
1 vote
1 answer
2k views

I have tried everything on this url https://stackoverflow.com/questions/10165761/java-cant-connect-to-x11-window-server-using-localhost10-0-as-the-value-of-t session output: root@whale:/home/kermit# ...
brad's user avatar
  • 201
3 votes
0 answers
580 views

I'm sending currently data from a Raspberry to an Arduino, but I have a problem with receiving response from the Arduino back to the Raspberry: Sent the message: ['H', 'i', '.', '.', 'A', 'r', 'd', '...
NezumiRyu's user avatar
2 votes
1 answer
339 views

what is the best way to init wifi communication between two devices without knowing IP of second device, let's say Raspberry Pi and ESP8266? I want to build simple home automation system for my ...
Petr Marek's user avatar
2 votes
2 answers
470 views

A DC motor is operated using an L298n driver and Arduino UNO. How can I get to know whether the Motor is ON or OFF? Using a code in Arduino.
Amit Nikhade's user avatar
1 vote
0 answers
82 views

I'm trying to communicate via I2C on the Raspi, programming it with the Arduino Create Web Editor. I have enabled I2C on the pi, made sure /dev/i2c-1 exists. The pi can see the device (just a simple ...
Kcoolz's user avatar
  • 11
8 votes
4 answers
18k views

I have an Arduino Uno connected via USB to a Raspberry Pi. The Raspberry Pi is accessible via SSH only. Just started a bit with arduino-cli. I upload a sketch which reads my analog pins. How can I ...
groovehunter's user avatar
1 vote
1 answer
928 views

I have an Arduino Nano 33 IOT and it uses BLE. I want it to talk to my Pi 3B+ and send all of its sensor data. I cannot figure out a way to do it using Python for the Pi and ArduinoBLE library for my ...
DragonflyRobotics's user avatar
1 vote
0 answers
39 views

How can I use Arduino Uno Analog Pins as Digital pins, So that I can Attach more components like sensors to the Arduino? My 13 pins are preoccupied and I want more.
Amit Nikhade's user avatar
0 votes
1 answer
46 views

I am trying to connect different types of sensors & motors to the Arduino should I make their grounds and 5v pins on the same connection.
Amit Nikhade's user avatar
1 vote
1 answer
1k views

How can use a separate power source for powering Arduino, and another battery for powering the motors? How can I make connections through the motor driver module L298N? I know how normally we use one ...
Amit Nikhade's user avatar
1 vote
2 answers
406 views

Is it possible to build an serial-adapter with digispark board? Like: Embedded System with 2-wire RS-485 Port connect to my digispark board. Digispark Board is connected via USB to my Computer (...
mncache's user avatar
  • 11
2 votes
1 answer
374 views

I have a system that involves an Arduino Due connected to a Raspi 4 through UART in which the Due sends a heartbeat signal over UART for the pi to receive and send back as confirmation. One of the ...
Andrew Euredjian's user avatar
0 votes
1 answer
975 views

I'm trying to do wireless thermometer on max31865 arduino and nrf24l01 but I'm having problem sending whole data struct I can send int or char arrays but when I try to send whole struct I got output ...
StrudzonyWedrowiec's user avatar
1 vote
1 answer
3k views

I am a newbie C programmer and I just started with Arduino web editor (Win10-Firefox)to code for a Raspberry Pi (3B) board. RPi is on line via ethernet connection. I tried to compile an example from ...
Ivan Herbots's user avatar
0 votes
1 answer
267 views

From this tutorial I'm able to nicely program an ATmega328 using SPI raspberry GPIO pins. However, when I try the same steps with ATmega4809, avrdude seems not having instructions and outputs the ...
Miguel's user avatar
  • 209
0 votes
1 answer
435 views

I'm about to build myself a new BrewPi and I have some Arduino power/USB questions. Something smiliar to a combination of these projects: https://i.sstatic.net/gZHZt.jpg https://www.homebrewtalk....
DanielC's user avatar
0 votes
1 answer
102 views

Like the title says, I want to take in the synchronised data from two NXP breakout boards and two Ueye 1220LE cameras, and use VIO to fuse their data and get positions for both setups. A lot of people ...
TryingMyBest's user avatar
1 vote
0 answers
63 views

I'm trying to send a byte from an Arduino Nano I2C slave to a Raspberry Pi 3B Master by directly connecting the two I2C pins of each device with no external pull-ups or level converters. It mostly ...
user1318499's user avatar
0 votes
2 answers
287 views

I have two Arduino Megas with HC-05 on Serial1 connected to a Raspberry Pi 3b+ via bluetooth, using the HC-05 and the RPi's built-in bluetooth, and python's pySerialTransfer library to make the ...
David W's user avatar
  • 39
0 votes
1 answer
58 views

I have a relay attached to an Arduino Uno which I want to control using my raspberry pi 3b. And yes I know it can be done by attaching the relay directly to Pi but I cannot do so. Don't ask me why. ...
Hammad Ilyas's user avatar
1 vote
1 answer
532 views

I'm using two HC-05 modules on two Arduino UNO boards. One of my modules connected successfully to a raspberry pi port. However the other doesn't want to connect, but sometimes it does and then ...
adidas23soccer's user avatar
0 votes
1 answer
2k views

My goal is to send a string from an Arduino via an HM-10 bluetooth module to a Rasperry Pi. I do this today by connecting the HM-10 on the Arduino to another HM-10 module (master/slave) and then from ...
miccet's user avatar
  • 119
1 vote
1 answer
54 views

I know the title is phrased terribly, but I'm not sure how to phrase it since I'm not sure of the name. I have a servo, that I cannot connect to, except for the output spine/shaft (physically). I ...
praiseHellRaiseDale's user avatar
1 vote
0 answers
243 views

We are trying to send a message using NRF24L01, with a Raspberry Pi as transmitter and an Arduino Uno as receiver. Our concern is that the receiver Arduino might not be working because we are not ...
Rangit Ray's user avatar
0 votes
1 answer
838 views

How to create a USB CDC device. (I'm using stm32f103c8 black pill board) and I want to read the data through USB in my raspberry pi as a serial port. I am using a black pill to read RFID-rf522 to ...
mr_aarvee's user avatar
1 vote
0 answers
535 views

i am stuck at sending picture to Raspberry pi from Arduino , how can i do this ? One way that i am using now is saving the picture on SD card module on the arduino , how to transfer that image to ...
Ivanh23's user avatar
  • 29
-1 votes
2 answers
3k views

I'm working with an Arduino Nano Every, and I'm trying to connect it to the Raspberry Pi Zero for data collection from I2C sensors and writing/program code from the Pi to the Arduino. Typically, I ...
BestQualityVacuum's user avatar
0 votes
1 answer
415 views

I am planning to build a network with five Arduino Mega devices, each of which will collect data using multiple sensors. Each Arduino will periodically transmit the sensor data to a gateway Raspberry ...
Adnan Ali's user avatar
  • 119