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.

83 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
1answer
2k views

Smoke detection using raspberry pi?

I was interested in making a smoke detection unit which starts taking a video and also sends an SMS once the detector detects smoke; the problem is, which smoke detector should I use? Also, how do I ...
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 ...
3
votes
1answer
1k views

Use Raspberry and Arduino IDE to program ESP8266 remotely

I currently use Arduino IDE to generate binaries for ESP8266. Afterwards I copy the binaries with SFTP to my Raspberry Pi and flash the binaries using esptool.py. These are lots of steps I need to do ...
2
votes
0answers
26 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 ...
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 ...
2
votes
0answers
74 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 ...
2
votes
0answers
641 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....
2
votes
1answer
535 views

Raspberry Pi 3 & Arduino: [bluetooth.btcommon.BluetoothError: (112, 'Host is down')]

I am trying to send informations from Raspberry Pi 3 to Arduino Uno with bluetooth. I managed to connect the Arduino's bluetooth module with the Raspberry Pi. But I have this error when I execute my ...
2
votes
0answers
143 views

Simulating electrical inputs to an Arduino and Raspberry Pi

I have an Arduino-Raspberry Pi system, with many sensors attached, that I want to try to virtually test (without either physical device) on Travis CI. Are there any extant tools capable of simulating ...
2
votes
0answers
61 views

Antdroid firmware upload error

I followed this tutorial today: Uploading firmware to Arduino I did everything as it says but when I try to upload the firmware to the Arduino it builds about 57% and then shows an error: Invoking "...
2
votes
1answer
716 views

Read RF from Remote trouble

I have myself a Raspberry pi and Arduino which I've equipped with a 433mhz transmitter (to the arduino) and a 433mhz receiver to the Pi. I can read the output fine from the transmitter in Pi console ...
2
votes
0answers
337 views

Sending Message to Arduino From Raspberry Pi with NRF240l1

I'm trying to send string from Raspberry Pi from Arduino. I can pong out and pong back. But can't send string. I changed main code. I can't send. Here is my Raspberry Code.. #include <cstdlib> #...
2
votes
0answers
265 views

i2c random write failures errno 5

I have a panel of 6 Rainbowduinos. Each Rainbowduino has an 8x8 tricolor LED panel with a ATMega chip that you can program just like a regular Arduino. I have a master Arduino that drives it as a ...
2
votes
0answers
496 views

Multiple Arduino-Raspberry Pi serial

