Author Topic: Simple electronics help  (Read 736 times)

0 Members and 1 Guest are viewing this topic.

Offline Retropin

  • Trade Count: (+4)
  • ******
  • Forum Posts:
Simple electronics help
« on: March 02, 2012, 10:05:04 PM »
Kinda feel really dumb asking this...

Im making an LED chaser/ flasher/ sequencer. Im pretty simple with stuff and so am using a 555 timer for clock and a 4017 decade for LED drive outputs.
OK... it kinda worked before i changed it, but LEDs are dull as crap, so i put a BC547 transistor in place to drive the LED.
Im doing a 10 output so on 4017 i have outputs 1,2,3,4,5,6,7,9,10,11.
8,13,15 are tied to ground
14 is clock
16 vcc ( 9v in this case)


If i use an LED to test outputs they flash once then off completely... nothing on other side of transistor ( output to base, 9v to collector, LED on Emitter).

Surely there should be a reset to trigger the cascade over again? or is it automatic?.. also i seem to be in reverse bias as if i use output of 4017 as grounding for test LED it lights up OK.

This is simple schoolboy stuff and ive cocked it

Offline studley67

  • Trade Count: (+7)
  • ******
  • Forum Posts:
  • adelaide hills
    • facebook
Re: Simple electronics help
« Reply #1 on: March 02, 2012, 10:23:12 PM »
I MADE SOMETHING SIMILAR AS A KID AND HAVE STILL GOT IT.sorry bout the caps.it was an electronic dice from EA i think.if you added a resistor you had a led chaser,from memory.i will dig it out.
Life is too short to spend time with people who suck the happiness out of you

Offline ajlaird

  • Trade Count: (0)
  • ******
  • Forum Posts:
  • Greensborough, Melbourne
  • Go Ahead, Make My Day
Re: Simple electronics help
« Reply #2 on: March 02, 2012, 10:52:34 PM »
Something like this?


Offline Retropin

  • Trade Count: (+4)
  • ******
  • Forum Posts:
Re: Simple electronics help
« Reply #3 on: March 02, 2012, 10:55:34 PM »
The clock works on the 555... im falling over on the 4017 side.... pin3 flashes at clock rate and gives a good flash... all others are a tiny dull pulse.
Ive looked up the data on 4017 and pin 8 is to ground....13 and 15 ( reset and Clock inhibit) are to pin 11 which is the last flash.....mmm.. theres a fault.. clock inhibit should be low

Offline studley67

  • Trade Count: (+7)
  • ******
  • Forum Posts:
  • adelaide hills
    • facebook
Re: Simple electronics help
« Reply #4 on: March 02, 2012, 10:55:59 PM »
i had to etch my own board,but yes $#$
Life is too short to spend time with people who suck the happiness out of you

Offline mildflame

  • Trade Count: (0)
  • ******
  • Forum Posts:
  • Barossa Valley
    • Mildflame.com
Re: Simple electronics help
« Reply #5 on: March 02, 2012, 10:57:37 PM »
i had to etch my own board,but yes $#$
If you are wondering where it is its in my top draw in my room. I took the battery out for somthing   #@#
Check out my website: http://mildflame.blogspot.com.au
Happy reading!

Marty Machine

  • Guest
  • Trade Count: (0)
Re: Simple electronics help
« Reply #6 on: March 02, 2012, 10:59:12 PM »
The 555+4017 are a classic led chaser design from waaaaay back....

Your pinouts are correct, and outputs will only briefly pulse on/off then move to the next pin....

Since you are using all 10 outputs, there's no need to force a reset, as it will auto-loop and count 1-10 again & again....

If you wanted say 5 leds to chase and repeat, you would wire the 6th output pin back onto the reset pin, the chip will reset immediately after the 6th led flashed and resume at led #1 again.

