This is the base class for all bricklets. The add_*_bricklet methods of TinkerForge::Client will return an instance of a corresponding TinkerForge::Bricklet::* class.
This class implemets the routines for an ambient light bricklet.
Returns the illuminance of the ambient light sensor. The value has a range vom 0 to 900Lux.
This class implemets the routines for an infrared distance bricklet.
Returns the distance measured by the sensor. The range of the value depends on the connected IR sensor. Possible ranges are 40 - 300mm, 100 - 800mm and 200 - 1500mm.
This class implemets the routines for a humidity bricklet.
Returns the humidity of the sensors. The value has a range of 0 to 100%RH (relative humidity).
This class implemets the routines for a rotary poti bricklet.
Returns the position of the rotary potentiometer. The value is in degree and between -150Â° (most left postition) and 150Â° (most right position).
This class implemets the routines for a temperature bricklet.
Returns the temperature of the sensor. The value has a range from -25Â°C to 85Â°C.
This class implemets the routines for an infrared temperature bricklet.
Returns the ambient temperature of the sensor. The value has a range of -40Â° to 125Â°C.
Returns the temperature of the object the sensor is aimed at. The value has a range of -7Â°C to 380Â°C. The temperature of different materials is dependet on their emissivity. The emissivity of the material can be set with the "emissivity" method.
Returns or sets the emmissivity that is used to calculate the surface temperature returned by "object_temperature". The emissivity is usually given as a value between 0.0 and 1.0. A list of emissivities of different materials can be found at http://www.infrared-thermography.com/material.htm.
This class implemets the routines for a voltage bricklet.
Returns the voltage of the sensor. The value is in mV and between 0 and 50_000mV.
Andreas Jobs, <firstname.lastname@example.org>
Copyright (C) 2012 by Andreas Jobs
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10 or, at your option, any later version of Perl 5 you may have available.