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
0
votes
1answer
341 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
1answer
605 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
1k 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
552 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
66 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
1k 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 ...
7
votes
2answers
14k 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 ...
2
votes
2answers
718 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 ...
2
votes
3answers
971 views

Using Arduino kits with Raspberry Pi 3

I recently got a Raspberry Pi 3 B. It was just after I bought it that I learned about Arduino and the DIY community to it. Elegoo produces sets for Arduino and state on there website Includes UNO ...
1
vote
1answer
778 views

Arduino powered by rpi3

I hooked my Arduino UNO to one of the USB port of my rpi3. The Arduino itself power a small light sensor, later on i plan on adding LCD display, LEDs, etc Can the pi handle it without any fuss ? My ...
0
votes
1answer
446 views

GPIO serial Communication between Arduino Mega 2560 and raspi 3 b?

My question is : I know that GPIO is 3.3v in raspi , and mega IO pins is 5v. In my case i want to send data serially from raspi to mega so i will connect tx from raspi as output to rx in arduino as ...
2
votes
1answer
5k views

Connecting 2 Raspberry Pi together

Is it possible to connect 2 Raspberry Pi 3's together using cable? (I read somewhere and show some videos that an Arduino can be connected to a Pi using a serial cable.) One of the Raspberry Pi's ...
6
votes
5answers
11k views

Raspbian Stretch: Getting Error: missing `server' JVM at `/usr/lib/jvm/java-8-openjdk-armhf/jre/lib/arm/server/libjvm.so'

I am trying to get the arduino utilite installed to my Pi Zero, so I did sudo apt-get install arduino And it chugs away for a moment, then barfs this: pi@raspberrypi:~ $ sudo apt-get install ...
1
vote
2answers
674 views

USB communication Arduino/Raspberry PI3 issue

I'm trying to send data to my raspberry PI3 by USB. Aim : One arduino (n°1) sends data to another by 433Mhz (virtualWire library on arduino) The other arduino(n°2) receives the data and transmits it ...
1
vote
1answer
525 views

pySerial seems to fail after +/- 15 sec

I currently have an Arduino Mega 2560. This is hooked up to a DHT-11 sensor which works perfectly. The code I use for the Arduino: #include <dht.h> #define dht_dpin A0 //no ; here. Set equal ...
1
vote
1answer
86 views

What modules are compatible from Arduino to Raspberry Pi?

I am just starting to get into Raspberry Pi and I saw a post that said that only a few modules are compatible. I would like to know which modules are compatible and how to tell which ones are in the ...
0
votes
2answers
2k views

How to retrieve data from Arduino and ESP via local wifi network on RPI 3

I have a DHT22 connected to an Arduino Uno with a simple DHT sketch. Also connected is an ESP8266-01 that has been flashed and an AP +STA mode program uploaded to it. I'm wanting to use a RPI 3 to ...
0
votes
2answers
402 views

Control Raspberry Pi to control an Arduino over Apache

I want to control a Raspberry pi to control an arduino which is controlled by a webpage hosted by apache. I do not know how I would attempt this and if it is even possible. Can anyone please guide me ...
1
vote
1answer
524 views

Raspberry Pi I2C Communication to Arduino

I am creating a master/slave setup with an RPi as the master and an Arduino as the slave. For now I am only using one, but I will eventually have up to 25 on a single I2C bus. On the Arduino side, ...
2
votes
1answer
539 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 ...
0
votes
2answers
584 views

Problem with usb serial RPI -> Arduino

I'm working on a robot, more precisely on his head which have to track an human face. I'm using a RPI which will detect the face and then send to the Arduino the angles for both servomotors. I ...
-2
votes
1answer
501 views

How to compare the data input from arduino with libreoffice Calc in python [closed]

Was my code for read the libreoffice cal file was right?And i wan send back true or false to arduino after compare the input with cal file. When i key in the number from arduino,no matter correct or ...
0
votes
1answer
2k views

Arduino to RPi using Bluetooth?

I'm working on a project that the goal is to send data from an Arduino (a Flora, specifically, reading sensor information) directly to a Raspberry Pi using BLE. I'm following this guide, and on ...
0
votes
1answer
1k views

How can I connect my Pi to an Arduino with ESP8266 Wi-Fi module?

I'm having a hard time trying to understand how I can use my Raspberry Pi to retrieve and display data from my Arduino that has an ESP8266 WiFi module and a DHT temp and humidity sensor connected to ...
0
votes
2answers
99 views

Just installed Arduino IDE 1.8.4 and want to program Arduino via a USB port

I just installed Arduino IDE 1.8.4 on a RPi3 and want to program Arduino via a USB port. The application seems to run fine except - the Tools->Port->"Serial ports" is grayed out. How to I assign/...
1
vote
1answer
343 views

