Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
LinkBack Thread Tools Display Modes
Old 18th May 2007, 04:17 AM   (permalink)
Default odd project, 1 button adds a light 1 button takes a light away with sound.

Probably pretty odd of a thing to make but...

I am in the need to make a small thing that has a row of 10 lights (LEDs etc) and with 2 buttons and a speaker giving a tone when one of the buttons is pushed.

Button A would turn on one of those lights. hit the button again and it would add a second light and so on and so on, to a max of 10 lights. They would stack next to each other from left to right (from first light to the tenth light)

Button B would simply reverse the and take away the last light given to the order.

Maybe a 3rd button that would to just reset the lights (no matter how many lights are up). but not needed at all, just handy I guess.

Speaker would just give a beep or buzz or something each time the add a light button is pressed.

Here is a link to a diagram I did that kind of explains better what I am trying for. I hope it helps. http://images.elektroda.net/75_1179456614.jpg

Well if anyone know if this is a possible thing to make, can you let me know. I can then at least start to research it.

heh! It has been years sense college electronics class. I should be able to pull out my book some where in storage. Smiley I guess I really didn't have much to do this weekend anyhow. Smiley

Well best wishes and thank you everyone for your time.

Sincerely,

Kevin in Alaska
__________________
The circumstances of one's birth are irrelevant. It's what you do with the gift of life that determines who you are.
KevinAlaska is offline  
Old 18th May 2007, 01:57 PM   (permalink)
Default

I'll try to beat Nigel to the punch. Use a PIC. this project sseems perfectly suited.
Optikon is offline  
Old 18th May 2007, 02:00 PM   (permalink)
Default

Quote:
Originally Posted by Optikon
I'll try to beat Nigel to the punch. Use a PIC. this project sseems perfectly suited.
I was resisting the temptation!
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 18th May 2007, 03:15 PM   (permalink)
Default

hi kevin,
If you are unable to go the PIC route, you could consider using a 74190 BCD UP/DOWN counter with parallel load option [ zero all third button].

The 74190 would drive a 74154, 4 to 16 decoder, on each output line '1 to 10' connect a led with a series resistor to +5V.
The '0' position would represent all OFF.

PB#3, all OFF
PB#1, INC 74190 up, PB#2 DEC 74190 down.

Use a 7414 hex schmitt to clean up the PB pushes and also use part to make a 1kHz tone generator, beep on push.
Perhaps another logic gate maybe required.

Does this help?

EDIT: A 74191 bin up/down counter would be a better choice, rather than the 74190.
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/

Last edited by ericgibbs; 18th May 2007 at 03:26 PM.
ericgibbs is online now  
Old 18th May 2007, 08:22 PM   (permalink)
Talking

I would say that helps but in a word 'no' it also does not help... hehe.. no disrespect because my experience ended with inductors and capacitors. The knowledge I did gain in college was about 17 years ago.

I am aware of other areas in electronics but not knowledgeable enough to know if what you said will work or not. Again sorry for my ignorance.

I am pretty good with schematics, diagrams or written step by steps. But I don't expect anyone to go that far to help me.

I do see in part where you are going and it is a GREAT start for me. Thank you for the information I will start to research it if possible. If you have any other information to throw my way before I start I would gladly take what ever else you have or what anyone else might have.

I have to say though... This whole website is really pretty awesome.

Cheers and best wishes

Sincerely,

Kevin in Alaska
__________________
The circumstances of one's birth are irrelevant. It's what you do with the gift of life that determines who you are.
KevinAlaska is offline  
Old 18th May 2007, 08:25 PM   (permalink)
Default

Oh GOD! how funny. Thought I only had one reply when I wrote my reply and when reviewing I saw the first two. VERY FUNNY... There is a whole story behind that little bit of information.

but a question I should have asked.....

what the hell is a PIC? I know your not talking about GIF, JPG, TIFF etc.

again... best wishes

Kevin in Alaska
__________________
The circumstances of one's birth are irrelevant. It's what you do with the gift of life that determines who you are.
KevinAlaska is offline  
Old 18th May 2007, 09:44 PM   (permalink)
Default

Quote:
Originally Posted by KevinAlaska
what the hell is a PIC? I know your not talking about GIF, JPG, TIFF etc.
Its a microcontroller made by microchip. Pretty easy to learn to use and alot of fun. Check out the link in Nigel's signature.
Andy1845c is offline  
Old 19th May 2007, 07:48 AM   (permalink)
Default

kevin,
If you do decide to go the non PIC route, I was planning to send you a working drawing that would enable to start the project.

You say you can read a circuit diagram, no doubt you have the will and the tools/components to get the job done.

>> Well if anyone know if this is a possible thing to make, can you let me know. I can then at least start to research it.
You say my suggestion didnt help, without wishing to sound 'picky' what do you want to know?? ....... Ask.

Regards.
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/

Last edited by ericgibbs; 19th May 2007 at 09:00 AM.
ericgibbs is online now  
Old 20th May 2007, 01:00 AM   (permalink)
Default

Quote:
You say you can read a circuit diagram, no doubt you have the will and the tools/components to get the job done.
I honestly dont care if I do a PIC or nonPIC method. I really do love to tinker when I can get the chance and I have all the took for the job (breadboard etc). I just know I will have to go out and buy some of the odds and ends (PNP, IC's, LEDs etc etc).

But as long as I have a willing member to coach me along the way then AWESOME. I love the idea of getting a chance to learn something new.

I am sorry I have not checked back this thread sooner. I have been messing around with my now dual boot system. I thought I would go back and play with kubuntu linux. I love all the freesoftware I can play with... but I digress.

Which would you recomend PIC or non PIC. I would guess PIC method would use moer parts (not that that matters).? Is the PIC method harder to troubleshoot?

once AGAIN... thank you SINCERELY!

Kevin in Alaska
__________________
The circumstances of one's birth are irrelevant. It's what you do with the gift of life that determines who you are.
KevinAlaska is offline  
Old 20th May 2007, 03:52 AM   (permalink)
Talking One night wonder.

Hi Kevin,

This should do it, give it a try. This one has 12 leds but you can
forget the last two if you like.
Here you can find both datasheets:

http://www.alldatasheet.com/view.jsp?Searchword=74HC132

http://www.alldatasheet.com/view.jsp?Searchword=74HC194

If you want sound too, whistle.

on1aag.
Attached Images
File Type: gif Alaska.GIF (14.7 KB, 39 views)

Last edited by on1aag; 20th May 2007 at 04:07 AM.
on1aag is offline  
Old 20th May 2007, 06:22 AM   (permalink)
Default

Quote:
Originally Posted by KevinAlaska
But as long as I have a willing member to coach me along the way then AWESOME. I love the idea of getting a chance to learn something new.
Folks here range from people who can't google, through hobbyists (like me) right up to people who really know what they're on about and have retired from a professional life doing it. It's a good little corner of the web.

Quote:
I am sorry I have not checked back this thread sooner. I have been messing around with my now dual boot system. I thought I would go back and play with kubuntu linux. I love all the freesoftware I can play with... but I digress.
Hehe. I will try to offer some advice on your current project, but I would be more qualified to help with the Linux stuff, since that's *my* profession.

Quote:
Which would you recomend PIC or non PIC. I would guess PIC method would use moer parts (not that that matters).? Is the PIC method harder to troubleshoot?
Actually, I would expect the PIC solution to use fewer components, since it contains almost everything needed--you do all the work in software and just stick a button, some LEDs, a buzzer, and a handful of resistors on it. (That's oversimplified but not by a whole lot). Then you just write up some code which says essentially "if Button A was pressed, then beep and light another LED; if Button B was pressed, then beep and unlight the last LED lit".

The other way, you'd need at least a decade counter IC and some kind of latch setup to keep the correct LEDs lit.

Some reading which doesn't directly address your problem but which might be helpful: http://www.doctronics.co.uk/4017.htm

Last year I made my first digital circuit: a scoreboard for my foosball table, using the non-PIC way. It was fun, instructional, and if I had to do it again, I'd probably use a microcontroller like a PIC (or probably an 8051 since that's what I have a programmer for). My circuit would have probably one third the components, if that.

Note that if you use a PIC or other microcontroller you'll need a device to get the code onto it (a programmer), plus a "toolchain" (code editor, compiler/assembler) to prepare it.

Quote:
once AGAIN... thank you SINCERELY!

Kevin in Alaska
Dunno if I'm helping or just being long-winded, but hopefully the former.


Good luck!

Torben
Torben is offline  
Old 20th May 2007, 11:58 AM   (permalink)
Default

A microcontroller solution would work well and your requirements are relatively simple;

(A) Software debounce with switch press beep.
(B) Switch press "repeat" capability?
(C) Modes; <1> Up/Down, <2> Night Rider, <3>???

Unfortunately the learning curve for microprocessor development can be quite steep.

Perhaps some kind soul might code it and burn it into a chip for you.

Kind regards, Mike
Attached Images
File Type: png Widget.PNG (33.5 KB, 25 views)
Mike, K8LH is offline  
Old 21st May 2007, 08:54 AM   (permalink)
Default

I hate to sound fake and overly fluffy... but fake can be read in my words by some and is probably an unneeded fear of mine. Being to fluffy with my words (ie kind hearted) is probably a guy emotion problem which I will not get into here and now but is needed here none-the-less.

But from my very "LITTLE" experience on here so far. People are AWESOME. We all have our short comings to be sure so I "TRY" not to judge others words much. Something I have learned when I played MMORPG games (ie EverQuest etc).

But before I digress any further, I would like to finish up and say thank you to everyone for helping me. I don't mind looking up stuff 'if' possible. But often enough time is lacking and ADD can get strong and kids and house and job and and and etc. can keep me busy. I am sure most of you fully know this simply because of your own busy lives.

I know this project would be easier for me if I did know 'what' to ask for in a google search. I am good at coming up with an abstract concept in my head (a finished product) but getting that concept to paper and paper to fact is a fully different game.

So again thank you for pointing me in the direction you can and thank you for the two picture files I downloaded and the words given. I know that takes 'time' out of your own lives and that is a gift.

I told you "FLUFF" was in there.

Well its 11:51pm and I can't do much with those files yet and those websites given (thanks!) until tomorrow after noon when I get some time. My kids just finished school this week so I should have some more time.

So BIG THANKS! (yet again)

Sincerely,

Kevin in Alaska
__________________
The circumstances of one's birth are irrelevant. It's what you do with the gift of life that determines who you are.
KevinAlaska is offline  
Old 21st May 2007, 09:05 AM   (permalink)
Default

One last quick note. Just checking out those web links before I shut down for the night... I guess I could use a digital read out from Zero to Nine instead of lights. Would that be easier?

Oh god! Maybe I shouldn't post this because it would just confuse things. :/

Hay Torben, Mind if I bother you with a off question about linux perchance. I have a USB HDD that was showing up sautrday night and sunday it only shows up as a folder in the media listing and shows up emply. In windowsXP shows up as still full of files. The drive is NTFS and I am using the "NTFS Config" program to give write access but still nothing.

Well anyhow. 12:05 AM. I am off to LaLa Land.

Best Wishes.

Kevin in Alaska
__________________
The circumstances of one's birth are irrelevant. It's what you do with the gift of life that determines who you are.
KevinAlaska is offline  
Old 21st May 2007, 09:29 AM   (permalink)
Default

Quote:
Originally Posted by KevinAlaska
One last quick note. Just checking out those web links before I shut down for the night... I guess I could use a digital read out from Zero to Nine instead of lights. Would that be easier?

Oh god! Maybe I shouldn't post this because it would just confuse things. :/
Hey hey. Maybe that would make it more complex if you knew more than me, but to me that makes it easier. Use a 4510 up-down counter (I think I linked to that before for you) and plug its output pins into a BCD decoder, then run that to a 7-segment LED display. I haven't looked into how to hook up the buttons for that, but I don't think it should be a killer problem (famous last words).

Quote:
Hay Torben, Mind if I bother you with a off question about linux perchance. I have a USB HDD that was showing up sautrday night and sunday it only shows up as a folder in the media listing and shows up emply. In windowsXP shows up as still full of files. The drive is NTFS and I am using the "NTFS Config" program to give write access but still nothing.
We should probably take this one off-list, but PM me. Click on my name to do that. Are you using ntfs-3g? And hey--do you know a Mary-Ellen in Fairbanks who used to play Diablo?

Quote:
Well anyhow. 12:05 AM. I am off to LaLa Land.

Best Wishes.

Kevin in Alaska
I'm off too. Just halfway through watching Pan's Labyrinth for the second time in an evening.


Cheers,

Torben
Torben is offline  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
Sound to light project jrz126 Electronic Projects Design/Ideas/Reviews 2 13th May 2006 02:52 AM



All times are GMT. The time now is 03:01 PM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

eXTReMe Tracker