This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
haas:fall2020:common:projects:led1 [2020/09/03 20:16] – [On your pi] wedge | haas:fall2020:common:projects:led1 [2021/09/05 14:01] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 3: | Line 3: | ||
=====Objective===== | =====Objective===== | ||
- | To expand upon our previous efforts, through wiring up additional LEDs and generating a " | + | To expand upon our previous efforts, through wiring up additional LEDs and discovering what pattern |
We also further utilize time constraints, | We also further utilize time constraints, | ||
Line 106: | Line 106: | ||
{{ : | {{ : | ||
+ | |||
+ | Here's a good video overview of the functionality of a breadboard: | ||
+ | |||
+ | * https:// | ||
====(1) T-cobbler and data cable==== | ====(1) T-cobbler and data cable==== | ||
In your kit should be a T-shaped device (known as the " | In your kit should be a T-shaped device (known as the " | ||
Line 144: | Line 148: | ||
Take note of how everything is being plugged in, and what connection on the T-cobbler is being utilized. | Take note of how everything is being plugged in, and what connection on the T-cobbler is being utilized. | ||
- | Notice how the circuit runs from ground | + | Notice how the circuit runs from ground to LED to resistor |
Please keep in mind: | Please keep in mind: | ||
Line 155: | Line 159: | ||
<WRAP info> | <WRAP info> | ||
+ | <WRAP info>It may be clarifying if you arranged your four LEDs in a row, from right to left, in order of your GPIO pins you've plugged into.</ | ||
====Testing connectivity==== | ====Testing connectivity==== | ||
To verify whether everything is hooked up correctly (including the correct positioning of the LED), please try the following: | To verify whether everything is hooked up correctly (including the correct positioning of the LED), please try the following: | ||
Line 172: | Line 177: | ||
<cli> | <cli> | ||
- | yourpi: | + | yourpi: |
</ | </ | ||
Line 188: | Line 193: | ||
<cli> | <cli> | ||
- | yourpi: | + | yourpi: |
- | yourpi: | + | yourpi: |
</ | </ | ||
Line 196: | Line 201: | ||
If you get no activity out of the LED, try reversing it and try again. | If you get no activity out of the LED, try reversing it and try again. | ||
+ | With an expanded set of LED circuits, be sure to test the operation of each one. | ||
=====Program===== | =====Program===== | ||
It is your task to compile, run, expand upon, and understand a program to interface with a set of LEDs (light emitting diodes), a nice software-hardware connection, on your raspberry pi. | It is your task to compile, run, expand upon, and understand a program to interface with a set of LEDs (light emitting diodes), a nice software-hardware connection, on your raspberry pi. | ||
Line 294: | Line 300: | ||
< | < | ||
39: | 39: | ||
- | *:led1:post picture of unpowered | + | *:led1:post picture of unpowered |
- | *:led1:post picture | + | *:led1:post picture to #desig by Sunday before deadline [6/6] |
- | *:led1:post pictures | + | *:led1:post picture of powered LEDs in layout to #desig [6/6] |
- | *:led1:post picture of powered LEDs in layout 1 to # | + | *: |
- | *:led1:post picture of powered LEDs in layout | + | *: |
- | *: | + | *: |
- | *: | + | *: |
- | *: | + | |
</ | </ | ||
Line 309: | Line 314: | ||
* Solutions not utilizing indentation to promote scope and clarity will be subject to a 25% overall deduction | * Solutions not utilizing indentation to promote scope and clarity will be subject to a 25% overall deduction | ||
* Solutions not organized and easy to read are subject to a 25% overall deduction | * Solutions not organized and easy to read are subject to a 25% overall deduction | ||
+ |