Wednesday, November 30, 2016

2nd Create Crate Unboxing

/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
Hey guys! It has been FOREVER since I've uploaded a post. This video was made a while ago, and I need to catch up with my blog. Please enjoy!




/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\

Thursday, November 10, 2016

My Moody Mood Lamp

/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
Hey guys! In this post, I'll be talking about my hardware and it's program. There will also be a pop quiz near the end of the post. I didn't have a video for making the hardware, so I'll have to explain it with pictures.
Hardware with lantern.
Diagram of the circuit.


Finished hardware.

HOW THE PROGRAM WORKS
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 The program is way too complicated to explain entirely. There are little bits of writing that describe the program. They are called "comments." If you want to make a comment, you use "//" at the beginning, like "// This is a message." Another way of making a comment is using "/**/" like this, "/*This is another message.*/" If a user were to open up a game's code, there might be comments in the program. If they were to make a mod for the game, the comments would help them with different lines of code!

If you are a fellow programmer, you would know what a variable is. A variable is used in a program to store information, like a container. If there were no variables, it would be a lot harder changing the numbers in the program.

Here is a picture of some of the code. The three variables in the circle represent the LED's. The variable "int power," controls how bright the LED's are.


WHAT ARE TIE POINTS?
~~~~~~~~~~~~~~~~~~~~~~~
The tie points are used to connect with the wires, LED's, etc. The breadboard has 830 tie points. If you saw the diagram for the circuit, all of the wires are connected with LED's and UNO R3. When the program was finished, I found out that the circuit can only work when it's connected to the computer. It was dark when it was on, so the lights were kind of bright.

 Anyway, here are some pictures of the program working.












POP QUIZ
????????????

1. What kind of software did I use for the program?
a. Arduino     b. Python
c. SQL     d. HTML

2. What wires were used in the hardware?
a. Jumper wires     b. U-shaped Jumper wires
c. a and b     d. None of the above

3. What were the comments for?
a. YouTube of course!     b. Describing the program
c. What comments?     d. None of the above

4. How many tie-points were on the breadboard?
a. 340     b.670
c. 830     d.1200

/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\

I hope you enjoyed the post. Please leave a like. I shall see you in the next post. Bye guys!

P. S. If you took the quiz, comment your answer. I will tell if you are correct in the next post.
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\