SlideShare a Scribd company logo
PROJECT #6: ELECTROMAGNETIC CRANE
Teacher’s Notes
The Project
Time Frame: 2-3 weeks
Materials:
• Bolt (1”-2” Long)
• 22-24 Gauge Magnet wire (regular solid core copper wire will work)
Available at Electrosonic, see suppliers
$10 for approx. 200’
• 20+ paperclips
• 2 bowls
• 4.5V – 6V battery
• Construction materials for the physical crane set-up
Description:
This is a difficult project. This project would be appropriate at the grade 11 or 12 level.
The students are required to interface a stepping motor, a DC motor (using an H-Bridge),
an LED and an electromagnet.
has an excellent picture on how to set-up the H-bridge motor.
The goal is to move paperclips from one bowl to another bowl through a 90° rotation.
The crane starts with the magnet up& above the first bowl.
When the program starts:
• LED at the top of the crane starts to flash (crane is moving, Watch out!)
• The crane drops the magnet into the bowl.
• The magnet turns on & collects the paperclips.
• The crane lifts the magnet and paperclips.
• The crane moves through the 90° rotation.
• The crane lowers the magnet and clips into the second bowl
• The magnet shuts off, releasing the paperclips
• The crane lifts the magnet back up
• The crane rotates back to the first bowl
• The LED turns off when the crane stops moving.
Warning!!!
This should not be the first interfacing activity.
This project is too difficult to try without attempting some of the previous activities.
Suggested Usage of Pins
The following is a suggesting representation of which pins to use for each control.
Lights Output / Pin # Decimal Value
Electromagnet D0 / Pin 2 1
Flashing Light D1 / Pin 3 2
DC – Motor Control 1 D2 / Pin 4 4
DC – Motor Control 2 D3 / Pin 5 8
Stepper Motor Control 1 D4 / Pin 6 16
Stepper Motor Control 2 D5 / Pin 7 32
Stepper Motor Control 3 D6 / Pin 8 64
Stepper Motor Control 4 D7 / Pin 9 128
H-Bridge (Bi-directional DC motor control)
• To turn the DC motor in one direction, set D2 high & D3 low.
• To turn the DC motor in the opposite direction, set D2 low & D3 high.
• To stop the motor, set both D2 & D3 low.
• DO NOT set both D2 & D3 high!
Stepper control
• Stepper motors work by sending a repeating pattern of bits to the different coils.
• Taping a popsicle stick to the end of the stepper motor and using a protractor is a good way to
measure the angle per step.
For our example, the stepper motor is controlled by D4-D7. The following block of code will make
the stepper motor turn.
for steps : 1..100 % send the pattern 100 times
for i : 0..3
parallelput(16*(2**i)) % set the correct pin high
delay(100) % delay 1 tenth of a second
end for
end for
Creating an Electromagnet
Things to remember about electromagnets:
• The more coils you make, the stronger the magnet.
• Magnet wire works better, because it is thinner and more coils you can get.
• A soft iron core will make the magnet work better (a bolt).
Attach wire ends
to your interface
Wrap magnet wire
around the soft
iron core (bolt)
+‘ve-‘ve
North South
Electromagnetic Crane – Wiring Diagram
Use an external battery
(4.5V – 6V)
GND
+5V
7424
To Parallel Port Output D7-D0
Parallel Port Ground
(18-25)
See next page
for stepper
motor control.
220Ω
PN2222A
1k Ω
PN2222A 2N2907 2N2907
H-Bridge
Bi-Directional DC
motor control
Flashing LED
PN2222A
Electromagnet
1k Ω
Electromagnetic Crane – Stepper Motor Wiring Diagram
Ground (18-25)
D3 D2 D1 D0
1k Ω
1k Ω
Coil 4
WhiteCoil 3
Blue
Coil 2
Red
Coil 1
Orange
+5 V
ground
+5 V
ground
+5V
For Motor
MTIP31TIP31TIP31TIP31
74LS245
Electromagnetic Crane – Exemplars
Electromagnetic Crane - Checklist
Have I …
CRANE
used / made a eye-pleasing model;
verified the flashing LED works;
verified the magnet turns on an off;
verified that my final program correctly controls the crane;
FINAL PROGRAM
commented all blocks of code;
used clear variable & constant names;
designed a graphical interface representing the game board;
covered the required functions of the game board;
DOCUMENTATION
created a title page;
printed out the code for my final program;
written a report, including:
o the process,
o clear explanation;
drawn a diagram of the crane (and any initial sketches);
drawn a schematic of the crane;
checked all papers for spelling & grammar mistakes;
had at least two person proof-read my report;
compiled all the paper submissions in a duo-tang?
Electromagnetic Crane – Marking Scheme
Name:
Category Component Mark
Knowledge Program Functionality /15
(30%) Wiring & Interface Functionality /15
Application Wiring Neatness /15
(30%) Program Appearance /15
Problem S. Crane – Materials & Construction /5
(15%) Creativity & Innovation /10
Communication Crane Diagram /5
(25%) Project Write-up /10
Internal Documentation /5
Wiring Diagram /5
Total
%

