23 - 05 - 2019

AltonaLab Hardware Conception

AltonaLab has a specially developed concept for connecting analogue inputs with sensors and controlling relays from digital outputs.

 

Connecting analogue inputs 0..5V to sensors with output 0..5V:

For analogue inputs operating in range 0..5V, an extension board has been developed to allow easy connection of up to 4 sensors to analog inputs. In this board, the connection of the analog input and the sensor is direct, so there is no need for a mathematical transformation of sensor readings. The board has two power supply connectors, one of them is to power the board, the other is to power the next one board, if it is needed;

 

 

 

Connecting analogue inputs 0..3.3V to sensors with output 0..5V:

For analogue inputs operating in range 0..3.3V, an expansion board has a resistor divider for each analog input. In this case the conversion of the signal is:

Vout = Vin * (R2/(R1+R2)), where R1=1k, R2=2k, so Vout = Vin * 0.666666;

The board has two power supply connectors, one of them is to power the board, the other is to power the next one board, if it is needed;

 

Connecting digital inputs to contact sensors:

The output of some sensors are normal close contact. An example of this kind of sensors is Alarm sensor. The extension board below allows to connect up to 4 contact sensors to digital inputs.

 

 

Connecting fast contact sensor to analog input:

Some contact sensors are very fast, the contact Turns ON for milliseconds. For this case is developed the board below. When the contact closes, the output of the board will become at 5V for period between 2 and 8 seconds. The time duration depends of the potentiometer on the board. This time is enough to capture the high signal from a not too frequent measurement of the analog output of the board.

 

Controlling relays located at a long distance by digital outputs:

Special extension boards are developed for controlling an electrical load located at a long distance. For this purpose, supply the board with a power 12V and connect one or two of the controlling digital outputs. When the controlling digital output becomes to a high level, 12V appears on its corresponding board connector. On these 12V connector, a 12V electrical load can be directly connected or using two long wires we can connect a second relay board, located on a long distance.

The remote relay board has two connectors - one for supplying 12V to Turn ON the relay and one connector to which the normally open contact of the relay is connected.

 

 

Sensors

Sensors

Sound, Voice

Block PlaySound

License: Hobby, Industrial


The block is used to play a sound/melody from a file when an event occurs. Just set some of the parameters File1..File8 with full path to a music file. If the corresponding input of the parameter becomes to a high level, the file will be executed by the computer's sound card.

 

 

 

Supported hardware devices

Supported hardware devices:

Numato GPIO Modules:

8 Channel USB GPIO Module with Analog Inputs

16 Channel USB GPIO Module

32 Channel USB GPIO Module

 

Numato Relay Modules:

2 Channel USB Relay Module

4 Channel USB Relay Module

8 Channel USB Relay Module

16 Channel USB Relay

32 Channel USB Relay

 

Other devices:

FTDI Chips: FT245BL, FT245BM

SNMP Ethernet devices

 

 

All devices with Modbus protocol

Water

Block PulseWaterMeter

License: Industrial

The block is used for monitoring the mechanical water meter, on which is mounted a sensor. The sensor generates a digital pulse when some amount of water passing through the water meter. The block gives an information about the amount of water passed in liters and cubic meters, and calculates the current water speed. Current readings can be saved in a text file, and when AltonaLab restarts, this information will be not lost.

Block's parameters:

  • PulseWeightLiters - the weight of the pulse at the block's input Pulse in liters;
  • FilterTime - Sometimes pulses at the Pulse input of the block may be rare, this does not mean that there is no water leak at the water meter. Therefore, when passing each impulse, the outputs of the block that give us the speed of water will fall to zero by law on a low-frequence filter with a time delay T. The bigger the time constant T, the slower the deceleration of the speed at the block's outputs;
  • FullFileName - a file path and name where the accumulated liters of the block will be saved. When the diagram is restarted, the accumulated liters will be not lost. For example: c:\AltonaLab\Water.txt
  • WriteToFile - whether the accumulated liters are saved in a file FullFileName;

Block's inputs:

  • Pulse - an input which reads the pulses from a water meter pulse sensor;
  • InAccumulatedLiters and SetAccumulatedLiters - the two inputs are used to set the current value of the accumulated liters. Accumulated cubic meters are automatically calculated
  • InAccumulatedCubMeters and SetAccumulatedCubMeters - the two inputs are used to set the current value of the accumulated cubic meters water. Accumulated liters meters are automatically calculated;

Block's outputs:

  • OnReady - becomes to a high value when a new pulse is received and the block's outputs are updated;
  • AccumulatedLiters - the total amount of the accumulated liters;
  • SpeedLitersPerSec - the current speed of a water in liters per second;
  • AccumulatedCubMeters - the total amount of the accumulated cubic meters;
  • SpeedCubMetersPerHour - the current speed of a water in cubic meters per hour;

 

 

 

Subcategories