Tower Crane
Directly from a construction site, miniaturized into a Rust motorized project.
Author: TEODORESCU Ana Maria
GitHub Project Link: https://github.com/UPB-FILS-MA/project-AnutaTeo
Description
The project represents a tower crane designed and build using metal parts. In order to achieve its full functionality, the crane is motorized by 3 motors to perform different movements. It has a 360 degrees rotational motion where the arm and the tower meet. This motion is powered by a small Micro Motor with reducer 1:298 that has around 25 rpm. A small rpm rate is necessary to ensure stability. The crane also has a trolley that moves back and forth along the jib. This motion is also powered by a small Micro Motor with reducer 1:298 to make sure that we can move the load without affecting the stability of the crane. The next movement is the hook extension that runs up and down to reach the required height for lifting objects. This motion is powered by a Micro Motor with reducer 1:200 that has around 100rpm.
Especially for the trolley movement, 2 photoelectric sensors are placed at both ends of the jib, in order to detect the presence of the oncoming trolley and redirecting it back. This ensures a continuously motion, without the risks of falling over the edge or getting stuck at the end.
There is also a buzzer that emits sounds whenever the crane is moving. All of these functionalities are ensured by the use of the Raspberry Pi Pico microcontroller and controlled by buttons.
Motivation
I chose this project because since I was little I was very passionate by the construction field. The question "How do they manage to build those skyscrapers?" was always in my mind when I saw on TV those impressive tall buildings around the world or even residential blocks in my city. Now, having the opportunity to create this project, I can dive deep into the mystery of tower cranes, how do they work and how can they be stable when lifting heavy objects in the air. Using Pico microcontroller, motors, sensors, drivers, pulley wheels and also the software knowledge I learned programming in Rust during this course, I can achieve building and designing this miniature tower crane.
Architecture
The main components are:
Tower Crane: The structure is build using metal parts, bolts and nuts used in the construction of different toys.
Raspberry Pi Pico W: The microcontroller is the most important part that controls the motors, the sensors and the buzzer.
Micro Motors with reducer: Powers the movements of rotation, trolley and hook - connected to the Pico with motor drivers
Photoelectric sensors: Detects the oncoming trolley
Passive Buzzer: Emits a sound when the crane is moving
Buttons: The user can control the direction of the motor (up, down, static).
Power supply for all of the components
The sensors sends data to the Pico, which controls the motors through the motor drivers. The Pico connects to the buzzer when the motors are working. There are also 6 buttons connected to the Pico for giving the movement commands.
Log
Week 6 - 12 May
In this week I build the skeleton of the tower crane with all the srews and bolts and I bought the final components, as I found out that it required some new parts.
Week 13 - 19 May
In this week I made the kicad schematic and I connected all the hardware components on the breadboard and on the crane. I continued working on the mechanical part of the project, focusing on the movements (rotational, hook and trolley). I placed the sensors on the ends of the jib, the motors and the rotational mechanism with the plastic gears, also the string for the hook.
Week 20 - 26 May
In this week I started working at the software part and finished it. I attached the tower crane to a metal platform, also the breadboard and the motor drivers to achieve a more organized final look.
Hardware
Raspberry Pi Pico W: main processing unit
Micro Motor GA12-N20 with reducer 1:200 with 10 mm Long Shaft: for the hook 2 Micro Motors JA12-N20 with reducer 1:298: for the trolley and rotation
2 L9110S Motor Drivers: connects the motors with the Pico
2 Miniature U-Shape Photoelectric Sensor: detects the trolley
Passive Buzzer 3.3V or 3V: emits a sound
Battery Holder 3 x R6 for power supply
Plastic gears (different diameters) for rotational movement
The final look of the Tower Crane, presented at the PM Fair:
Schematics
Bill of Materials
Device | Usage | Price |
---|---|---|
Raspberry Pi Pico W | The microcontroller | 35 RON |
GA12-N20 | Micro Motor | 26 RON |
2x JA12-N20 | Micro Motor | 90 RON |
Dual Motor Driver L9110s | 2x Motor driver | 8 RON |
2x U Shape Photoelectric Sensor | Sensors | 14 RON |
Passive Buzzer | Passive Buzzer | 2 RON |
10x Pulley Wheel | Pulley Wheel | 10 RON |
Plastic Gear small | Plastic Gear | 2 RON |
Plastic Gear big | Plastic Gear | 3 RON |
6x Buttons | Button | 3 RON |
Battery Holder 3xR6 | Battery Holder | 4 RON |
Male to male jumper wires | Wires | 7 RON |
Software
Library | Description | Usage |
---|---|---|
pwm | Pulse-width modulation | Used for controlling the buzzer |
embedded-hal | Hardware abstraction library | Include support for GPIO, SPI, I2C, and more |