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.

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 focused more on using electronics in programming, than just programming like the Raspberry Pi is (although GPIO may be used for controlling electronics).

If you have a question about Arduino only, visit our sister site Arduino Stack Exchange.

420 questions
7
votes
3 answers

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 the code into something the RasPi could use?
Gabriel Wert
  • 71
  • 1
  • 1
  • 2
4
votes
1 answer

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 standard repos, but it only includes an ancient…
Cerin
  • 2,271
  • 7
  • 31
  • 49
4
votes
2 answers

Trouble connecting my raspberry pi to to Arduino Mega 2650

All - I have followed these instructions: http://www.mitchtech.net/raspberry-pi-arduino-spi/ However when I get to the last step sudo ./spidev_test I never see "HELLO WORLD" in my Serial Monitor console even though my baud rate is 115200. I did…
user1068636
  • 441
  • 2
  • 6
  • 15
3
votes
1 answer

How to get Data from Rasperry to Arduino?

Id like to get a simple integer from my pi over to my Arduino (live, so while both are running and with Minimum latency), but I cant use any Pins because im already using all of them because I use a sense hat. If I could get this simple int from…
3
votes
2 answers

Are all arduino modules compatible with raspberry pi

I have arduino uno, nano and mega boards with many modules (relay, ir remote, ultrasonic sensors, etc) and they works well together. I got raspberry pi 3 model b. Can I use my arduino modules with my raspberry pi?
sithumc
  • 133
  • 1
  • 1
  • 5
2
votes
1 answer

Convert C code to python for 16 bit CRC check

I have some C code running on my Arduino that does a CRC calculation. I can't get it to work on Python with my RPi. I suspect it's because the Arduino is using a 16 bit unsigned integer and RPi is not. BTW - I'm brand new to Python. Here's my…
2
votes
1 answer

Two way voice transmission using Arduino or Raspberry Pi

Can voice transmission be done by Arduino or Raspberry Pi? I am trying to make a baby monitoring device. So I need to know can I transmit voice with Arduino or Raspberry Pi.
Rafi Rafsan
2
votes
1 answer

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 working together. Are there any projects out there that…
matthew
  • 288
  • 1
  • 12
2
votes
1 answer

Raspberry to power on Arduino

Ok this may seems a little bit strange question. For my personal educational purpose only I've built the following: there are 2 sensors (one digital, the other analogic) connected to an Arduino Uno rev.3. The Arduino is connected via I2C to my…
2
votes
3 answers

Connection Pi -> Arduino through nRF24l01, problem with integers

I want to send integers via RF-module nRF24l01 from my Pi (library: https://github.com/jpbarraca/pynrf24) to my Arduino Pro Mini (library: http://maniacbug.github.io/RF24/index.html). I am able to get a a basic connection and send a char 'a' and…
malleYay
  • 355
  • 3
  • 5
2
votes
2 answers

Will I need to do soldering to be able to work with components using the arduino?

I'm planning to buy the arduino, and I was wondering if one, will I need a keyboard to power this and for my second question- which relates to the Pi as well- will I need a soldering iron to be able to program things LEDs to light up or motors, or…
83457
  • 121
  • 1
  • 3
1
vote
5 answers

Arduino Mega 2560 VS Raaspberry Pi 3

I am fairly new to the programming world and have been using an “Arduino Mega 2560”, I was curious on how this would compare to a “Raspberry Pi 3”. So far my primary usage of the Arduino is using it to control stepper motors and high-speed cameras…
John Garcia
  • 11
  • 1
  • 2
1
vote
1 answer

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 microrobotics. On the final example they are building a…
VansFannel
  • 115
  • 6
1
vote
1 answer

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 Arduino USB input). This configuration works ok, the…
1
vote
1 answer

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. Top view of the shield: Bottom view of the…
1
2