TOP Contributors

  1. MIKROE (2652 codes)
  2. Alcides Ramos (351 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (90 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (136613 times)
  2. FAT32 Library (69812 times)
  3. Network Ethernet Library (55881 times)
  4. USB Device Library (46217 times)
  5. Network WiFi Library (41858 times)
  6. FT800 Library (41072 times)
  7. GSM click (28942 times)
  8. PID Library (26401 times)
  9. mikroSDK (26311 times)
  10. microSD click (25327 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
mikroSDK Library

Angle click

Rating:

1

Author: MIKROE

Last Updated: 2018-03-13

Package Version: 1.0.0.0

mikroSDK Library: 1.0.0.0

Category: Magnetic

Downloaded: 5414 times

Followed by: 6 users

License: MIT license  

Angle click features the A1335 Hall-effect angle sensing IC, made by Allegro MicroSystems LLC. This IC measures the magnetic field angular vector, based on the actual physical reading of the integrated Hall-effect sensor, as well as the user selected parameters, such as the digital filtering, dynamic range and scaling.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "Angle click" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "Angle click" changes.

Do you want to report abuse regarding "Angle click".

  • mikroSDK Library 2.0.0.0
  • Comments (2)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroBasic PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for FT90x
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for FT90x
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for FT90x
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
Other Compiler
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

mikroSDK Library Blog

Angle Click

Angle Click

Native view of the Angle Click board.

View full image
Angle Click

Angle Click

Front and back view of the Angle Click board.

View full image

Library description

Key functions:

uint16_t angle_getAngle()- Read angle

uint16_t angle_getTemperature()- Read temperature

vuint16_t angle_getMagnetics()- Read magnetics

Example description

The application is composed of three sections:

  • System Initialization - Initializes I2C module and UART for logging
  • Application Initialization - Driver initialization and angle sensing mode
  • Application Task - (code snippet) - Reads encoded angle in degrees and magnetic data in gauss
void applicationTask()
{
    Angle = angle_getAngle();
    IntToStr(Angle,txt);
    mikrobus_logWrite("Angle :",_LOG_TEXT);
    mikrobus_logWrite(txt,_LOG_LINE);

    Magnetics = angle_getMagnetics();
    IntToStr(Magnetics,txt);
    mikrobus_logWrite("Magnetics :",_LOG_TEXT);
    mikrobus_logWrite(txt,_LOG_LINE);
    Delay_1sec();
}

MikroElektronika libraries used in the example:

  • I2C
  • UART
  • Conversions

ALSO FROM THIS AUTHOR

Rotary R 2 click

0

Rotary R 2 Click is a compact add-on board that allows you to add a precision input knob to your design. This board features the TLC5925, a low-power 16-channel constant-current LED sink driver from Texas Instruments that, combined with a high-quality rotary encoder from ALPS, the EC12D1564402, allows you to add a precision input knob to your design. It also features an LED ring composed of 16 individual red LEDs that can visually represent the encoder position and more.

[Learn More]

Qi Receiver click

0

Qi Receiver click is based on the P9025AC 5W Qi wireless power receiver integrated circuit, with the advanced Foreign Object Detection (FOD) feature, from IDT. The click utilizes the principles of the inductive coupling for the purpose of wireless power transfer.

[Learn More]

GSM click

0

GSM click is the easiest way to add GSM/GPRS communication to your device. The click features Telit's GL865-QUAD. GSM click runs either on 3.3V or 5V power supply and communicates with the target microcontroller via UART interface.

[Learn More]