Giter Club home page Giter Club logo

mmcza / position-control-of-a-vehicle-on-a-ramp-using-stm32 Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 5.68 MB

Position control of a vehicle on a ramp using a Nucleo board with STM32F746-ZG, It was a project during 5th semester for course Microprocessor Systems (Systemy Mikroprocesorowe).

C 96.20% Assembly 0.40% Makefile 3.39% MATLAB 0.01%
c university-project nucleo-board stm32 stm32f746 control control-systems matlab servo servo-control

position-control-of-a-vehicle-on-a-ramp-using-stm32's Introduction

Position control of a vehicle on rotating ramp using STM32

Goal of the project was to make an object (in this case a small LEGO car) stop at given place on the ramp. The difficulty comes from the fact that it's a non-linear system.

NUCLEO-F746ZG board was connected with an ultrasonic distance sensor HC-SR04 and servo TowerPro MG-995 - standard. Additional power supply was needed because the servo needed more power than the board could deliver. Also there was a 7-segment display to make it easier for user to read current position of the object.

Data from the microcontroller was sent to PC using USART and user could set the distance (using for example terminal) for the vehicle to stop at or use Matlab script to plot position during last 20 seconds.

PID controller was implemented in the STM32 to make everything possible. Parameters were calculated by using autotune option in Simulink after modeling the object (model was created using the step response for the object).

position-control-of-a-vehicle-on-a-ramp-using-stm32's People

Contributors

dariak153 avatar mmcza avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.