Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18
  1. #11
    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?


  2. Likes hyamesto liked this post
  3. #12
    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?

    Congratulations:
    You have a real working tachometer, and Im happy to see working full (with the time recorder too).
    Try to fix the motor and the shaft, keep it as straight as possible (curves no more than 90).
    For your information, Im a real civil pilot, flying a Cessna 172, and dont worry by erratic readings under 700 rpm.
    In the real plane, its very rare having the motor running under 1000 rpm. As I say before, the tachometer its non lineal response, at more rpm, more torque you need, but is easy to programing a function to correct that error.
    Again, keep the good work.
    Regards.
    Horacio.

  4. Likes SimSupervisor liked this post
  5. #13
    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?

    Other thing, you can use a gear train to increase the revolutions of the shaft, and you can use the DC Motor with more RPM.
    Remember, the max RPM are marked with red line in the tachometer (2700 RPM), and its very rare exceed this value in normal flight, except with full throttle and nose down to the ground. (like kamikaze....)
    Regards.
    Horacio.

  6. #14
    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 got a second DC motor at the electronic surplus store today, thinking it was a 5500 RPM (that's what they said at the store) but it was likely 8800 or something like that; when applied a full PWM the tacho was doing a full turn before going back to 2700. Its rather impressive, but totally not what I am looking for. lol. I think I'll stick with the motor I have on hand; it goes up to about 4000 RPM, unless I get an interesting gear train the current motor is very adequate. I'll try to work on getting a better corrective equation, and be set.

    Thanks a lot for your take and info about the cessna 172. The panel I am trying to populate is based on a cessna 150 so there are quite a lot of similitude. There are more instruments for me to work on...

  7. #15
    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 forgot to add: I am quite happy to get the hour recording function. I never planned to have one and it isn't a necessary function of the simulator, but now that I have it, its going to be something fun to track.

    I looked about trying to reset the numbers, and unless I dismantle the unit this wont be happening. So, when I install the simulator, I'll note the "hours" and just count from there.

  8. #16
    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 can do one thing more to zeroing the hour recording counter:

    Leave running the motor for 319 days. 6 hours, 20 minutes, 25,66 seconds....

    Regards.
    Horacio.

  9. Likes SimSupervisor liked this post
  10. #17
    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?

    Yes, I thought of that.

    But I wondered what would happen if I leave it on about six minutes too long...

  11. #18
    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?

    Good news of the day!
    I found out why it was stutering at low speed. The PSU wasn't OK with the motor's low speed revolution power peek. I plan on using the computer's PSU to power the avionics, so I went ahead and used a computer power supply unit.

    After measurments, I made a graph of what my motor does at specific PWM values

    and from there I toyed with math until I made up something that was close enough. It still have some overshoots below 1300 and over 2900 RPM, but is very close to precise in the most important zone of 1400-2700 RPM - I don't think I'll tweak it any more than that.

    Attached Images Attached Images

Page 2 of 2 FirstFirst 12