Engineering .1
Period A
11/22/2016
Blog 3
Over the past couple of weeks my classmates and I have been working with Arduinos. Before Engineering class, I never knew what Arduinos were. Even though I have not worked with Arduinos before I know the basics of electric wiring. I am quite fortunate that my partner, Colin knows a lot about coding. We have been working together on the Arduino projects. Projects we had to do were the Arduino Button, Flow, Buzzer, and LED Control. We also had enough time to do the extra credit RGB LED. Before doing any of the projects we had to learn about the parts we would be using. For example, we had to know which resistors we would use. Each resistor has 5 colored lines on it in that represent a number to show the voltage it can resist for the Arduino to work. With multiple colors the resistors have a variety of color options to get the voltage. A picture of one type of resistor is below in this URL.The picture shows the different lines to represent each color and what type of power it can go up to. https://docs.google.com/document/d/1NxWpxygMMhjSVHfi5eMTRawiYDuMCvDyitNYYWxDZCk/edit
In the first project, my partner and I had to solve the Arduino Button. What we had to do was simply attach a button, wires, and resistor to the circuit board and Sun founder in order for the button to turn on the light. The Sun founder is sensitive so we had to make sure everything was put in correctly. We did not have to change any code. We copy and pasted the code given and we were able to the get button work. We tried testing and did not know why the code was not working. Mr. Gray showed us on the program that we had to go to tools, then port in order for it to run. .
The URL below shows a picture of our Arduino button that successfully made the button turn on the light.
https://docs.google.com/document/d/1epjkAbVAZ2A09LiUka8uYVXaa4xtweT3MOdi5DllLhM/edit
In the second project, Colin and I solved the Arduino Flow. We gathered all materials: 8 LED's, 17 wires, 8 resistors, and of course the two boards. What I noticed differently from this project compared to the previous one was that we had to use more wires, LED's, and edit the code. We copy and paste the code in order to solve the first problem. The next problem, we had to change the direction of the lights turning on and off. We also had to adjust the speed of it turning off. We had to determine what causes the direction and the speed of the lights. We ran into one problem during making adjustments. One of the wires was not plugged into the ground. Because of this, the light bulbs were lighting up differently. We thought it was the code or one of a defective LED. We made adjustments and made the lights turn on and off twice as fast as before and turn on and turn off left
to right and then on and off from right to left. The third problem we had to add digital write codes in order for lights to turn on, then the middle pair of lights will turn off. Then the other lights all turn off, the middle pair turns back on.
The URL below shows a picture of our Arduino Flow.
https://docs.google.com/document/d/1pzp5qHTVlmU_d3JC4Bey6g_x-BkwEBr2HDbNBpiucKE/edit
In the Arduino buzzer lab we had to adjust the pitch of the buzzer. We gathered all of our materials, such as 2 wires, buzzer, boards, and USB cable. My partner and I copied and pasted the code in to get the pitch.The buzzer already annoying as it was, became even more annoying after raising the pitch. We then had to adjust the code to make the pitch higher.
The URL below shows a picture of our Arduino Buzzer.
https://docs.google.com/document/d/1QoakYuxpUb6zKDhVViu63FJKkLMHrl34d-_esjYh5Wk/edit
In the Arduino LED Control we gathered all of our materials, such as boards, LED, 6 wires, potentiometer, and USB connector. We copied and pasted the code into the Arduino program. It was difficult to get this light up. This project was probably the most challenging. We made sure all of our wiring was good and we had all of the code. We made edits to the code in order for the light to dim. We made the adjustments and were able to successfully solve the problem. This LED control project shows how light dimmers work in a household.
The URL below shows a picture of our Arduino LED Control.
https://docs.google.com/document/d/1sRFqzf-RQB7R1ofDYF38-A5m_8utTuMESumMFQZWbxs/edit
No comments:
Post a Comment