|
Appendices
Appendix A : Code Listing
main.c - formatted
listing - Main code file
uart.h - formatted
listing - UART driver
ls7266r1.h - formatted
listing - LS7266R1 counter chip driver
steps_lookup.h -
formatted listing - Lookup table for
compare match values
ece476_CTRL.zip - Our test control
program and source
Appendix B : Schematics
Page 1 - LS7266R1 counter chip,
multiplexer, and encoder interface
Page 2 - RS485 interface, motor interface
Page 3 - Mega32 chip
Page 4 - MD1 Driver, LCD display, Header
cables
Appendix C : Cost
We performed a recurring cost estimate of the material costs of our
motor controller exclusive of recurring costs of assembly, testing,
shipping and receiving, documentation and customer support costs. This
does not include the cost of a printed circuit board which would be as
high a $17.00 for small quantities and going down to $11.00 in quantities
of 25. This is based on the
expresspcb.com equations for circuit boards for a board with an area
of 10 square inches. I have costed the two most expensive parts, the
ATmega32 and the LS7266R1 on quantity 25, thereby saving $6.00 per pair.
#
|
Part Name
|
Description
|
Price
|
1 |
C1 |
0.1 uf |
0.14 |
2 |
C2 |
0.1 uf |
0.14 |
3 |
C3 |
.47 uf |
0.28 |
4 |
C4 |
0.1 uf |
0.14 |
5 |
C5 |
0.1 uf |
0.14 |
6 |
C6 |
0.1uf |
0.14 |
7 |
C7 |
0.1 uf |
0.14 |
8 |
C8 |
470 uf,100V |
0.60 |
9 |
C9 |
0.1 uf |
0.14 |
10 |
C10 |
0.1 uf |
0.14 |
11 |
C11 |
0.1 uf |
0.14 |
12 |
C12 |
10 uf,15V |
0.35 |
13 |
C13 |
10 uf,15V |
0.35 |
14 |
C14 |
22pf |
0.25 |
15 |
C15 |
22pf |
0.25 |
16 |
C16 |
.47uf |
0.35 |
17 |
C17 |
.47uf |
0.35 |
18 |
C18 |
.47uf |
0.35 |
19 |
C19 |
47 nf |
0.35 |
20 |
C20 |
0.1 uf |
0.14 |
21 |
D1 |
SM6T6V8CA |
0.17 |
22 |
H1 |
JTAG |
0.35 |
23 |
H2 |
HEADER 2 x 5 |
0.35 |
24 |
H5 |
HEADER 2 x 5 |
0.35 |
25 |
L1 |
VK-20010-3S4 |
0.45 |
26 |
L3 |
VK-20010-3S4 |
0.45 |
27 |
R1 |
120 |
0.07 |
28 |
R2 |
100 |
0.02 |
29 |
R3 |
10K |
0.04 |
30 |
R4 |
1K |
0.02 |
31 |
R5 |
1K |
0.02 |
32 |
R6 |
680 |
0.05 |
33 |
R7 |
120K |
0.07 |
34 |
R30 |
1K |
0.02 |
35 |
RN1 |
220 |
0.25 |
36 |
S1 |
SWITCH (NO) |
2.25 |
37 |
SPROG3 |
HEADER 2 x 3 |
0.21 |
38 |
U1 |
AM26C32 |
0.80 |
39 |
U2 |
74HC153 |
0.63 |
40 |
U4 |
LS7266R1 |
11.25 |
41 |
U5 |
MAX487 |
2.81 |
42 |
U6 |
ILD31 |
1.00 |
43 |
U7 |
74LS04 |
0.35 |
44 |
U10 |
74LS74 |
0.38 |
45 |
U11 |
74LS01 |
0.25 |
46 |
U704 |
ATmega32 |
5.20 |
47 |
J1 |
DB-9 |
2.14 |
48 |
H1 |
Term.Block |
1.11 |
49 |
J2 |
Phone jack x2 |
1.16 |
|
|
|
|
|
|
TOTAL
|
37.10
|
Appendix D : Tasks
Daniel Beer
- Software development - Main code, UART driver, LS7266R1 driver
- Code commenting
- Website construction
- Final report
Anthony Lloyd
- Hardware development - Schematics
- Hardware construction and wiring
- Final report
Appendix E : References
|
|