modelBlinkSpringMass
Blink example driven by position sensor of continuous-time spring-mass system
Extends from Modelica.Icons.Example.
Information
BlinkSpringMass
BlinkSpringMass is a variant of the Blink example in which the toggling signal is generated by monitoring the position of the mass in a continuous-time spring-mass system.
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica_DeviceDrivers.EmbeddedTargets.STM32F4.Blocks.Microcontroller | mcu | ||
| Blocks.Led | led | ||
| Blocks.SynchronizeRealtime | synchronizeRealtime | ||
| Modelica.Mechanics.Translational.Components.Fixed | fixed | ||
| Modelica.Mechanics.Translational.Sensors.PositionSensor | positionSensor | ||
| Modelica.Mechanics.Translational.Components.Spring | spring | ||
| Modelica.Mechanics.Translational.Components.Mass | mass | ||
| Modelica.Blocks.Logical.GreaterThreshold | greaterThreshold |