SPI (Serial Peripheral Interface) Part 1: Theory and simple Arduino example

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 มิ.ย. 2024
  • SPI (Serial Peripheral Interface) is a serial transmission protocol used for communication between microcontrollers and peripheral devices such as sensors, memories or displays. It is easy to implement and offers high transmission speed, making it a common choice for many embedded systems. In this video we learn how SPI works, programm a simple SPI-communication example between a arduino nano and a Bosch BME280 sensor and capture the communication with a logic analyzer.
    Book (english version)
    WSN & IoT (Basics, protocols and applications):
    a.co/d/5yfTIuJ
    ISBN-13: 979-8851358074
    Book (deutsche Version)
    WSN & IoT (Grundlagen, Protokolle und Anwendungen):
    amzn.eu/d/hAbTgD0
    ISBN-13: 979-8648512061
    You can support me at Patreon:
    / wsnandiot
    --Hardware-----
    Arduino Nano V3:
    store.arduino.cc/products/ard...
    Adafruit BME280:
    www.adafruit.com/product/2652
    Sparkfun Logic Analyzer:
    www.sparkfun.com/products/18627
    --Software-----
    Arduino IDE:
    www.arduino.cc/en/software
    Logic Anlayzer PulseView:
    sigrok.org/wiki/PulseView
    00:00 Introduction
    02:88 Controller/peripheral concept
    03:30 Serial data transmission
    06:05 Multiple peripherals
    06:49 Arduino Nano and BME280 connection
    09:00 Programming SPI with Arduino IDE
    11:13 Capture SPI traffic with a logic analyzer
    12:15 Outro
    #zephyr #bme280 #spi
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 2

  • @gerhardspitzlsperger1567
    @gerhardspitzlsperger1567 ปีที่แล้ว +1

    Great as usual.

  • @vigneshs6232
    @vigneshs6232 ปีที่แล้ว

    Great Video.....clearly explained SPI communication...Do more of these...Please...