Thursday, May 12, 2016

The Button Challenge

For this project, it was hard setting up the button and all the wires like the one in the picture. After I got it set up it was easy to work. But for some reason, the light would come on when the button clicked but it would stay on. So I asked Mr.Molino and he helped me find the problem with my code. Finally, the button clicked when I pressed it the first time. And it turned off the second time I pressed it.

Monday, May 9, 2016

Mixing colors with RGB bulb

This program was also easy to accomplish after I finished the previous assignment. All I had to do was add another variable to the code, and then adjust the different colors. I used the program color to help me choose which colors I wanted to display in my assignment. This code was really fun after I got the hang of it. I started helping those who didn't get it with the code.

Wiring RGB bulb

This was the start of using the RGB bulb. I had problems at first with hooking up the light and Mr. Molino hellped me with it. After that, all I had to do was plug in the code and make sure that the lights blinked correctly and that they were the right colors. This was proably the easiest code/assignment to do in the list. I had fun with this assignment. Because we got to use new equipment in our arduinio activities.

Writing your name

In this program I took the L. I wasn't understanding how to do this assignment, or why it wasn't working for me. For some reason the code and the acutal arduino prorgaming wasn't working for me. So for this assignment I decided to just skip the this program. Even Mr. Molino tried to help me with this code but he couldn't figure it out. I advise everyone to skip this code  unless you are a semi expert on coding and arduino.

Setting up 7 digit display

This assignment was also complicated. It took me a very long time for me to master this code. I took two students and the teacher to help me learn this. After I figured it out how to wire the breadboard correctly, it all came together.  Finally I got the arduino to work correctly and the lights flashed like it should have.

Tuesday, May 3, 2016

Button And LED

This was the last challenge that we had to complete. I had to stay afterschool to figure out this challenge. This challenge was also a bit confusing because we had to also include a piece of new equipment that we never used before. After Mr.Molino helped me with putting the code, we had problems making sure that the light turned off by the button. The light would turn on when we pressed it but it would stay on. It wouldn't go off when we pressed it; so he said to get a video of the light coming on when we pressed it.

Controlling LED with Potenntiometer

I actually enjoyed this challenge because we got to use a new piece of equipment. We also had to keep using the same LED with resistors to finish the challenge. After that we just had to input the code and adjust the Potentiometer for the light. Putting together the breadboard with all the wires and placing te potentiometer in the right place was hard. But Mr. Molino helped me with it. This challenge is almost like the next challenge involving other devices.

Play some music

We couldn't do this program unfortunately, because one of our speakers was broken. Therefore, we couldn't code the arduino to play the song it was intended to. The speaker was broken, but I still understood how the program worked. I would have rather done this project than skip it but we couldn't because the speaker to play the music was broken.

Counting in Binary

This was the most difficult challenge that I had to do. Understanding the picture that was given to match the code was the key to completing this challenge. After I understood how the binary codes on the left of the picture matched the number of lights on our breadboard. It was the coding that made it even harder. After I got  some help from Nathan, he helped me understand that the lights matched the binary code. It was a lot of code but then I was able to finish the code.

Programming 3 LED's




Programming 3 LED's was the same as programming 1 or 2 LED's like the last challenges. Like the last 2 challenges I had to add another LED, wire, and resistor so the light could work. From there I could program all three lights to complete the given tasks. After the code for the last 2 challenges were the same. The difficulty in this code was just programming all three codes to blink like the tasks asked us to.

Monday, May 2, 2016

Programing 2 LEDs

Since this challenge was similar like the one before, all I had to do was to add another set of wires, resistors, and another light. Once that we had to add another interval so the program knew that there was another set of lights. Once we added the other interval the light turned on, and we could program the lights to do their tasks. Our main problem was putting the correct wire with the arduino port . Because at the beginning of the code it tells u which port it needs to be in. Programming 2 lights was actually easier than just the one light. The only thing that was difficult was making each light separately blink

Programming The LED




Programming this light to do the tasks given was pretty easy after I understood the code finally. I understood that (1000) equaled 1 second so delaying the light to blink. So keeping the light on forever was easy to do by keeping it on HIGH the whole time. Keeping the light off, I had to put the variables to LOW. For keeping the light on for a second and changing the on and off different for different time periods. This challenge helped me understood the code even better and understanding the effect of the delays.

Keeping a Light on

I had no problems with this challenge because I understood the properties. Now I had a full understanding of what type of code I would be working with. I understood that for the light to stay on, I had to use 2 high variables in my code. I also had a problem with putting my correct wires in the right arduino port. Once I figured it out, it was easy to understand the LOW kept the light off and HIGH kept the light on. Working with this code became easier as the challenges came and left.