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

AS5048A-Arduino#7

Open
Dmitry-Chernikov wants to merge 98 commits intoZoetropeLabs:masterfrom
Dmitry-Chernikov:master
Open

AS5048A-Arduino#7
Dmitry-Chernikov wants to merge 98 commits intoZoetropeLabs:masterfrom
Dmitry-Chernikov:master

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.

Dmitry-Chernikov and others added 20 commits January 10, 2019 11:56
Set the default values ​​only in the header file (AS5048A.H), and in the implementation file (AS5048A.CPP), remove them.
…ежду 0 и 360. Обновил пример для использования библиотеки. Привёл код к стилю lowerCamelCase.
…мая в языках программирования C и C++ для предотвращения множественного включения одного и того же заголовочного файла
…ий и значений, превышающих полный оборотот 0 до (2\pi).
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