Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
2answers
28 views

Arduino sensors without board directly on Raspberry Pi

I'm a beginner, just so you know. Okay, I've a Arduino IR Infrared sensor right next to me, some jumper cables and a Raspberry Pi. My question is: Do i need an Arduino board to hook the sensor up to ...
0
votes
0answers
19 views

Multiple Bluetooth connect between Raspberry pi 2 and arduinos [on hold]

Is it possible to switch between Bluetooth connection with Raspberry and few Arduinos?
0
votes
1answer
24 views

How to use an ultrasonic sensor with nanpy on Raspberry Pi?

I have been trying to run the following code on a Raspberry Pi, to use the ultrasonic sensor HC-SR04 with an Arduino that is a slave to a Raspberry Pi: from nanpy import ArduinoApi from nanpy import ...
0
votes
0answers
65 views

How many arduinos can I control with one raspberry pi 3 B+

I have been reading about using a Raspberry Pi to control an Arduino. My goal is to control several Arduinos using a single Raspberry Pi, in order to automate several tasks, it is important to note ...
0
votes
0answers
17 views

Please Help Arduino - Raspi NRF24L01 connect

I want to connet raspi and arduino nano with nrf24l01. I run example "getting Started" successfully, and i check my raspi and arudino, nrf24l01 is all good. but i want send int message, i change some ...
0
votes
0answers
23 views

RFM69 Radio Transceiver: Arduino is not registering acknowledgement for transmission sent by Raspberry Pi

I am building a system in which an Arduino Uno with an RFM69 radio chip transmits data to a Raspberry Pi running a script in Python. I am using the RFM69 library for both scripts: Arduino: https:/...
0
votes
0answers
34 views

python: bluetootherror: (111, 'connection refused')

There seems to be a problem with connecting the Arduino + HC-05 to the raspberry pi 3 Here is my code from bluetooth import * import threading import bluetooth from pprint import pprint host = '98:...
0
votes
0answers
28 views

Rasperry Pi and Arduino echo over USB

I am trying to create an "echo server" with Arduino UNO, so that user could send some message to it through Raspberry Pi and receive the same response. On Pi I am using Python and PySerial library to ...
0
votes
2answers
69 views

Incorrect Encoder tick counts using Raspberry Pi

Hi I have a DC motor with encoder which has a PPR count of 990 (No load RPM = 107). However, I tried to read the number of ticks (on a Raspberry Pi 3B) by rotating the wheel 1 turn and I get a PPR ...
0
votes
0answers
54 views

sample rate of ADC with raspberry pi and arduino

I connected the ADC PCF8591 to the raspberry pi3 and the number of samples per second is about 80. When I connect this ADC to Arduino, the number of sampls per second with baud rate 9600, about 270 ...
0
votes
0answers
66 views

Wireless Gyro/Accelerometer Sensors for Raspberry Pi

Is there a way to have a wireless gyro/accelerometer sensor connected to Raspberry Pi? Have worked with single MPU-6050 in the past. Was wondering if there was a way to have a wireless sensor instead....
0
votes
1answer
52 views

Rubbish Values (b'\x00\x00\x00 … ') - UART of Arduino to RPi 3B

I am getting b'\x00\x00\x00 ... ' together with the data I want. For example, my Arduino is writing 'hello raspberry' to RPi. At the RPi, it receives 'b'\x00\x00\x00 ... hello raspberry\r\n '. Why? ...
0
votes
1answer
32 views

Serial connection with raspberry pi to arduino, works only once and needs a hard reset every time

so I am working on a project where I have to connect an arduino to the raspberry pi through serial and then transfer the input from the raspi to another I2C device. So, just to test things out and ...
2
votes
2answers
128 views

How to send bytes to dmx using python

