Page 1 of 1

Hall Effect Sensor component (LEM DHAB S/124)

Posted: Sun Sep 18, 2022 6:01 pm
by kennethnilsen69
Does FC9 have any components for this LEM hall sensor?
https://www.lem.com/en/dhab-s124
Does the FC9 have any components that can be used for this LEM hall sensor?

If not. can it be made?

Re: Hall Effect Sensor component (LEM DHAB S/124)

Posted: Mon Sep 19, 2022 1:26 pm
by medelec35
Hello.
I have created a component for you.
I don't have one here to test to see if it works.
Would you mind letting me know, please?
If you would like to give the component a try then Browse to this location using file explorer, it's hidden by default so just paste the link into your address bar.

Code: Select all

C:\ProgramData\MatrixTSL\FlowcodeV9\Components
Replace the existing file with the attached file.
The flowchart will need to be refreshed if Flowcode was open when you replaced the file.

Re: Hall Effect Sensor component (LEM DHAB S/124)

Posted: Thu Sep 22, 2022 4:16 pm
by kennethnilsen69
Thanks for the component. I have now tested it a bit but am struggling to get it to work as it should.

On voltageADC I always get 5.0v no matter what I set VDD to. At VDD 2.500000 I get 0.0 current and no results when current passes through the sensor. If I increase or decrease VDD, I get values on the - and + side. But the values are constant and do not change with the current flow.

It is also entirely possible that I do not understand how to use the component. Attaching my test file

Re: Hall Effect Sensor component (LEM DHAB S/124)

Posted: Thu Sep 22, 2022 4:49 pm
by medelec35
Hello, You're welcome.
If you look at the properties of the component.
As it's ADC based for the Arduino.
You will need to change VRef option from AREF to AVCC.
As you can see while VRef is set to AREF, the ADC detected will always be 5V = 255.