More Related Content

What's hot

IoT Based Garbage Monitoring System ppt
IoT Based Garbage Monitoring System pptIoT Based Garbage Monitoring System ppt
IoT Based Garbage Monitoring System ppt
Ranjan Gupta
 
Bidirectional Visitor counter Project Proposal
Bidirectional Visitor counter Project ProposalBidirectional Visitor counter Project Proposal
Bidirectional Visitor counter Project Proposal
Arsalan Ahmad
 
Arduino seminar report
Arduino seminar reportArduino seminar report
Arduino seminar report
Zaka Jutt
 
Basics of Electrical Machines
Basics of Electrical MachinesBasics of Electrical Machines
Basics of Electrical Machines
maneesh001
 
Temperature Based Fan Controller
Temperature Based Fan Controller Temperature Based Fan Controller
Temperature Based Fan Controller
richa1910n
 
Advantages of three phase system over single phase system
Advantages of three phase system over single phase systemAdvantages of three phase system over single phase system
Advantages of three phase system over single phase system
Dr.Raja R
 
Humidity & Temperature monitoring using arduino
Humidity & Temperature monitoring using arduinoHumidity & Temperature monitoring using arduino
Humidity & Temperature monitoring using arduino
MuhammadJaved191
 
IRJET - Speed Control of DC Motor by using IoT
IRJET -  	  Speed Control of DC Motor by using IoTIRJET -  	  Speed Control of DC Motor by using IoT
IRJET - Speed Control of DC Motor by using IoT
IRJET Journal
 
AUTOMATIC FAN CONTROLLER USING THERMISTOR
AUTOMATIC FAN CONTROLLER USING THERMISTORAUTOMATIC FAN CONTROLLER USING THERMISTOR
AUTOMATIC FAN CONTROLLER USING THERMISTORPankaj Jagadale
 
Vector Control of AC Induction Motors
Vector Control of AC Induction MotorsVector Control of AC Induction Motors
Vector Control of AC Induction MotorsPranjal Barman
 
IR BASED HOME AUTOMATION USING ARDUINO UNO
IR BASED HOME AUTOMATION USING ARDUINO UNOIR BASED HOME AUTOMATION USING ARDUINO UNO
IR BASED HOME AUTOMATION USING ARDUINO UNO
Mln Phaneendra
 
Temperature Controlled Fan Report
Temperature Controlled Fan ReportTemperature Controlled Fan Report
Temperature Controlled Fan ReportPeeyush Pashine
 
Alternator
AlternatorAlternator
Alternator
Smile Hossain
 
DTMF based load control
DTMF based load controlDTMF based load control
DTMF based load control
bhavana kanisetty
 
Arduino Projects
Arduino ProjectsArduino Projects
Arduino Projects
Luki B. Subekti
 
PLC BASED ELEVATOR PPT(GROUP-1)
PLC BASED ELEVATOR PPT(GROUP-1)PLC BASED ELEVATOR PPT(GROUP-1)
PLC BASED ELEVATOR PPT(GROUP-1)Krupal Bhoi
 
