Raspberry Pi Pico (RP2040) I2C Example with MicroPython and C/C++ | Digi-Key Electronics
Inter-Integrated Circuit (I2C) is a common communication protocol used by many microcontrollers and sensors to pass data back and forth. It relies on 2 pins for communication:
- Clock (SCL)
- Data (SDA)
The pins to control these lines are required to be open drain in order to support more than 2 devices on the bus. As a result, external pull-up resistors are required on the lines. The sensor breakout board we use in the video already contains these resistors, so you do not need to provide your own.
In this video, we show you how to use I2C from the Raspberry Pi Pico to communicate with an ADXL343 accelerometer. We give an example in MicroPython as well as C/C .
A written form of this tutorial along with the code can be found here:
More information about I2C can be found in this article:
We
10 views
87
48
7 months ago 00:00:06 2
Rp2040 raspberry pi watch
7 months ago 00:33:44 1
Best Hacking Laptop 2023
7 months ago 00:12:02 1
15 Brilliant Raspberry Pi Zero projects to learn and try!
7 months ago 00:17:48 1
If Linux OS Fills Your Every Moment With Joy, You Might Want to Consider Setting Up Archcraft
7 months ago 00:15:34 1
AUSTRUMI - Fastest Linux distribution with 3D support for ATI, Nvidia and Intel video cards
7 months ago 00:06:36 1
Make an Arduino Temperature Sensor (Thermistor Tutorial)
7 months ago 00:10:23 1
Эмуляторы Dendy, Sega MegaDrive, SNES и Sony PlayStation. Проекты Амперки
7 months ago 00:20:08 1
Raspberry PI Pico W. Поднимаем Web Server и управляем светодиодом через Wi-Fi и браузер.
7 months ago 00:02:07 1
Meet Doly - Your New Robotic Best Friend
7 months ago 00:44:53 1
Ассемблер ARM под голое железо. Часть 6. Кадровый буфер Raspberry Pi
7 months ago 00:20:57 1
The Manjaro Linux is a breath of fresh air
7 months ago 00:00:23 1
How to install the Video Game Module❓ #electronics #flipperzero #raspberrypi #hardware #diy
7 months ago 00:24:08 2
Arch Without the Hassle of Having to Configure Everything to Make It Suitable for Activities, Gaming
7 months ago 00:21:29 3
Ctlos Linux: From Russia with love - iso image based on Arch Linux ⚡️
7 months ago 00:16:45 1
DOS Gaming MIDI: Roland MT-32 / SoundCanvas SC-55 / SC-88, mt32-pi & SoundBlaster Hanging Note Fix
7 months ago 00:17:58 2
Go Nuts With Nutyx: A Customizable LinuxOS
7 months ago 00:22:32 1
Distro Focused on Stability, Constant Performance on PCs of Any Range, Without Losing Functionality
7 months ago 00:57:14 1
HOWTO: Make a POWERFUL smart TELESCOPE! Better than much bigger telescopes!
7 months ago 00:26:25 1
USB Разветвители HARPER от простого к мощному (USB HUB - 04P/04MB/07MB)
7 months ago 00:02:43 1
Самодельный манипулятор на Arduino, Raspberry с ROS2 для обучения школьников. Механика - Часть 1!
7 months ago 00:07:27 1
Building a Lego-powered Submarine 4.0 - automatic depth control
7 months ago 00:08:07 1
Делаем Аркадный Автомат своими руками
7 months ago 00:19:14 3
Tired of the Limitations and Issues of Windows 11? If Yes, Then It’s Time to Explore Nitrux
7 months ago 00:25:19 3
Just Starting on Your Linux Journey, This Rosa Linux Will Help You Immensely for Home Use Purposes