I2C Tutorial-Accessing I2C EEPROM in Linux

Опубликовано: 23 Май 2026
на канале: EmbeddedCraft
5,992
131

#i2c #EmbeddedLinux #EmbeddedCraft
In this video tutorial, we are talking about I2C protocol. We will start from introduction to I2C protocol and end with C Code using IOCTL call to access I2C based EEPROM. We are using AT24C02 from Microchip. For this example, we are using Beagle board running Debian Linux.
Read at
http://embeddedcraft.org/eclinux/linu...

Topics covered in this video tutorial ...
00:00 Start
01:16 I2C Introduction
05:37 I2C EEPROM connection
06:16 I2C Utilities
08:00 C Program to Read and write to I2C EEPROM

Source code location
https://github.com/embeddedcraft/i2c

Reference Video Tutorial

Beaglebone Black Board: Serial Port Interfacing, Connecting Beaglebone Black board with Serial Port
   • Beaglebone Black Board: Serial Port Interf...  

Run and Debug Embedded Linux Application using GDBServer and GDB
   • Run and Debug Embedded Linux Application u...  


//======
Linux Signal Tutorial, A Practical with LED Toggling upon receiving signal
   • Linux Signal Tutorial, A Practical with LE...  


Beaglebone Black Board: Serial Port Interfacing, Connecting Beaglebone Black board with Serial Port
   • Beaglebone Black Board: Serial Port Interf...  


Accessing GPIO and LED Blinking - LED Blinking Program in C for Beaglebone Black board
   • Accessing GPIO and LED Blinking - LED Blin...  


#EmbeddedLinux #EmbeddedCraft

Other Important videos

Building Linux Kernel and Preparing bootable SD CARD for Beaglebone Board
   • Building Linux Kernel and Preparing bootab...  

Buildroot Tutorial- Linux Kernel on QEMU Virtual board - Booting Linux and Running Linux Application
   • Buildroot Tutorial- Linux Kernel on QEMU V...  

LED Blinking Application for STM32 Board on QEMU
   • LED Blinking for STM32 Board on QEMU  

Run and Debug Embedded Linux Application using GDBServer and GDB
   • Run and Debug Embedded Linux Application u...  

Building Linux Kernel for QEMU for ARM Board
   • Building Linux Kernel for QEMU for ARM Board  

Building Linux Kernel, Kernel Modules and Device Tree for Beaglebone Black Board
   • Building Linux Kernel, Kernel Modules and ...  

Eclipse and GCC Compiler - Configuring Eclipse to use GCC Compiler for QEMU
   • Eclipse and GCC Compiler - Configuring Ecl...  


Beaglebone Black Board: Serial Port Interfacing, Connecting Beaglebone Black board with Serial Port
   • Beaglebone Black Board: Serial Port Interf...  


Embedded Linux - Building Tool chain with Crosstool-NG
   • Embedded Linux - Building Tool chain  with...  

Preparing bootable Micro SD card using command line on Linux Host
   • Preparing bootable Micro SD card using com...  


Raspberry PI remote desktop access | Using VNC Viewer on Linux Host to access Raspbian OS Desktop
   • Raspberry PI remote desktop access | Using...  


Using QEMU to Emulate Cortex M based board and Running LED Blinking Program
   • Using QEMU to Emulate Cortex M based board...  


Follow us ...
Facebook:   / embeddedcraft  
Twitter:   / embeddedcraft  
Linkedin :   / embeddedcraft-craft-99a47617  

More videos on Embedded System and related topics can be found at:
http://embeddedcraft.org/

Puppy Love (Sting) by Twin Musicom is licensed under a Creative Commons Attribution 4.0 license. https://creativecommons.org/licenses/...

Artist: http://www.twinmusicom.org/