modelBoard

Base SBHS board

Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).

Parameters

TypeNameDefaultDescription
Integer'0'48
Integer'.'46
Integer' '32

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.IntegerInputfanConnector of fan PWM input signal (Integer 0..255)
Modelica.Blocks.Interfaces.IntegerInputheatConnector of fan PWM input signal (Integer 0..255)
Modelica.Blocks.Interfaces.RealOutputdegCConnector of temperature sensor output in degC

Components

TypeNameDefaultDescription
Functions.SerialPort.InitserialFunctions.SerialPort.Init(SerialBaudRate.B38400)
Functions.SerialPort.MapStandardIOioFunctions.SerialPort.MapStandardIO(serial, stdin = false, stdout = true)
HD44780.InitlcdHD44780.Init(AVR.Types.Port.C, "TEMP TIME FAN0123456789ABCDEF")
Integeri10integer(mod(degC/10, 10))
Integeri1integer(mod(degC, 10))
Integerd1integer(mod(degC*10, 10))
Integert1000integer(mod(time/1000, 10))
Integert100integer(mod(time/100, 10))
Integert10integer(mod(time/10, 10))
Integert1integer(mod(time, 10))
Integertd1integer(mod(time*10, 10))
Integerf100integer(mod(fan/100, 10))
Integerf10integer(mod(fan/10, 10))
Integerf1integer(mod(fan, 10))
ReallastRefreshTemp
ReallastRefresh
Modelica_DeviceDrivers.EmbeddedTargets.AVR.Blocks.Microcontrollermcu
Modelica_DeviceDrivers.EmbeddedTargets.AVR.Blocks.SynchronizeRealtimesynchronizeRealtime1
Modelica_DeviceDrivers.EmbeddedTargets.AVR.Blocks.ADCadc
Modelica_DeviceDrivers.EmbeddedTargets.AVR.Blocks.PWMpwm
Modelica.Blocks.Math.Gaingain1ADC raw*0.1163 on the SBHS factory firmware; AD590 with custom resistances, etc