4

I am planning on making a simple stopwatch with:

  • A display
  • One or two additional buttons to start the stopwatch and stop the stopwatch and maybe reset it.

The problem is that it has to be as small as possible. With all those different Arduino boards out there, I don't know which one I should buy (mini, micro, nano, ...).

I am not sure how many pins I need for the LCD since I have read that in fact not all pins are mandatory for the LCD. I have done something earlier with an LCD and I found the pot meter for the LCD contrast level a bit of waste of space. Could I just replace it with a certain resistor or something?

How many pins in the end would I need and which board would be fitting for this little project?

7
  • atmel.com/devices/ATTINY26.aspx Commented Apr 18, 2014 at 17:21
  • What LCD are you planning to use? What power supply? If you can still get one, I think the Arduino framework has mostly been ported to the ATmega-based AVR Butterfly, which might have everything you need. Commented Apr 18, 2014 at 18:43
  • It should be a pretty basic LCD like this for example. I guess a 9V battery would be the maximum I could use as size. Commented Apr 18, 2014 at 19:00
  • That's not really a basic LCD. Common, sure, but not basic. And I'd use two Lithium cells instead of a 9V. Commented Apr 18, 2014 at 19:40
  • Ok thanks for the comment. I will look into a more basic LCD. Which arduino board would you recommend? Commented Apr 18, 2014 at 19:42

1 Answer 1

1

By that photo you posted, you pretty much answered a decent part of your question. You'll need six pins for the LCD, and one or two for the button. That means that you need a total of 8 pins. That Uno pictured has 20 (analog can act as digital, too).

As far as the boards, if you feel comfortable with some extra work, I'd recommend an ATtiny. From what I can find, it seems like you can drive a LCD with a 44 or an 84 (similar, but the 84 is more powerful).

Source for image and how to program chip. I'm not going to go into the details for this method, as the link has the necessary files...


That's the smallest way to do this*, however, if you want to use a real Arduino board, then I'd recommend the Micro for a few reasons.

First of all, it has the newer ATMEGA32u4 chip, found on the Leonardo. I do not recommend the Mini because, although it's the smallest of the three, it doesn't feature on board USB. You would have to buy another adapter to program it. If you're already using a breadboard, the extra 2cm (or so) is worth not having to spend more to buy both of those components. The Nano is the equivalent of the Mini, only with USB. Also, the Nano and the Micro are roughly the same size, one a little bit longer and one a little bit wider.

However, the Nano and Micro are roughly the same as far as processing power, so I'd recommend that, if you can get one significantly cheaper, to go with that. It doesn't really matter that much.

*If you're building this on a breadboard, it won't be smaller. If you're transferring to a PCB, then you should use an ATtiny.


As far as the pot goes, I'd recommend getting a trimmer with an equivalent value. Some of them are very small, as I have one that fits on the USB connector part of my thumb drive. They need a screwdriver to adjust, but I would recommend it. I've had issues moving it from a dark room to in the sun and not being able to see it clearly. Spend the two cents and the 2 cm2 and have an opportunity to change it if needed.

For the battery, I would recommend any rechargeable battery (under ~3.5V) if and only if you add a proper chip to not waste energy in the conversion. I talked about this in this post.

1
  • Looks like I'm going with a cheap copy of the Arduino Micro or Nano, depending which one is the cheapest. I don't have a lot of knowledge in electricity so the ATTiny 44 looks a bit too complex for me. Commented Apr 24, 2014 at 12:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.