Project 11: Crystal Ball

 Homework 11: Crystal Ball

For this project we are going to be making a Crystal Ball. This project will be using a new component, the LCD screen so we can get words back. The circuit was easy to assemble. There are a lot of wires because the LCD has 16 pins, and we connect to 12 of them. I went ahead and put the circuit together.





Coding 

The coding uses a different if type statement than the switch case. This will allow us to get a value and instantly compare it to values and then proceed to do more code when it matches. In this case it is to determine what the LCD screen will display. The code also uses the lcd library to make sure you have

it.





Finished Product

This was simple and fun i did have to hold my tilt sensor in place otherwise it would not switch the reply. Going forwards I would probably add a time to have it reset to redisplay the prompt. Otherwise, you can ask it a question and it will give a response.









Comments

Popular posts from this blog

Personal Project 3: Etch A Sketch

Personal Project 4: Clap Lights

Personal Project 2: Tic Tac Toe