Read Resolvers with Arduino, no additional hardware.

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ก.ย. 2024
  • This is experimental but works fine for flight simulator applications.
    Download now at www.patreon.com/curiosityworkshop
    Connection to x-plane was done with my X-Plane/Direct arduino library and X-Plane plugin, also available at the link above.
    Resolver Arduino Library. This returns the position of a connected resolver.
    This is experimental and is designed for use with slow moving resolvers, like those that change with a human moving a knob.
    Accuracy is not perfect due to the square wave stimulation but it should work OK for many applications that just need a rough position.
    This was developed and tested on an Arduino Nano for general use.
    Accuracy should be increased with faster boards and those that have 12bit sampling capability (M0 and such)
    To increase accuracy on slow boards, no timeout processing is built in so if a pulse is not seen on the reference input pin the code will wait forever for it.
    To report problems, download updates and examples, suggest enhancements or get technical support:
    patreon: www.patreon.com/curiosityworkshop

ความคิดเห็น • 12

  • @GordonFreeman22
    @GordonFreeman22 11 หลายเดือนก่อน +1

    any idea how to read resolver signals on an rapsberry pi ?

  • @wv838
    @wv838 3 ปีที่แล้ว +1

    Very nice. Good work!

  • @lamalandy
    @lamalandy 2 ปีที่แล้ว

    Looking forward to trying your resolver library to read the course setting resolver on my HSI. I found this looking for a way to read a fluxgate sensor, it will be interesting to see if it can be adapted for that purpose. Nice work, Thanks.

    • @curiosityworkshop3957
      @curiosityworkshop3957  2 ปีที่แล้ว

      It works ok, but not super accurate. I want to make a circuit to read them more accurately

    • @lamalandy
      @lamalandy 2 ปีที่แล้ว

      @@curiosityworkshop3957 I shall try with sine wave excitation if accuracy is a problem. Course resolver is designed for 30Hz. Fluxgate output is 800Hz when excited with 400Hz.

    • @curiosityworkshop3957
      @curiosityworkshop3957  2 ปีที่แล้ว

      @@lamalandy let me know how it goes!

    • @lamalandy
      @lamalandy 2 ปีที่แล้ว

      @@curiosityworkshop3957 I'm wondering if it's ok to have the resolver output connected directly to the analogue inputs of the nano, are there not negative excursions on the resolver outputs? Maybe there are input clamping diodes taking care of it but it doesn't look right to me. What do you think? I'm reluctant to try with a properly energised rotor like it is now. David

    • @curiosityworkshop3957
      @curiosityworkshop3957  2 ปีที่แล้ว

      @@lamalandy I haven't had issues since I'm exciting it with a positive only pwm signal. If you send a sine wave that goes from +v to -v there could be problems. Could you excite with a positive biased sine wave? I haven't tried it yet