PDA

View Full Version : Flasher circuit using a BD679



ozspeedway
10-07-2014, 01:40 PM
Hi all

I am trying to implement EddyCurrent's flasher circuit but am having issues with it. He uses a System1 V2 BOB and I am using a PMDX 126. In a PM EC explained he used the BD679 as follows:

Pin14 from the BOB connects to the base of the BD679 via a 2.2k ohm resistor. The emitter is connected to 24v negative and the collector is connected to one side of a "lamp". The other side of the lamp is connected to 24v positive. The flashing is controlled by a brain supplied by EC.

Now, I built this little circuit using a 24v LED as the lamp and it just glows in a low light and does not flash at all. I have PM'd EC asking what his "lamp" was but at this point he has not replied. I am now suspecting the "lamp" may be just that, a light bulb and not an LED. My LED is a true 24v LED in a pushbutton size package.

Can anyone see what I might need to use the 24V LED in a circuit such as this AND have it flash as required from the brain?

Any help would be appreciated.

Cheers
Bruce

Wobbin
10-07-2014, 04:31 PM
Sounds like it should work provided the base of the transistor is being driven high by the BOB (break out board ? Sorry, I'm new to this site having just purchased a mill to convert). The BD679 is a darlington device so won't need much base current to switch it on.

It sounds like the transistor is missing its base drive - perhaps you need to configure something in your CNC software to make Pin 14 a suitable output ?

HTH

Cheers
Robin

ozspeedway
10-07-2014, 09:56 PM
Thanks Robin

The problem is it *is* working in as much as the led is on all the time instead of off until flashed. I checked Mach and the output flashes in the diagnostics screen. I'll reconfigure the circuit again (have tried 4 transistors so far) with one of the last 10 transistors I have. I'll also get a 24v lamp to test it if I can find one today.

Cheers
Bruce

ozspeedway
10-07-2014, 10:04 PM
Well it is definitely something I am doing, EC just replied to my PM and he is using the same style LED lamp as I am. I'll check I have everything the right way round and report back.

Wobbin
11-07-2014, 06:11 AM
If you're sure that you pave the pins connected correctly (see attached) then the next suggestion, assuming you have a multimeter, is to measure the voltage between the base and emitter of the BD679 to check what the BOB is sending. 12759

Cheers
Robin

ozspeedway
11-07-2014, 08:09 AM
Hi Robin

Just ducked down and checked the pinout and all as per required. Measured the voltage as suggested and got 0.04v yet the LED is glowing and not flashing. Just for kicks I measured between the base and the collector and got 12.67v. The brain was active and "flashing" yet it made no difference to the LED. If I disconnect the parallel cable the LED goes out even with power still applied to the BOB. I have tested this with 2 different BOB's, a PMDX 122 and an MB06-v2 from homann designs in Aus, both show the same behaviour. The LED stays lit even when pin 14 (assigned to OUTPUT1) is disabled. Got me stumped at this point.

Cheers

EddyCurrent
11-07-2014, 02:10 PM
Bruce,

This is the drawing for mine, just checked it at the machine itself.
12760

ozspeedway
11-07-2014, 03:18 PM
Thanks Eddy, looks just like what my version is. I now suspect our differences come from you using an ethernet smoothstepper and me using a parallel port. I have a strong suspicion that the PC is filtering some voltage via the P/port that the BD679 is seeing. I can confirm that by taking the p/port cable off the BOB and the LED goes out. Of course I can't then test Pin 14 out. However, an ESS is in my immediate future (next week some time) so I will see if my gut feeling is correct.

Cheers
Bruce

EddyCurrent
11-07-2014, 04:39 PM
I've just had a look at the PMDX manual, it looks like you should be using pin 14 or 16 of J8 and JP3 should be set to 'outputs enabled', that's what it looks like after a quick read anyway. The outputs have an LED so it should be easy to see the state of your chosen output. I can't see the ESS making any difference so I would disconnect the flasher and concentrate on getting your bob output to go on and off from the software and not using the Brain function. When you get the output to operate correctly then connect the flasher and it should go on and off with the output. Now bring the Brain into operation and provided the logic is okay the flasher should operate.
It may be that the lamp is dim because it's being switched at high speed, try a multimeter with frequency range across the lamp.

Wobbin
11-07-2014, 05:55 PM
What's the 'brain' function then ? Forgive what may be a dumb question, as I said I'm new to CNC...

EddyCurrent
11-07-2014, 06:44 PM
What's the 'brain' function then ? Forgive what may be a dumb question, as I said I'm new to CNC...

This is the info that Bruce is using for his machine, see the Zip file attachment for the Brains.
http://www.mycncuk.com/threads/6565-Ready-Steady-Eddy?p=52213#post52213

Brains are a feature of Mach3 software, you can get an overview here;


http://www.youtube.com/watch?v=O8V7dZy02og

JAZZCNC
11-07-2014, 07:03 PM
I had an issue with a PMDX A few months ago with prox switches on Home switches (Inputs) not being pulled to ground and the cure was a small resisistor between ground and the pin. It sounds like you are having a similiar thing so worth a try.?

ozspeedway
12-07-2014, 07:49 AM
Jazz... close I think.....

It is now working after receiving an email from Steve @ PMDX. In his email he indicated that I needed to connect the negative from the 24v supply to GND so the transistor had a reference to it. I did that and it works. I now know why Eddy's worked from the start (at least I think I do), his BOB is powered by the same 24v supply as the flasher circuit and therefore the tx already had a reference to the 24v neg side. I am thinking now if I replaced the 24V LED with one suited more to 5v whether it would work without grounding to the supply. However, that would probably be a moot point given that I have a PMDX 126 winging its way to me as we speak and it is powered by 240v.....

Thanks to everyone who ran around in circles with this, I really appreciate the help given

Cheers
Bruce

JAZZCNC
12-07-2014, 08:33 AM
Jazz... close I think.....

It is now working after receiving an email from Steve @ PMDX. In his email he indicated that I needed to connect the negative from the 24v supply to GND so the transistor had a reference to it.

Ah ah.!! . . . Assumption being the mother of all F'#&up's me and suspect others presumed you would be doing this as it's a given that you must use the same ground for any circuit to work correctly.!

ozspeedway
12-07-2014, 08:36 AM
And with me being a follower and not a guru in electronics I managed to completely miss that principle. Lesson learned I can tell ya because now I just feel like a wally :)

Wobbin
12-07-2014, 08:39 AM
Assumption being the mother of all F'#&up's

LOL... when I was fixing drives a while back I had that very phrase on a label on my bench to remind me :-)

No 0v reference - yep, that would do it. We've all been there. Glad you're sorted.

Cheers
Robin