• Skip to main content
  • Skip to header right navigation
  • Skip to site footer
Maker Hacks

Maker Hacks

Ideas, news & tutorials for makers and hackers – Arduino/Raspberry Pi, 3D printing, robotics, laser cutting, and more

  • Home
  • About
  • 3D Printing
  • Laser Cutting
  • YouTube
  • Free Arduino Course
  • Recommendations
  • Contact

Day 14: Lessons – Time.h/Arduino Clock

You are here: Home / 30 Days to Arduino Programming Course / 30 Days to Arduino Lessons / Day 14: Lessons – Time.h/Arduino Clock

For day 14, we build an Arduino clock (no RTC, regular Arduino + I2C 7 Segment 4 Digit Display), and set the time with debounced buttons!

Use quite high values for your pull-down resistors so you can be sure they read low unless the button is really pressed. Tweak the delay to match what is necessary for your buttons.

Buttons with Pull-Down Resistors

Showing the Time

Setting the Time with Debounced Buttons

  • 3D Printing
  • CNC
  • Hardware
  • Laser Cutting
  • News
  • Retro Computing
  • Software

amiga amos arduino basic programming budget buying cad cnc commodore corexy c programming creality crypto doctor who emulation esp32 esp8266 filament fpga glowforge Hacks Ideas kids lighting linux Makes making Monoprice Parts pc props prusa python raspberry pi ratrig resin Reviews robots software sounds technology tips upgrades wanhao xtool

.

Maker Hacks Blog Copyright © 2023 · All Rights Reserved · Powered by Mai Theme