The 4017 used to drive STANDARD (5mA) leds back in the day with no trouble at all, but these days all the high-bright leds needs 20-50mA and i don't think the 4017 can source that much current on it's outputs. (i don't have the exact specs on hand).

Instead of using 10x transistors, you could use a buffer IC, such as the (cmos) 4049 or 4050, although you'd need a couple to cater for 10 outputs, although once again you'd need to confirm their current drive.
I'd prefer to use a higher current drive from a ULN2803 (8 outs), at least then you could drive relays or hi-watt leds and/or globes with no troubles in future ;-)

Hope it helps.
MM.



Marty Machine

  • Guest
  • Trade Count: (0)
Re: Simple electronics help
« Reply #7 on: March 02, 2012, 11:01:21 PM »
Yep, your initial post said pin 13 was to ground, now you've found it's connected to pin 11 is incorrect. ;-)

Offline Homepin

  • Trade Count: (+15)
  • ******
  • Forum Posts:
  • Not a business - A Passion!
Re: Simple electronics help
« Reply #8 on: March 02, 2012, 11:03:01 PM »
why would you bother with any of that rubbish  a PIC will do anything you want with less parts, more flexibility and far lower board space, repeatability and cost.….
Replacement Pinball PCBs that remain faithful to the originals

Marty Machine

  • Guest
  • Trade Count: (0)
Re: Simple electronics help
« Reply #9 on: March 02, 2012, 11:09:07 PM »
Not everyone into the basics of electronics know (or aware) of Pics.
Besides a few leftover chips are always hanging around in most hobbyists workshops.

This forum should be about Encouraging those who try, instead of slamming them down in flames.


baby steps......

Offline Retropin

  • Trade Count: (+4)
  • ******
  • Forum Posts:
Re: Simple electronics help
« Reply #10 on: March 02, 2012, 11:14:26 PM »
I cant program a pic... simple,
I need to get this working by tomorrow so im not going to relearn Basic in a night and then wish id done simple ( not in my case though)...


Ive found what my fault is.. or at least its symptoms.. im resetting on pin 3 which is 0 output... so it counts 1 then resets... friggin hate this proto board.. looks like a dogs dinner

Marty Machine

  • Guest
  • Trade Count: (0)
Re: Simple electronics help
« Reply #11 on: March 02, 2012, 11:26:18 PM »
tie reset to ground (0v) and it will cycle all 10 outputs.

I'm sure you've just lost yourself on the breadboard somewhere.

Offline Homepin

  • Trade Count: (+15)
  • ******
  • Forum Posts:
  • Not a business - A Passion!
Re: Simple electronics help
« Reply #12 on: March 02, 2012, 11:35:01 PM »
I guess it comes down to asking for some help a little earlier in the piece.....I can't program in basic either - far too complicated
Replacement Pinball PCBs that remain faithful to the originals

Offline Retropin

  • Trade Count: (+4)
  • ******
  • Forum Posts:
Re: Simple electronics help
« Reply #13 on: March 02, 2012, 11:35:20 PM »
I appreciate your help Marty... im going to restart this tomorrow as my board is a now confusing.


Yes ive lost myself on my board... couldnt find the bread board so went straight in on the vero board. I got lazy and downloaded a CCT which i found out was wrong. Ive been trying to correct it  and just making a confusing mess. Ive since copied the data sheet for 4017 and i should have done the CCt myself...

8...13...15 all tie to ground... 14 clock from 555..

Thanks mate..

Marty Machine

  • Guest
  • Trade Count: (0)
Re: Simple electronics help
« Reply #14 on: March 03, 2012, 12:37:12 AM »
8...13...15 all tie to ground... 14 clock from 555..
Thanks mate..
Yep, thats it, the most common mistake with veroboard is forgetting to count the pins 'mirrored' on the underside.
It's quite common to put 5v on pin 1 instead of 16, and put 0v on pin 9 instead of 8 (or 8 instead of 7 with ttl chips) etc etc.....BE CAREFUL with your pins hehehehehe   ;-)

MM.