Skip to main content

Drawbridge/Ramp

A mechanism that can be used in a bigger scale as a drawbridge or in a smaller scale as a ramp.

info

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

Architecture photo

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: Connections

This is a picture that shows the breadbord from behind: Above

This is from above: Behind

Schematics

kicad_schematic

Bill of Materials

DeviceUsagePrice
Rapspberry Pi Pico WThe microcontroller35 RON
LCD DisplayLCD Display30 RON
Stepper MotorThe motor48,99 RON

Software

LibraryDescriptionUsage
embassy-timeTime management libraryUsed for time-based operations such as delays
embassy-rpPeripheral access libraryUsed for initializing and interacting with peripherals
pwmPulse-width modulationUsed for controlling the buzzer's sound
embassy-executorAsynchronous executor for Rust embedded systemsUsed for task scheduling and asynchronous programming
  1. Automation of Drawbridge Model Using Raspberry Pi
  2. How to use a stepper motor ...