Temperature monitoring and controling using arduino
Temperature monitoring and controling using arduinoTemperature monitoring and controling using arduino
Temperature monitoring and controling using arduino
Bablu Singh
 
Arduino bluetooth controlled robot
Arduino bluetooth controlled robotArduino bluetooth controlled robot
Arduino bluetooth controlled robot
UVSofts Technologies
 
WIFI CONTROLLED SPY ROBOT CAR
WIFI CONTROLLED SPY ROBOT CARWIFI CONTROLLED SPY ROBOT CAR
WIFI CONTROLLED SPY ROBOT CAR
Anudeep Chowdary Kamepalli
 
Automatic water level controller
Automatic water level controllerAutomatic water level controller
Automatic water level controller
Geetha Smiley
 

What's hot (20)

IoT Based Garbage Monitoring System ppt
IoT Based Garbage Monitoring System pptIoT Based Garbage Monitoring System ppt
IoT Based Garbage Monitoring System ppt
 
Bidirectional Visitor counter Project Proposal
Bidirectional Visitor counter Project ProposalBidirectional Visitor counter Project Proposal
Bidirectional Visitor counter Project Proposal
 
Arduino seminar report
Arduino seminar reportArduino seminar report
Arduino seminar report
 
Basics of Electrical Machines
Basics of Electrical MachinesBasics of Electrical Machines
Basics of Electrical Machines
 
Temperature Based Fan Controller
Temperature Based Fan Controller Temperature Based Fan Controller
Temperature Based Fan Controller
 
Advantages of three phase system over single phase system
Advantages of three phase system over single phase systemAdvantages of three phase system over single phase system
Advantages of three phase system over single phase system
 
Humidity & Temperature monitoring using arduino
Humidity & Temperature monitoring using arduinoHumidity & Temperature monitoring using arduino
Humidity & Temperature monitoring using arduino
 
IRJET - Speed Control of DC Motor by using IoT
IRJET -  	  Speed Control of DC Motor by using IoTIRJET -  	  Speed Control of DC Motor by using IoT
IRJET - Speed Control of DC Motor by using IoT
 
AUTOMATIC FAN CONTROLLER USING THERMISTOR
AUTOMATIC FAN CONTROLLER USING THERMISTORAUTOMATIC FAN CONTROLLER USING THERMISTOR
AUTOMATIC FAN CONTROLLER USING THERMISTOR
 
Vector Control of AC Induction Motors
Vector Control of AC Induction MotorsVector Control of AC Induction Motors
Vector Control of AC Induction Motors
 
IR BASED HOME AUTOMATION USING ARDUINO UNO
IR BASED HOME AUTOMATION USING ARDUINO UNOIR BASED HOME AUTOMATION USING ARDUINO UNO
IR BASED HOME AUTOMATION USING ARDUINO UNO
 
Temperature Controlled Fan Report
Temperature Controlled Fan ReportTemperature Controlled Fan Report
Temperature Controlled Fan Report
 
Alternator
AlternatorAlternator
Alternator
 
DTMF based load control
DTMF based load controlDTMF based load control
DTMF based load control
 
Arduino Projects
Arduino ProjectsArduino Projects
Arduino Projects
 
PLC BASED ELEVATOR PPT(GROUP-1)
PLC BASED ELEVATOR PPT(GROUP-1)PLC BASED ELEVATOR PPT(GROUP-1)
PLC BASED ELEVATOR PPT(GROUP-1)
 
Temperature monitoring and controling using arduino
Temperature monitoring and controling using arduinoTemperature monitoring and controling using arduino
Temperature monitoring and controling using arduino
 
Arduino bluetooth controlled robot
Arduino bluetooth controlled robotArduino bluetooth controlled robot
Arduino bluetooth controlled robot
 
WIFI CONTROLLED SPY ROBOT CAR
WIFI CONTROLLED SPY ROBOT CARWIFI CONTROLLED SPY ROBOT CAR
WIFI CONTROLLED SPY ROBOT CAR
 
