Skip to the content
PCBKitNew board
2 layers20 × 15 mmEncoder, the printed circuit board in 3D

Encoder Board For AMS AS5048A, AS5047D and others with SPI interface.

Size
20 × 15 mm
Copper layers
2
Thickness
1.6 mm
Parts
13
Nets
13
Pads
39
Tracks, vias
107, 8
Pours
2
Routed
Yes
KiCad
KiCad 4
Created
22 Jan 2017
Updated
17 Feb 2022

Overview

Encoder is an open-source printed circuit board by meerstern, from the meerstern/Encoder_TSSOP14 repository on GitHub. It is a 2-layer board of 20 × 15 mm with 13 parts on 13 nets, routed with 107 tracks and 8 vias.

It is built around the AS5048A. Its parts include 6 resistors, 2 capacitors and 1 IC. It belongs with the interfaces and adapters boards of this library.

Main components

1

README

README.md

Encoder_TSSOP14

The Encoder Converter board of Kicad Files for AMS AS5048A, AS5047D and others with SPI interface.

AMS社製磁気エンコーダ AS5048A, AS5047D等のTSSOP14を2.54mmピッチへ変換するKicadファイルです。

3.3V電源及びSPIインタフェースのピンが出ています。 他のピンは基板上のパット及びチップ抵抗のパターンからアクセス可能です。

img

img

AS5048A/AS5047D仕様

  • 14bit(16384)/1回転の高分解能磁気エンコーダ変換基板です
  • 磁石の向きをSPI通信を介して位置を読み取ることができます
  • サンプリング周期は最大12kHzで値が更新されます
  • ネオジム磁石とチップは5mm程度の距離でもある程度正確に読込できます
  • 磁石中心とチップ中心を高精度に軸合わせしなくともある程度正確に読込できます

変換基板仕様

  • 3.3V電源(5Vpinと3.3Vpinが基板上で短絡)
  • サイズ20mm x 15mm
  • M3 x2 ピッチ15mm固定穴
  • SPI端子出力ピンのみ

寸法図

img

使用可能エンコーダ

使用例

  • ネオジム磁石をタイヤや歯車等の軸中心の可動部に取り付けます
  • エンコーダ基板のチップをネオジム磁石の中心と合わせて台車等の固定部に取り付けます
  • 下記はProjectinBallでの使用例です。ミラー部にネオジム磁石、基板部にエンコーダ変換基板が取り付けてあります

img

# プログラム例

AS5048A SPI (Microchip C30)

※MOSIは常にhighのため、MOSIを3.3Vへ接続し、3線通信でも可。

c
int data0,data1,res;
SPICS1_OFF;
putcSPI2(0xFF);
while(SPI2STATbits.SPITBF);
while(!SPI2STATbits.SPIRBF);
data0=getcSPI2()&0xFF;
putcSPI2(0xFF);
while(SPI2STATbits.SPITBF);
while(!SPI2STATbits.SPIRBF);
data1=getcSPI2()&0xFF;
res=((data0<<8)+data1)&0x3FFF;
SPICS1_ON;

AS5047D/P SPI (Microchip C30)

c
int data0,data1,res;
SPICS1_OFF;
putcSPI2(0x3F);
while(SPI2STATbits.SPITBF);
while(!SPI2STATbits.SPIRBF);
data0=getcSPI2()&0xFF;
putcSPI2(0xFF);
while(SPI2STATbits.SPITBF);
while(!SPI2STATbits.SPIRBF);
data1=getcSPI2()&0xFF;
res=((data0<<8)+data1)&0x3FFF;
SPICS1_ON;

販売

License - MIT

Parts

13
QtyValueFootprintReferences
6RESISTOR1608generic:generic-SMD1608R1, R2, R3, R4, R5, R6
10.1uF/CAPACITOR1608generic:generic-SMD1608C2
110uF/CAPACITOR1608generic:generic-SMD2012C1
1AS5048as5048:ams5048a-TSSOP14IC1
1PINHD-1X6pin-head:pinhead-1X06JP1
1TPTP20SQtestpad:testpad-TP10SQTP1

The 11 most common of 13 parts.

Questions

How big is the Encoder PCB?

It measures 20 × 15 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Encoder use?

13 parts, built around the AS5048A. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Encoder KiCad files?

From the meerstern/Encoder_TSSOP14 repository on GitHub, at the commit this page was made from: the board is encoder.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Encoder design in my own project?

Its repository states no licence, so its author keeps all rights: ask meerstern before reusing the design.

More from meerstern/Encoder_TSSOP14

1
  • 2 layers83 × 95 mmPane2, the printed circuit board in 3D

    Pane2

    meerstern/Encoder_TSSOP14

    Encoder Board For AMS AS5048A, AS5047D and others with SPI interface.

    325 parts4

Similar boards

  • 2 layers42 × 48 mmKERISE, the printed circuit board in 3D

    KERISE

    kerikun11/micromouse-kerise-v3

    MicroMouse KERISE v3

    130 parts32
  • 4 layers30.2 × 20.5 mmBLDCM MCU, the printed circuit board in 3D

    BLDCM MCU

    brenocq/bldc-motor

    High-precision BLDC motor and controller development from scratch (in progress...)

    91 parts13MIT
  • 2 layers40 × 44 mmKERISE, the printed circuit board in 3D

    KERISE

    kerikun11/micromouse-kerise-v4

    MicroMouse KERISE v4

    105 parts11
  • 2 layers35.6 × 45.7 mmAs5048, the printed circuit board in 3D

    As5048

    ZoetropeLabs/as5048A-breakout-board

    A breakout board for the Austria Microsystems AS5048A angle sensor

    23 parts7MIT
  • 4 layers10 × 22.5 mmCircle, the printed circuit board in 3D

    Circle

    osrf/slow_bldc

    52 parts4Apache-2.0
  • 2 layers75.7 × 75.7 mmPcb motor driver, the printed circuit board in 3D

    Pcb motor driver

    sabanekko3/PCBM_drive-board

    PCBステータモーター用のドライバ基板(kicad7)

    99 parts3