This module is called System Control 1 (Regeltechniek -in Dutch). There are 3 practical exercises with Matlab during this lesson.
The excercise forms can be downloaded here (.doc file). Read the rest of this entry »
Archive for the ‘assignments/exercises’ Category
System Control (Regeltechniek) 1
Posted by baiu on 06/06/2008
Posted in assignments/exercises | Tagged: bode plot, regeltechniek, system control | Leave a Comment »
ASM for PIC16F684
Posted by baiu on 12/04/2008
Microprocessor: Microchip PIC16F684. Download the datasheet here (4.48Mb).
Board kit: PICkit 1. Download the user guide here (1.07Mb).
Language: Assembly language (.asm) Read the rest of this entry »
Posted in assignments/exercises | Tagged: Assembler, Assembly, c/c++, PIC16F684 | 1 Comment »
C Programming 2
Posted by baiu on 19/03/2008
C programming 2 was taught in my first year. The topics in this subject are pointer (with functions and arrays), input/output (I/O), and textfiles. There are 4 assignments that should be done individually.
- the first one is a program to read float numbers, but only the biggest one is printed on the screen.
- the other one, I built a program to compute the value of Sin(x) in radiants using the formula sin_x = x – x3/3! + x5/5! – x7/7! + …. and so on. The inputs are real number ‘x’ and real number of the accuracy rate ‘eps’.
- I built a program to calculate an angle (degrees-minutes-seconds) and its total revolution. I made two types, with and without pointers.
- I built a program to show the amount of character after I enter some words. Example:
input : Hogeschool Enschede
output : 3314223331141223414
- I built a program to read a row of characters, end by a dot ‘.’ Each character is encoded by an algorithm and written into file ‘cript.txt’.
- The second program reads the file, encodes it, and prints it on the screen.
Posted in assignments/exercises | Tagged: array, c/c++, pointer, programming language, textfile | Leave a Comment »