Automatic water level controller
Automatic water level controllerAutomatic water level controller
Automatic water level controller
 

Similar to Crane

ELECTRIC POWER GENERATION FROM TRAFFIC
ELECTRIC  POWER GENERATION  FROM TRAFFICELECTRIC  POWER GENERATION  FROM TRAFFIC
ELECTRIC POWER GENERATION FROM TRAFFIC
rajesharayankara
 
Dual axis solar tracking systems with thermal refrigeration
Dual axis solar tracking systems with thermal refrigerationDual axis solar tracking systems with thermal refrigeration
Dual axis solar tracking systems with thermal refrigeration
manogna gwen
 
Indian Railway
Indian Railway Indian Railway
Indian Railway
Vinayak Prabhutendolkar
 
MINI PROJECT ppt.pptx
MINI PROJECT ppt.pptxMINI PROJECT ppt.pptx
MINI PROJECT ppt.pptx
ssuserea138e
 
Ctara report
Ctara reportCtara report
Ctara report
Pushkar Limaye
 
Electromagnetic brake solenoid coil 2014
Electromagnetic brake  solenoid coil 2014Electromagnetic brake  solenoid coil 2014
Electromagnetic brake solenoid coil 2014
chockalingam athilingam
 
Transient Analysis of 12V DC Power Supply_F.pdf
Transient Analysis of 12V DC Power Supply_F.pdfTransient Analysis of 12V DC Power Supply_F.pdf
Transient Analysis of 12V DC Power Supply_F.pdf
Parvesh Taneja
 
major project ppt 27-4-16
major project ppt 27-4-16major project ppt 27-4-16
major project ppt 27-4-16rafiya begum
 
Physics project chirag
Physics project chiragPhysics project chirag
Physics project chirag
Chirag Patel
 
Pmdc motors
Pmdc motorsPmdc motors
Pmdc motors
ragulkncet
 
Dual axis tracking systems
Dual axis tracking systemsDual axis tracking systems
Dual axis tracking systemsArun Choudhary
 
voltage doubler using 555 timer ic
voltage doubler using 555 timer ic voltage doubler using 555 timer ic
voltage doubler using 555 timer ic
afzalvp99
 
Rittick Maity BTech project
Rittick Maity BTech projectRittick Maity BTech project
Rittick Maity BTech project
Rittick Mesut Oezil
 
Research Inventy : International Journal of Engineering and Science
Research Inventy : International Journal of Engineering and ScienceResearch Inventy : International Journal of Engineering and Science
Research Inventy : International Journal of Engineering and Science
researchinventy
 
Spark generation in Electrochemical discharge machining(ECDM) of non-conducti...
Spark generation in Electrochemical discharge machining(ECDM) of non-conducti...Spark generation in Electrochemical discharge machining(ECDM) of non-conducti...
Spark generation in Electrochemical discharge machining(ECDM) of non-conducti...
Akhil R
 

Similar to Crane (20)

Speed Control Of DC Motor
Speed Control Of DC MotorSpeed Control Of DC Motor
Speed Control Of DC Motor
 
ELECTRIC POWER GENERATION FROM TRAFFIC
ELECTRIC  POWER GENERATION  FROM TRAFFICELECTRIC  POWER GENERATION  FROM TRAFFIC
ELECTRIC POWER GENERATION FROM TRAFFIC
 
Dual axis solar tracking systems with thermal refrigeration
Dual axis solar tracking systems with thermal refrigerationDual axis solar tracking systems with thermal refrigeration
Dual axis solar tracking systems with thermal refrigeration
 
shakir ppt_final
shakir ppt_finalshakir ppt_final
shakir ppt_final
 
Indian Railway
Indian Railway Indian Railway
Indian Railway
 
MINI PROJECT ppt.pptx
MINI PROJECT ppt.pptxMINI PROJECT ppt.pptx
MINI PROJECT ppt.pptx
 
Tree climbing robot 2014 edit
Tree climbing robot 2014 edit Tree climbing robot 2014 edit
Tree climbing robot 2014 edit
 
