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
2answers
19 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 ...
0
votes
0answers
16 views

what is the best way of communication? [on hold]

I am building a quadcopter that will fly t takes images for a maze and then sends them to a car (robot) and this car will pass the maze I wonder how the two of them will communicate? i need ideas my ...
3
votes
1answer
71 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
85 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 ...
1
vote
1answer
23 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
57 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
19 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
40 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
23 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
39 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
48 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
71 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
38 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
20 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
86 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
26 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
45 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
64 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?
1
vote
0answers
24 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 ...
3
votes
3answers
277 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
42 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
98 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
77 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
30 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?
0
votes
0answers
22 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
151 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
293 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
68 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 ...
1
vote
0answers
23 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
37 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
1answer
24 views

Raspberry Wifi Dongle + Arduino fails when I connect one servo

I have got a RaspberryPi powered by a 5V 2A power supply. The Raspberry Pi has got a wifi dongle that works perfectly. Also I have got an Arduino connected to the Pi by USB (Raspberry USB port to ...
0
votes
0answers
15 views

Arm ESC through code [duplicate]

How can I arm an ESC through code. I have tried pulsing high and low and using arduino, however none of them seem to work. I am trying to do it in python with RPi.GPIO.
1
vote
1answer
118 views

Rpi Slave and Arduino Master [duplicate]

I am beginner of Raspberry Pi. Is it possible for me to use my Raspberry Pi as slave for Arduino Mega to be a master using I2C protocol? I aim image processing by Raspberry Pi to send the steering ...
0
votes
0answers
556 views

NRF24L01 multiple transmitters, one receiver

Helo! I want to build a system, where multiple transmitters (in my case - Arduino Pro Mini) send data to one RPi 2 over NRF24L01. I'm using C++ library for NRF24 from here. On basis of ...
0
votes
0answers
356 views

Can I use I2C to connect multiple Arduinos with Wireless Connection

I am very new to stackoverflow and new to using raspberry pi and am in the process of learning how to use it properly. I am currently working with a partner on a project that requires a wireless ...
2
votes
1answer
94 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 ...
0
votes
1answer
317 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
119 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. ...
2
votes
2answers
276 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
242 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
68 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
184 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 ...
0
votes
0answers
37 views

Can only access serial device from shell

I am designing a multirotor that is controlled by a Raspberry Pi 2 controlling a NanoWii (Flight controller based on Arduino Leonardo: NanoWii). I have an interesting predicament where I can only ...
0
votes
5answers
95 views

need an opinion for portable power [closed]

I know opinion questions are frowned upon in the maker world (too many right answers and all) BUT I'm working on a pi powered security bot. I've got most of the prototyping and programming done (using ...
0
votes
1answer
54 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
2
votes
1answer
559 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
49 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?
0
votes
2answers
178 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
100 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 ...