Skip to content
This repository has been archived by the owner on Sep 23, 2021. It is now read-only.

AS5048A-Arduino #7

Open
wants to merge 88 commits into
base: master
Choose a base branch
from

Conversation

Dmitry-Chernikov
Copy link

@Dmitry-Chernikov Dmitry-Chernikov commented Nov 16, 2018

Added calculation of the average median of 16 measurements (algorithm).
Modernized Read and Write functions.
Added features:
//Returns the physical quantity in angular degrees, obtained from a binary 14 bit ADC number

  • RotationRawToAngle
    //Returns the physical quantity in angular radians, obtained from the binary 14-bit ADC number
  • RotationRawToRadian
    //Returns the incremental and decrementing rotation angle in the variable RotationAngle. The variable addresses are passed to the procedure.
  • AbsoluteAngleRotation
    //Returns the angle minutes
  • GetAngularMinutes
    //Returns seconds of angle
  • GetAngularSeconds
    //Returns the movement of the spur gear in mm
  • LinearDisplacementRack
    //Returns the movement of the screw in mm
  • LinearMotionHelicalGear
    //Function to sort ascending
  • quickSort
    //The function sends the NOP command and returns the contents of the register. The NOP team is a fake write to register x0000 sensor AS5048
  • DummyOperNoInf
    //The procedure records the absolute value measured by the sensor AS5048, a randomly located magnet on the axis of rotation, as zero angle position
  • ProgAbsolAngleZeroPosit
    //Set the zero position
  • setZeroPosition
    //Returns the current zero position
  • getZeroPosition
    //Get and clear the error register and output the register value to the Serial port
  • printErrors

@benhowes
Copy link
Contributor

Thanks for all the hard work @Dmitry-Chernikov! I've thought on this a lot and I think unfortunately I cannot accept this PR because this project is in english rather than russian and I do not want to end up with bi-lingual comments.

I suggest you keep your fork as a russian language version, or please feel free to re-open with english comments and I'll review.

Thanks again!

@benhowes benhowes closed this Dec 27, 2018
@Dmitry-Chernikov
Copy link
Author

Hello, well, I will translate the comments and descriptions of the library into English, the work on the library has not yet been completed, changes will be made.

1 similar comment
@Dmitry-Chernikov
Copy link
Author

Hello, well, I will translate the comments and descriptions of the library into English, the work on the library has not yet been completed, changes will be made.

@benhowes benhowes reopened this Dec 28, 2018
@Dmitry-Chernikov
Copy link
Author

benhowes welcome comments corrected.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants