LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LED Blinking current measure

I have a project to measure current reading while LED blinking, what tools should I use because the current reading is 0.5A while on and 0A while off; 3 cycle of LED blinking. Thanks for help.

0 Kudos
Message 1 of 11
(3,298 Views)

Hi Jimmy,

 

apparently you need some DAQ devices. Which one do you use currently?

 


@Jimmygoh78 wrote:

because the current reading is 0.5A while on and 0A while off; 3 cycle of LED blinking.


You are reading 0.5A when the LED is on? Which kind of LED?

 

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 11
(3,282 Views)

I have DAQ device USB-6003.

This is LED lighting PCBA, 10LED in a board; so that current about 0.5A; but I need ensure the LED blink in 3 cycle. 

0 Kudos
Message 3 of 11
(3,279 Views)

Hi Jimmy,

 


@Jimmygoh78 wrote:

I have DAQ device USB-6003.

This is LED lighting PCBA, 10LED in a board; so that current about 0.5A; but I need ensure the LED blink in 3 cycle. 


How do you want to control that "LED lighting PCBA" (whatever that is)?

 

When you use a plain USB6003 you will need:

- add a relais to switch on/off that board

- use an external current sensor to measure the current, choose from a simple shunt (apply Ohm's law!) to some "real" current sensors (I prefer current transducers from LEM)…

I guess you know the basics of electrics/electronics/measurements?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 11
(3,266 Views)

Can use software (programming) to measure blinking frequency instead of hardware measure?

0 Kudos
Message 5 of 11
(2,878 Views)

Hi Jimmy,

 

when the signal is outside of your computer then you need some hardware to bring that signal inside your computer. After this you can apply software analyzing the signal…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 6 of 11
(2,871 Views)

I can measure fix current; for LED Blinking it may have 0A & 0.5A changing. I still thinking how to capture both current in a period (~15second).

0 Kudos
Message 7 of 11
(2,832 Views)

Hi Jimmy,

 


@Jimmygoh78 wrote:

I can measure fix current; …

I still thinking how to capture both current in a period (~15second).


What is a "fix current"?

To measure current over time you need to read more than one sample. Once you set a sample rate in your DAQmx task the job becomes easy as number of samples is the product of sample rate and time…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 8 of 11
(2,827 Views)

For me the whole problem is not entirely clear.

In your first post you write, you have to measure a current.

In your second post you add, you have to control the number of blinking cycles.

 

Do you really want to measure the amount of current in your circuit or do you need it as an indicator for the "ON" and "OFF" state?

How do you want to control the cycle- count? What tolerance with your time measurement do you have to fulfill?

 

Please clarify these basic questions to give uas the chance to help you.

Greets, Dave
0 Kudos
Message 9 of 11
(2,808 Views)

Refer to below my reply.

1. Indicator for the "ON" and "OFF" state? Yes, need 

2. How do you want to control the cycle- count? Yes, 3 cycle

3. What tolerance with your time measurement do you have to fulfill? Yes, we have the tolerance for the time measurement.

I think above requirement can be measure by software programing? 

Thanks for your help.

 

0 Kudos
Message 10 of 11
(2,782 Views)