FAQFAQ   GalleryGallery   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in   Forum RSS Feed   Hacked Gadgets Main Site 

new to electronic projects, seeking assisstance with one

 
Post new topic   Reply to topic    Hacked Gadgets Forum Index -> Electronic Help
View previous topic :: View next topic  
Author Message
Mr.Flint
Newbie


Joined: 03 Oct 2006
Posts: 4

PostPosted: Tue Oct 03, 2006 1:28 pm    Post subject: new to electronic projects, seeking assisstance with one Reply with quote

Hi there folks,
First let me cover my background or the lack of it in electronics Wink
the most complicated electronical thing i ever done is a an brushtracks tank (a soap box, with glued to it toothbrush heads, and two vibrating motors)

so im definately a newbie Smile

anyway im seeking suggestion for the most smple 2 digits led counter - it is supposed to be a ball counter for a paintball marker.
As i see it, it should count downward from 99 when each ball presses the button (IR sensor would be too difficult probably) and when it comes to zero it resets itself back to 99.

so i would really be thankful if someone could atleast tell me where to start.


oh and also does anyone has a good suggestion where to get non expensive battery powered (9v top) push type solenoid?
Back to top
View user's profile Send private message

Alan
Site Admin


Joined: 29 Jan 2006
Posts: 1399
Location: Winnipeg, MB

PostPosted: Tue Oct 03, 2006 6:59 pm    Post subject: Reply with quote

Hi Flint,

This article may be helpful:
http://www.warpig.com/paintball/technical/electronics/shotmeter/

Using a microcontroller to do this would be quite simple if you have the equipment to program it... If you decide to do this yourself you could either use two 7 segment displays or an LCD display. If you go with an LCD they come in small single line versions that may be just right.

This one from BG Micro comes to mind:
http://www.bgmicro.com/prodinfo.asp?sid=083163194444444420716163126&prodid=LCD1003&page=1&cri=lcd&stype=3

Back to top
View user's profile Send private message Send e-mail
Mr.Flint
Newbie


Joined: 03 Oct 2006
Posts: 4

PostPosted: Wed Oct 04, 2006 11:53 pm    Post subject: Reply with quote

Thank you Alan, the article is quite interesting, though its far more complex than what i had in mind,

i was looking at something like this one
http://www.syste.ms/g36c/index.php

but even simplier - the IR detector replaced with a micro switch (if that will even work)

or atleast a good explanation of the parts required for that project above, as im not certain that i understood it fully.
Back to top
View user's profile Send private message
Alan
Site Admin


Joined: 29 Jan 2006
Posts: 1399
Location: Winnipeg, MB

PostPosted: Thu Oct 05, 2006 12:31 am    Post subject: Reply with quote

Mr.Flint wrote:
Thank you Alan, the article is quite interesting, though its far more complex than what i had in mind,

i was looking at something like this one
http://www.syste.ms/g36c/index.php

but even simplier - the IR detector replaced with a micro switch (if that will even work)

or atleast a good explanation of the parts required for that project above, as im not certain that i understood it fully.


An IR circuit is quite easy to hook up and it will not have the bounce issues that a switch would have:
http://www.embedded.com/showArticle.jhtml?articleID=18902552

You could build this using standard TTL. But you would have to hammer out exactly what you need it to do up-front and know that it will never be able to be changed (without changing the hardware)

This would be a very simple job for a PIC chip multiplexed to two 7 segment displays and an IR sensor. Smile
Back to top
View user's profile Send private message Send e-mail
Mr.Flint
Newbie


Joined: 03 Oct 2006
Posts: 4

PostPosted: Fri Oct 06, 2006 1:29 am    Post subject: Reply with quote

Alan wrote:


You could build this using standard TTL. But you would have to hammer out exactly what you need it to do up-front and know that it will never be able to be changed (without changing the hardware)

Well like i said all i need it to do is to count from 99 to 0 and then reset, nothing else. Any suggestions on where to start on the standard TTL?
Alan wrote:

This would be a very simple job for a PIC chip multiplexed to two 7 segment displays and an IR sensor. Smile

well, im curious are those PIC chips are pre programmed or they need to be programmed after the assembly?
Back to top
View user's profile Send private message
Alan
Site Admin


Joined: 29 Jan 2006
Posts: 1399
Location: Winnipeg, MB

PostPosted: Fri Oct 06, 2006 9:07 am    Post subject: Reply with quote

Mr.Flint wrote:
Alan wrote:


You could build this using standard TTL. But you would have to hammer out exactly what you need it to do up-front and know that it will never be able to be changed (without changing the hardware)

Well like i said all i need it to do is to count from 99 to 0 and then reset, nothing else. Any suggestions on where to start on the standard TTL?
Alan wrote:

This would be a very simple job for a PIC chip multiplexed to two 7 segment displays and an IR sensor. Smile

well, im curious are those PIC chips are pre programmed or they need to be programmed after the assembly?


Yes PIC chips need to be programmed, they are basically a small computer on a chip. You program it to do anything you need.

To do it via TTL here are a few resources that should get you started.

BCD UP/Down Counter:
http://www.physics.wisc.edu/undergrads/courses/623-f06/ds/74LS193.pdf#search=%22ttl%20up%20down%20counter%22

BCD to 7 segment
http://www.ceid.upatras.gr/courses/microlab/ask3/74LS47N.pdf#search=%22bcd%20to%207%20segment%20ttl%22

7 segment details
http://www.iguanalabs.com/7segment.htm

If you want to use a switch, you will have to debounce it, here is some information on how to do that:
http://www.ece.utep.edu/courses/web3376/concepts/debounce.html
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Hacked Gadgets Forum Index -> Electronic Help All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group