All About Circuits Forum  

Go Back   All About Circuits Forum > Electronics Forums > The Projects Forum

Notices

The Projects Forum Working on an electronics project and would like some suggestions, help or critiques? If you would like to comment or assist others with their projects, this is the place to do it.

Reply   Post New Thread
 
Thread Tools Display Modes
  #1  
Old 12-20-2013, 09:19 AM
Tony Spence Tony Spence is offline
New Member
 
Join Date: Dec 2013
Posts: 1
Default 7 LED chaser slightly modified

I have built a 7 LED chaser circuit running on 18V. I changed one LED for a copper coil to run an electromagnet but it didnt have enough power, then i added a darlington pair I had from the early 90's never used before the same output and it worked for a bit i added a switch so it could be turned on and off but after a few days it had stopped working.

So i changed the output back to an LED and still didnt work then i changed the two old school transistors for more recent ones four different ones of the same type and model, the lights work but when the coil is put back i get nothing from the coil but the rest of the lights still light up in their order.

Is there a way to boost the current like a replacement transistor for the darlington pair ( both BC108C's )without increasing the voltage to the circuit?
Reply With Quote
  #2  
Old 12-20-2013, 10:28 AM
tubeguy's Avatar
tubeguy tubeguy is offline
Senior Member
 
Join Date: Nov 2012
Location: Midwest USA
Posts: 1,157
Default

What current is needed for the coil?
Or, what is the resistance of the coil?
Did you use a snubber diode across the coil?

What chip is used to drive the LED's?
__________________
If all else fails, tuck and rock 'n roll !!!
Reply With Quote
  #3  
Old 12-26-2013, 01:40 AM
jayanath jayanath is offline
Junior Member
 
Join Date: Dec 2010
Posts: 17
Default

I have following code. but all leds are fading and getting on together. no running action. how can i make chaser action with fading effect. i mean comet tail. pls help me?



#include <pic.h>
#define FADE_RATE 12
#define INITIAL_WIDTH 128
void fade()
{
unsigned char rate = FADE_RATE;
unsigned char pulse_width = INITIAL_WIDTH;
unsigned char count;
while(pulse_width){
PORTB= 0b11111111;
for(count=0; count<pulse_width; count++){
asm("NOP");
}
PORTB=0b00000000;
for(; count; count++){
asm("NOP");
}
if(!rate--){
pulse_width--;
rate = FADE_RATE;
}
}
}
int main(void) {
char b;
TRISB = 0b00000000;
while(1){
for(b=0x02; b; b<<=1){
PORTB = b;
fade(b>>1);
}
for(b=0x40; b; b>>=1){
PORTB = b;
fade(b<<1);
}
}
}
Reply With Quote
Reply   Post New Thread

Tags
, , ,


Similar Threads
Thread Thread Starter Forum Replies Last Post
LED lamps getting hot MingJae Homework Help 20 02-25-2010 01:54 PM
RGB LED chaser - need theory help yehezkel2 General Electronics Chat 4 10-04-2009 08:29 PM
Math Help with a Simple LED circuit fish4fun The Projects Forum 3 03-03-2009 04:04 AM
LED Dimming in Parallel pfhorge The Projects Forum 6 02-27-2007 07:36 PM

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:59 AM.


User-posted content, unless source quoted, is licensed under a Creative Commons Public Domain License.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.