background image

AS5045 12-BIT PROGRAMMABLE MAGNETIC ROTARY ENCODER  
Adapter PCB Operation Manual

 

Revision A.02, 14-Mar-07                                     www.austriamicrosystems.com   

Page 5 of 12 

 

 

Output modes: 

a) PWM output: 
no additional components are necessary. Once the power supply has been applied, the angle information is 

available at the PWM pin (pin1 of J1)  

 

b) Absolute angle information 
To access the 12-bit absolute angle information, an external microcontroller must be connected as shown in 

Figure 5. Make sure that the controller is able to drive the CSn pin with the connected pulldown resistor (R7). If 

necessary, remove this resistor. 

The clock rate can be as high as 1MHz. There is no minimum clock rate. Data can also be clocked manually.  
The digital I/O's of the AS5045 are buffered by VDD5V, therefore the digital I/O's of the controller should be at the 

same voltage level (see power supply options table). 

 

d) Magnetic field strength status; Pushbutton function 
no additional components are necessary. The two open-drain outputs MagInc and MagDec (pins 8 and 7 of J1) 

will turn on/off as the magnetic field (distance between magnet and chip surface) changes. When both outputs are 

on, the magnetic field is not within the recommended range (see datasheet). 

  
Programming (zapping) the Chip. 

For programming the AS5045, 3 digital signals are required: CSn, Prog and CLK (see datasheet).  For permanent 

writing, VPROG must be elevated to 7.5V during the programming cycle.  

For immediate programming, this PCB can be connected directly to the AS5045 demo board (available 
separately), where all the programming timings are generated by the onboard microcontroller. 

 

AS5045 adapter PCB layout and component placement: 

 
The PCB has several connection options. All required 

pins are accessible via the two 100mil- connectors J1 

and J2.  

These connectors are 600mil apart, which allows them to 
be soldered to a wide 16-pin DIL IC socket for easier 

access or ribbon cable connection.  

Furthermore, J2 (pins 3..9) fit to the AS5045 demo board 

and allow this PCB to be used as external encoder.  
 

The hole in the PCB underneath the chip allows 

centering of a 6mm diameter magnet. 

 

The 6 LEDs and voltage regulators are optional. 
Minimum required components are C4 (1µF) and R7 

(0…4k7). 

     

 

 

 

 

Layout: Bottom View 

Layout: Bottom Components 

 

AS5045 adapter board: top view 

ams 

AG 

Technical 

content 

still 

valid

Summary of Contents for AS5045

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: ...e operation it can be supplied with 3 3V 5V or 7 5 12V DC supply voltages Figure 1 AS5045 Adapter PCB top and bottom view Features 100mil connector for direct connection to AS5045 demo board Provision for a 600mil DIP socket Hole in PCB to center a 6mm magnet at the bottom of the IC LED for Mode output LED for PWM output LEDs for magnet status outputs MagInc MagDec On board 5V linear voltage regul...

Page 3: ... indicates a distance reduction between the magnet and the device surface See Error Reference source not found 2 MagDECn DO_OD Magnet Field Magnitude DECrease active low indicates a distance increase between the device and the magnet See Error Reference source not found 3 NC must be left unconnected 4 NC must be left unconnected 5 NC must be left unconnected 6 Mode select between slow open low VSS...

Page 4: ... misalignment due to the non linear magnetic field distribution along the circumference of the magnet The recommended magnet diameter is 4 6mm 5 1 2 Magnet distance and material To achieve the required field strength at a reasonable distance 0 5 5mm it is recommended to use rare earth magnets such as Samarium Cobalt SmCo or Neodyne Iron Boron NdFeB magnets 5 1 3 Magnet misalignment In theory the m...

Page 5: ...ls Power Supply options Supply voltage apply at ext voltage regulator IC2 or IC3 digital I O level remark 3 0 3 6V VDD5V and VDD3V3 not required 3 0 3 6V short VDD5V and VDD3V3 4 5 5 5V VDD5V not required 4 5 5 5V 7 5 20V ext voltage regulator pin 1 J2 3 3V type e g LE33C ST Micro 3 3V short VDD5V and VDD3V3 7 5 20V ext voltage regulator pin 1 J2 5 0V type e g 75L05 5 0V PCB delivery status if alr...

Page 6: ...distance between magnet and chip surface changes When both outputs are on the magnetic field is not within the recommended range see datasheet Programming zapping the Chip For programming the AS5045 3 digital signals are required CSn Prog and CLK see datasheet For permanent writing VPROG must be elevated to 7 5V during the programming cycle For immediate programming this PCB can be connected direc...

Page 7: ...mensions 7 Supporting Tools austriamicrosystems provides the following tools for developments using the AS5045 rotary encoder IC AS5045 Demoboard see Figure 8 AS5045 Demoboard Operation Manual AS5045 Demoboard Software AS5045 Adapter PCB see Figure 1 These supporting tools are available at local distributors http www austriamicrosystems com 06contactcenter sales_start htm or can be ordered online ...

Page 8: ...oftware The AS5045 demoboard can be used in several ways 8 1 1 as standalone unit supplied by a 9V battery Connect a 7 5V 12V supply to pins GND and 9V at the right side of the board No other connections are required 8 1 2 as standalone unit supplied by an USB port Connect the demoboard to a PC using a USB cable included in demoboard shipment The board is supplied by the 5V supply of the USB port ...

Page 9: ...Manual see 7 Supporting Tools 9 1 Connecting the AS5045 adapter PCB to the demoboard The AS5045 Adapter PCB is intended as a standalone device that allows easy and quick testing of the AS5045 without the need of having to make your own PCB It allows access to each IC pin via a standard 100mil pitch 600mil Dual In Line connector has LEDs on all digital outputs and comes with an onboard 5V linear vo...

Page 10: ...pter PCB to prevent accidental damage of the IC when an input voltage is applied to the regulator and the 5V output is fed to the VDD3V3 supply pin Figure 9 Configuring the Adapter PCB for 3 3V operation See Figure 10 AS5045 Demoboard 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 MagINCn MagDECn NC NC NC Mode VSS Prog_DI DO CLK CSn PWM NC NC VDD3V3 VDD5V AS5045 IC1 7 2 3 4 5 6 1 10n 1µF µC Cap only requi...

Page 11: ... is disconnected OTP programming of the external AS5045 encoder To program the external AS5045 encoder a programming voltage of 7 5 to 8V DC 130mA must be applied to pins Vzapp and GND of the 3 pin connector at the right hand side of the demoboard A 10µF buffer cap is recommended for this voltage see Figure 10 Programming is not recommended with long wires between demoboard and external encoder as...

Page 12: ...T United Kingdom Phone 44 118 973 1797 Fax 44 118 973 5117 austriamicrosystems AG Klaavuntie 9 G 55 FI 00910 Helsinki Finland Phone 358 9 72688 170 Fax 358 9 72688 171 austriamicrosystems AG Bivägen 3B S 19163 Sollentuna Sweden Phone 46 8 6231 710 austriamicrosystems USA Inc 8601 Six Forks Road Suite 400 Raleigh NC 27615 USA Phone 1 919 676 5292 Fax 1 509 696 2713 austriamicrosystems USA Inc 4030 ...

Page 13: ...austriamicrosystems for current information This product is intended for use in normal commercial applications Copyright 2006 austriamicrosystems Trademarks registered All rights reserved The material herein may not be reproduced adapted merged translated stored or used without the prior written consent of the copyright owner To the best of its knowledge austriamicrosystems asserts that the inform...

Reviews: