0

Raspberry Pi + Arduino + SPI #piday #raspberrypi @Raspberry_Pi

Arduino To Raspi Spi Bb Trimmed

Raspberry Pi + Arduino + SPI @ MitchTech.

This tutorial will show you how to communicate from your raspberry pi to your arduino using 3-wire SPI.


Each Friday is PiDay here at Adafruit, be sure to check out our posts, tutorials and new Raspberry Pi related products. Have you tried the new “Adafruit Raspberry Pi Educational Linux Distro” ? It’s our tweaked distribution for teaching electronics using the Raspberry Pi.


Make a robot friend with Adafruit’s CRICKIT – A Creative Robotics & Interactive Construction Kit. It’s an add-on to our popular Circuit Playground Express, FEATHER and other platforms to make and program robots with CircuitPython, MakeCode, and Arduino. Start controlling motors, servos, solenoids. You also get signal pins, capacitive touch sensors, a NeoPixel driver and amplified speaker output. It complements & extends your boards so you can still use all the goodies on the microcontroller, now you have a robotics playground as well.

Join 7,500+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

CircuitPython in 2018 – Python on Microcontrollers is here!

Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Follow Adafruit on Instagram for top secret new products, behinds the scenes and more https://www.instagram.com/adafruit/


Maker Business — Fewer startups, and other collateral damage from the 2018 tariffs

Wearables — Light as a Worbla feather

Electronics — How to make your own magnetic field probe!

Biohacking — The State of DNA Analysis in Three Mindmaps

Python for Microcontrollers — One year of CircuitPython weeklies!

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !



2 Comments

  1. I thought Arduino was 5V and Pi was 3.3V (and not 5V-tolerant) – shouldn’t this be going through a logic level converter? Shouldn’t there be a wire connecting their ground pins together?

  2. Mechanical engineer student going on a whim as to why it’s not blowing up. Either, it’s using a half-duplex protocol and there’s no information going from the Arduino to the Pi. I’m not sure that’s possible with SPI. More probably, there’s 5v going to the Pi but it’s holding up. If you have a clean signal, 3.3v or 5v high and lows will be recognized properly by either standard though there’s an obvious risk of overdriving the Pi. I’ve personally unknowingly plugged a 3.3v SPI GPS module to an Arduino (3.3v power but 5v logic from the Arduino) and it held up and actually worked.

    Proper way to do it would be with a level converter.

Sorry, the comment form is closed at this time.