|
all |
In diesem Bereich werden alle Informationen für eine Softwareentwicklung für den T-Balancer bereitgestellt:
Hier finden Entwickler eine Dokumentation der Programmierschnittstellen vor. Diese sind offengelegt, um auch anderen Anwendungen den Zugriff auf die T-Balancer-Steuerung zu erlauben sowie Software für andere Plattformen, wie Linux zu erlauben.
Mit den angeführten Daten kann jeder interessierte
Entwickler sein eigenes Konfigurationsprogramm
schreiben. Dazu ist nur etwas Erfahrung bei der
Programmierung der Schnittstelle nötig (mitgelieferte
Treiber). Da der Datenaustausch bisher über eine
virtuelle serielle Schnittstelle erfolgt, ist der
Programmieraufwand gering. Erfolgreiche Entwicklungen werden an dieser veröffentlicht.
>> Was bedeuten die Alarmcodes?
0: OK - Short
flash. Sytem works without failures
>> Treiber für Linux Der T-Balancer hat einen USB-Chip von FTDI. FTDI bietet sowohl für Windows als auch für Linux Treiber an.
FTDI supports 2
kinds of drivers for Linux:
>> Programmierbeispiel in C++ für Linux
This page
contains examples of communicating with FTDI devices through
the D2XX drivers and FTD2XX.DLL using C++ Builder:
>> Linux-Entwicklungsforum http://sourceforge.net/forum/forum.php?thread_id=1271826&forum_id=462785
|
||||||||||||||
|
>> How can I interprete the values from the T-Balancer? - FanMaxSpeed: add the low- and high byte to a 16bit value (256*HB+LB), multiply it with 10.5 to receive the value for turns per minute. - Fan RPM and Volt are only interpolated values. RPM is linear interpolated from maximum, and voltage is quadratic interpolated (results from root mean square from ideal rectangular signals) - The flowmeters are a little more complicated. You receive a simple impulse count value. But this value is dependent from the measuring windows (1 to 4 seconds) – 235 TWI_SHWerte[10]. The 232 and 233 then means the measured pulses per second, 2 seconds, 3 seconds or 4 seconds. Divided through the window width you get the pulses per second, multiplied to 60 seconds you get the pulses per minute. To get the liter per minute or hour you have to respect the adjusted flowmeter dependent pulses/liter value. Our standard flowmeter have 509pulses/liter. This value can be found in the TBAN database on the table “Einstellungen” with the keys “Durchfluss1” and “Durchfluss2”. -Getting the pulses is similar to pumps and fans, but not exactly. It is only usable without damaging something, if the impulse function works with an open drain circuit. Standard fans uses the 12V for reference, the flowmeters are not powered their self and receive only 5V from the sensor hub. The signal input on the sensor hub is only build for 5V input. You only have to connect ground and pulse with a pushbutton to get an impulse.
|