• Skip to main content
  • Skip to header right navigation
  • Skip to site footer
  • YouTube
  • MakerWorld
  • Instagram
  • Threads
  • Bluesky
  • Mastodon
  • Facebook
makerhacks-logo

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
  • CNC
  • Programming
  • Free Arduino Course
  • Free Robotics Course
  • Recommendations

Day 9: Lessons – Magic 8 Revisited (16×2 LCD + Tilt Switch)

You are here: Home / 30 Days to Arduino Programming Course / 30 Days to Arduino Lessons / Day 9: Lessons – Magic 8 Revisited (16×2 LCD + Tilt Switch)

Today we bring the Magic 8 Ball to life, using a tilt switch and an LCD screen!

Regular 16×2 LCD + Tilt Switch

I2C 16×2 LCD + Tilt Switch

2 Signal wires, GND, 5v

SDA - A4
SCL - A5

Magic 8 Ball Version 2 – Tilt + Regular 16×2 LCD

Magic 8 Ball v2 with I2C LCD

Turn it into a real Magic 8 Ball

Once the circuit works on your breadboard, you can fit it inside a 3D printed Magic 8 Ball, designed by my friend Ben Eadie. The print files are free on MakerWorld, and the finished sketches for both the regular and the I2C LCD are on GitHub.

Creative Commons Attribution-ShareAlike 4.0 licence

Free to use, adapt and share. This course by Chris Garrett, Maker Hacks, is licensed under Creative Commons Attribution-ShareAlike 4.0. Workshops, schools and clubs are welcome to use it, including in your own handouts and sessions. Just credit “Chris Garrett, Maker Hacks (makerhacks.com)” with a link to the lesson, and share any adapted versions under the same licence. Embedded videos and other people’s content keep their own terms.

Improved a lesson or spotted a mistake? I would love to hear about it: get in touch.

  • 3D Printing
  • CNC
  • Electronics and Hardware
  • Laser Cutting
  • News and Reviews
  • Software and Programming

arduino budget cad cnc diode laser glowforge Hacks Ideas laser cutter linux Makes making python raspberry pi Reviews technology tips xtool xTool Lasers

  • YouTube
  • MakerWorld
  • Instagram
  • Threads
  • Bluesky
  • Mastodon
  • Facebook

.

Maker Hacks Blog Copyright © 2026 · All Rights Reserved · Privacy Policy