Case 18: The Aerial Ladder Truck
Purpose
To make an aerial ladder truck.
Link:
micro:bit Wonder Building Kit Joystick bit
Materials Required
Video link: https://youtu.be/hWmRBTFC3cs
Bricks build-up
Hardware Connection
Connect two motors to M1 and M2, the servo to S0 ports on Wukong breakout board.
Software Platform
Coding
Add extensions
Click "Advanced" in the MakeCode to see more choices.
Search with Wukong in the dialogue box to download it.
Search with joystickbit in the dialogue box to download it.
Program
For Joystick:bit:
Link:https://makecode.microbit.org/_f5DVqMKrtgYA For the aerial ladder truck:
Link:https://makecode.microbit.org/_2vYd4UPpWf24
Result
Use the handle to control the ladder truck, the up and down, left and right directions of the rocker are to control the forward and backward, the left and right movement of the ladder truck, the C and D buttons are to control the lift of the ladder truck.