Code Monkey home page Code Monkey logo

str_practice1_2021-2022's Introduction

STR_Practice1_2021-2022

Project from Real Time Systems subject which It consists of building an electronic system of a wagon connected to a computer from an external server. This system must perform some operations within the specified period of time.

Structure

We have two systems involved in the control of the wagon:

  • Microcontroller (Arduino): This part will be in charge of obtaining information from the sensors and sending to the main controller

  • Main Controller: This part collects the information from the microcontroller and execute the logical operations

Structure of the Folders

  1. Source_Code: It provides the codes for the micro and main controller parts. We have 4 different sections (from A to D), in which each one is in charge of controlling some of the sensors that I'm going to explain further.

  2. Videos: This folder will contain some videos to show the implementation. Also, I have tested the behaviour of both parts when arduino receives messages from the main Controller.

Sensors in the Microcontroller

  1. Velocimeter: The Arduino will compute the speed at a certain period. This value will be send to the main controller. The speed is represented with a Led that has a variable brightness. The led will bright in a range between 40 and 70 km/h.

    image

  2. Light Sensor: The wagon has a sensor to measure the light outside. When the value of the sensor is too low, it means that the wagon reaches a tunnel. So, this value will send to the maincontroller for setting the lights on

    image image

  3. Read the Slope: This sensor is going to detect a change on the slope of the wagon. This info will be received by the maincontroller to know if the wagon needs to brake or accelerate

    image

  4. Activation of Mixer: The brake system must be implemented using a LED that turns on when the brake is activated and turns off otherwise.

    image

  5. Brake and Acceleration System: The acceleration system must be implemented using a LED that turns on when the accelerator is activated and turns off otherwise. The brake system must be implemented using a LED that turns on when the brake is activated and turns off otherwise.

    image image

All tasks should check periodically the information about those sensors and sending to the Maincontroller.

str_practice1_2021-2022's People

Contributors

ferburri 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.