HANcoder/Training Material/AutomaticLightControlSystem

From OpenMBD
Jump to: navigation, search

LED Control System

Goal of the tutorial

The goal of this tutorial is to get used to the software tools that are being used to program a microcontroller that works in a model based development environment. Besides experiencing the merits of MATLAB Simulink®, HANcoder and HANtune, you will learn the meaning of analog voltages with regards to sensors. You will also learn about the use of PWM to regulate the intensity of an LED.

After this tutorial you should be able to:

  • Read in analog inputs
  • Send out PWM signals
  • Visualize signals and parameters within HANtune
  • Make a basic control system

Contents