omg can you please show me the program you used to do this. i keep getting frustrated on how to do this. the only difference is mine has a claw that only picks up the can when it hits the touch sensor. help with that as well would be much appreciated
3. Click the Move block with the two gears and drag it to the Start area of the program window. Click again to place the Move block. This action should select the Move icon and place it at the beginning of your program.
4. In your program you need to change the property of the Move block. To do this, click the Move block to select it. At the bottom of the program window observe the Configuration Panel associated with the Move block. Observe Move Properties such as “Duration”:
5. Change the Duration: property from, “Rotations” to “Unlimited,”
6. Next, click on the Hour Glass icon and move your mouse to the right and click the Light icon and drag it to the second position in your program. Click the Light block to place it to the right of the Move block.
7. On the Mindstorm NXT window click on the Light Sensor and note the properties on the Configuration Panel at the bottom of the window. We want the robot to go forward until the Light Sensor detects a black line and the reflected light value below the Trigger Point.
8. Change the Light: symbol form > (greater-than) to < (less-than). Now the sensor will tell the program to proceed when the senor moves over a black line causing the light value to fall less than the trigger point.
* Note the Steering Property: Makes sure you have selected the third Move block in your program. With your mouse, drag the Steering slider to the left or right. This should cause your robot to back up and turn at the same time.
omg can you please show me the program you used to do this. i keep getting frustrated on how to do this. the only difference is mine has a claw that only picks up the can when it hits the touch sensor. help with that as well would be much appreciated
Headloose777 2 weeks ago in playlist Uploaded videos
@Headloose777
Program Description: Simple program is intended to go forward until the light sensor is activated then stop and back up while turning.
1. Click on the LEGO Mindstorm icon tab to create new program.
2. In the block below “Start New Program” type your initials _ (underscore) then light; [example]: ja_light. Then click “Go >>”.
DrZeus420 6 days ago
3. Click the Move block with the two gears and drag it to the Start area of the program window. Click again to place the Move block. This action should select the Move icon and place it at the beginning of your program.
4. In your program you need to change the property of the Move block. To do this, click the Move block to select it. At the bottom of the program window observe the Configuration Panel associated with the Move block. Observe Move Properties such as “Duration”:
DrZeus420 6 days ago
5. Change the Duration: property from, “Rotations” to “Unlimited,”
6. Next, click on the Hour Glass icon and move your mouse to the right and click the Light icon and drag it to the second position in your program. Click the Light block to place it to the right of the Move block.
DrZeus420 6 days ago
7. On the Mindstorm NXT window click on the Light Sensor and note the properties on the Configuration Panel at the bottom of the window. We want the robot to go forward until the Light Sensor detects a black line and the reflected light value below the Trigger Point.
8. Change the Light: symbol form > (greater-than) to < (less-than). Now the sensor will tell the program to proceed when the senor moves over a black line causing the light value to fall less than the trigger point.
DrZeus420 6 days ago
9. Add a second Move block after the Wait block, and change the Direction: Property to STOP
10. Add a third Move block to back up the robot away from the black line
11. Set the Duration: for 1 Rotations and
12. Set the Direction to down (reverse) and turn to either the right or left
13. Set the Next Action property to Brake
DrZeus420 6 days ago
Your NXT Program should now does the Following
• Move forward until it reaches a black line
• Stop, and
• Back up for one wheel rotations, and
• Break to a stop
* Note the Steering Property: Makes sure you have selected the third Move block in your program. With your mouse, drag the Steering slider to the left or right. This should cause your robot to back up and turn at the same time.
DrZeus420 6 days ago