Wednesday, November 29, 2017

Module 13


Step 1: Demos (individual)
Nate Barone: https://docs.google.com/document/d/1B8NZxYkHGcQ9MHG5C8Zvap_XiYREHouJ14A3ts8qvcA/edit?usp=sharing

Lucinda Cahill: https://docs.google.com/document/d/12yMYK3DI3xvb1Kx6HPOytUgynOTWpLCqtZQJri00nkE/edit?usp=sharing

Stephen Bade:
 https://docs.google.com/document/d/1i9K-mfpeExoXF2faYqwFrSiLdMXSlZzmZ_4Rx4r5kvA/edit?usp=sharing

Ryan Munro:
 https://docs.google.com/document/d/1Cf8V0ZdXN-XbnNVNsZauETOe6Fi5vzAEZ03iZ3jQHc4/edit?usp=sharing


Step 3: Blinking and LED

Nate and Lucinda's Tutorial

Part 1- setting up the LED on the board
1) Take an LED and a 220 resistor.
2) Using an alligator clip connect one side of the resistor to the longer side of the Led.
3) Place the end of the resistor without the clip into the Mega2560 board in pin number 10.






















4) Place the shorter side of the pin into the Mega2560 board in the pin 'ground' (GND)






















Part 2- writing the code
pin mode: 10, output - pin 10 is the output
Digital write: 10, high- voltage is high to pin 10
delay: 1000- wait for 1 second
Digital write: 10, low- voltage is low for pin 10
delay:1000- wait for 1 second
Click the tick to make sure your code is correct (this will not guarantee that it will work but just checks for any errors in the code)

 




Stephen and Ryan's Tutorial
1-Plug the circuit board into your computer using the USB cable, a green light should turn on indicating the board is connected.
2- Get one LED and one 1k resistor and connect the long end of the LED to the resistor using an alligator clip.
3-Insert the shorter LED end into the ground port (GND) and the other end of the resistor into port 10
4-Open your MyBlink program in Arduino and change the ouput on all of the  program to port 10 indicating the LED will be the light that turns on

5-Check and verify your program and then upload it and see if it works.(LED should start binking)


Step 4: Multiple Blinking LED

Nate and Lucinda
1) Connected two loops to the same ground
Blue light in pin 8 and red light in pin 10
Very hard to see the blue light flashing as the loops are connected.





2) Connected each loop to a seperate ground
Blue light in pin 8 and red light in pin 10
Each light is a lot stronger as there are two seperate loops


3) Multiple Lights in series

Stephen and Ryan







Step 5: Christmas Trees with Lights

Lucinda and Nate



Ryan and Stephen







No comments:

Post a Comment