go_away

Author Topic: Tap Counter  (Read 1168 times)

0 Members and 1 Guest are viewing this topic.

Offline offyTopic starter

  • Supreme Robot
  • *****
  • Posts: 340
  • Helpful? 1
Tap Counter
« on: September 19, 2009, 05:44:40 PM »
So, I mostly don't do circuit designing and building, so help would be awesome. I want to make a board with a button, and 3 LCD's (single number ones). When I press the button, I want it so the number goes from 000 to 001, and the next time from 001 to 002 and up more. I can do the programming, just not sure what things I need for the board.

Offline Soeren

  • Supreme Robot
  • *****
  • Posts: 4,672
  • Helpful? 227
  • Mind Reading: 0.0
Re: Tap Counter
« Reply #1 on: September 19, 2009, 06:42:43 PM »
Hi,

If you just wanna count taps, the cheapest pocket calculator will do that.
Enter the following:
CLR (Display shows 0)
-
1
+ (Display shows -1)
1
=  (Display shows 0)
=  (Display shows 1)
=  (Display shows 2)
=  (Display shows 3)
etc.
And you've got 8 digits on a calculator costing $2..$3

The "=" button can be replaced with a switch of your own choice.
Regards,
S°ren

A rather fast and fairly heavy robot with quite large wheels needs what? A lot of power?
Please remember...
Engineering is based on numbers - not adjectives

Offline offyTopic starter

  • Supreme Robot
  • *****
  • Posts: 340
  • Helpful? 1
Re: Tap Counter
« Reply #2 on: September 19, 2009, 06:49:20 PM »
But this is for learning how to build circuits with built in LCD's. Its not for a project or anything.

Offline Soeren

  • Supreme Robot
  • *****
  • Posts: 4,672
  • Helpful? 227
  • Mind Reading: 0.0
Re: Tap Counter
« Reply #3 on: September 19, 2009, 07:29:56 PM »
Hi,

OK then, a parts list would be:
1 ÁController with at least 11(12) I/O-lines. 1 for the button, 7 (8 if you want to use the decimal points) for the segments and 3 for the backplates of each display.
3 single digit displays (or you could use one display with 3 or 3Ż digit).
1 button.
A battery holder (and battery).
A voltage regulator with "glue" if you want to use a higher voltage battery than the controller can handle.
Some PCB material or Vero-board.
Since you don't need any kind of precision timing, you could either use a ÁController with internal oscillator, use a resonator, an X-tal oscillator or an X-tal with the required caps.

That should be the hardware needed.
Regards,
S°ren

A rather fast and fairly heavy robot with quite large wheels needs what? A lot of power?
Please remember...
Engineering is based on numbers - not adjectives

 


Get Your Ad Here