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

0
votes
0answers
29 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
19 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
26 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 ...
0
votes
1answer
50 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
24 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
40 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
9 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
188 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
118 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
27 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
172 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
123 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
96 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
73 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
55 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
177 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
149 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
42 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
206 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
20 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 ...
0
votes
0answers
35 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 ...
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
157 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
162 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 ...
3
votes
1answer
61 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
207 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
116 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
120 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
52 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
66 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
138 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
271 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
109 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
26 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
216 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 = ...
0
votes
1answer
72 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
177 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
57 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 ...
1
vote
2answers
81 views

How can I drive a RGB led strip on SPI with chip select and another SPI item?

I am driving a RGB led strip (ldp6806) with SPI. Since the led strip does not have a chip select input, I would like to know how I can drive this strip with another SPI item connected to the Pi (like ...
4
votes
1answer
292 views

How to connect Raspberry Pi and Arduino with SPI?

I'd like to connect my Raspberry Pi and my Arduino Uno with SPI. I saw a solution here, but sy wrote at the end that this is wrong, because Raspberry Pi transmitting/recieving 3,3V on the pins and ...
3
votes
1answer
139 views

Serial connection Arduino - Pi

I am having an Arduino Nano sending "48" or "49" via a serial connection to a Pi. I'd like to use this input, but for some reason the connection always cuts out after a few seconds with the following ...
-2
votes
1answer
32 views

Timer to Reset System

Is there a way to make it so my RPi arcade machine will reset after 5 minutes when I press a button (Restart). Can this be done with an arduino?
1
vote
0answers
23 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
1answer
370 views

Are the SPI pins 5V tolerant?

I am looking at programming a ATMEGA328/Arduino Uno over the SPi pins and Adafruit has a tutorial on how to do it - > ...
0
votes
3answers
1k views

Serial Communication C/C++

I was wondering if its possible to communicate between Arduino ann RPi using Serial Communication in C/C++, it's possible with python but didn't find a suitable library for C/C++ ?
0
votes
2answers
94 views

Which RF transceiver to use for a network using Rpi or Arduino?

I am looking for advice on how to create a RF network to send and receive data both at the same time. The master Arduino or Rpi Zero receives temperature readings from the slave nodes which passes it ...