Stack Exchange Network

Stack Exchange network consists of 175 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

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.

0
votes
0answers
12 views

RPi camera OCR,and save output in variable (pyhton with tesseract)

I want to make a python code for the raspberry pi, with the tesseract OCR engine, that it keeps reading text from the camera in realtime, saves in a variable, and sends output to Arduino. Is there a ...
0
votes
0answers
18 views

Raspberrypi 3b+ interface with Voice recognition module V3.1

I have write program for Voice recognition Module V3.1 and Raspberrypi 3b+ , but my problem is I am not able to write any of my voice command on voice module when I speech my command its not return ...
0
votes
2answers
52 views

Is it possible to compile and Arduino Sketch into a C++ file to run on Raspberry Pi?

Since Arduino uses C++ for its programming with libraries that are specific to Arduino, is it possible to compile your sketch and have it run as a C++ program on a Raspberry Pi? I saw there was ...
0
votes
1answer
22 views

Breadboard / Jumper Cables Instead of Arduino Uno Shield

I have the following hardware that mounts on top of Arduino Uno: https://www.cooking-hacks.com/documentation/tutorials/control-hvac-infrared-devices-from-the-internet-with-ir-remote/ I need to ...
0
votes
0answers
42 views

Send IP packets between two Arduino or two Raspberry boards

I have two Arduino boards and I want to do a small project with them. I want them the do the following: Firstly, I want to send an IP packet through the network from the first Arduino to the other. ...
0
votes
0answers
15 views

Is it possible to use Adafruit's Arduino libraries for my Raspberry Pi alone? [duplicate]

I have a MPR121 touch sensor, LSM303DLHC accelerometer & magnetometer, & SSD1306 128x64 display, and I don't have a Arduino.
0
votes
1answer
33 views

I2C Level Shifter 3,3V Raspi 5V Arduino Mega

I am connecting Raspi (Master) via I2C with Arduino Mega (Slave). Do I need a level shifter for this or is it non compulsory? As of now my code runs for some time before i get a Remote I/O Error ...
0
votes
0answers
20 views

I2C Raspi (Master) Arduino Mega (Slave) creating a csv File from sensor values

i am trying to connect raspi 3 (master) with an Arduino Mega (slave). I have 4 analog sensors on the on the Arduino Pins A0 - A3. I now want to be able to manually start and stop the readings from ...
0
votes
1answer
40 views

How to control Arduino Uno using Raspberry Pi after image processing is done?

I am working on a project which is basically a robot car to collect garbage after the image in front of it is determined as Garbage (image processing using Raspberry Pi). I want my car movements to be ...
0
votes
1answer
25 views

Serial read from arduino not working properly

I am trying to read analog read from ardunio connected to my raspberry pi. Following are my raspberry pi and arduino codes. Raspbery pi: import time import serial ser = serial.Serial('/dev/ttyACM0'...
0
votes
0answers
17 views

arduino to raspberry pi serial communication getting wrong result

am trying to get the heart rate bpm from Arduino to raspberry through the serial communication. #define USE_ARDUINO_INTERRUPTS true #include <PulseSensorPlayground.h> const int PulseWire = 0; ...
0
votes
1answer
20 views

Raspberry pi + L298 H bridge motor speed reduced when battery circuit shows 50%

I made a raspberry pi car. The pi is powered by two 18650 (Breewell New Multipurpose Flat Top 18650 Battery 2000 mAh 3.7 Volt Lithium Genuine Rechargeable Battery -Pack of 2 https://www.amazon.in/dp/...
0
votes
0answers
18 views

Is there anyway to use raspberry pi to control an air compressor driving a hydraulic press?

I have a 20 ton shop press that I would like to automate to have certain run settings at a certain psi for a specific amount of time. For instance if I wanted to press something at 140 psi for 3 ...
1
vote
2answers
167 views

RPi to Arduino I2C block_data read fails with “Errno 121, Remote I/O error” (Python3)

Folks, I cringe to bring this up as it has been discussed frequently, but I am at a loss. Background: I have a Raspberry project with about 3000 lines of Python3 code and want to add a wireless ...
0
votes
2answers
103 views

Protect raspberry i2c pins with general ground connection with Arduino

I have connection like on the screen I have 12 arduinos. Each of them has one general 12V power supply. The problem is when i connect one of the Arduino supply (while all scheme works) Raspberry pi ...
1
vote
1answer
72 views

Weird output on python IDE terminal

I am trying to get my Pi 3 communicated with arduino but am getting output which i can't understand. My arduino code: char dataString[50] = {0}; int a =0; void setup() { Serial.begin(9600); ...
1
vote
1answer
80 views

Convert C code to python for 16 bit CRC check

I have some C code running on my Arduino that does a CRC calculation. I can't get it to work on Python with my RPi. I suspect it's because the Arduino is using a 16 bit unsigned integer and RPi is ...
-1
votes
1answer
86 views

RPI as server for home automation

I would like to ask for an advice in choosing controller/platform for my project. Basically what I want to do is RPI local server with web server, where I can display data from arduino sensors and ...
0
votes
1answer
89 views

NRF24l01+ Arduino to Raspberry - Receving working randomly [closed]

I am using a Raspberry Pi 3B+ (RF24 lib) and Arduino Mega (RF24 lib) I have cleaned the pins and soldered a 10 uF capacitor between vcc & gnd The distance between the two modules has no effect. ...
2
votes
0answers
46 views

Trying to use pigpio wavechains to drive very specific acceleration and deceleration

I'm working on a kinetic sculpture that involves a large pendulum swinging perpetually left to right. I'm using a raspberry pi 3 B+ / arduino uno with a DM860AC to control a nema 34 stepper. I was ...
0
votes
2answers
82 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
1answer
281 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
289 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
132 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
46 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
395 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
222 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
178 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
185 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
140 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
315 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
88 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
1k 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
338 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 ...
1
vote
1answer
542 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
74 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
51 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
44 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
25 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
146 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
79 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
768 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
52 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
88 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
369 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
461 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 ...
1
vote
1answer
5k 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
48 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
31 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?