# Angle sensor SPI support / SC60228DC

**URL:** https://community.simplefoc.com/t/angle-sensor-spi-support-sc60228dc/1682
**Category:** hardware support
**Tags:** sc60228
**Created:** [February 7, 2022, 11:21pm UTC](https://community.simplefoc.com/t/angle-sensor-spi-support-sc60228dc/1682 "2022-02-07T23:21:02Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Valentine](https://community.simplefoc.com/user_avatar/community.simplefoc.com/valentine/32/1024_2.png) [@Valentine](https://community.simplefoc.com/u/Valentine)
#### Post date: [February 7, 2022, 11:21pm UTC](https://community.simplefoc.com/t/angle-sensor-spi-support-sc60228dc/1682/1 "2022-02-07T23:21:02Z")

</div>

In light of the ongoing chip shortage I came across

SC60228DC

> **[2003172140\_Semiment-SC60228DC\_C496752.pdf](https://datasheet.lcsc.com/lcsc/2003172140_Semiment-SC60228DC_C496752.pdf)**
>
> 453.26 KB

The manufacturer claims the sensor supports SPI and 20k RPM. I’m ordering a few to test.

I do not hope they work “out of the box” however will need support to make them work.

Once I get the boards ordered from JLC I will post details. Below is the board I made. The sensor is really cheap, relatively, at $1.82 per 10 pieces.

 ![image](https://community.simplefoc.com/uploads/default/original/2X/9/9c6d33ee47d0403348ae21110f4209c3e99b1366.png)

$2 per 20k RPM 12bit SPI sensor board is a really good deal I surmise.

I strongly suspect this is a Chinese knock-off of a well known angle sensor however I don’t know which one.

If anyone could recognize the original please let me know.  
Cheers,  
Valentine

> **[Project - Platform for creating and sharing projects - OSHWLab](https://oshwlab.com/cost.co/20220207_angle_sensor_sc60228dc)**
>
> Whether you are sharing innovative hardware designs or finding design inspiration, this is the best place for you. From beginner to specialist, we can all communicate and learn together. We invite you to design and share with us.

---

<div class="post-metadata">

### Author: ![runger](https://community.simplefoc.com/user_avatar/community.simplefoc.com/runger/32/395_2.png) [@runger](https://community.simplefoc.com/u/runger)
#### Post date: [February 8, 2022, 12:06am UTC](https://community.simplefoc.com/t/angle-sensor-spi-support-sc60228dc/1682/2 "2022-02-08T00:06:19Z")

</div>

That’s so cool! I’ll try these out too!

---

<div class="post-metadata">

### Author: ![Valentine](https://community.simplefoc.com/user_avatar/community.simplefoc.com/valentine/32/1024_2.png) [@Valentine](https://community.simplefoc.com/u/Valentine)
#### Post date: [February 8, 2022, 12:07am UTC](https://community.simplefoc.com/t/angle-sensor-spi-support-sc60228dc/1682/3 "2022-02-08T00:07:18Z")

</div>

> [@runger](#):
>
> I’ll try these out too

The document has absolutely no details on how to read the sensor, any ideas?

Let me post / share the board in case you want to try, just a sec. I’ll use the post above.

---

<div class="post-metadata">

### Author: ![runger](https://community.simplefoc.com/user_avatar/community.simplefoc.com/runger/32/395_2.png) [@runger](https://community.simplefoc.com/u/runger)
#### Post date: [February 8, 2022, 12:10am UTC](https://community.simplefoc.com/t/angle-sensor-spi-support-sc60228dc/1682/4 "2022-02-08T00:10:24Z")

</div>

I actually don’t believe the datasheet contains any details except the one timing diagram, but I think it will be enough… I’ll make a driver for it in the drivers repo.

12 bit really should be enough for many motors 🙂 lets see if we can get them working…

---

<div class="post-metadata">

### Author: ![Valentine](https://community.simplefoc.com/user_avatar/community.simplefoc.com/valentine/32/1024_2.png) [@Valentine](https://community.simplefoc.com/u/Valentine)
#### Post date: [February 8, 2022, 12:14am UTC](https://community.simplefoc.com/t/angle-sensor-spi-support-sc60228dc/1682/5 "2022-02-08T00:14:30Z")

</div>

> [@runger](#):
>
> lets see if we can get them working

@runger

That would be really productive. The closest cheap in stock sensor is the MagnTek MT6816CT-AKD costing $6 per chip.

This is the cheapest SPI high RPM angle sensor I’ve encountered so far.

I ordered 5 boards, let’s wait.

Cheers,  
Valentine

---

<div class="post-metadata">

### Author: ![runger](https://community.simplefoc.com/user_avatar/community.simplefoc.com/runger/32/395_2.png) [@runger](https://community.simplefoc.com/u/runger)
#### Post date: [February 8, 2022, 1:17am UTC](https://community.simplefoc.com/t/angle-sensor-spi-support-sc60228dc/1682/6 "2022-02-08T01:17:06Z")

</div>

🙂 I also just submitted an order - I like mine in a certain shape, and with the JST SH connector…

Let’s see how it goes! In the meantime I will see if I can find more docs on the SPI protocol and write a driver.

Hey and since we ordered within a few hours of one another we can also compare the speed of PCBWay vs JLC… I didn’t rush-order it or anything, just normal.

---

<div class="post-metadata">

### Author: ![Valentine](https://community.simplefoc.com/user_avatar/community.simplefoc.com/valentine/32/1024_2.png) [@Valentine](https://community.simplefoc.com/u/Valentine)
#### Post date: [February 8, 2022, 1:39am UTC](https://community.simplefoc.com/t/angle-sensor-spi-support-sc60228dc/1682/7 "2022-02-08T01:39:24Z")

</div>

> [@runger](#):
>
> compare the speed of PCBWay vs JLC

I ordered the cheapest delivery, so I already know, about end of Feb. This is not anything urgent for me. Plus, they are still out for CNY.

I am more curious about the total door to door cost.

---

<div class="post-metadata">

### Author: ![Valentine](https://community.simplefoc.com/user_avatar/community.simplefoc.com/valentine/32/1024_2.png) [@Valentine](https://community.simplefoc.com/u/Valentine)
#### Post date: [February 9, 2022, 3:34pm UTC](https://community.simplefoc.com/t/angle-sensor-spi-support-sc60228dc/1682/8 "2022-02-09T15:34:17Z")

</div>

Update on the order

 ![image](https://community.simplefoc.com/uploads/default/original/2X/3/3e0135c92b6a93718d581a69088fba5237bccc28.png)

---

<div class="post-metadata">

### Author: ![runger](https://community.simplefoc.com/user_avatar/community.simplefoc.com/runger/32/395_2.png) [@runger](https://community.simplefoc.com/u/runger)
#### Post date: [February 10, 2022, 8:56am UTC](https://community.simplefoc.com/t/angle-sensor-spi-support-sc60228dc/1682/9 "2022-02-10T08:56:49Z")

</div>

I think it looks like JLC will win this hands down. At PCBWay my order is still under review, meaning they haven’t started at all and I haven’t had a chance to pay.  
I guess they’re still partially on New Years break…

---

<div class="post-metadata">

### Author: ![Valentine](https://community.simplefoc.com/user_avatar/community.simplefoc.com/valentine/32/1024_2.png) [@Valentine](https://community.simplefoc.com/u/Valentine)
#### Post date: [February 10, 2022, 5:35pm UTC](https://community.simplefoc.com/t/angle-sensor-spi-support-sc60228dc/1682/10 "2022-02-10T17:35:32Z")

</div>

Today’s update

 ![image](https://community.simplefoc.com/uploads/default/original/2X/7/7d41bfb85f73ec8b1f77ac8e8e2b82cc91db729f.jpeg)

---

<div class="post-metadata">

### Author: ![runger](https://community.simplefoc.com/user_avatar/community.simplefoc.com/runger/32/395_2.png) [@runger](https://community.simplefoc.com/u/runger)
#### Post date: [February 10, 2022, 8:47pm UTC](https://community.simplefoc.com/t/angle-sensor-spi-support-sc60228dc/1682/11 "2022-02-10T20:47:57Z")

</div>

Cool, is that like a stock image or is that someone working on _your_ PCB?

I’ll send an update as soon as PCBWay actually start working on mine. 🤣

No, but they got back to me with the parts quotation today, and I’ve accepted it, so tomorrow things should start rolling.

---

<div class="post-metadata">

### Author: ![Valentine](https://community.simplefoc.com/user_avatar/community.simplefoc.com/valentine/32/1024_2.png) [@Valentine](https://community.simplefoc.com/u/Valentine)
#### Post date: [February 10, 2022, 9:15pm UTC](https://community.simplefoc.com/t/angle-sensor-spi-support-sc60228dc/1682/12 "2022-02-10T21:15:03Z")

</div>

> [@runger](#):
>
> stock image or is that someone working on _your_ PCB

I’m quite certain it’s an actual video but **not my PCB** order. That would be a really nice touch though if they did it. It starts auto-playing when you go to the orders.

---

<div class="post-metadata">

### Author: ![runger](https://community.simplefoc.com/user_avatar/community.simplefoc.com/runger/32/395_2.png) [@runger](https://community.simplefoc.com/u/runger)
#### Post date: [February 12, 2022, 7:17am UTC](https://community.simplefoc.com/t/angle-sensor-spi-support-sc60228dc/1682/13 "2022-02-12T07:17:24Z")

</div>

![image](https://community.simplefoc.com/uploads/default/original/2X/4/4eb73d1f65c16fbdff5d6e1975baecd80858e4ac.png)

---

<div class="post-metadata">

### Author: ![Valentine](https://community.simplefoc.com/user_avatar/community.simplefoc.com/valentine/32/1024_2.png) [@Valentine](https://community.simplefoc.com/u/Valentine)
#### Post date: [February 12, 2022, 5:07pm UTC](https://community.simplefoc.com/t/angle-sensor-spi-support-sc60228dc/1682/14 "2022-02-12T17:07:26Z")

</div>

![image](https://community.simplefoc.com/uploads/default/original/2X/1/1bc70d053f3a300eabc2c5b5bd3d956783d753c5.png)

---

<div class="post-metadata">

### Author: ![Valentine](https://community.simplefoc.com/user_avatar/community.simplefoc.com/valentine/32/1024_2.png) [@Valentine](https://community.simplefoc.com/u/Valentine)
#### Post date: [February 14, 2022, 6:17pm UTC](https://community.simplefoc.com/t/angle-sensor-spi-support-sc60228dc/1682/15 "2022-02-14T18:17:04Z")

</div>

![image](https://community.simplefoc.com/uploads/default/original/2X/f/f70578a1998ece5258c611431c2461f8126307cc.png)

---

<div class="post-metadata">

### Author: ![robotsmith](https://community.simplefoc.com/user_avatar/community.simplefoc.com/robotsmith/32/1929_2.png) [@robotsmith](https://community.simplefoc.com/u/robotsmith)
#### Post date: [February 14, 2022, 9:01pm UTC](https://community.simplefoc.com/t/angle-sensor-spi-support-sc60228dc/1682/16 "2022-02-14T21:01:20Z")

</div>

> [@Valentine](#):
>
> SC60228DC

Hi!  
Thanks for sharing, I came across this one too.  
It could be a nice alternative to AS5600.  
Keep us informed if it is working smoothly !  
Cheers!

---

<div class="post-metadata">

### Author: ![runger](https://community.simplefoc.com/user_avatar/community.simplefoc.com/runger/32/395_2.png) [@runger](https://community.simplefoc.com/u/runger)
#### Post date: [February 14, 2022, 10:22pm UTC](https://community.simplefoc.com/t/angle-sensor-spi-support-sc60228dc/1682/17 "2022-02-14T22:22:35Z")

</div>

![image](https://community.simplefoc.com/uploads/default/original/2X/a/aa29ab14e222666f29e3404250acc74c25fde5cb.png)

Still lagging a bit behind, and now doing something called “Double Drilling” which I haven’t seen before…

---

<div class="post-metadata">

### Author: ![Valentine](https://community.simplefoc.com/user_avatar/community.simplefoc.com/valentine/32/1024_2.png) [@Valentine](https://community.simplefoc.com/u/Valentine)
#### Post date: [February 14, 2022, 10:26pm UTC](https://community.simplefoc.com/t/angle-sensor-spi-support-sc60228dc/1682/18 "2022-02-14T22:26:14Z")

</div>

> [@runger](#):
>
> Double Drilling

This is a very professional forum so I’ll keep my jokes to myself.

---

<div class="post-metadata">

### Author: ![Valentine](https://community.simplefoc.com/user_avatar/community.simplefoc.com/valentine/32/1024_2.png) [@Valentine](https://community.simplefoc.com/u/Valentine)
#### Post date: [February 15, 2022, 9:05pm UTC](https://community.simplefoc.com/t/angle-sensor-spi-support-sc60228dc/1682/19 "2022-02-15T21:05:06Z")

</div>

![image](https://community.simplefoc.com/uploads/default/original/2X/2/29e49912563d2b9e2494777defef5373c2013f3d.png)

---

<div class="post-metadata">

### Author: ![aokholm](https://community.simplefoc.com/user_avatar/community.simplefoc.com/aokholm/32/2439_2.png) [@aokholm](https://community.simplefoc.com/u/aokholm)
#### Post date: [February 15, 2022, 9:18pm UTC](https://community.simplefoc.com/t/angle-sensor-spi-support-sc60228dc/1682/20 "2022-02-15T21:18:02Z")

</div>

Lol.

On a side note… Do you think this encoder will be able control a 50 pole stepper? From my understanding having 80 positions per pole should be plenty? I suppose the question is if sensor accuracy is good enough? Planning to start designing my own board to be manufactured by JLCPCB this week.

BR  
Andreas

[Next page](https://community.simplefoc.com/t/angle-sensor-spi-support-sc60228dc/1682.md?page=2)
