Arduino SPI Serial Peripheral Interface Master & Slave Demo Tutorial

preview_player
Показать описание


Рекомендации по теме
Комментарии
Автор

My sketch ran out of memory, requiring a slave arduino to do the FFT/FHT analysis. Thank you for showing how to make the necessary SPI communication between them possible!

CosmickGold
Автор

Thank you for the instructions @Roger, Could you please prod me in the right direction with an issue I am having? I have two Arduino UNO boards, and both have motor driver shields attached to them. Each motor driver shield is driving 4 DC motors (4 5v dc motors on one and 4 12v DC motors on the other side) motors.
What I need is for the 8 motors to be driven (speed variation is not needed) in sequence. This involves one Arduino telling the other when to run which motor. I currently have the communication between the two Arduino boards going strong using simple i2c (using RX and TX pins and ground). Do you think you could tell me how I can control one arduino's motor shield through the second Arduino?

siddharthshanbhogue
Автор

Hey.. Do you have a video explaining these codes?? I'm a little new to SPI

eccentricOrange
Автор

Hey what other software are you using for the serial monitor of the slave? I uploaded the code to both arduinos (Arduino MEGA 3560 and Arduino MEGA ADK) and it doesn't communicate well with the slave
Thank you

marshal
Автор

the code is not working and i have checked everything. could it be that this was wrote like 2 years ago and the new spi library works differently ?

NeoBit
Автор

if i want to connect arduino and LTC6811-2 with the help of spi communication.How can i do that....?...Can you give the code for arduino too?

sakshamdutta
Автор

Hello, I have a small problem, I have a one arduino a wifi shield and arduino datalogger.
When I put on the Arduino WiFi shield + datalogger shield, the shield
wifi is no longer recognized .... both use the SPI protocol, but do not
know to implement this: / someone could give help :)Thank you

dinishugo
Автор

Check out my latest Arduino video on YouTube:

RetroRogersLab