Drawbridge/Ramp
A mechanism that can be used in a bigger scale as a drawbridge or in a smaller scale as a ramp.
Author: Ciuraru Costin Cristian
GitHub Project Link: https://github.com/UPB-FILS-MA/project-ciurarucostin
:::
Description
Using a motor, we will have multiple presets that will make the bridge/ramp rise to a specific angle, depending on the button pressed. The lcd screen will show what preset will be used, for example 1 for a 30 degrees rise, 2 for a 60 degrees rise and so on.
Motivation
I chose this project for seeing a lack of this type of mechanism in my country, drawbridges could be used in the future as we have a lot of rivers in our country. The project could also be used as a ramp for people in wheelchairs to be able to enter buildings without hadicapped acces, for cars to be able to get over obstacles, and the posibilites are limitless.
Being able to use my passion for electronics to help people and make life easier in general is amazing. This is a great oportunity to deepen my knowledge of embedded systems and multiple mechanical and electrical parts, which are crucial in my studies and future career in technolo
Architecture
The Raspberry Pi Pico serves as the central control unit, directing and managing all other components utilized within the project.
The LCD serves as an interface for showcasing preset used to raise the ramp, it is connected to the Pico through I2C
The stepper-motor is connected to an improvised ramp that will be raised in function of the button pressed.
Log
Week 6 - 12 May
Week 7 - 19 May
Changeed from using a stepper motor to a servo-motor. | Servo Motor | The servo motor | 14 RON |
Week 20 - 26 May
Hardware
In my project, the Raspberry Pi Pico microcontroller serves as the central processing unit, mandated for the task. Its low power consumption ensures efficiency throughout. The LCD Screen will show what preset will be used, in function of the button pressed, the stepper motor will rise the ramp to a specified angle.
This is a picture that shows the connections of the rasberry pi pico to the components:
This is a picture that shows the breadbord from behind:
This is from above:
Schematics
Bill of Materials
Device | Usage | Price |
---|---|---|
Rapspberry Pi Pico W | The microcontroller | 35 RON |
LCD Display | LCD Display | 30 RON |
Stepper Motor | The motor | 48,99 RON |
Software
Library | Description | Usage |
---|---|---|
embassy-time | Time management library | Used for time-based operations such as delays |
embassy-rp | Peripheral access library | Used for initializing and interacting with peripherals |
pwm | Pulse-width modulation | Used for controlling the buzzer's sound |
embassy-executor | Asynchronous executor for Rust embedded systems | Used for task scheduling and asynchronous programming |