Jump to content

Component: LTSR Current Transducer (Electrical)

From Flowcode Help
Revision as of 20:47, 16 November 2021 by Wiki bot (talk | contribs) (Created page with "{| style="width:50%" |- | width="20%" style="color:gray;" | Author | medelec35 |- | width="20%" style="color:gray;" | Version | 1.0 |- | width="20%" style="color:gray;...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Author medelec35
Version 1.0
Category Electrical


LTSR Current Transducer component

LTSR rage of +/- 6, 15 & 25A current Tranducers

Detailed description

No detailed description exists yet for this component

Examples

No additional examples

Downloadable macro reference

Current
 
[[File:]] - Return


GetTemperatureData
Returns the raw register pair value 
- UINT Return


GetTemperatureInt
Return temperature reading as an integer value in degrees C 
[[File:]] - Return


GetHumidityInt
returns the relative Humidity reading as an integer value 
[[File:]] - Return


GetHumidityReal
returns the Humidity reading as a float value 
[[File:]] - Return


GetHumidityData
Returns the raw register pair value 
- UINT Return


Initialise
Configures the I2C peripheral and puts the sensor into one shot mode ready to be sampled. Must be called before calling any of the other component macros. Returns 1 if the sensor has been intialised correctly, else returns 0. 
- BYTE Return



Property reference

Properties
Device
 
VDD
 
Channel
Analogue Input Channel - Which pin is the analogue input connected to? 
VRef option
Defines what is used as the ADC maximum reference. ADC Range = GND to VRef Voltage VDD - Defines the microcontrollers power supply pin as the max reference, VREF+ Pin - Dedicated pin on the microcontroller to allow for a variable reference voltage. 
VRef voltage
Used by the GetVoltage or GetString component macros to take an ADC reading and convert it into a Voltage. +VRef voltage x 10mV Default 500 = 5.0V  
Conversion speed
Clock setting to select how fast the ADC peripheral will perform an ADC conversion. The FRC setting is based on a RC time base and so will vary with temperature and pressure. Other settings are generally based on divisions of the master clock. 
Acquisition cycles
Number of micro seconds to wait for the ADC input to charge before starting the analogue sample. 
Connections
Simulations