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
2
votes
1answer
451 views

Getting a Raspberry Pi and an Arduino Uno to Work Together

I am trying to figure out different ways to get my Arduino Uno R3 and Raspberry Pi 2 B to work together. I am looking for suggestions/projects that I can do that include both the Arduino and Pi ...
1
vote
2answers
3k views

Connecting Raspberry Pi to Arduino via USB port. Run python scripts with PySerial

I connect my Rasberry Pi to Arduino Nano (Uno) and all works when I send every command through python shell: pi@raspberrypi ~ $ python2 Python 2.7.3 (default, Mar 18 2014, 05:13:23) [GCC 4.6.3] on ...
1
vote
1answer
787 views

Raspberry Pi GPIO pin layout + Cooking Hacks Shield

I am studying the schematic diagram of the Raspberry Pi to Arduino shield from cooking hacks and I noticed that there is an inconsistency in the labeling of the pins. So, this gives me two questions. ...
3
votes
2answers
1k views

OpenHAB to I2C instead of Internet/Ethernet

I want to use OpenHAB to make home automations using a Pi to run it and send and receive data from an Arduino, which will be controlling lights, reading sensors, etc. But to avoid the cost of an ...
0
votes
1answer
2k views

Vehicle detection (OpenCV). Arduino or Rasp Pi? [closed]

I am new to open cv, and I'm starting to do a project. I want to use open cv for vehicle detection. I prefer using C++ language. Should I go with Raspberry pi or Arduino ? And why(what are the ...
0
votes
0answers
363 views

What's the best way to control a Matrix of 10 x 20 LED with Raspberry Pi?

I developed a Tetris-Clone in Java. I want to run it on the Raspberry Pi and display it on a 10 x 20 Home-made-LED-Matrix. My question is: What is the best way to achieve that. Here are the solutions ...
1
vote
1answer
1k views

Raspberry Pi 2 (programmer) can not detect my Arduino via USB, even with alamode installed

I am working on a project where I am using a Raspberry Pi to program an Arduino Nano 328. I have used the following commands (more or less) to create a useful environment on the Pi: Install commands:...
0
votes
1answer
131 views

Can this motor shield be used with a raspberry pi and not an arduino?

Is it possible to wire this motor shield designed for the Arduino up and get it to work for a Raspberry Pi 2? http://linksprite.com/wiki/index.php5?title=Motor_Shield
3
votes
1answer
3k views

Cannot send data from RaspberryPi to Arduino using UART

I want to send data from RaspberryPi to Arduino UNO using UART. I tried sending my data 10 times to Arduino but it received it once. It reads as follows. Connected to PC pi: ÿpi: ÿpi: ÿ 1) I ...
1
vote
1answer
195 views

Mosfet layout, Arduino and RPI

I am trying to get an arduino to switch on something on the Raspberry Pi with a Mosfet. Would this layout work?
1
vote
2answers
965 views

How to create serial cable for Paspberry Pi with arduino micro?

I know it is possible to use arduino as usb to serial converter https://www.youtube.com/watch?v=qqSLwK1DP8Q). And I know it is possible to communicate with raspberry console from laptop over serial ...
1
vote
1answer
375 views

RPi + GPS + Arduino Shield

I have this GPS module and an arduino shield for the raspberry pi from Cooking Hacks. See link: https://www.cooking-hacks.com/gps-shield-for-raspberry-pi My raspberry pi B+ is fully updated i have a ...
2
votes
1answer
1k views

Voice recognition on arduino or raspberry pi?

I am trying to do a project with voice recognition. Which platform is better for voice recognition Arduino or Raspberry Pi? And why?
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'...
2
votes
3answers
7k views

NRF24l01 Raspberry Pi and Arduino

I've been trying to make work the NRF24l01 RF module with Raspberry and Arduino, but I can't. This is the version of the module I have: NRF24l01 Module I'm trying to send the data from the Arduino, ...
2
votes
1answer
3k views

