Posts

Showing posts from October, 2023

Project 14: Tweak The Logo

Image
  Homework 14: Tweak The Logo This project we are going to be editing the logo's background using a potentiometer. This will require a new application Processing. We need the processing to load the image on our system and have it communicated with the Arduino. The circuit is even simpler this time and I went ahead and built it. Here are the components and the circuit. Coding  The coding is simple but we will be using two applications. The Arduino ide and processing. We will be communicating between the two to show the serial connection that can be made. Arduino IDE: Processing: Finished Product This project was a simple build and some easy coding. The serial connection to have the two communicate was pretty interesting and has many various uses for the advancement of coding.

Project 13: Touchy Feely Lamp

Image
Homework 13: Touchy Feely Lamp This project we are going to be using the CapacitiveSensor Library to allow us to get a response from the touchy-feely part and allow us to turn on the light. I built this simple circuit. The schematic does not show the metal foil leading off of the 1M resistor connecting to pin 2. That is where you need it to reference the picture if you need extra help. Coding  The coding was pretty simple just need to remember to include the capacitiveSensor library so that the foil at the end of the wire will be recognized as the input and can receive the input to tell us of the led to should be on or off. Finished Product This project was a simple build and some easy coding. I used Tinkercad for the schematic which sucked because it does not have that foil option, so the schematic is lacking. Don't forget the foil on the wire for the input otherwise the project works.

Project 12: Knock Lock

Image
  Homework 12: Knock Lock For this project we are going to be making a knock lock. It requires x amount of knocks to unlock. The main component this time is the piezo not for output but as an input to hear the knocks to see how many knocks we have left. I went ahead and put the circuit together and included a schematic view with the components. Coding  This time with the coding it was a bit more general. It was alot of if statements for each state that the lock is in and if we are knocking. It is simple but just more code to have the program work. I also switched my leds so double check when coding the numbers line up with the leds you chose Finished Product This project was a little more time consuming as the circuit took a little bit to create and the coding also took a bit to do, but the project was fun and simplistic and created a nice little lock that could be used to create a secret knock with enough coding.

Project 11: Crystal Ball

Image
  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.

Project 10: Zoetrope

Image
Homework 10: Zoetrope For this project we are going to be making a Zoetrope. This will use some of the same pieces of the previous project as it uses the motors pinwheel but will give us control on the speed and direction of the motor. This project will utilize the H - bridge and IC that will help control the things we need for this project. Coding  The coding was a little more intensive since we ended up having a bit more inputs and outputs. Relatively it is just more variables since we check for speed directions and if it is on or off. Looks like it is more complex but is pretty simple if you break it down.  Finished Product This was simple and fun and my tape job from the previous project came back to bite me. On the pinwheel because you need to attach more pieces there are four stills so that can be done. My tape made it so they stuck together so it was fun trying to get the support in it. Otherwise, assembly was simple. This time there are two videos to show the different directio

Project 9: pinwheel

Image
  Homework 9: pinwheel For this project we are going to be making a Pinwheel. This project will utilize the dc motor controlled by a button and is using the transistor. The button will tell us if our transistor should apply the power. I went ahead and built the circuit and added the components list and a schematic view. I even added the pinwheel touch. Coding  The coding alongside the circuit was pretty easy. We are simply just checking for a button press and determining if we should apply power to the motor. Finished Product This was simple and fun, and I learned that my taping job for the pinwheel held up for when the motor was at full speed. Sadly, the accompanying video does not show that. I also did learn that if you want to test the 9v by just tapping it to the connector make sure that the proper ends connect. I was applying negative to positive and positive to negative and it was causing the motor to run without the button being pressed. 

Project 8: Digital Hourglass

Image
Homework 8: Digital Hourglass For this project we are going to be making a digital hourglass. This project will utilize the tilt sensors and Led’s. The tilt sensor will tell us when to reset our code to restart the lighting process. I went ahead and built the circuit and added the components list and a schematic view. Coding  The coding this time introduced a new function and use. We had used millis() before but this time we use it to check how much time has passed. We don't use delay because we still want the rest of the code to function. The code has a few spots for user rewrite. There is an if(led==7) you can do what you want, maybe play a sound or something else. I also edited the interval so that in the video at the end you can see it work. The tilt sensor's location is how we know when to reset the lightening process. Finished Product After adding user touches and getting everything hooked up, we get a nice little digital hourglass that has the user capability to expand o