background image

AS5130 8 bit high speed magnetic rotary encoder 

Demoboard Operation Manual

 

Revision 1.0, 01-June-08                                                     www.austriamicrosystems.com   

Page 6 of 7 

3.1.2

 

AS5130 Encoder 

The AS5130 (U4) is running with the 5V source. The resistor R27 (0R) can be removed if the user wants to use his own 

power supply for his own tests. 

The SSI serial interface (DIO, CS, DCLK) is controlled by the microcontroller U5. 
The LED D7 is directly connected to the AS5130 on the MagRngn pin on one side, and on U5 for the other side to make it 

blinking if MagRngn = 5V (magnet too far away). 

The PWM LED is directly connected on the PWM signal of U4. 

 
The Test3..0 signals are connected to U5 but are not used. 

3.1.3

 

Microcontroller 

The microcontroller PIC 18F4550 (U5) from Microchip includes an on-chip USB interface.  

 

The U1 switch enables the bootloader mode of the microcontroller, if pressed during power up. 
In normal mode, pressing the switch makes the microcontroller writing the zero position value into the active AS5130. 

 

The connector U7 is used for ISP programming of the microcontroller only.  

3.1.4

 

J4 connector for external AS5130 

An external AS5130 device can be wired to this connector. It allows the user to test his own board, and/or fuse the 
configuration bits for the mass production. 

 

Pin 1: ePROG. 

Is the 8.5V source for fusing. The high voltage is switched only during the programming phase. 

 

Pin 2: eCS 

 

Is an independent CS signal provided by the microcontroller, only for the external sensor 

 

Pin 3: eDIO 

 

Is the same signal as DIO used for the on board sensor. Both are connected through the R14 resistor (0R). Only 

one sensor, on-board or external, can be selected at the same time with the CS and eCS signal. 

 

Pin 4: eDCLK 

 

Is the same signal as DCLK used for the on board sensor. Both are connected through the R46 resistor (0R). Only 

one sensor, on-board or external, can be selected at the same time with the CS and eCS signal. 

 

Pin 5: 5V 

 

Is the power supply of the external sensor 

 

Pin 6: 3.3V 

 Not 

used 

 

Pin 7: VSS 

 

Pin 8: eVOUT 
Analog input. Not used 

  

 

4

 

 Troubleshooting 

When operating the demo board and software it is advisable to proceed as: 

 

 

Running the demo software 

Before starting the demo software the demo board needs to be connected to the USB port of the PC. 

1.

 

Connect to the USB port. 

2.

 

Start the software. 

 

 

Closing the demo software 

After finishing the work with the demo board the software needs to be closed before disconnecting the demo board. 

1.

 

Close the software. 

2.

 

Disconnect from the USB port. 

 
 

ams 

AG 

 

 

Technical 

content 

still 

valid

Summary of Contents for AS5130

Page 1: ...chnical content of this austriamicrosystems document is still valid Contact information Headquarters ams AG Tobelbaderstrasse 30 8141 Unterpremstaetten Austria Tel 43 0 3136 500 0 e Mail ams_sales ams com Please visit our website at www ams com ...

Page 2: ...oftware programmable OTP zero position simplifies assembly as the zero position of the magnet does not need to be mechanically aligned A Power Down Mode together with fast startup and measurement cycles allows for very low average power consumption and makes the AS5130 also suitable for battery operated equipment The AS5130 Demoboard The AS5130 demoboard measures the angle of a diametral magnet tu...

Page 3: ...g system one free USB slot on your PC to connect the demoboard 2 2 Installing the Software The installation process consists of three steps Unzip the Demoboard software installation AS5130Setup zip in any local directory Execute the msi setup file Follow the instructions on the screen The demoboard and the software don t need any other files or drivers to be installed on the computer 2 3 Software ...

Page 4: ...chosen that the 0 AGC 63 If the AGC value reaches 63 the ALARM LED will blink to indicate that the magnet is too far away from the sensor and the measurement is not accurate or not valid Figure 4 SSI Readout tab Periodic Readout By unchecking this option the angle and AGC values are not read anymore and the displayed value keep their last state during the normal readout The read period can be adju...

Page 5: ... Zero Position Programming The Zero Position Programming tool is used to assign a zero value to a defined mechanical position Move the magnet to a desired reference position which is the mechanical 0 Click on Get absolute position The actual angle seen on the sensor side is displayed in decimal and binary Z7 0 bits Click on Write zero position The bits Z7 0 are written to the Zero Position registe...

Page 6: ...goes to normal mode By setting the bit Wake enable a signal to the Expansion connector will be send Enable Sin Cos Setting by setting this bit a new tab will be opened but without function 3 AS5130 Demoboard hardware Figure 6 AS5130_DB_1 0 Demoboard schematics 3 1 1 Power supply The demoboard is powered directly from the USB plug of a PC or from an external DC power supply 7 5V 100mA connected on ...

Page 7: ...ws the user to test his own board and or fuse the configuration bits for the mass production Pin 1 ePROG Is the 8 5V source for fusing The high voltage is switched only during the programming phase Pin 2 eCS Is an independent CS signal provided by the microcontroller only for the external sensor Pin 3 eDIO Is the same signal as DIO used for the on board sensor Both are connected through the R14 re...

Page 8: ...right to change specifications and prices at any time and without notice Therefore prior to designing this product into a system it is necessary to check with austriamicrosystems AG for current information This product is intended for use in normal commercial applications Applications requiring extended temperature range unusual environmental requirements or high reliability applications such as m...

Reviews: