SPI protocol features and how to integrate multiple sensors // Arduino Zero, LoRa and E-Ink modules

Sayanee Basu
Sayanee Basu
18.3 هزار بار بازدید - 4 سال پیش - #spi
#spi #lora #eink
We will learn about SPI serial communication by trying to connect 2 peripherals to the microcontroller. Both the peripherals support the SPI protocol which has some properties such as frequency, data order, and data mode. We will analyze the 4 pins through the logic analyzer and examine the Arduino firmware to ensure they are not conflicting.

⏰ TIMESTAMPS
0:00 Intro
1:24 SPI Pins - Data in, data out, clock, chip select
4:20 Firmware - pins, enable, frequency, mode
8:35 Multiple SPI peripherals

‣ Some links below are affiliate. I receive a small commission at no extra cost to you.

📻 PRODUCTS MENTIONED
RobotDyn SAMD21 M0 Mini https://s.click.aliexpress.com/e/_AZG8aU
Adafruit RFM95W LoRa Radio Transceiver Breakout https://amzn.to/3mF1Qq8
WaveShare 1.54in https://amzn.to/3n7gLtk
Saleae 8-Channel Logic Analyzer https://amzn.to/39SJ8px

📺 WATCH NEXT
Decoding UART, I2C and a non-standard signal // With Saleae logic analyzer and temperature sensors Decoding UART, I2C and a non-standard...
Arduino firmware on ATmega328p or SAMD21 Arduino firmware on ATmega328p or SAMD21
Using LoRa for P2P half-duplex long-range communication Using LoRa for P2P half-duplex long r...
Arduino CLI and the art of command line Arduino CLI and the art of command line
Saleae Logic Analyzer Alpha 2 and how software is eating the instrument world Saleae Logic Analyzer Alpha 2 and how...
Displaying on E-Ink screen with various micro-controllers Displaying on E-Ink screen with vario...

🎩 DEMO FILES
Lora Duplex code example https://hutscape.com/tutorials/lora-d...
Waveshare 1.54 inch with SAMD21G https://hutscape.com/tutorials/wavesh...

🔗 LINKS SHOWN
A Resolution to Redefine SPI Signal Names https://www.oshwa.org/a-resolution-to...
SPI Explained by electric imp dev center https://developer.electricimp.com/res...
SAMD21 M0-Mini Dev board https://robotdyn.com/samd21-m0-mini.html
Adafruit RFM69HCW and RFM9X LoRa Packet Radio Breakouts https://learn.adafruit.com/adafruit-r...
Waveshare 200x200, 1.54inch E-Ink display module https://www.waveshare.com/1.54inch-e-...
Arduino native SPI Library https://www.arduino.cc/en/Reference/SPI
Firmware arduino-LoRa by sandeepmistry https://github.com/sandeepmistry/ardu...
Firmware e-paper by waveshare https://github.com/waveshare/e-Paper
Introduction to SPI Interface by Analog devices https://www.analog.com/en/analog-dial...
Serial Peripheral Interface (SPI) by SparkFun https://learn.sparkfun.com/tutorials/...

🔌 TOOLS USED
https://hutscape.com/tools

🎶 MUSIC AND SOUND EFFECTS
New Morning by TrackTribe from YouTube Audio Library
Sunrise in Paris by Dan Henig from YouTube Audio Library
Nebular Focus by Dan Henig from YouTube Audio Library
View of the Valley by Trevor Garrod from YouTube Audio Library
4 سال پیش در تاریخ 1399/08/30 منتشر شده است.
18,391 بـار بازدید شده
... بیشتر