Case 12: The Forklift
Contents
14. Case 12: The Forklift#
14.1. Purpose#
To make a forklift.
14.2. Link#
14.3. Materials Required#
Video link: https://youtu.be/PIhMVJYBMhM
14.4. Bricks build-up#
14.5. Hardware Connection#
Connect two motors to M1 and M2, the servo to S0 ports on Wukong breakout board.
14.6. Software Platform#
14.7. Coding#
Add extensions#
Click “Advanced” in the MakeCode to see more choices.
Search with Wukong in the dialogue box to download it.
Search with https://github.com/elecfreaks/pxt-sonarbit in the dialogue box to add the sonar:bit extension.
Program#
For Joystick:bit:
Link:https://makecode.microbit.org/_f5DVqMKrtgYA For the forklift:
Result#
Use the handle to control the forklift, the up and down, left and right directions of the handle rocker are to control the forward and backward, the left and right movement of the forklift, D button to control the raisin of the forklift, C button to control the lowering of it.