Hall Effect Sensor component (LEM DHAB S/124)

For general Flowcode discussion that does not belong in the other sections.
Post Reply
kennethnilsen69
Posts: 35
http://meble-kuchenne.info.pl
Joined: Wed Dec 02, 2020 11:41 am
Been thanked: 2 times

Hall Effect Sensor component (LEM DHAB S/124)

Post 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?

medelec35
Matrix Staff
Posts: 1457
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 513 times
Been thanked: 473 times

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

Post 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.
Attachments
DHAB_Sxxx_Current_Sensor.fcpx
(4.37 KiB) Downloaded 42 times
Martin

kennethnilsen69
Posts: 35
Joined: Wed Dec 02, 2020 11:41 am
Been thanked: 2 times

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

Post 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
Attachments
Hall Sensor test.fcfx
(12.86 KiB) Downloaded 41 times
12.jpg
12.jpg (23.4 KiB) Viewed 929 times

medelec35
Matrix Staff
Posts: 1457
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 513 times
Been thanked: 473 times

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

Post 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.
Martin

Post Reply