I have a headlight connected to my rpi with dmx cable and a RS422 / RS485 Serial HAT shield (https://www.hwhardsoft.de/english/projects/rs485-shield/). According to the instructions it should be using ...
0
votes
1answer
41 views

Connecting raspberry pi with ev3 using i2c

Recently, I have been trying to build a project where I need to connect an ev3 to a raspberry pi. I have decided doing it by i2c after reading (and successfully replicating) an article about ...
0
votes
3answers
278 views

Arduino-Raspberry Pi fast data communication through serial

I am trying to sample from two analog sensors at highest frequency possible (using and Arduino Uno, MPC3002 ADC), then send the data to raspberry pi to save them as binary file. Arduino and MCP3002 ...
0
votes
1answer
79 views

Raspberry Pi Zero W - connect Micro USB to FTDI to arduino board

I'm using this FTDI on a Raspberry Pi 3 Model B to connect an arduino board via USB. can I do the same thing on a Raspberry Pi Zero W using this USB OTG Micro USB to Mini USB to connect the FTDI to ...
0
votes
1answer
63 views

Wiring setup for I2C communication for RPi slaves

Recently found out that using the pigpio library one can set the raspberry pi to be a slave in a bus setup with an arduino. Someone has even written some test code on the RPi forums which shows that a ...
0
votes
0answers
37 views

Single bit transfer from Arduino to RPi through gpio

Trying to send commands from an Arduino to the RPi through the GPIO PCM. I can't do it through the serial port as the port is connected to a computer and commanding the Arduino. I was planning to send ...
0
votes
0answers
27 views

Raspberry pi analog joystick using Arduino i2c for kodi

so I'm working on a project and among others I want to integrate an analog joystick, like those cheap ones that send analog values between 0 and 1023 for x and y movements. The end game is that I ...
0
votes
2answers
27 views

Raspberry pi 3 GPIO to Arduino [duplicate]

Trying to use the raspberry pi to control an Arduino Uno and I'm tyring to ensure nothing breaks when connecting them. I know that the Arduino outputs at 5V while the pi inputs at 3.3V. This requires ...
0
votes
0answers
14 views

I want to read my rpi2 values from arduino serial screen [duplicate]

im using OpenCV and making some object tracking over the webcam. So i need to read my camera values (objects location x,y ). And i want to read it from arduino pins. How can i do that ? thx already.
0
votes
0answers
20 views

Barcode and Ardunino IR receiver

We are using our barcode scanner as basically a keyboard. Therefore when it scans the barcodes it just prints the numbers associated with that barcode. With that, we are now trying to make our barcode ...
0
votes
2answers
36 views

Raspberry pi: Arduino to Python

my group and I are interfacing Arduino and python on our Raspberry pi zero w so that an IR receiver connected to the Arduino sends the corresponding characters to python, which it does.However, we are ...
0
votes
0answers
32 views

Install Arduino IDE in Raspian Strech Desktop

I'm using a Raspian Stretch in Virtual Machine (VMWare). I follow the steps to install Arduino IDE in Linux ARM version. The software are installed OK, but when i click to open IDE, nothing happens. ...
1
vote
1answer
179 views

NRF24L01 Arduino and raspberry

I've been trying for long time communicate arduino and raspberry pi using NRF24L01 module, for now it has been impossible. I followed the next tutorial: Tutorial NRF24L01 connections Arduino: CE - 9,...
0
votes
0answers
36 views

IR Sensor/code Issues

I have two questions. Firstly, we have an Arduino IR sensor and we want to use it in python on our Raspberry Pi zero w. Is that possible? The following link is where we bought the IR remote/...
1
vote
0answers
60 views

How to get stream of data from arduino serial monitor on Apache Edgent application (Java application)?

The sample java application for reading random sensor value is given as: package org.apache.edgent.samples.topology; import java.util.Random; import org.apache.edgent.function.Supplier; /** * ...
0
votes
0answers
252 views

Raspberrypi bluetooth error - Failed to connect: org.bluez.Error.NotAvailable

I am getting error "Failed to connect: org.bluez.Error.NotAvailable" with HC_05 and HC_06 bluetooth modules. I have connected the bluetooth device to Arudino Uno and it detects fine when I connect ...
2
votes
4answers
227 views

Connect to Raspberry Pi Over the Air Without Internet

For a school project, my group and I have decided to make a weather buoy to put in the ocean. We have several parts available to make the buoy, including 2 Raspberry Pis (One version 2 model B, and ...
0
votes
0answers
201 views

SOLVED - How to control Arduino over network with PC via RPi3 using usb serial and socket client/server - Python

Sorry about the title. I honestly spent ages trying to word it well. I failed. So originally I was running a script on my raspberry pi that used OpenCV for image processing. I had a usb webcam ...
1
vote
1answer
2k views

Failed to connect: org.bluez.Error.NotAvailable - Error

I am trying to connect a HC-05 Bluetooth Module (connected to Arduino Uno) to my Raspberry Pi 3 in the hopes of achieving bluetooth communication between the two to send data from the Uno to the Pi. ...
0
votes
1answer
24 views

Printing Serial Port Not Advancing Line

I have a project in which an Arduino is reading a sensor and printing that value to the serial port. When connected to the serial monitor in the Arduino IDE on my PC, the data is printed flawlessly. ...
0
votes
1answer
30 views

Interfacing Aurduino with PI screen? [closed]

Is there a way to take the output from an arduino that normally displays on a small LCD screen and display it instead on a rasperry pi with a 7 inch screen?
-1
votes
2answers
1k views

insert sensor data in mysql to python [duplicate]

Hello I want to insert sensor data in mysql to python. My sensor is connected to arduino and it sends sensor data to raspberry pi via bluetooth. Raspberry pi receives sensor data to python code. This ...
0
votes
0answers
27 views

Locking the RPI program enviroment against the public

I am building a car audio display wall for a custom car shop. I have based the nuts and bolts on the arduino mega. The owner would like a touchscreen which is a fairly straight forward thing to do on ...
1
vote
1answer
48 views

Raspberry Pi controlling motors?

Disclaimer: Im still new to the Pi and world of electronics, and google is giving me mixed results Im going to be attempting to build a robot with the raspberry pi. The question is how is the pi at ...
0
votes
1answer
475 views

Connecting Raspberry Pi GPIO UART to Arduino USB

I use a third-party modified Arduino that has the correct voltages and current limitations to control my robot. I additionally want to connect a Raspberry Pi Zero W to the Arduino that is evaluating a ...
0
votes
0answers
188 views

Transmit 433 MHz Manchester from Arduino - receive on Rasberry Pi

On Attiny85 I'm using Manchester encoding library with code #include <Manchester.h> #define TX_PIN 1 uint8_t transmit_data = 123; void setup() { man.workAround1MhzTinyCore(); man....
0
votes
1answer
150 views

Errors in distance measurements with the LV-MaxSonar EZ serie

I am working with the LV-MaxSonar EZ2 and a Raspberry Pi 3 model B. As you know, The Raspberry Pi can not read analog input, that's why I used an ADC (analog to digital converter), an MCP3008 to ...
0
votes
0answers
571 views

How to send data from arduino to raspberry pi zero wirelessly?

Arduino connected with HC-05 Bluetooth module is the transmission section. Analog pin A0 of arduino has the input signal to be sent. The receiving section is the raspberry pi zero with inbuilt ...
0
votes
1answer
95 views

How do you put the serial values(from arduino) to a specific grid in Tkinter? (Python 2.7)

I tried to put values in the grids from a string. But the values are not showing or updating. How do you put serial values(from arduino) to a specific grid in Tkinter? When I run the code, no values ...
0
votes
1answer
363 views

Raspberry PI connect to Arduino using XBEE and serve as a Web Server [closed]

I would like to know whether if I implemented the internal connection between 2 device (Raspberry Pi to Arduino using XBEE), is it possible in the same time to enable Raspberry PI as Web Server that ...
0
votes
1answer
258 views

Rotary encoder is giving less PPR reading

I am testing 400 PPR(Pulses Per Revolution) rotary encoder using code.I am rotating it by using the hand. I have connected Phase A and Phase B and also, ground and Vcc properly. The code is giving ...
0
votes
1answer
29 views

Looking to piggyback a pi on top of an arduino robot. How to power it?

I recently bought and assembled this Arduino-based robot turtle kit, and it's fun but I find microcontroller code a bit limiting, and I'd like to stick a raspberry pi on top of it to provide some ...
0
votes
1answer
424 views

Data transfer of UART over USB too slow

TL;DR : The PI was not the issue. The sender was. Take a look into my answer. long story I am facing a performance issue right now on a test setup i use to investigate limitations for my upcoming ...
0
votes
2answers
3k views

What does “dtoverlay=dwc2” REALLY do?

Please don't point me to what it is used for, there are plenty of articles telling me how to make my Pi Zero an ethernet gadget. Putting "dtoverlay=dwc2" into /boot/config.txt appears to fix a known ...
0
votes
0answers
162 views

How to install the arduino-create-agent on Ubuntu Mate 16.04 RPi3

I'm looking to install the arduino-create-agent onto my RPi3 running Ubuntu Mate 16.04 LTS but I can't find an armhf version. Does anyone know where I can find this version, or how to compile it for ...
0
votes
0answers
57 views

Control a nodemcu with Google AIY Kit on raspberry pi

I'm trying to control a NodeMCU with a Google AIY Kit running on a Raspberry Pi. So far I've been able to start the web server on the NodeMCU and I can control it in a web browser. There are four ...
2
votes
2answers
291 views

Pi to Arduino Serial Communication: Repeating character on LCD [closed]

I'm trying to send multiple characters (two digit numbers) from a Raspberry Pi 3 (Python 2.7.9) to an Arduino Uno via USB. The Arduino then prints these numbers to a 16x2 LCD panel. So far, I can ...