Input/output error while receiving the string from arduino via i2c

Im trying to send string data from arduino to raspberry pi via i2c. Raspberry pi can receive the data of particular length(probably32 bytes) of string since bus.read_i2c_block_data(address,0) read ...
2
votes
2answers
351 views

Raspberryi pi doesn't show i2c address

I need a level shifter circuit between 5v and 3.3v. I'm interfacing two devices raspberry pi and arduino using I2C protocol. I google about level shifter for raspberry pi and arduino. I got this ...
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 = ...
2
votes
2answers
790 views

Arduino sends different numbers over serial to Raspberry Pi than Linux/Mac

I've set up an arduino uno to monitor room temperature and communicate this to my Raspberry Pi (old model B) over USB (2.0 cable) using pySerial to read the data on the raspberry pi side. The code I ...
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 ...
0
votes
2answers
300 views

How much power can the Pi supply?

I am making a project in which I will be using an arduino to control several servo motors and LED's. And I ll be using a Rqspberry pi to control arduino. They will be connected serially. In this ...
1
vote
1answer
590 views

Can I make a bridge between GSM Arduino shield with a Raspberry Pi?

I am trying to do some work with Raspberry Pi, however, I have GSM Arduino shield laying at home. I want to give a voice-call using it. However, I still wondering how can I interface voice/mic, ...
1
vote
3answers
1k views

How can I send commands from Arduino to raspberrypi

