1 Bradley University ECE Department EE452 – Sr. Capstone Project Computer Network Controlled...
-
date post
15-Jan-2016 -
Category
Documents
-
view
215 -
download
0
Transcript of 1 Bradley University ECE Department EE452 – Sr. Capstone Project Computer Network Controlled...
11
Bradley University ECE Department
EE452 – Sr. Capstone Project
Computer Network Controlled Etch-A-Sketch ®
Final Presentation4/28/05
Dream Team members: Robert LodeskyArnold Bynum
Advisors: Dr. IrwinMr. Sánchez
22
Table of ContentsTable of Contents
Project SummaryProject Summary
SoftwareSoftware
HardwareHardware
33
SummarySummary
Robert
44
SummarySummary
TinaFred
55
Table of ContentsTable of Contents
Project SummaryProject Summary
SoftwareSoftware
HardwareHardware
66
SoftwareSoftware
• The letter “a”The letter “a”
• Header FileHeader File
• Input SoftwareInput Software
• Output SoftwareOutput Software
• Reset ProgramReset Program
• Alphabetical ConversionAlphabetical Conversion
77
What it takes to draw an “What it takes to draw an “a””
a
88
Header FileHeader File
Input
conversion
output
Main
reset
99
Pen ReaderPen Reader
1010
Serial Port SoftwareSerial Port Software(PC)(PC)
PCMicrocontroller
CreateFileGetCommState
Buffer 984nbdl58
SetupCommWriteFile
1111
Serial Port SoftwareSerial Port Software(Microcontroller) (Microcontroller)
MicroPac 535 PC
CRINITSERINB
Reset
CRBMR1B
Parity
Size
Reciever controls
CSRB
CRB
1212
Word finished
Go one character
back
Is pointer back at origin?
no
Yes
Ready for shaking
Is ready button
pressed
No
Prompt user for next
wordYes
r o b e r t
Ready Button
1313
Receive word
Is end found?For loop
PWM conversion
of letter
No
Send to Timing
ProcessorYes
r o b e r t
r* SW3407NW433N3…etc
o* NW3012SW4332…etc
b* W4213NW3211…etc
Solves Conversion Problems
1414
Table of ContentsTable of Contents
Project SummaryProject Summary
SoftwareSoftware
HardwareHardware
1515
EAS SystemEAS System
Etch-A-Sketch
H-Bridge Circuitry
Protection Circuitry Motors
1616
HardwareHardware
Motor ControlMotor Control H-BridgesH-Bridges
• LMD 18200 3 amp, 55 volt H-BridgeLMD 18200 3 amp, 55 volt H-Bridge Control speed and direction of motors through Control speed and direction of motors through
microcontrollermicrocontroller CCBB allows for faster switching if frequency is increased allows for faster switching if frequency is increased
CCCC bypasses rail of DC source bypasses rail of DC source
• Agilent E3634A DC Power Supply (EQ-2539)Agilent E3634A DC Power Supply (EQ-2539)
1717
LMD18200 Block DiagramLMD18200 Block Diagram
1818
HardwareHardware
Motor ControlMotor Control H-BridgesH-Bridges
• LMD 18200 3 amp, 55 volt H-BridgeLMD 18200 3 amp, 55 volt H-Bridge Control speed and direction of motors through Control speed and direction of motors through
microcontrollermicrocontroller CCBB allows for faster switching if there is an increase in allows for faster switching if there is an increase in
frequency frequency CCCC bypasses rail of DC source bypasses rail of DC source
• Agilent E3634A DC Power Supply (EQ-2539)Agilent E3634A DC Power Supply (EQ-2539)
1919
LMD18200 Block DiagramLMD18200 Block Diagram
2020
HardwareHardware
Motor ControlMotor Control H-BridgesH-Bridges
• LMD 18200 3 amp, 55 volt H-BridgeLMD 18200 3 amp, 55 volt H-Bridge Control speed and direction of motors through Control speed and direction of motors through
microcontrollermicrocontroller CCBB allows for faster switching if there is an increase in allows for faster switching if there is an increase in
frequencyfrequency CCCC bypasses rail of DC source bypasses rail of DC source
• Agilent E3634A DC Power Supply (EQ-2539)Agilent E3634A DC Power Supply (EQ-2539)
2121
LMD18200 Block DiagramLMD18200 Block Diagram
2222
HardwareHardware
Motor ControlMotor Control H-BridgesH-Bridges
• LMD 18200 3 amp, 55 volt H-BridgeLMD 18200 3 amp, 55 volt H-Bridge Control speed and direction of motors through Control speed and direction of motors through
microcontrollermicrocontroller CCBB allows for faster switching if there is an increase in allows for faster switching if there is an increase in
frequencyfrequency CCCC bypasses rail of DC source bypasses rail of DC source
• Agilent E3634A DC Power Supply (EQ-2539)Agilent E3634A DC Power Supply (EQ-2539)
2323
LMD18200 Block DiagramLMD18200 Block Diagram
2424
HardwareHardware
Motor ControlMotor Control• Port Four of MicrocontrollerPort Four of Microcontroller
Motor Speed Motor Speed • Timer 2 generates PWM signal across P4.0, P4.1Timer 2 generates PWM signal across P4.0, P4.1
Motor DirectionMotor Direction• P4.6, P4.7 alternate between +5 and 0 voltsP4.6, P4.7 alternate between +5 and 0 volts
Protection CircuitryProtection Circuitry• Optical IsolatorsOptical Isolators
2525
PWM Test SignalsPWM Test Signals
2626
4N25 Optical Isolator4N25 Optical Isolator
2727
Drawing an “O”Drawing an “O”
Look up tables used to draw lettersLook up tables used to draw letters Four look up tables totalFour look up tables total
• Vertical DirectionVertical Direction• Horizontal DirectionHorizontal Direction• Vertical SpeedVertical Speed• Horizontal SpeedHorizontal Speed
2828
Letter “O”Letter “O”
2929
The End
Real Technical Questions?
Go To: http://cegt201.bradley.edu/projects/proj2005/lescreen/
Recap:
•C++ and Assembly software working
•Hardware functioning properly
•Drew the letter “O”