BS2 I/O pin voltage dip
ayoung
Posts: 2
Hello,
I have discovered an issue with the BS2 that I cannot figure out. I am not sure if it is a faulty BS2, or if something else could be causing the issue.
I have 4 LEDs (LED with built in resistor) connected to 4 output pins on the BS2. I can manipulate all the LEDs with no problem: flash, on/off, etc. However, when I turn any one of the pins HIGH, the LED lights fine but has a noticeble flicker every 3 to 4 seconds. It does not matter if one LED is lit or all 4 are powered, they will all "flicker" at the same time. There is nothing in the program that would cause this, the only commands are the "HIGH" statement.
It is not a faulty LED, power supply, or voltage regulator·because I can wire the LED directly to the output of the·regulator and the LED does not flicker. I have a digital multi-meter, and although not very responsive, it will show a dip in voltage on the output pin corresponding to the LED flicker. I measure the power supply outlet and regulator outlet·voltage with the DMM and it is rock solid.
The BS2 works fine on inputs, serial communication, etc. The outputs work fine except for the uncommanded flicker.
Has anyone seen this before? Is this possible a BS2 that is going out? It has been used for several years but I have never used it in an application where I had to have a steady output. So, I am not sure if this is a new problem or if it has been there all along.
Thank you in advance for your help and any suggestions! I appreciate all the input on this forum. It is a valuable resource.
Thanks,
AY
I have discovered an issue with the BS2 that I cannot figure out. I am not sure if it is a faulty BS2, or if something else could be causing the issue.
I have 4 LEDs (LED with built in resistor) connected to 4 output pins on the BS2. I can manipulate all the LEDs with no problem: flash, on/off, etc. However, when I turn any one of the pins HIGH, the LED lights fine but has a noticeble flicker every 3 to 4 seconds. It does not matter if one LED is lit or all 4 are powered, they will all "flicker" at the same time. There is nothing in the program that would cause this, the only commands are the "HIGH" statement.
It is not a faulty LED, power supply, or voltage regulator·because I can wire the LED directly to the output of the·regulator and the LED does not flicker. I have a digital multi-meter, and although not very responsive, it will show a dip in voltage on the output pin corresponding to the LED flicker. I measure the power supply outlet and regulator outlet·voltage with the DMM and it is rock solid.
The BS2 works fine on inputs, serial communication, etc. The outputs work fine except for the uncommanded flicker.
Has anyone seen this before? Is this possible a BS2 that is going out? It has been used for several years but I have never used it in an application where I had to have a steady output. So, I am not sure if this is a new problem or if it has been there all along.
Thank you in advance for your help and any suggestions! I appreciate all the input on this forum. It is a valuable resource.
Thanks,
AY
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tracy Allen
www.emesystems.com
The solution to this is to use "Stop", or to put the BS2 into a tight loop like:
Delay:
GOTO Delay
Thank you Tracy and Allenlane5! That is it. Works perfectly!
Thanks again to all who contribute to the forum. Have a great evening.
AY
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tracy Allen
www.emesystems.com