Speedometer digital 2digit in 7segment with attiny2313

Discussion in 'The Projects Forum' started by erwin4838, Mar 4, 2012.

  1. erwin4838

    Thread Starter New Member

    Mar 4, 2012
    Dear all
    i'm new beginning in this forum,can't you help me to build Speedometer digital 2digit in 7segment with attiny2313,the detail principle as follows attached files
    thanks for you attention
  2. mcasale

    Senior Member

    Jul 18, 2011
    It's difficult to see what you are doing from the diagram.

    I assume there is a rotating wheel with a slot in it. Do you want to sense the presence of the slot, and that counts as 1 revolution?

    This is a typical scenario with stepper motors that have something called "an index switch". It allows an MPU to determine that the motor is spinning properly.

    If you want to get "really fancy", put an encoder on the motor and you will know where it is all the time.

    Very often the index switch is an optical switch or a Hall-effect switch. Both are easy to interface with. I recommend you pick a simple MPU (Arduino, Basic Stamp, etc.) to get it running soon.
  3. Experimentonomen


    Feb 16, 2011
    no automotive modifications on this forum, read the terms of service
  4. MrChips


    Oct 2, 2009
    Nothing wrong with an Atmel ATtiny2313. I have used it many times.