Know How... (Audio)

KH 283: Growduino Part III


Listen Later

We go over the basic operation of our Growduino system, what is an RTC and why we need one for this project, and learn how to program an Arduino to schedule when to turn on and off the watering system.


Problem:
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 ~$1.50
2. Arduino
3. Jumper Wires

Tools:
1. Soldering Kit


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)

Segment Agenda:
1. Explain I2C
2. Solder pins onto the TinyRTC
3. Connect TinyRTC to Breadboard
4. Show Output
5. Set Time
6. Trigger Relay

The Code for today's episode can be found HERE

Hosts: Fr. Robert Ballecer, SJ and Bryan Burnett

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.

Thanks to CacheFly for the bandwidth for this show.

...more
View all episodesView all episodes
Download on the App Store

Know How... (Audio)By TWiT

  • 4.5
  • 4.5
  • 4.5
  • 4.5
  • 4.5

4.5

35 ratings


More shows like Know How... (Audio)

View all
The Giz Wiz (Audio) by Dick DeBartolo & Chad Johnson

The Giz Wiz (Audio)

138 Listeners

This Week in Law (Audio) by TWiT

This Week in Law (Audio)

110 Listeners

Jumping Monkeys (Audio) by TWiT

Jumping Monkeys (Audio)

72 Listeners

Dr. Kiki's Science Hour (Audio) by TWiT

Dr. Kiki's Science Hour (Audio)

96 Listeners

Maxwell's House (Audio) by TWiT

Maxwell's House (Audio)

35 Listeners

net@night (Video) by TWiT

net@night (Video)

24 Listeners

Futures in Biotech (Video) by TWiT

Futures in Biotech (Video)

10 Listeners

Ham Nation by Josh Nass

Ham Nation

115 Listeners

Trey's Variety Hour (Video) by TWiT

Trey's Variety Hour (Video)

35 Listeners

This Week in Enterprise Tech (Audio) by TWiT

This Week in Enterprise Tech (Audio)

94 Listeners

The Giz Wiz (HD Video) by Dick DeBartolo & Chad Johnson

The Giz Wiz (HD Video)

28 Listeners

This Week in Law (Video) by TWiT

This Week in Law (Video)

6 Listeners

This Week in YouTube (Audio) by TWiT

This Week in YouTube (Audio)

9 Listeners

FourCast (Audio) by TWiT

FourCast (Audio)

0 Listeners

Coding 101 (Audio) by TWiT

Coding 101 (Audio)

15 Listeners

Padre's Corner (Video) by TWiT

Padre's Corner (Video)

9 Listeners

The New Screen Savers (Audio) by TWiT

The New Screen Savers (Audio)

50 Listeners

Ask The Tech Guy (Vintage) (Audio) by TWiT

Ask The Tech Guy (Vintage) (Audio)

28 Listeners

Hands-On Photography (Audio) by TWiT

Hands-On Photography (Audio)

31 Listeners

Ask The Tech Guy (Video) by TWiT

Ask The Tech Guy (Video)

0 Listeners