Component: Current Sensor (ACS7xx) (Electrical)

From Flowcode Help
Revision as of 09:55, 27 January 2023 by Wiki bot (talk | contribs)
Jump to navigationJump to search
Author medelec35
Version 1.0
Category Electrical


Current Sensor (ACS7xx) component

ACS7XX range of +/- 5, 20, 30, 50, 100, 150 & 200A current sensors

Component Source Code

Please click here to download the component source project: FC_Comp_Source_Current_Sensor_ACS7xx.fcfx

Please click here to view the component source code (Beta): FC_Comp_Source_Current_Sensor_ACS7xx.fcfx

Detailed description

No detailed description exists yet for this component

Examples

Simple example showing how to use the simulation dial components as a meter display for use in monitoring type applications. FC6 Icon.png Meters

Macro reference

Fc9-comp-macro.png Current
Current reading in amps 
Fc9-f32-icon.png - FLOAT Return


Fc9-comp-macro.png VoltgeADC
Reads the Voltage of the ADC pin for diagnostic purposes. With no current flowing through the sensor, the voltage reading should be 2.50V. If that is out, then enter precise VDD within properties  
Fc9-f32-icon.png - FLOAT Return



Property reference

Fc9-prop-icon.png Properties
Fc9-type-16-icon.png Device
 
Fc9-type-16-icon.png Type
 
Fc9-type-15-icon.png VDD
 
Fc9-type-15-icon.png Offset current adjust (Amps)
Offset current adjusts the curent output when comparing to a current monitor. For example current from the componet shows 2.0 Amps and curent monitor shows 1.5 Amps. For the current offset enter -0.5 
Fc9-type-6-icon.png Channel
Analogue Input Channel - Which pin is the analogue input connected to? 
Fc9-type-16-icon.png 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. 
Fc9-type-14-icon.png 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  
Fc9-type-16-icon.png 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. 
Fc9-type-14-icon.png Acquisition cycles
Number of micro seconds to wait for the ADC input to charge before starting the analogue sample. 

==Macro reference==

Fc9-comp-macro.png Current
Current reading in amps 
Fc9-f32-icon.png - FLOAT Return


Fc9-comp-macro.png VoltgeADC
Reads the Voltage of the ADC pin for diagnostic purposes. With no current flowing through the sensor, the voltage reading should be 2.50V. If that is out, then enter precise VDD within properties  
Fc9-f32-icon.png - FLOAT Return



Property reference

Fc9-prop-icon.png Properties
Fc9-type-16-icon.png Device
 
Fc9-type-16-icon.png Type
 
Fc9-type-15-icon.png VDD
 
Fc9-type-15-icon.png Offset current adjust (Amps)
Offset current adjusts the curent output when comparing to a current monitor. For example current from the componet shows 2.0 Amps and curent monitor shows 1.5 Amps. For the current offset enter -0.5 
Fc9-type-6-icon.png Channel
Analogue Input Channel - Which pin is the analogue input connected to? 
Fc9-type-16-icon.png 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. 
Fc9-type-14-icon.png 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  
Fc9-type-16-icon.png 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. 
Fc9-type-14-icon.png Acquisition cycles
Number of micro seconds to wait for the ADC input to charge before starting the analogue sample. 

==Macro reference==

Fc9-comp-macro.png Current
Current reading in amps 
Fc9-f32-icon.png - FLOAT Return


Fc9-comp-macro.png VoltgeADC
Reads the Voltage of the ADC pin for diagnostic purposes. With no current flowing through the sensor, the voltage reading should be 2.50V. If that is out, then enter precise VDD within properties  
Fc9-f32-icon.png - FLOAT Return



Property reference

Fc9-prop-icon.png Properties
Fc9-type-16-icon.png Device
 
Fc9-type-16-icon.png Type
 
Fc9-type-15-icon.png VDD
 
Fc9-type-15-icon.png Offset current adjust (Amps)
Offset current adjusts the curent output when comparing to a current monitor. For example current from the componet shows 2.0 Amps and curent monitor shows 1.5 Amps. For the current offset enter -0.5 
Fc9-type-6-icon.png Channel
Analogue Input Channel - Which pin is the analogue input connected to? 
Fc9-type-16-icon.png 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. 
Fc9-type-14-icon.png 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  
Fc9-type-16-icon.png 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. 
Fc9-type-14-icon.png Acquisition cycles
Number of micro seconds to wait for the ADC input to charge before starting the analogue sample. 

==Macro reference==

Fc9-comp-macro.png Current
Current reading in amps 
Fc9-f32-icon.png - FLOAT Return


Fc9-comp-macro.png VoltgeADC
Reads the Voltage of the ADC pin for diagnostic purposes. With no current flowing through the sensor, the voltage reading should be 2.50V. If that is out, then enter precise VDD within properties  
Fc9-f32-icon.png - FLOAT Return



Property reference

Fc9-prop-icon.png Properties
Fc9-type-16-icon.png Device
 
Fc9-type-16-icon.png Type
 
Fc9-type-15-icon.png VDD
 
Fc9-type-15-icon.png Offset current adjust (Amps)
Offset current adjusts the curent output when comparing to a current monitor. For example current from the componet shows 2.0 Amps and curent monitor shows 1.5 Amps. For the current offset enter -0.5 
Fc9-type-6-icon.png Channel
Analogue Input Channel - Which pin is the analogue input connected to? 
Fc9-type-16-icon.png 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. 
Fc9-type-14-icon.png 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  
Fc9-type-16-icon.png 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. 
Fc9-type-14-icon.png Acquisition cycles
Number of micro seconds to wait for the ADC input to charge before starting the analogue sample. 

==Macro reference==

Fc9-comp-macro.png Current
Current reading in amps 
Fc9-f32-icon.png - FLOAT Return


Fc9-comp-macro.png VoltgeADC
Reads the Voltage of the ADC pin for diagnostic purposes. With no current flowing through the sensor, the voltage reading should be 2.50V. If that is out, then enter precise VDD within properties  
Fc9-f32-icon.png - FLOAT Return



Property reference

Fc9-prop-icon.png Properties
Fc9-type-16-icon.png Device
 
Fc9-type-16-icon.png Type
 
Fc9-type-15-icon.png VDD
 
Fc9-type-15-icon.png Offset current adjust (Amps)
Offset current adjusts the curent output when comparing to a current monitor. For example current from the componet shows 2.0 Amps and curent monitor shows 1.5 Amps. For the current offset enter -0.5 
Fc9-type-6-icon.png Channel
Analogue Input Channel - Which pin is the analogue input connected to? 
Fc9-type-16-icon.png 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. 
Fc9-type-14-icon.png 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  
Fc9-type-16-icon.png 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. 
Fc9-type-14-icon.png Acquisition cycles
Number of micro seconds to wait for the ADC input to charge before starting the analogue sample.