Page 1 of 2 12 LastLast
Results 1 to 10 of 18
  1. #1
    75+ Posting Member
    Join Date
    Aug 2015
    Location
    Montreal
    Posts
    84
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Interfacing mechanical tachometer with Arduino?

    sorry if this has even been posted, from my searches even a thread named "Old Tachometer" was talking about a tachometer with internal electronics (in that case, a DC motor)

    Part of a lot of "non-functional" instruments I acquired for my instrument panel is a "Recording Tachometer, Mechanical" from Mitchell Aircraft Products. It really is Mechanical - no electronic parts inside. Now, after cleaning, it looks brand new; and beside the o-ring being wrongly sized (and blocking the needle if tighten) the unit seems to be still functionnal, in that if I turn the shaft protruding from the back (manualy) I can see the needle moving up, and coming back down when I stop.

    I managed to test up to maybe 500 rpm by hand, but I got thinking, surely I could interface this with a DC motor, that in turn I could interface with an Arduino (and in turn with link2fs)?
    Would it be a good idea to have a DC motor running constently from the arduino mega board? Or should I just strip the guts out and use a servo (and some gears)?

    (it looks so good, I'd be happy to not have to gut it)

    What do you guys think?

  2. #2
    150+ Forum Groupie
    Join Date
    Feb 2007
    Location
    Argentina
    Posts
    187
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Interfacing mechanical tachometer with Arduino?

    Hi.
    Can you post a photo of the instrument? I presume this...


    Sure, you can drive that with a DC motor, but you need to know if the relationship between the real RPM of the original airplane, and the translation of the instrument.
    Example: The real airplane has, for example 2000 RPM, if you turn the shaft of the instrument 2000 RPM and the needle show 2000 RPM, you need a DC motor with at least 3500 rmp (if you want full scale indication) connected directly, and with arduino, use a PWM output (Pulse Width modulation) to control the rpm of the DC motor.Some tachometers (like cars) take the rpm by a reducccion gear, and in this case, you can use a less rpm DC motor.

    And yes, you can use a servo, with spur gear with 2:1 relation (the servo turns 180š and you need at last 270š,
    but you loose the time recorder.

    My opinion, try to use a DC motor.
    Regards.
    Horacio.
    Attached Images Attached Images

  3. #3
    75+ Posting Member
    Join Date
    Aug 2015
    Location
    Montreal
    Posts
    84
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Interfacing mechanical tachometer with Arduino?

    Thanks a lot Horacio.

    Yes, it looks quite a lot like the one you posted, heres a picture of mine.



    Today I tried to hook it up to a DC motor I have on-hand. That motor is meant to run at 12V as far as I know. Running 5V trough it and interfacing it with fun tac to the tachometer, it was stable at 1500. I ran it at 12V and it would go higher than the top 3500.

    The tacometer shaft is made to accept a square shaft. Interfacing to this should be easy. But I still have to get a more appropriate DC motor. Not quite sure what to get but I guess I can experiment.
    Can we run DC motors directly off Arduino's PWM without issues? I was affraid the motor would want more power than the PWM would output.

    I'll also have to make some sort of bracket to hold it in place.


    Regarding the recording function... so far it haven't moved at all from the 23377 hours it is currently at. Ok, I must admit I haven't made it revolve for a full hour yet. LOL.
    Can I reset its position to zero without damaging it?

    Another issue I have with it (and likely why I got it as non-functionnal) is that the o-ring between the faceplate and glass is too thin (and of a larger diameter, I assume its not the original one) - being thin result that if I tight the faceplate in place, the needle is stuck. Any idea what I should use for a spacer, to ensure its not too tight and the glass doesn't vibrate?
    Attached Images Attached Images

  4. #4
    150+ Forum Groupie
    Join Date
    Feb 2007
    Location
    Argentina
    Posts
    187
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Interfacing mechanical tachometer with Arduino?

    You cannot use DC motor directly off arduino. The maximum PWM output is 40mA.
    The motor must overcome the inertia of the internal mechanics (inertia rise at more RPM indication), and the current consumption can rise above 40 mA.
    You need a driver or external circuit with fast response to accept the PWM signal.
    The circuit need some fast action mosfet transistor, and a Schottky diode for protection of current return from the motor to arduino pin, some resistors and maybe others components to run the dc motor with external 12v.
    There are some arduino shields to control DC motors ready to work with 12 v, but i donīt know if are faster to reconigze the PWM.
    And the recording function, the last number (white background) moves every 1/10 of hour, that is 6 minutes.
    You must turn at least 6 minutes to change the last number, and 1 hour to move the next digit.
    Reset is posible, but itīs very difficult to do. I would leave so. I do not recommend disarm or reset. But if you want, you can use a sewing needle to move individual numbers, trying to separate the others digits to avoid the gear system between digits.
    And the last, i donīt understand about the o-ring. Itīs the glass touching the needle?
    Maybe you can suplement with a ring of thin plastic (plastic like credit card, or more thin, or various circles of black paper).
    Use a compass cutter.

    And, sorry if my english is no good.

    Regards.
    Horacio

  5. Likes SimSupervisor liked this post
  6. #5
    75+ Posting Member
    Join Date
    Aug 2015
    Location
    Montreal
    Posts
    84
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Interfacing mechanical tachometer with Arduino?

    Do not worry, English is not my main language either, as long as we understand the idea all is good. Driving this 12V motor I already have and know is fast enough sounds like a good plan, I will look into the schematics for that. Thanks.

    Yes, the glass touch the needle, but you gave me the best idea for a reacement: a plastic lid.

    I'll post pictures of my progress.

  7. #6
    75+ Posting Member
    Join Date
    Aug 2015
    Location
    Montreal
    Posts
    84
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Interfacing mechanical tachometer with Arduino?

    no pictures yet, but for the sake of helping others who might have similar issues in the future, here's my progress so far.

    I looked online, and documentation on interfacing a DC motor with arduino generally talks about using a 2n2222 transistor, such as this website:
    http://aksoapy29.comoj.com/Pages/Tut...%20Controller/

    I do not have a 2n2222 handy to try out, but I did have a few D44H11 and D45H11 (NPN & PNP power transistors - see http://www.st.com/web/en/resource/te...CD00000942.pdf ) so I used the D44H11 in the same configuration as with previously mentionned website. I achieved a convincing result on my test bench (no picture of that mess, sorry) so this is promising.

    My findings so far with the unknown motor (I think it was pulled from a defective scanner and was the belt-driven scanning tray motor..?) interfaced with this transistor, 12V, and the arduino PWM shows that I will have to limit the pwm to not go too much over the 35 hundred RPM my tachometer handles.

    Thanks again Horacio

  8. #7
    150+ Forum Groupie
    Join Date
    Feb 2007
    Location
    Argentina
    Posts
    187
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Interfacing mechanical tachometer with Arduino?

    Youīr welcome.
    Try to use a flexible shaft between the DC motor and the tachometer, to avoid misaligned shaft forces. Sometimes a long spring can be used, or like the photo...

    The tip of the shaft is rectangle.

    Regards.
    Horacio.
    Attached Images Attached Images

  9. #8
    75+ Posting Member
    Join Date
    Aug 2015
    Location
    Montreal
    Posts
    84
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Interfacing mechanical tachometer with Arduino?

    I was thinking of interfacing the motor directly to the tachometer, leaving some sort of loose between the shafts to allow movement, but if I could get something like this it would be even better!

    I'll see if I can find these anywhere.

  10. #9
    150+ Forum Groupie
    Join Date
    Feb 2007
    Location
    Argentina
    Posts
    187
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Interfacing mechanical tachometer with Arduino?

    Very important...............
    Checking Arduino Mega specs i found:

    Absolute MAX per pin 20mA
    Recomended 10 mA

    Absolute MAX 200 mA for entire package

    Regards.
    Horacio.

  11. #10
    75+ Posting Member
    Join Date
    Aug 2015
    Location
    Montreal
    Posts
    84
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Interfacing mechanical tachometer with Arduino?

    Thanks for pointing this to me Horacio!

    Right now, I am using external power supply for the instruments. I still have lots to do, but the Arduino currently control one DC motor on 12V and one servomotor on 5V, while communicating with the computer via serial.

    I found out that some of the rotary tools (e.g. dremel) have flexible shafts comparible with the tachometer - I am looking at how I'll interface the motor to the shaft, but it looks promising.

    Attached Images Attached Images

Page 1 of 2 12 LastLast