NXT Pitching Machine and Batter.pdf
-
Upload
james-sebastian -
Category
Documents
-
view
245 -
download
7
Transcript of NXT Pitching Machine and Batter.pdf
8/5/2015 NXT Pitching Machine and Batter
http://www.nxtprograms.com/pitcher_and_batter/steps.html 1/24
Fun Projects for your LEGO® MINDSTORMS® NXT!
Home Projects Help Contacts
Pitching Machine and Batter Building:
Program:
Building Instructions
17Start by building the Baseball Batter. Click the picture for building instructions.
8/5/2015 NXT Pitching Machine and Batter
http://www.nxtprograms.com/pitcher_and_batter/steps.html 2/24
8
9
8/5/2015 NXT Pitching Machine and Batter
http://www.nxtprograms.com/pitcher_and_batter/steps.html 3/24
8/5/2015 NXT Pitching Machine and Batter
http://www.nxtprograms.com/pitcher_and_batter/steps.html 4/24
10
8/5/2015 NXT Pitching Machine and Batter
http://www.nxtprograms.com/pitcher_and_batter/steps.html 5/24
11
8/5/2015 NXT Pitching Machine and Batter
http://www.nxtprograms.com/pitcher_and_batter/steps.html 6/24
8/5/2015 NXT Pitching Machine and Batter
http://www.nxtprograms.com/pitcher_and_batter/steps.html 7/24
8/5/2015 NXT Pitching Machine and Batter
http://www.nxtprograms.com/pitcher_and_batter/steps.html 8/24
12
8/5/2015 NXT Pitching Machine and Batter
http://www.nxtprograms.com/pitcher_and_batter/steps.html 9/24
8/5/2015 NXT Pitching Machine and Batter
http://www.nxtprograms.com/pitcher_and_batter/steps.html 10/24
13
8/5/2015 NXT Pitching Machine and Batter
http://www.nxtprograms.com/pitcher_and_batter/steps.html 11/24
14
8/5/2015 NXT Pitching Machine and Batter
http://www.nxtprograms.com/pitcher_and_batter/steps.html 12/24
8/5/2015 NXT Pitching Machine and Batter
http://www.nxtprograms.com/pitcher_and_batter/steps.html 13/24
8/5/2015 NXT Pitching Machine and Batter
http://www.nxtprograms.com/pitcher_and_batter/steps.html 14/24
15
8/5/2015 NXT Pitching Machine and Batter
http://www.nxtprograms.com/pitcher_and_batter/steps.html 15/24
8/5/2015 NXT Pitching Machine and Batter
http://www.nxtprograms.com/pitcher_and_batter/steps.html 16/24
16
8/5/2015 NXT Pitching Machine and Batter
http://www.nxtprograms.com/pitcher_and_batter/steps.html 17/24
8/5/2015 NXT Pitching Machine and Batter
http://www.nxtprograms.com/pitcher_and_batter/steps.html 18/24
8/5/2015 NXT Pitching Machine and Batter
http://www.nxtprograms.com/pitcher_and_batter/steps.html 19/24
8/5/2015 NXT Pitching Machine and Batter
http://www.nxtprograms.com/pitcher_and_batter/steps.html 20/24
17
8/5/2015 NXT Pitching Machine and Batter
http://www.nxtprograms.com/pitcher_and_batter/steps.html 21/24
18
8/5/2015 NXT Pitching Machine and Batter
http://www.nxtprograms.com/pitcher_and_batter/steps.html 22/24
8/5/2015 NXT Pitching Machine and Batter
http://www.nxtprograms.com/pitcher_and_batter/steps.html 23/24
19Use the two longest wires to connect the two motors to ports B and C on the NXT as shown below (do notcross the wires).
Pitching Machine and Batter ProgrammingUse the program Pitch_and_Bat for your Pitching Machine and Batter. This program is just like theBaseball_Bat program for the Baseball Batter project with one Move block added to spin the wheels of thepitching machine.
How to Use the Pitching Machine and Batter
1. Arrange the pitching machine and batter on the floor as shown in the last picture above. The ballsshould be aimed at the ultrasonic sensor.
2. Run the Pitch_and_Bat program.
3. Place one of the plastic balls that come with the NXT set on the back end of the ramp. The ramp isslightly downhill towards the wheels, so the ball should roll slowly towards the spinning wheels andthen get launched through them towards the batter. When the batter's ultrasonic sensor sees the ballat the programmed distance (14 inches), it will swing to hit the ball.
4. If you have problems with the ball running into the long wires, you can put a piece of paper over themas shown below.
8/5/2015 NXT Pitching Machine and Batter
http://www.nxtprograms.com/pitcher_and_batter/steps.html 24/24
ChallengesExperiment with different distances and angles for the pitching machine to see how it affects the hit. Unfortunately you are limited by the length of the wires, but see how you can make the best of it. For a building challenge, try separating the NXT brick from the batter and placing it somewhere inbetween the pitching machine and the batter to make better use of the available wire lengths.
Even with the pitching machine and batter in the same place, not all balls will be hit in the samedirection. For example, sometimes the hit will come back and hit the pitching machine, butsometimes it will go to one side and make it past. In fact, sometimes the results are not even closeto being the same. If the motors and the program are doing exactly the same thing every time,what do think causes different balls to be hit differently? Well, if you like reading complicatedarticles with lots of big words, try reading about Chaos Theory. If you think baseball looks randomwhen people play it, just think, even robots can't play it consistently!
Get nxtprograms.com on CD!Click here for info
Home Projects Help Contacts
Copyright © 20072011 by Dave Parker. All rights reserved. All project designs, images, and programs are protected by copyright. Please see the usage policy.