So, the question is, is the content of /dev/serial/by-id unique? Essentially the issue is I want to connect several (two or more) arduinos (potentially of different types, but they may all end up ...
2
votes
0answers
709 views

Raspberry pi and Arduino mini 05 connection

First of, I consider myself a real newbie when it comes to electronics and have my base knowledge in high level programing. So please have that in consideration in your answers. I have a raspberry pi ...
2
votes
0answers
1k views

Node.js and johnny-five issue

Not sure if this is the right place to ask this but here goes. So I am working on a project where i control a rc car from my web browser. I am using the raspberry pi (Rev B) as the webserver and ...
2
votes
1answer
407 views

Which Pi can emulate a custom USB Client?

Ok here is my problem: I'm making a product where I need to plug as a receipt printer and then I need to compute some data, read an NFC tag and send the data to a web server each time a receipt is ...
1
vote
0answers
22 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
19 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 ...
1
vote
0answers
34 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 ...
1
vote
0answers
65 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 ...
1
vote
0answers
47 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
vote
1answer
153 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 ...
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
1
vote
2answers
74 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
0answers
121 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; /** * ...
1
vote
1answer
2k views

Raspberry Pi 3, bluetooth is not getting connected with HM-10 bluetooth module

I currently have a Raspberry Pi 3 with built-in bluetooth and some of my work specification require to connect it with HM-10 bluetooth module but I am unable to do so. I have tried various methods ...
1
vote
0answers
520 views

Using Raspberry Pi to Receive Float from Arduino using NRF24L01

Good day. I've been learning on how to transfer data from Arduino to Raspberry Pi wirelessly using NRF24L01 based on the following reference: Raspberry Pi 3 Tutorial 14 – Wireless Pi to Arduino ...
1
vote
0answers
148 views

Delay in communication between Arduino and RPi while generating sound

I wanted to make a device like microdrum. Basically, my aim is to make the RPi as a sound module or drum module. I read hits from piezo sensor and send the signal to my RPi with the help of Arduino ...
1
vote
0answers
932 views

Send data from arduino ble to raspberry pi 2 as serial over bluetooth

Im trying to send data from an arduino with integrated ble (bluno nano from DFRobot) to a raspberry pi 2 which has an hm10 ble module connected to its serial0 gpio14 and 15 pins. I link the devices ...
1
vote
0answers
151 views

Flashing Arduino sketches from RPi using UART interface

I am communicating with two Arduino Unos, using my Raspberry Pi 3 via the UART interface. I have established serial communication between them. But I was wondering if there was a way to use this to ...
1
vote
0answers
98 views

Opening and closing of gate based on value returned by a function in Python

I was writing a piece of code to open/close a gate, based on the value returned by a function. The gate is linked to an Arduino and a Python program. When I run the function blinktheLED, it will print ...
1
vote
0answers
311 views

Transparent serial connection from PC with Arduino via USB

I am wondering if, or how, it is possible to access the Serial/COM connection with an Arduino via a Raspberry PI from a windows PC, in a transparent way, meaning, the PC connects to a serial port on ...
1
vote
0answers
379 views

How to use RasPiArduino on the Pi 3?

I'm using the Arduino Framework for RaspberryPI with Raspbian. It works on the Pi 2, but the same file on the Pi 3 results in an error: UNKNOWN-REVISION 0x00000000.
1
vote
0answers
359 views

Cannot find arduino using pid & vid

I have a pi 3 running Win10 IoT and 3 arduino pro mircos connected via usb. When I try to search via VID & PID for the arduinos I get back nothing: var aqs = UsbDevice.GetDeviceSelector(vid, pid);...
1
vote
0answers
128 views

USB Transmitter for RasPi, or GPIO solution Thru SPI

OK, so i am attempting to send and receive data from an arduino Uno to my ras pi via the NRF24 chips. i have been successfully able to communicate between the two HOWEVER, the pins i need for my 5" ...
1
vote
0answers
31 views

USB power doe Arduino

How good is the power regulation on a RPi 2 ? I have a small robot controlled by an RPi2 and some Arduinos, and have two choices to power it (the Pi, that is). I can make a dedicated 5V regulated ...
1
vote
0answers
238 views

i2c wait until Arduino is ready

I have an application connecting an Arduino and a Raspberry Pi via i2c. The Arduino is running a timer interrupt and the communication needs to occur after the timer interrupt has happened. The ...
1
vote
0answers
95 views

UARTX Rpi Arduino Communication

I have tried establishing UART connection between my rpi and arduino mega, I tried to follow this tutorial {http://blog.oscarliang.net/raspberry-pi-and-arduino-connected-serial-gpio/}, where I use a ...
1
vote
0answers
76 views

Raspberry Pi - Arduino connection can receive not send

I am using a Raspberry Pi and Arduino (for 433Mhz switched). My arduino code (short): void loop() { if (Serial.available() > 0) { // read the incoming byte: incomingByte = ...
1
vote
0answers
468 views

Controlling Arduino from web?

I am making a project in which I have several servo motors and LED's connected to the Arduino Mega 2560. I want to control these from a web interface over wifi. I have a Raspberry Pi which can act as ...
1
vote
1answer
347 views

Raspberry -> multiple arduino's cross communication

So I've recently been working on a new digital firing system for my firework show's. To do this I wanted to use a Raspberry pi as a master and some arduinos as the field boxes. The raspberry need'...
0
votes
0answers
26 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
0answers
26 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 ...
0
votes
0answers
39 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 ...
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 ...
0
votes
0answers
32 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 ...
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 ...
0
votes
0answers
112 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 ...