Fun Projects for your LEGO® MINDSTORMS® NXT! |
Hammer Car |
|
1-16
Start by building the 3-Motor Chassis. Click the picture for building instructions. |
17
18
19
20
21
22
23
Use one of the longest wires to connect the touch sensor to port 1 on the NXT. |
Hammer
Car Programming The Hammer_Car program will allow you to operate the Hammer Car with the single button remote control. See the instructions below. |
How to Control the Hammer Car The Hammer_Car program uses a simple timing technique in order to tell the difference between the touch sensor being quickly pressed and then released, and the touch sensor being held down. Whenever it sees a quick press and release, the robot will swing the hammer down and then back up. Whenever it sees the button being held down, it will cycle between the following four driving actions:
Before each driving action, a pointing hand graphic will be displayed on the NXT screen to show which way the Hammer Car will go next. With a little practice, you will be able to drive and turn to get where you want, then swing the hammer when you want. |
Challenges
|
|
Copyright
©
2007-2011 by Dave Parker. All rights reserved. |