User Tools

Site Tools


haas:fall2019:c4eng:projects

This is an old revision of the document!


Corning Community College

ENGR1050 C for Engineers

Assignments, Documents, Information, and Projects

Projects

pct0 (bonus; due 20190821)
cci0 (due 20190821)
wcp1 (due 20190821)
dtr0 (bonus; due 20190828)
pct1 (due 20190828)
wcp2 (due 20190828)
pct2 (due 20190904)
wcp3 (due 20190904)
sof0 (due 20190911)
pct3 (due 20190911)
wcp4 (due 20190911)
dow0 (due 20190918)
pct4 (due 20190918)
wcp5 (due 20190918)

Class Stats

  • status (coming at some point)

URLs

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:

potled diagram

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

  • The “buttonled” programs we wrote in class have been added underneath the examples subdirectory in the c4eng public directory, including additional comments.
    • buttonled.c - basic program; press button to light up LED
    • buttonled2.c - LED will appear to “blink” for the duration of the button press
  • Please make sure you are reading through the chapter on if statements/selection structures/conditional statements.

Week 3

  • I have put together a sof0 hints page, that may have some useful information you want to check out if you are having trouble getting started.
  • Please make sure you are reading through the chapter on variables and arithmetic operations.

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.
  • We went through the “Hello, World!” C program, and then moved onto the next programming project, dtr0.
  • There are likely some questions on a number of aspects related to dtr0. I am endeavouring to put together a document to provide some additional background information.
  • The pct1 project is also in progress. For some of the more technical aspects of the project, I have also put together a document to provide some additional background information.

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).
  • If you've never used a UNIX system before, I'd recommend reading UNIX for the Beginning Mage; it is short, and likely one of the best reads you'll ever have.
  • Get familiar with how to log onto Lab46, and once on:
    • change to your src/ subdirectory
    • create/edit .c files (such as hello.c), and learn how to save/exit
    • compile the C program (.c file(s)) into an executable with gcc
    • execute the compiled C program (the executable) by specifying a path: ./program_name
haas/fall2019/c4eng/projects.1568305073.txt.gz · Last modified: 2019/09/12 12:17 by wedge