Know How... 296: Arduino 102: Part I - i2C
2,531 views · Published 23 March 2017 · 48:08 · Indexed 4 November 2026
Channel: Hands-On AI · 2017 · Howto & Style
Writing to digital pins, reading from digital pins, and how to use i2c RTC with an i2c LED Screen.
RTC
An Arduino's memory is wiped when it loses power. For most of our projects, that doesn't matter b/c we're only using the Arduino as a momentary I/O controller. However, when we have a project that needs to be persistent, we need a way to keep time even when the Arduino is powered off.
Segment Summary:
We're going to connect a Tiny RTC to an Arduino.
Parts:
1. Tiny RTC I2C DS1307 Real Time Clock $2.00
2. Arduino
3. Jumper Wires
What is I2C?
* I2C (Pronounced "I Squared C") can communicate with multiple devices over short distances with just two wires: SDA (Data Line) & SCL (Clock Line)
* Technically, it's a "Multi-Master, Multi-Slave, Single-Ended, Serial bus"
You need to know what are the SCL and SDA pins on your arduino
* Uno, Nano or clone (SDA = A4 // SCL = A5)
* Mega (SDA = 20 // SCL = 21)
* Leonardo (SDA = 2 // SCL = 3)
* Due (SDA = 20 // SCL = 21)
Geekcreit i2c 20x4 LCD Display $6
Connect with us!
Don't forget to check out our large library of projects at https://twit.tv/shows/know-how.
Join our Google+ Community.
Tweet at us at @PadreSJ, @Cranky_Hippo, and @Anelf3.
More from this channel
-
25:46
Know How... 49: Loading ROMs on Your Samsung Galaxy S3
-
23:05
Know How... 52: Setting up a Blog
-
20:49
Know How... 58: Switching from iOS to Android
-
45:25
Know How... 64: Audio Calibration and Wiretapping 101
-
36:05
Know How... 65: Power Your Gadgets with Fire & Locating Your Electronics
-
48:42
Know How... 67: Trick or Treat! Choosing an SSD and Iyaz's Favorite Tech Pranks
-
43:44
Know How... 70: Fun with Thermocouples and Organizing Your Ripped DVDs
-
0:21
Green Screen for Know How