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
45
votes
6 answers

How to attach an Arduino?

The Arduino website sums it up as Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software. It's intended for artists, designers, hobbyists, and anyone interested in creating interactive…
Lucas Kauffman
  • 875
  • 2
  • 7
  • 15
37
votes
3 answers

Level of Hackability of raspberry pi

I have been working with embedded systems (mostly micro controllers) for about 3 years. I want to know how much of RPi of actually open source?? I know arduino gives us complete details of hardware /software etc. But what about RPi? This is…
deepak
  • 571
  • 1
  • 6
  • 8
25
votes
2 answers

What does "dtoverlay=dwc2" REALLY do?

Please don't point me to what it is used for, there are plenty of articles telling me how to make my Pi Zero an ethernet gadget. Putting "dtoverlay=dwc2" into /boot/config.txt appears to fix a known issue with a CH340 Usb to Serial device (arduino…
Lee Sanders
  • 251
  • 1
  • 3
  • 3
17
votes
2 answers

Can I make a full USB keyboard with Makey Makey + Raspberry Pi

I recently bought the Makey Makey (based on Arduino Leonardo / ATMega32u4), hoping to construct a full USB steampunk-style keyboard from some metal parts. Before it arrived I re-read the details and realized it has only 18 possible inputs, so 85+…
sventechie
  • 271
  • 1
  • 2
  • 5
15
votes
5 answers

GPIO-UART-to-Arduino communication

I have been trying with no luck to get the Raspberry Pi talking to an Arduino. I am using a 3.3 V-to-5 V converter to swap voltages. I did put an LED on the UART TX pin, and it looks like it was inverting the data. If this is true, what circuit do I…
Setithing
  • 151
  • 1
  • 1
  • 3
14
votes
3 answers

Safest way to connect Raspberry Pi to Arduino Uno R3

I am working on a robot using an Arduino Uno R3 and I wanted to have the ability of controlling the Arduino wirelessly, like stopping the Arduino without having to pull the power-plug every time. I want to know the safest way to connect my Raspberry…
RPiAwesomeness
  • 3,021
  • 4
  • 31
  • 52
13
votes
4 answers

Meaning of cmd param in write_i2c_block_data

I am testing i2c communication between Pi and Arduino. The doc says: write_i2c_block_data(addr,cmd,vals) Block Write transaction. int addr,char cmd,long[] None I have this test: On Pi: import smbus bus =…
Gus Smith
  • 133
  • 1
  • 1
  • 5
13
votes
2 answers

3d print host / arduino IDE setup/ 3d modeling

I have a reprap 3d printer, and I'm wanting to make it into an 'all in one' solution. I'd love to be able to mount my Rasp(arrives monday), a small screen, etc on the frame of the reprap. seeing as i have a working 3d printer, brackets to do so…
11
votes
2 answers

What's the Difference between Raspberry Pi and Arduino?

This question stems from a large lack of understanding, but it concerns a project I've wanted to do for a while. This is an Instructables page for an 8x8x8 led cube, and the 70th step addresses the question, "Can I use an Arduino to control the…
SomekidwithHTML
  • 221
  • 2
  • 6
8
votes
2 answers

Custom firmware on Raspberry Pi?

Is there a way to use the Raspberry Pi like an Arduino? That is, without an operating system? Just connect it to the USB of your computer and download code onto it, and the next time the Raspberry Pi boots, it runs that program (infinitely). Just as…
deepak
  • 571
  • 1
  • 6
  • 8
8
votes
4 answers

How to have wifi connected raspberry pi control an arduino?

I have an arduino uno that needs to respond to an iOS application with the internet being the medium. My initial plan was to use a wifi shield for the arduino, but since I can't get one at this time, I figured I could just use a raspberry pi that is…
Byron Shilly
  • 81
  • 1
  • 1
  • 2
7
votes
2 answers

Serial communication between arduino and rpi using tx/rx pins

I currently working on a project where an Arduino has to communicate with a pi. Since the pi is running out of USB ports, I am forced to use the ux/tx ports on the Arduino and pi. The communication in between those to consist of writing and reading…
J.Down
  • 171
  • 1
  • 2
7
votes
3 answers

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 lost. I only use simple wires on a breadboard to…
Stefano Masini
  • 171
  • 1
  • 1
  • 3
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
7
votes
5 answers

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 this just work? I mean it does work. But I was…
c_breeez
  • 213
  • 1
  • 2
  • 6
1
2 3
27 28