Ctara report
Ctara reportCtara report
Ctara report
 
Electromagnetic brake solenoid coil 2014
Electromagnetic brake  solenoid coil 2014Electromagnetic brake  solenoid coil 2014
Electromagnetic brake solenoid coil 2014
 
Power Supply Unit
Power Supply UnitPower Supply Unit
Power Supply Unit
 
Transient Analysis of 12V DC Power Supply_F.pdf
Transient Analysis of 12V DC Power Supply_F.pdfTransient Analysis of 12V DC Power Supply_F.pdf
Transient Analysis of 12V DC Power Supply_F.pdf
 
major project ppt 27-4-16
major project ppt 27-4-16major project ppt 27-4-16
major project ppt 27-4-16
 
Physics project chirag
Physics project chiragPhysics project chirag
Physics project chirag
 
Pmdc motors
Pmdc motorsPmdc motors
Pmdc motors
 
Dual axis tracking systems
Dual axis tracking systemsDual axis tracking systems
Dual axis tracking systems
 
Design Project 3.pp (1)
Design Project 3.pp (1)Design Project 3.pp (1)
Design Project 3.pp (1)
 
voltage doubler using 555 timer ic
voltage doubler using 555 timer ic voltage doubler using 555 timer ic
voltage doubler using 555 timer ic
 
Rittick Maity BTech project
Rittick Maity BTech projectRittick Maity BTech project
Rittick Maity BTech project
 
Research Inventy : International Journal of Engineering and Science
Research Inventy : International Journal of Engineering and ScienceResearch Inventy : International Journal of Engineering and Science
Research Inventy : International Journal of Engineering and Science
 
Spark generation in Electrochemical discharge machining(ECDM) of non-conducti...
Spark generation in Electrochemical discharge machining(ECDM) of non-conducti...Spark generation in Electrochemical discharge machining(ECDM) of non-conducti...
Spark generation in Electrochemical discharge machining(ECDM) of non-conducti...
 

Recently uploaded

ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
AhmedHussein950959
 
addressing modes in computer architecture
addressing modes  in computer architectureaddressing modes  in computer architecture
addressing modes in computer architecture
ShahidSultan24
 
Vaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdfVaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdf
Kamal Acharya
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
Amil Baba Dawood bangali
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
TeeVichai
 
LIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.pptLIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.ppt
ssuser9bd3ba
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
Pratik Pawar
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
VENKATESHvenky89705
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Dr.Costas Sachpazis
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
Pipe Restoration Solutions
 
Courier management system project report.pdf
Courier management system project report.pdfCourier management system project report.pdf
Courier management system project report.pdf
Kamal Acharya
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
Massimo Talia
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
gerogepatton
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
Kamal Acharya
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
AJAYKUMARPUND1
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
ViniHema
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
seandesed
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 

Recently uploaded (20)

ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
 
addressing modes in computer architecture
addressing modes  in computer architectureaddressing modes  in computer architecture
addressing modes in computer architecture
 
Vaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdfVaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdf
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
 
LIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.pptLIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.ppt
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
 
Courier management system project report.pdf
Courier management system project report.pdfCourier management system project report.pdf
Courier management system project report.pdf
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 

