Arduino Workshop - Chapter 5 - Using SPI

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

In this section, you'll learn how to use the SPI interface to send and receive serial data for interfacing with sensors and other devices.

Core Electronics is your home in Australia for:

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

Thanks for the video! A great intro to SPI. I had to modify the for-loop just a bit to get this to work on my ELEGOO UNO R3. I had to set "i=0". My LEDs would not toggle without this. So in full: "for (int i = 0; i < 256; i++) "

jacobdoyle
Автор

I had no idea that SPI could be used with shift registers. I couldn't get shiftOut to work and had to write my own library for shift registers to get it to work.

charlesmagill
Автор

thanks God ! Your video saves my embedded software career

nguyenxuannghia
Автор

Thank you for this video, it was really clear and help me a lot to understand the basics of SPI !

dedesite
Автор

Brilliant explanation..keep up the good work

navneetbrar
Автор

Could I use a decoder to control the slave select outputs? Is there any reason I wouldn't be able to use this?

Nomnomnom
Автор

I use spi to program at89s51 or 8051 another arduino or attiny85 micrcontroler

mtalhakhalid
Автор

awesome series for beginners... thank you so much...

saptarshiraut
Автор

in every iteration of the for loop, will SPI.transfer(i); write the bin format of i on the same register every time? And please explain the breadboard too !? Thank you!

yashesvii
Автор

Sir great video, lots of intro, very little hands-on that is the only problem with the video... we care about all this intro we care more about connecting and extracting. Can you do that?

johnsantos
Автор

can you show it with multiple devices. am stuck at beginner level

matrixdexter
Автор

Hello, great course thanks for your effort but i haven’t found the SPI diagram. I only found the I2C diagram.

ramiabdelmajid
Автор

Please may I know the name of IC that you use on breadboard & resistor value also

jiteshsharma
Автор

Really nice introduction. Is there any cleanup code to execute to close down the SPI interface when no longer required?

craigmunday
Автор

@6:47 please let me know name of IC used on breadboard

jiteshsharma
Автор

@6:47 ...
Name of black IC that you have used on breadboard

jiteshsharma
Автор

@6:30, can we change the number of bit to 10 bits to shift register?

calvin-
Автор

I want to communicate 16 bit data please help me

Sandipmaurya
Автор

im trying to control servo with potenciometer using spi (with hc12) i have no idea what you are talking about im loosing my mind 😂😂😂

almirbajsini
Автор

Your sketch Arduino Workshop - Chapter 5 - Using SPI

I'll skip over your use of "Master and Slave". Inappropriate for more reasons than just politically correctness. Maybe main and deputy, or processor and widget?

Have never seen "for (int i; i < ...." before. Please change to 'for (int i = 0; i < ....'
I once declared an undefined variable as local integer. The first use was within an if() statement. Spent days trying to figure out why the sketch would only malfunction between 8 and 13 minutes after startup. This did not take as long. Even delaring int i = 0; as local for the loop() function, would not make 'for (i; i< ....' work

Hugh

bushpilotsimmer