This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
haas:fall2020:c4eng:projects [2019/11/16 14:56] – external edit 127.0.0.1 | haas:fall2020:c4eng:projects [2020/10/29 16:15] – [Projects] wedge | ||
---|---|---|---|
Line 7: | Line 7: | ||
======Projects====== | ======Projects====== | ||
- | | [[/haas/fall2019/ | + | | [[/haas/fall2020/ |
- | | [[/haas/fall2019/ | + | | [[/haas/fall2020/ |
- | | [[/haas/fall2019/ | + | | [[/haas/fall2020/ |
- | | [[/haas/fall2019/ | + | | [[/haas/fall2020/ |
- | | [[/haas/fall2019/c4eng/projects/pctX|pct1]] (due 20190828) | | + | | [[/haas/fall2020/common/projects/wcp|wcp2]] (due 20200826) | |
- | | [[/haas/fall2019/common/projects/wcp|wcp2]] (due 20190828) | | + | | [[/haas/fall2020/c4eng/projects/lob0|lob0]] (due 20200902) | |
- | | [[/haas/fall2019/ | + | | [[/haas/fall2020/ |
- | | [[/haas/fall2019/ | + | | [[/haas/fall2020/ |
- | | [[/haas/fall2019/ | + | | [[/haas/fall2020/ |
- | | [[/haas/fall2019/ | + | | [[/haas/fall2020/ |
- | | [[/haas/fall2019/ | + | | [[/haas/fall2020/ |
- | | [[/haas/fall2019/ | + | | [[/haas/fall2020/ |
- | | [[/haas/fall2019/ | + | | [[/haas/fall2020/ |
- | | [[/haas/fall2019/ | + | | [[/haas/fall2020/ |
- | | [[/haas/fall2019/ | + | | [[/haas/fall2020/ |
- | | [[/haas/fall2019/ | + | | [[/haas/fall2020/ |
- | | [[/haas/fall2019/ | + | | [[/haas/fall2020/ |
- | | [[/haas/fall2019/ | + | | [[/haas/fall2020/ |
- | | [[/haas/fall2019/ | + | | [[/haas/fall2020/ |
- | | [[/haas/fall2019/ | + | | [[/haas/fall2020/ |
- | | [[/haas/fall2019/ | + | | [[/haas/fall2020/ |
- | | [[/haas/fall2019/ | + | | [[/haas/fall2020/ |
- | | [[/haas/fall2019/c4eng/projects/pctX|pct7]] (due 20191009) | | + | | [[/haas/fall2020/common/projects/wcp|wcp8]] (due 20201007) | |
- | | [[/haas/fall2019/common/projects/wcp|wcp8]] (due 20191009) | | + | | [[/haas/fall2020/c4eng/projects/iwb2|iwb2]] (due 20201014) | |
- | | [[/haas/fall2019/ | + | | [[/haas/fall2020/ |
- | | [[/haas/fall2019/ | + | | [[/haas/fall2020/ |
- | | [[/haas/fall2019/ | + | | [[/haas/fall2020/ |
- | | [[/haas/fall2019/ | + | | [[/ |
- | | [[/haas/fall2019/ | + | | [[/ |
- | | [[/haas/fall2019/ | + | | [[/haas/fall2020/ |
- | | [[/haas/fall2019/ | + | | [[/haas/fall2020/ |
- | | [[/haas/fall2019/ | + | | [[/haas/fall2020/ |
- | | [[/haas/fall2019/ | + | | [[/haas/fall2020/ |
- | | [[/haas/fall2019/ | + | | |
- | | [[/haas/fall2019/ | + | | |
- | | [[/haas/fall2019/ | + | | |
- | | [[/haas/fall2019/ | + | | [[/haas/fall2020/ |
- | | @lightgreen: | + | | [[/haas/fall2020/ |
+ | | [[/ | ||
+ | | [[/haas/fall2020/ | ||
+ | | @lightgreen: | ||
======Class Stats====== | ======Class Stats====== | ||
- | * [[/haas/fall2019/ | + | * [[/haas/fall2020/ |
======URLs====== | ======URLs====== | ||
+ | * [[https:// | ||
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// | ||
* [[/ | * [[/ | ||
- | ======Week 7====== | + | |
- | + | ||
- | | + | |
- | * possible integration of arrays to further streamline process | + | |
- | * binary counter in incrementing and decrementing fashion | + | |
- | + | ||
- | ======Week 6====== | + | |
- | + | ||
- | =====colorled===== | + | |
- | * multi-coloured (RGB) LED, using PWM to set different intensities of Red, Green, and Blue (100 different levels of adjustment for each) | + | |
- | * In the **examples** subdirectory, | + | |
- | + | ||
- | Here's a diagram of the circuit to assemble: | + | |
- | + | ||
- | {{: | + | |
- | + | ||
- | ====Lab Project==== | + | |
- | Once you have the circuit wired up and verify operation with the sample program, I'd like you to write a new program that: | + | |
- | + | ||
- | * starts at " | + | |
- | * going from nothing and gradually (10 steps) to full intensity: | + | |
- | * nothing to red, then reset, and go: | + | |
- | * nothing to green, then reset, and go: | + | |
- | * nothing to blue, then reset, and go: | + | |
- | * nothing to purple, then reset, and go: | + | |
- | * nothing to red+green, then reset, and go: | + | |
- | * nothing to green+blue, then reset, and go: | + | |
- | * nothing to white (red+green+blue). | + | |
- | + | ||
- | ===Hints=== | + | |
- | * Figure out how to set the level of ONE color to its maximum value | + | |
- | * How would you adjust these across a given range (0-99) | + | |
- | * One thing at a time: worry about JUST red first, then JUST green. | + | |
- | + | ||
- | ===Copying sample file from lab46 to your pi=== | + | |
- | < | + | |
- | lab46:~$ cd /var/public/ | + | |
- | lab46:/ | + | |
- | colorled.c | + | |
- | lab46:/ | + | |
- | </cli> | + | |
- | + | ||
- | On the scp line, do NOT forget the trailing colon. It is important. | + | |
- | + | ||
- | ===Copying a file from the pi to lab46=== | + | |
- | < | + | |
- | pi@raspberrypi: | + | |
- | program.c | + | |
- | pi@raspberrypi: | + | |
- | </cli> | + | |
- | + | ||
- | ===Submit=== | + | |
- | When done, submit your source code on lab46 for the project **epf0** | + | |
- | ======Week 5====== | + | |
- | =====potled===== | + | |
- | * potentiometer + LED | + | |
- | * potled.c now placed in **examples** subdirectory. It has been enhanced with further comments. | + | |
- | * NOTE: In order to run this program, we will need to enable I2C support on the pi (a one-time thing, then we're set). | + | |
- | + | ||
- | Here's a diagram of the parts needed and circuit to assemble: | + | |
- | + | ||
- | {{: | + | |
- | + | ||
- | =====buzzer===== | + | |
- | * button + buzzer | + | |
- | * buzzer.c now placed in **examples** subdirectory. It has been enhanced with further comments. | + | |
- | * NOTE: This program is functionally similar to our buttonled.c program we worked on earlier. | + | |
- | + | ||
- | Here's a diagram of the parts needed and circuit to assemble: | + | |
- | + | ||
- | {{: | + | |
- | + | ||
- | ======Week 4====== | + | |
- | + | ||
- | =====buttonled===== | + | |
- | * The " | + | |
- | * buttonled.c - basic program; press button to light up LED | + | |
- | * buttonled2.c - LED will appear to " | + | |
- | * Please make sure you are reading through the chapter on if statements/ | + | |
- | + | ||
- | Here's a diagram of the parts needed and circuit to assemble: | + | |
- | + | ||
- | {{: | + | |
- | + | ||
- | ======Week 3====== | + | |
- | * I have put together a [[/ | + | |
- | * Please make sure you are reading through the chapter on variables and arithmetic operations. | + | |
======Week 2====== | ======Week 2====== | ||
- | * After getting through the typically chaotic first week activities, the dust is starting to settle; questions are being asked, things are being figured out. | + | * If week one got us configured and ready for class operations, this second week will start us more directly down the path towards real, actual programming activities. |
- | * We went through the "Hello, World!" | + | * Programming, as we will soon discover, is a mindset, a means of expression. One that often requires |
- | * There are likely some questions on a number | + | * So, the development of abstraction and critical reasoning skills |
- | * The **pct1** project | + | * With that said, that also gives us more advance lead time on the project |
======Week 1====== | ======Week 1====== | ||
- | * Welcome! I've wrapped some initial activities into the **cci0** and **dtr0** projects, that I'd like you to perform by the given deadlines (by 11:59:59pm / 23:59:59 on posted day). | + | * Welcome! I've wrapped some initial activities into the **ntr0** and **pct1** projects, that I'd like you to perform by the given deadlines (by 11:59:59pm / 23:59:59 on posted day). |
* If you've never used a UNIX system before, I'd recommend reading **{{: | * If you've never used a UNIX system before, I'd recommend reading **{{: | ||
* Get familiar with how to log onto Lab46, and once on: | * Get familiar with how to log onto Lab46, and once on: |