L meter click

General discussion on mikroC PRO for PIC.
Post Reply
Author
Message
vladgrijo
Posts: 7
Joined: 16 Feb 2020 03:29

L meter click

#1 Post by vladgrijo » 10 Apr 2023 17:01

Hi,
I have no success with the L Meter Click testing.
I've compiled OK the example code (from 1554902647_l_meter_click_mikroc_pic.mpkg), but running the code in EasyPIC v7 board I only get " Frequency is out of range !!! ".
Any help or suggestion?
Regards,
Vladimir

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: L meter click

#2 Post by filip » 13 Apr 2023 13:31

Hi,

Can you please attach detailed photo of your hardware setup ?

Regards,
Filip.

vladgrijo
Posts: 7
Joined: 16 Feb 2020 03:29

Re: L meter click

#3 Post by vladgrijo » 14 Apr 2023 14:02

Hi filip,
I'm using the EasyPIC v7 board with PIC18F45k22 (5V).

User avatar
IvanJeremic
mikroElektronika team
Posts: 316
Joined: 05 Sep 2022 14:32

Re: L meter click

#4 Post by IvanJeremic » 09 May 2023 12:37

Hi,

I will try to replicate your issue, i just need to know what is the resistor you are using with this click board?

Regards,

Ivan.

vladgrijo
Posts: 7
Joined: 16 Feb 2020 03:29

Re: L meter click

#5 Post by vladgrijo » 09 May 2023 17:17

Hi Ivan,
I'm not using resistor but inductor(L Meter). I've tried some values like 0.33uH, 15uH and 1000uH (I don't know the meter operating range!). The values showed do not make sense!
I tried to adapt the code to PIC18F45K22, but I afraid there something wrong (timer parameters, clock and so on).
Thee example (*.h ,*.c and Mikrobus) is very specific to PIC18F87K22 and maybe that is the point.

User avatar
IvanJeremic
mikroElektronika team
Posts: 316
Joined: 05 Sep 2022 14:32

Re: L meter click

#6 Post by IvanJeremic » 17 May 2023 10:41

Hi,

I see that you already spoke about this with one of my colleagues, did you try the last suggestion she mentioned to you?
Untitled.png
Untitled.png (43.13 KiB) Viewed 683 times
Regards,

Ivan.

vladgrijo
Posts: 7
Joined: 16 Feb 2020 03:29

Re: L meter click

#7 Post by vladgrijo » 17 May 2023 13:45

Yes, I did that at first.

User avatar
IvanJeremic
mikroElektronika team
Posts: 316
Joined: 05 Sep 2022 14:32

Re: L meter click

#8 Post by IvanJeremic » 24 May 2023 13:04

Hi,

I have connected the L meter to the same board and MCU as you are using and i have noticed a couple of things.

1) I only get the "Frequency is out of range !!!" message if the inductor is not connected to the L Meter click properly, you can see if it connected correctly by looking at the R0 LED, it will blink when there nothing connected to the L Meter click but it will stay turned on if there is something connected to the L Meter click.

2) The less the Inductance the less the accuracy of the L Meter click.

So if you are getting "Frequency is out of range !!!" then make sure you connected everything correctly, and if you are getting weird results then perhaps the inductance is too low on your inductor.

Regards,

Ivan.

vladgrijo
Posts: 7
Joined: 16 Feb 2020 03:29

Re: L meter click

#9 Post by vladgrijo » 25 May 2023 13:58

Ok, what is the measuring range of the meter?

User avatar
IvanJeremic
mikroElektronika team
Posts: 316
Joined: 05 Sep 2022 14:32

Re: L meter click

#10 Post by IvanJeremic » 30 May 2023 08:07

Hi,

Unfortunately i do not have that information, you can try to take a look into the datasheet of the module the L meter click uses:
https://download.mikroe.com/documents/d ... cs007k.pdf

But if you want more information on the SLCS007K module, then i suggest contacting Texas instruments and asking them what would be the measuring range of the SLCS007K module.

Regards,

Ivan.

Post Reply

Return to “mikroC PRO for PIC General”