I am making my baby-steps using raspberrypi. I am stuck in something. I am building a device that combine arduinà with raspberrypi. There are some sensors connected to arduino and others to Raspa (...
1
vote
2answers
460 views

Python script always throws exception the first it is ran after reboot

I am trying to build a home automation system with Raspberry Pi connected to Arduino Uno via USB. Everything works but the Python script that I am using for reading variables from Arduino is always ...
0
votes
1answer
405 views

“…relocation truncated to fit: R_AVR_13_PCREL against symbol…” using PlatformIO on Raspbmc through ssh

I ssh into my Raspbmc installation through my iPad (I don't have a keyboard). I was looking into developing for Arduino on the Pi, as I don't have my primary PC with me right now. I installed ...
2
votes
2answers
813 views

Soil moisture sensor compatibility

Can this sensor for ardunino can be used with raspberry pi b+ model? The specs of the sensor are Operating voltage: 3.3V~5V Dual output mode,analog output more accurate A fixed bolt ...
0
votes
1answer
117 views

Gertboard programming atmega328p : can't define “board” to program

Using RPi rev B, all software updated (raspbian). I have installed the Arduino IDE software per the instructions of https://projects.drogon.net/raspberry-pi/gertboard/ . Originally the download gave ...
0
votes
1answer
113 views

Connecting accessory for Arduino with RPi B+

I would like to know if there is any possibility to connect accessory for Arduino with RPi. Exactly, I have Arduino WiFi Shield (http://arduino.cc/en/Main/ArduinoWiFiShield) and Raspberry Pi B+. I ...
2
votes
1answer
4k views

Raspberry Pi as an captive portal with CoovaChilli

i'm looking to do something maybe not that common with my Rpi; I have a rowing machine and I want to connect it to my Pi to motivate me to do sport. To do this, I have an Arduino connected to a Pi ...
0
votes
2answers
131 views

design a hardware whether to base on arduino or raspberrypi

I want to build a device which can link some sensors and actuators, on the prototyping stage, I can use either arduino or raspberrypi to implement the functionality, now my puzzle is whether to use ...
0
votes
2answers
2k views

Level shifters for serial communication to an arduino

I want to send info from a raspberry pi to an arduino and vice versa using serial communication. Do i need a level shifter to accomplish this? Or can i communicate between the two without a shifter?
1
vote
1answer
2k views

Delay in Communication Between Arduino and RPi

I already asked a question regarding communication between a Arduino and RPi through a USB serial connection and was able to solve major issues. Now my RPi and Arduino are talking to each other and ...
1
vote
3answers
4k views

Arduino to RPi serial Communication

I'm trying to get my Arduino to send my Raspberry Pi some ultrasonic information via a serial connection via the USB cable. I am close but my RPi is reading the input from the Arduino clipped ...
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 ...
0
votes
1answer
614 views

Raspberry Pi GPIO input fluctuating

I'm trying to read the output of a photodiode sensor circuit by the Pi GPIO. The sensor circuit outputs roughly 3.3v, from an Op Amp when the sensor detects IR. Circuit Diagram: N.B Op amp is a 358, ...
1
vote
1answer
258 views

Is it safe to connect arduino with motors to pi via USB?

I'm planning to connect raspberry pi to DAGU mini driver, just as shown here. I have a question regarding the minidriver drawing current from the Pi USB port. As far as I know if there is no battery ...
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 ...
0
votes
2answers
1k views

Use interrupts in i2C between Ardiono and Raspberry Pi

I'm really new to Raspberry Pi and Arduino programming (+ I2C). Recently I start working on a project where I have to connect an Arduino and a Raspberry Pi to send and receive data from each other. I'...
0
votes
1answer
1k views

Sending i2c commands from arduino to pi

The RPi and arduino are connected by I2C and the arduino sends coordinates to the RPi through the wire library. However, the RPi only receives and prints out 0 when it should print out the coordinate. ...
0
votes
1answer
227 views

Raspberry Pi + Gertduino

I realize this might not be a typical RPi question. However, I have a RPi with a Gertduino plugged into the GPIO headers. I can use the wrapper program_328 for avrdude to upload a precompiled blink....
5
votes
1answer
9k views

Major trouble with nRF24L01+ controllers and the RF24 library

I've had a hellish last three days. All I've wanted to do is get an Arduino Uno and a Raspberry Pi B+ talking to eachother with these little guys, and after following many different tutorials, I've ...
0
votes
2answers
1k views

Data transfer from arduino to raspberry pi wirelessly?

How do I send data to raspberry pi connected over wifi from arduino connected to a laptop which is in turn connected to the same wifi network as raspberry pi?
5
votes
3answers
31k views

Python serial permission issue

I'm trying to connect my Arduino to my RPi through python and PySerial, and I'm using the following code: import serial ser = serial.Serial('/dev/serial/ttyACM0', 9600) and I was getting an issue ...
2
votes
3answers
996 views

Is it possible to power a raspberry pi using android phone in USB host Mode?

The android phone can be used in USB host mode to power an arduino, pen drive, mouse. Is it possible to use the android phone to power a raspberry pi?
1
vote
1answer
147 views

Permanent serial connection to Raspi

I can connect an arduino by serial to my laptop no problem using Processing. Is a Raspberry Pi likely to be able to maintain a permanent USB serial connection to the arduino, or am I likely to ...
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 ...
0
votes
1answer
130 views

Arduino-Raspberry Pi bridges

I am building a small wireless controlled robot using the Arduino and the raspberry pi. It works by the user wirelessly connecting through to the raspberry Pi (using vnc or some other form wirelessly) ...
7
votes
5answers
11k views

Why do people use powered USB hubs?

I have the Raspberry Pi B+, and it has four USB ports. At the moment I am powering an Arduino Mega, a small RFID reader and a keyboard. I plan to also power a Wi-Fi dongle and an Arduino Uno. Will ...
2
votes
1answer
4k views

Home Automation and Dimming

This is a sort of continuation of a previous question I asked. I want to switch lights on and off, amongst other things with several raspberry pi's in my house. I've got this functioning and working ...
1
vote
1answer
5k views

Raspberry Pi and Arduino bluetooth communication

I'm currently workin on a project which consists of controlling a arduino robot ( with this https://www.adafruit.com/products/1588 bluetooth module on it ) from my raspberry pi. I found this ...

1
4 5
6
7 8