I2C | Raspberry Pi Pico Workshop: Chapter 4.4

Sdílet
Vložit
  • čas přidán 24. 07. 2024
  • 🔗 The full course : core-electronics.com.au/cours...
    I2C or Inter-Integrated Circuit, is a really handy communication protocol that can be used to connect over 100 devices together with only 2 wires! In this video we will dive into that a little by taking a look at the uses of I2C, how to wire up multiple I2C devices, and taking a look at an I2C OLED module, an incredibly helpful device that can be added to any project.
    🔧🔨🧰 Hardware featured in this guide:
    Raspberry Pi Pico:
    core-electronics.com.au/catal...
    OLED Display:
    core-electronics.com.au/catal...
    Atmospheric Sensor:
    core-electronics.com.au/catal...
    💡❓ If you have any questions about this content or want to share a project you're working on head over to our maker forum: coreelec.io/forum
    0:00 I2C Overview
    1:51 Wiring up an I2C OLED Display
    3:40 Writing Code for the OLED Display
    5:37 Wiring up an Atmospheric Sensor
    7:25 Writing Code for the Atmospheric Sensor
    11:05 I2C Addresses
    12:15 Managing I2C Address
    12:38 3 Key Takeaways
    🌏🦘 Core Electronics is located in the heart of Newcastle, Australia. We're powered by makers, for makers. Drop by if you are looking for:
    • Raspberry Pi core-electronics.com.au/raspb...
    • Arduino core-electronics.com.au/ardui...
    • Sparkfun core-electronics.com.au/brand...
    • Adafruit core-electronics.com.au/brand...
    • Pololu core-electronics.com.au/brand...
    • DFRobot core-electronics.com.au/brand...
    The following trademarks are owned by Core Electronics Pty Ltd:
    "Core Electronics" and the Core Electronics logo
    "Makerverse" and the Makerverse logo
    "PiicoDev" and the PiicoDev logo
    "GlowBit" and the GlowBit logo

Komentáře • 8

  • @ALmOND-od6lo
    @ALmOND-od6lo Před měsícem

    Fantastic video! I'm completely new to microelectronics & embedded systems and this video was super easy to follow. Thanks so much for making it :-)

  • @AerialWaviator
    @AerialWaviator Před 4 měsíci +3

    Excellent comprehensive tutorial, in an easy to understand format.

  • @non0sum
    @non0sum Před 2 měsíci

    Another great tutorial! I assume, since there is a bus 0 and a bus 1 on the Pico, you could have two I2C devices on the Pico with the same address as long as they are not connected to the same bus.

  • @jeffschroeder4805
    @jeffschroeder4805 Před 4 měsíci +2

    Well done, isn't I2C amazing, makes using peripherals so easy? Thank you

  • @jyvben1520
    @jyvben1520 Před 2 měsíci

    Need multiple oleds but address is fixed, convert the i2c pins to serial (destroy link to pico i2c), and make the new i2c using other pins and write to it, again use the latest pins for serial and ...,
    the pico is so fast and disconnecting from oled1 does not wipe the text on it while talking to oled2, tested with 4 oleds.
    or from machine import SoftI2C using SoftI2C to create many i2c objects
    tip : 400000 use 400_000 much more readable

  • @ALmOND-od6lo
    @ALmOND-od6lo Před měsícem

    Fantastic video! I'm completely new to microelectronics & embedded systems and this video was super easy to follow. thanks so so much for making it :-)