bump switch 1.3 part 1WHAT HAPPENS & REAL LIFE APPLICATION:
The right motors starts off. The bump switch is then waiting to be bumped.Once bumped it starts both right and left motors at half speed. Once it's bumped again it reverses the direction of the left motor for 3 seconds, and after the 3 seconds it reverses the direction of the right motor for the seconds. After the 3 seconds it then turns off both motors. This could be used as a setting for a kitchen mixer as a setting. So that when a button is pressed it spins it both directions after 3 second intervals. |
sonar 1.3 part 5WHAT HAPPENS & REAL LIFE APPLICATION:
It starts with both motors off and keeps them off until an object is less than 20cm away. Once it's less than 20cm it starts both motors at half speed. Once an object is less than 25cm away both motors stop. After they both stop a green LED turns on for 6.25 seconds and then turns off. This could be used for alarm systems if modifed a bit. If something were to approach a car it could flash lights or set off an alarm, if it didn't back up within a certain amount of time. |