Crane

  • 1. PROJECT #6: ELECTROMAGNETIC CRANE Teacher’s Notes The Project Time Frame: 2-3 weeks Materials: • Bolt (1”-2” Long) • 22-24 Gauge Magnet wire (regular solid core copper wire will work) Available at Electrosonic, see suppliers $10 for approx. 200’ • 20+ paperclips • 2 bowls • 4.5V – 6V battery • Construction materials for the physical crane set-up Description: This is a difficult project. This project would be appropriate at the grade 11 or 12 level. The students are required to interface a stepping motor, a DC motor (using an H-Bridge), an LED and an electromagnet. has an excellent picture on how to set-up the H-bridge motor. The goal is to move paperclips from one bowl to another bowl through a 90° rotation. The crane starts with the magnet up& above the first bowl. When the program starts: • LED at the top of the crane starts to flash (crane is moving, Watch out!) • The crane drops the magnet into the bowl. • The magnet turns on & collects the paperclips. • The crane lifts the magnet and paperclips. • The crane moves through the 90° rotation. • The crane lowers the magnet and clips into the second bowl • The magnet shuts off, releasing the paperclips • The crane lifts the magnet back up • The crane rotates back to the first bowl • The LED turns off when the crane stops moving. Warning!!! This should not be the first interfacing activity. This project is too difficult to try without attempting some of the previous activities.
  • 2. Suggested Usage of Pins The following is a suggesting representation of which pins to use for each control. Lights Output / Pin # Decimal Value Electromagnet D0 / Pin 2 1 Flashing Light D1 / Pin 3 2 DC – Motor Control 1 D2 / Pin 4 4 DC – Motor Control 2 D3 / Pin 5 8 Stepper Motor Control 1 D4 / Pin 6 16 Stepper Motor Control 2 D5 / Pin 7 32 Stepper Motor Control 3 D6 / Pin 8 64 Stepper Motor Control 4 D7 / Pin 9 128 H-Bridge (Bi-directional DC motor control) • To turn the DC motor in one direction, set D2 high & D3 low. • To turn the DC motor in the opposite direction, set D2 low & D3 high. • To stop the motor, set both D2 & D3 low. • DO NOT set both D2 & D3 high! Stepper control • Stepper motors work by sending a repeating pattern of bits to the different coils. • Taping a popsicle stick to the end of the stepper motor and using a protractor is a good way to measure the angle per step. For our example, the stepper motor is controlled by D4-D7. The following block of code will make the stepper motor turn. for steps : 1..100 % send the pattern 100 times for i : 0..3 parallelput(16*(2**i)) % set the correct pin high delay(100) % delay 1 tenth of a second end for end for Creating an Electromagnet Things to remember about electromagnets: • The more coils you make, the stronger the magnet. • Magnet wire works better, because it is thinner and more coils you can get. • A soft iron core will make the magnet work better (a bolt). Attach wire ends to your interface Wrap magnet wire around the soft iron core (bolt) +‘ve-‘ve North South
  • 3. Electromagnetic Crane – Wiring Diagram Use an external battery (4.5V – 6V) GND +5V 7424 To Parallel Port Output D7-D0 Parallel Port Ground (18-25) See next page for stepper motor control. 220Ω PN2222A 1k Ω PN2222A 2N2907 2N2907 H-Bridge Bi-Directional DC motor control Flashing LED PN2222A Electromagnet 1k Ω
  • 4. Electromagnetic Crane – Stepper Motor Wiring Diagram Ground (18-25) D3 D2 D1 D0 1k Ω 1k Ω Coil 4 WhiteCoil 3 Blue Coil 2 Red Coil 1 Orange +5 V ground +5 V ground +5V For Motor MTIP31TIP31TIP31TIP31 74LS245
  • 6. Electromagnetic Crane - Checklist Have I … CRANE used / made a eye-pleasing model; verified the flashing LED works; verified the magnet turns on an off; verified that my final program correctly controls the crane; FINAL PROGRAM commented all blocks of code; used clear variable & constant names; designed a graphical interface representing the game board; covered the required functions of the game board; DOCUMENTATION created a title page; printed out the code for my final program; written a report, including: o the process, o clear explanation; drawn a diagram of the crane (and any initial sketches); drawn a schematic of the crane; checked all papers for spelling & grammar mistakes; had at least two person proof-read my report; compiled all the paper submissions in a duo-tang?
  • 7. Electromagnetic Crane – Marking Scheme Name: Category Component Mark Knowledge Program Functionality /15 (30%) Wiring & Interface Functionality /15 Application Wiring Neatness /15 (30%) Program Appearance /15 Problem S. Crane – Materials & Construction /5 (15%) Creativity & Innovation /10 Communication Crane Diagram /5 (25%) Project Write-up /10 Internal Documentation /5 Wiring Diagram /5 Total %