Raspberri PI 3 read all 0's from 23LC1024 SRAM chip over SPI

I am using several 23LC1024 SRAM chips to share data between an Arduino and a Raspberry PI 3 running Windows 10 IOT. I am using SPI to send and read data from the 23LC1024. I am having trouble ...
0
votes
2answers
2k views

Six arduino-slaves (motor+sensor) on one raspi-master via USB

We are connecting six arduinos via an usb-hub to our raspi. Each of the arduinos will get analog data from one sensor and also control the movement of one motor. Thus we have an input and an output on ...
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 ...
2
votes
1answer
275 views

Detecting liquid chemicals' level in a tank

I need to figure out how much liquid (insecticide) is left in a tank using Raspberri Pi. I looked at infrared rangefinders but it looks like water absorbs IR and that won't work. Next up - float ...
1
vote
0answers
524 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 ...
0
votes
1answer
324 views

Read multiple sensors from an Arduino

I'm trying to make a system that can take multiple sensor inputs from an Arduino connected through USB to a Raspberry Pi. Is it possible to differentiate the different sensor inputs on the Pi so ...
0
votes
1answer
3k views

Wireless Temperature Sensor [closed]

I'm working on a project that will monitor the temperature of a refrigerator. Ideally, we are hoping to do this wireless via RF to a Raspberry PI to collect the data. If anyone has completed this ...
2
votes
0answers
144 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 ...
1
vote
1answer
478 views

UART Connection between RPi and Arduino but RPi not RXing properly

I'm using WiringPi's library to read information from my Arduino on my Raspberry Pi 3b. The RPi is connected to the Arduino as so: RPi <-----> Arduino 8 (TX) <-> 17 (RX2) 10 (RX) <-> 16 (...
0
votes
1answer
241 views

Identifying multiple arduino boards on Raspberry Pi

I have a project where I need to connect multiple arduino boards on my RPi. I succeeded to do that with USB connection. My problem is that I have to determine the serial ports to which the boards are ...
1
vote
1answer
5k views

Python script won't run on PHP

My goal is to write a string through the serial of my Raspberry Pi which will then be sent towards an Arduino and I'll read it through the Serial Monitor. I got my Python script working and it works ...
0
votes
1answer
38 views

Arduino Prototyping components - holding them together

Right now I have a breadboard with couple of LED lights, arduino uno and ping ultra sonic sensor. I want to just keep everything together while I prototype to have the flexibility to add more ...
0
votes
0answers
76 views

Wireless Communication with Electronics

I'm working in an Escape room, I have a pi as main brain of the thing using a nodejs server, but I want some small stuff away from the pi to talk to it wirelessly. My first approach would be to have ...
0
votes
1answer
226 views

programming Arduino in c++ on the pi [closed]

I'm new to the Pi and linux in general, what I'm trying to do is program an Arduino in c++ with the Arduino IDE. A sketch in the Arduino language works fine, but the equivelent code in C++ uploads but ...
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
152 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
1answer
5k views

Digital data reading using GPIO

I want to do an experiment using Rpi and Arduino. Basically Arduino will send a digital data to Rpi's GPIO. This question says how to do it using USB. I want to read it and display in the console. ...
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 "...
0
votes
1answer
762 views

How to power Arduino pro mini/Raspberry pi zero W and create a connection between the two?

I am currently building a drone that I want to be a bit advanced so I am building code on both arduino and raspberry. What I have not figured out yet though is how i can power them both and preferably ...
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 ...
2
votes
1answer
38k views

Send data from Python to Arduino through serial port

Should I keep Arduino IDE and Serial 9600 open to be able to recieve data sent from python code , Arduino is connected with pi 3 with serial communication ? tried to send data while the arduino IDE ...
1
vote
1answer
832 views

Question about Arduino talking to Pi over USB

We have a student project where part of it requires us to have an Arduino Nano sending data to a Pi 2 Model B via USB. The Pi's have been setup using PySerial. My question is regarding the absence of ...
1
vote
2answers
4k views

Trouble installing the CH340 driver on Raspbian Wheezy

I've recently picked up a device that happened to use a CH340 USB chip on it. Of course, for this to be able to work on the Raspberry Pi, I'd need to install the required driver for it. I found the ...
0
votes
1answer
656 views

pigpio ESC (Electronic speed control) problem

I'm trying to control a BLHeli ESC (link) controlling a Gemfan motor (Gemfan RT-2205 2300KV - 3-4S - 425W - 1160g) with a Raspberry Pi 3B with a python program which I've written two days ago: from ...

1 2
3
4 5
8