Giter VIP home page Giter VIP logo

magic-8-ball's Introduction

Magic-8-Ball

Michael D'Argenio
[email protected]
https://dargen.io https://github.com/mjdargen
September 19, 2019



*Ask the Magic 8-Ball any question.
*https://en.wikipedia.org/wiki/Magic_8-Ball
*An Arduino-version of the fortune-telling toy.
*Uses 16x2 LCD Screen and switch of your choice.


The LCD circuit (16x2):

  • LCD RS pin to digital pin 7
  • LCD Enable pin to digital pin 8
  • LCD D4 pin to digital pin 9
  • LCD D5 pin to digital pin 10
  • LCD D6 pin to digital pin 11
  • LCD D7 pin to digital pin 12
  • LCD R/W pin to ground 10K potentiometer:
  • ends to +5V and ground
  • wiper to LCD VO pin (pin 3)

Switch

  • A tilt ball switch works nicely to mimic an actual magic 8-ball, but any switch will do.
  • Digital input 2
  • Configured as external interrupt
  • Pulled down with 10k resistor to GND
  • Other end of switch connected to 5V

magic-8-ball's People

Contributors

mjdargen avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.