The Arduino is a single-board microcontroller, designed to make the use of electronics on technology projects easier. The Arduino is visually similar to the Raspberry Pi, but it is focussed more on using electronics in programming, than just programming like the Raspberry Pi is (although GPIO may be ...

learn more… | top users | synonyms

1
vote
1answer
9 views

Pyserial: Force Arudino to /dev/ACM0?

(Using Raspberry Pi 3B, Raspbian Jessie) I have a Python script that uses an Arduino with Pyserial. I want to start this script on boot, but my problem is that sometimes the Arduino binds to /dev/...
1
vote
0answers
17 views

Send Data to Arduino From Raspberry Pi via Nrf24l01+

I want to send string from Raspberry Pi to Arduino. I can send it from Arduino to Raspberry Pi. I've 2 Nrf24l01+ modules. And followed steps at here. But i couldnt do it. So raspberry pi can transmit ...
1
vote
0answers
32 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
17 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> #...
3
votes
1answer
104 views

How to use Arduino devices with Raspberry Pi?

I bought "RFID RC522" & "GY-NEO6MV2", and I need a useful guide for both of them in order to use them with Raspberry Pi 3 Model B. I also want to know if there is a guide or a course for using ...
0
votes
0answers
46 views

Raspberry Pi - Arduino Communication via Nrf24l01

I'm newbie at this topic. I'm actually beginner at arduino. I'm trying to send some data from Arduino to Raspberry Pi and Raspberry Pi to Arduino. I can ping back and ping out from Arduino to ...
4
votes
1answer
76 views

Raspberry Pi 2 Model B NRF24L01 Pin Connections

I'm trying to connect Arduino Nano and Raspberry Pi 2 Model B. But there is a problem that I really couldn't handle for more than 10 hours. When i try to ping out from Raspberry Pi, it says "Check ...
1
vote
1answer
59 views

Can't receive data from Arduino to Raspberry via nrf24l01+

Please help me to solve the problem. I do not get data at Raspberry. I have: 1. Arduino Nano + DHT11 + NRF24l01+ 2. Raspberry Pi 3 + NRF24l01+ Raspberry RF24 library https://github.com/...
0
votes
0answers
32 views

Raspberry Pi 2 only boots with jessie

I am having trouble using an existing raspberry shield because its not jessie ready, because of some breaking changes of systemd and etc. Arduino Shield So in order to use it right now, I need to ...
0
votes
0answers
21 views

I can't use more than 1 pin from the arduino when I connect it to raspberry pi b , I want to use all of the arduino pins how could I do this

the purpose is that I want to make a GUI to read from 20 switches either HIGH or LOW and display it on a labels . I start connecting 8 gpio as inputs and connect 12 input pins to the arduino to read ...
0
votes
1answer
39 views

I2C cannot get data

A colleague of mine gave me a device that is able to send data via i2c. He has already been able to recieve this data on the Arduino via the following library/Function https://www.arduino.cc/en/...
0
votes
1answer
59 views

RF communication between Pi and Arduino

I'm interested in making a home automation system with my raspberry pi 2 as the master device running the openhab server and an arduino as the slave device that switches the relays and reads the ...
0
votes
0answers
26 views

I'm reading from 20 switchs inputs and this could don't work ,so what is the solution of this problem

The project is that I want to connect 20 switches to the raspberry pi and the arduino inputs and then make a very simple GUI to read on it which switch is open and which one is closed using 40 labels: ...
0
votes
0answers
49 views

I2C - Send data to Arduino without sending request

I have an Arduino connected as a slave to a Pi. I have two interrupts: Wire.onRequest(requestEvent); // sends back data Wire.onReceive(receiveData); // executes pin change, sends back different data ...
0
votes
0answers
10 views

Write to LCD screen on Arduino based on conditional output run from Java program on Pi

I'm trying to figure out how my Java program can generate output on the LCD screen on the aArduino. So far I haven't found any Java solutions that can work, only Python. Below is my Java code. ...
0
votes
1answer
376 views

How to communicate between Pi 3 and an Arduino using UART from GPIO?

I need to transfer data between Arduino and Pi. I have an Pi 3, and I used a simple circuit with a voltage divider to deal with 3.3v vs 5v logic levels. But I got nothing. Then, I used only Pi3 with ...
0
votes
3answers
160 views

Controlling an Arduino UNO from Raspberry Pi 3 (Controlling not programming)

I am working on an autonomous robot, which uses a python script running on my RPi 3 to detect traffic lights. I want that as soon as the RPi detects that the traffic light has gone off, it would ...
0
votes
1answer
31 views

Python script will not write to file when run on boot

I am using a script that takes the arduino serial and writes it to an out.dat file. The scripts works fine when run after boot, however when I added the script to /etc/rc.local it runs the script, but ...
7
votes
4answers
178 views

Connect raspberry pi to 20 arduinos

I am building a bunch of slave devices (Arduinos) that operate autonomously, but will report data back to a single raspberry pi and update their clocks from the pi's time. I've only worked with one ...
1
vote
3answers
163 views

How to read a long int via i2c?

I tried to connect an Arduino Uno with my Raspberry using the i2c bus, with code and wiring suggested here. This example is sending only one byte from RPi to Arduino and back, and everything works ...
0
votes
0answers
118 views

How to send data from Raspberry PI to Arduino

My project is to use the Raspberry Pi to send data to Arduino, and the data will be sent from the Raspberry Pi most likely through the serial port to pin 8 & 10 of the GPIO pins. Then that data ...
0
votes
1answer
79 views

Raspberry Pi and Arduino Notification System

I am trying to make a notification system using an ultrasonic sensor with an Arduino to detect when there is something in the way of a door, once the obstruction is detected, I have a timer start, ...
0
votes
0answers
66 views

Image processing and Serial Data in Win 10 IoT

I have made Pi2 with win 10 iot as a master while an arduino uno as a slave for a rover project. I have a live camera attached and successfully captured 2 consecutive photos with different names. Now ...
0
votes
2answers
270 views

SPI: Raspberry PI master and Arduino slave

I'm trying to have a Raspberry PI act as a SPI master and send data to an Arduino Nano (one of the cheap clones). I partly succeeded, but I don't get a continuous communication, and some bytes get ...
1
vote
1answer
230 views

How to read data from arduino with raspberry pi via I2C

I have connected Raspberry pi 2 model B with arduino uno via Bi-Directional Level shifter. Raspberry pi GND ---------- GND Arduino 3.3v ---------- 5v ...
0
votes
1answer
44 views

Make sure serial data sent

I am trying to sent data to an Arduino Nano via serial using python, but it doesn't work yet. Is there a way to ensure that what I am trying to send was sent? (This is in order to understand where ...
4
votes
1answer
257 views

How can I use SPI to communicate with 3 or more Arduinos?

I have 3 arduino's each with 6 LDR (light sensors) for a total of 18 analog inputs giving 0 to 1023 of data. What I'd like to do is to get all 18 sensor data from each arduino within 1 second. I ...
2
votes
1answer
64 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 ...
0
votes
0answers
23 views

Rapberry pi Tkinter GUI taking values from Keyboard

I will explain the situation I am in and the requirement I need. I am controlling a arduino with Raspberry pi via I2C connection. I have written code according to which if i press certain keyboard(...
0
votes
0answers
37 views

rf24networking - sensor network

I am planning to set up a sensor network at home. Using arduinos at each sensor, sending the data in using nrf24 modules to a raspberry. I have installed the libraries from https://github.com/TMRh20/...
0
votes
2answers
41 views

Raspberry Pi- Arduino Serially driven servo problem

I have been lately working on a ball tracker robot using image processing and I have interfaced Arduino and Raspi via USB. While the servo.write() function works perfectly when i program the Arduino ...
3
votes
1answer
177 views

Serial write 1,000,000 baud slow

I'm communicating serially with an Arduino Mega2560 from Raspberry Pi v1 model B. The Mega is connected to the Pi's USB slot. I'm using the rxtx library on the Pi to send data at 1,000,000 baud. ...
4
votes
1answer
184 views

Detecting Pi has been unplugged instead of shutdown

I've been extending a weather station / webcam we have here at our model flying field. It has now an Arduino gathering the weather data and starting the Pi in a specific time interval (5 or 10 minutes)...
3
votes
1answer
64 views

Using Unpowered USB

Does the Raspberry Pi's USB need the 5V/GND wires in order to work with peripherals that are already connected to the same 5V/GND rails as the Pi? I have an application where a RPi is connected to an ...
0
votes
1answer
266 views

Can I use the Arduino IDE to compile an Arduino sketch to run on the Pi?

Given the popularity of the Arduino IDE and the wealth of existing Arduino sketches, can I use the Arduino IDE to write or compile sketches that will run on the Raspberry Pi?
0
votes
0answers
19 views

Leds and potentiometer issue on raspberry pi/python [duplicate]

I'm having an issue with my project. My project is some leds and a potentiometer on an arduino being read and controlled by a raspberry pi. when I'm using a potentiometer the signal is received by my ...
0
votes
1answer
175 views

Reading Arduino weather sensors via RS485

to introduce myself as I'm new to this forum, I'm student from Czech and currently I'm working on a meteostation project. I've got arduino set up, with plenty of weather sensors, as well as WH1080 ...
1
vote
1answer
136 views

Meccano + Raspberry Pi + Arduino

I've just started to work with Adruino and Raspberry Pi. One of the problems I've been wondering about is robot's body. What can I use to build my robot? I'm reading a book, an old one, about ...
0
votes
0answers
58 views

rf24 -> RPi library not working properly?

I download two librarys, riyas-org and maniacbug, which is better or are they the same? It's possible that do to that i have the following error. I want to have a nRF24 receive data from arduino, ...
0
votes
1answer
73 views

Wireless vibration sensor

I have a raspberry pi and I want to connect a vibration sensor. The connection to the sensor should be wireless. I want to have approximately a range from 30m up to 100m. What would be a low price ...
1
vote
2answers
155 views

Raspberry Pi 2 Arduino Mega USB Communication

we are trying to control our rover via wifi. the idea is motor drivers are connected to arduino mega and the mega is connected to raspberry pi 2 (raspbian os) via USB. raspberry pi is receiving ...
3
votes
2answers
335 views

I2C using wiringPi or IOCTL in C, more than 2 bytes

I'm willing to send 20 bytes at a time to Arduinos via I2C bus. I'm writing a C program (that will become a Daemon) that should achieve this, and thus I downloaded via Git the last wiringPi library, ...
1
vote
1answer
134 views

How to switch on LED by php interface with Raspberry | Arduino

In my project I've connected a Raspberry Pi 2 and Arduino by serial USB. I would switch on some leds, by a php interface. So, the PHP interface is ok, but when I chose the led to put on, nothing ...
0
votes
0answers
28 views

Servo problem with arduino connected to Raspi

I have an arduino that's serially communicating via the USB from the raspi and getting powered as well. I'm connecting a servo that is powered by a 7805 regulator from a 9v battery and the signal ...
4
votes
1answer
238 views

How to install Arduino IDE on Raspberry Pi

How do you install the Arduino IDE on the Raspberry Pi running an ARM version of Ubuntu or Raspbian? There doesn't seem to be any official ARM release. Both distros have an "arduino" package in their ...
0
votes
1answer
44 views

Puzzling problem with Arduino on USB at boot

I have an Arduino Uno (R3) monitoring a magnetometer connected via USB to a PI (B) running latest Raspian. My Pi Python program scans the USB every second reading an integer value via ser = serial....
0
votes
1answer
81 views

Sensors With Raspberry pi Model 2

Can i connect any Sensor with raspberry pi? For example, I have a water flow sensor like this one, and an ultrasonic sensor like this one. Is it possible to connect it to a Raspberry Pi? Or I'll need ...
0
votes
1answer
205 views

How to serially communicate between raspberryPi and arduino using usb to serial converter?

How do i serially communicate between them, just using the usb ports on the raspi and the rx, tx pins on the arduino? Are there any better ways to communicate between raspi and arduino?
2
votes
0answers
64 views

i2c random write failutes 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 ...
4
votes
3answers
2k views

Use Arduino code on raspberry pi?

I am not that familiar with the Arduino boards. For christmas, I got a sensor kit from my aunt. The source code is all for the arduino and I don't have an arduino. Is there a way I could re-compile ...