Procedure
Activity Part I
- Build the support system and track
- Add the motor and gearbox to the track and then wire the motor
- Write a program that will shuttle the motor back and forth 1.5 seconds each way 20 times
Activity Part II
- Place a mini switch on both ends of the support system and track. Wire the switches to I1 and I2.
- Write a program that will shuttle the motor back and forth five times based on feedback from when the switches are pressed.
Activity Part III
- Remove the mini switches. Add the smaller building blocks to the ends of the gearbox and motor. Use the larger building blocks to create extensions from the track on each end. Add covered lamps to the extensions using smaller building blocks on one side of the track. Using the same attachment method, place a phototransistor across from one lamp and a photocell across from the other.
- Write a program that will shuttle the motor back and forth five times using the phototransistor and photocell for feedback.