# Another new target arrived onto the scene: KittenBot nano:bit (Micro:bit compatible)

**URL:** https://forum.makecode.com/t/another-new-target-arrived-onto-the-scene-kittenbot-nano-bit-micro-bit-compatible/668
**Category:** Arcade
**Created:** [October 23, 2019, 10:29am UTC](https://forum.makecode.com/t/another-new-target-arrived-onto-the-scene-kittenbot-nano-bit-micro-bit-compatible/668 "2019-10-23T10:29:26Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![gbraad](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/gbraad/32/338_2.png) [@gbraad](https://forum.makecode.com/u/gbraad)
#### Post date: [October 23, 2019, 10:29am UTC](https://forum.makecode.com/t/another-new-target-arrived-onto-the-scene-kittenbot-nano-bit-micro-bit-compatible/668/1 "2019-10-23T10:29:26Z")

</div>

This board is compatible with the Micro:bit makecode site and uses an extension [http://github.com/KittenBot/pxt-nanobit](http://github.com/KittenBot/pxt-nanobit) to handle the changes in pinout.

 ![](https://pixelfed.social/storage/m/9415380b19c20b948c98d7c5f1fb65710b040a9e/19dc92584914ec557fc762f338ebb32807264507/lHjKDi96pPJ7AD574rDSrw1o6YquEm8sxBsuLflt.jpeg)  
Ref: [https://pixelfed.social/p/gbraad/92566101942210560](https://pixelfed.social/p/gbraad/92566101942210560)

The idea of the board is that it comes with the uf2 programming interface (here handled by an STM32) which can be broken off when using the board (traces go across the breaking line via traces at the top and bottom). It then has the same formfactor and pinout as a Arduino nano. The KB-link (or programming link) can be used in that case to attach to the 6 pin header (needs you to solder those on).

---

<div class="post-metadata">

### Author: ![gbraad](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/gbraad/32/338_2.png) [@gbraad](https://forum.makecode.com/u/gbraad)
#### Post date: [October 23, 2019, 11:10am UTC](https://forum.makecode.com/t/another-new-target-arrived-onto-the-scene-kittenbot-nano-bit-micro-bit-compatible/668/2 "2019-10-23T11:10:44Z")

</div>

A short clip showing the infamous blinking LED: [https://pixelfed.social/p/gbraad/92577168160329728](https://pixelfed.social/p/gbraad/92577168160329728)

![](https://files.mastodon.social/media_attachments/files/020/851/982/original/6c92bf91dea17d59.png) Ref: [https://pixelfed.social/p/gbraad/92592779515006976](https://pixelfed.social/p/gbraad/92592779515006976)

---

<div class="post-metadata">

### Author: ![jamesadevine](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/jamesadevine/32/423_2.png) [@jamesadevine](https://forum.makecode.com/u/jamesadevine)
#### Post date: [October 23, 2019, 5:05pm UTC](https://forum.makecode.com/t/another-new-target-arrived-onto-the-scene-kittenbot-nano-bit-micro-bit-compatible/668/3 "2019-10-23T17:05:48Z")

</div>

Hi Gerard,

Could you describe the architecture a bit more? What’s on the nano:bit (is that the daughterboard?)? Also, are there future plans for the stm32 based programmer? 😉

---

<div class="post-metadata">

### Author: ![gbraad](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/gbraad/32/338_2.png) [@gbraad](https://forum.makecode.com/u/gbraad)
#### Post date: [October 24, 2019, 6:43am UTC](https://forum.makecode.com/t/another-new-target-arrived-onto-the-scene-kittenbot-nano-bit-micro-bit-compatible/668/4 "2019-10-24T06:43:06Z")

</div>

This is a new propduct by KittenBot; [https://kittenbot.readthedocs.io/zh\_CN/latest/mainboards/Nanobit.html](https://kittenbot.readthedocs.io/zh_CN/latest/mainboards/Nanobit.html) (Chinese-only) that is a DIY board that is completely compatible with the Micro:bit as it is based on the same NRF chip. See it as a micro:bit without the LED matrix and no edge connector (but instead uses a DIL layout mimicking the nano)

The daughterboard is what replaces the NXP USB interface chip that is used to provide UF2/CMSIS-DAP. So when you break the daughterboard off, you have a small ‘nano’-sized board that runs standalone. To reprogram you can use the exposed header and reprogram it.

I am not sure if KittenBot wants to sell this outside of China, but it would seem likely. Although so far they haven’t responded to any enquiries.

---

<div class="post-metadata">

### Author: ![mmoskal](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/mmoskal/32/20_2.png) [@mmoskal](https://forum.makecode.com/u/mmoskal)
#### Post date: [October 24, 2019, 10:42am UTC](https://forum.makecode.com/t/another-new-target-arrived-onto-the-scene-kittenbot-nano-bit-micro-bit-compatible/668/5 "2019-10-24T10:42:21Z")

</div>

And the daughter board does both hex and uf2?

---

<div class="post-metadata">

### Author: ![gbraad](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/gbraad/32/338_2.png) [@gbraad](https://forum.makecode.com/u/gbraad)
#### Post date: [October 24, 2019, 1:58pm UTC](https://forum.makecode.com/t/another-new-target-arrived-onto-the-scene-kittenbot-nano-bit-micro-bit-compatible/668/6 "2019-10-24T13:58:12Z")

</div>

So far, I have only used `.hex` files. Not sure about that actually. Haven’t had much time besides ‘everyday work’.

---

<div class="post-metadata">

### Author: ![gbraad](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/gbraad/32/338_2.png) [@gbraad](https://forum.makecode.com/u/gbraad)
#### Post date: [October 24, 2019, 2:37pm UTC](https://forum.makecode.com/t/another-new-target-arrived-onto-the-scene-kittenbot-nano-bit-micro-bit-compatible/668/7 "2019-10-24T14:37:08Z")

</div>

@jamesadevine i also got interested in the daughterboard from the idea to perhaps use this to reprogram some of the nRF51822 chip on module I have… just need to decipher the pinout with following the traces. As mentioned, so far did not have a lot of feedback on questions I had.

---

<div class="post-metadata">

### Author: ![gbraad](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/gbraad/32/338_2.png) [@gbraad](https://forum.makecode.com/u/gbraad)
#### Post date: [October 25, 2019, 6:49am UTC](https://forum.makecode.com/t/another-new-target-arrived-onto-the-scene-kittenbot-nano-bit-micro-bit-compatible/668/8 "2019-10-25T06:49:52Z")

</div>

> [@jamesadevine](#):
>
> Could you describe the architecture a bit more?

 ![WeChat%20Image_20191025144657](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/1X/54ba399e53705925bb438158b2fe906b0cfa8629.jpeg)

On the right side there is a dedicated i2c socket that can be used with an OLED display (128_32, 128_64) and the `pxt-nanobit` extension comes with a modified extension that targets this.

```auto
OledKitten.oledInit(OledKitten.OledType.oled12832)
OledKitten.fill(0); // else garbage will be shown
OledKitten.drawText(0, 0, "I'm Blinky")

```

As you can see, the rest of the pinout is there, P0, P1, P2, two tiny buttons representing A and B, etc. It might not be long before you see a breakout board that has an edge connector 😉

---

<div class="post-metadata">

### Author: ![gbraad](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/gbraad/32/338_2.png) [@gbraad](https://forum.makecode.com/u/gbraad)
#### Post date: [October 25, 2019, 3:08pm UTC](https://forum.makecode.com/t/another-new-target-arrived-onto-the-scene-kittenbot-nano-bit-micro-bit-compatible/668/9 "2019-10-25T15:08:10Z")

</div>

> [@mmoskal](#):
>
> both hex and uf2?

`.hex`-only as far as I can tell now.

---

<div class="post-metadata">

### Author: ![gbraad](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/gbraad/32/338_2.png) [@gbraad](https://forum.makecode.com/u/gbraad)
#### Post date: [October 26, 2019, 10:54am UTC](https://forum.makecode.com/t/another-new-target-arrived-onto-the-scene-kittenbot-nano-bit-micro-bit-compatible/668/10 "2019-10-26T10:54:31Z")

</div>

> [@jamesadevine](#):
>
> Also, are there future plans for the stm32 based programmer?

I have succesfully used it to program a PTR5518 System-on-Module

![](https://pixelfed.social/storage/m/9415380b19c20b948c98d7c5f1fb65710b040a9e/19dc92584914ec557fc762f338ebb32807264507/bRUGxlkwyjtd66nSV46Al37CVpoUv04OBMpNIWXJ.jpeg)

I used the KB-link (KittenBot Nano:bit’s programming daughterboard) to program a System-on-Module PTR5518 to blink Micro:bit’s P8 using `pins.digitalWritePin(DigitalPin.P8, 1)`. This pin translates to P0.18 on the NRF51822. It then sends the number out over radio using `radio.sendNumber(c)` to a regular Micro:bit which uses `radio.onReceivedNumber` to display this with `basic.showNumber(receivedNumber)`.

[![](https://img.youtube.com/vi/ihY9wL2Yckk/maxresdefault.jpg "Experimenting with the PTR5518 flashing MakeCode blinky") ](https://www.youtube.com/watch?v=ihY9wL2Yckk)

---

<div class="post-metadata">

### Author: ![gbraad](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/gbraad/32/338_2.png) [@gbraad](https://forum.makecode.com/u/gbraad)
#### Post date: [October 26, 2019, 11:57am UTC](https://forum.makecode.com/t/another-new-target-arrived-onto-the-scene-kittenbot-nano-bit-micro-bit-compatible/668/11 "2019-10-26T11:57:21Z")

</div>

> [@jamesadevine](#):
>
> What’s on the nano:bit

I made some better photos so you can see it matches the Micro:bit pinout.

![](https://pixelfed.social/storage/m/9415380b19c20b948c98d7c5f1fb65710b040a9e/19dc92584914ec557fc762f338ebb32807264507/MiTSyo60j1gnKC2A29gHlHsP1lUFY8FgyYTpqtHR.jpeg)  
 ![](https://pixelfed.social/storage/m/9415380b19c20b948c98d7c5f1fb65710b040a9e/19dc92584914ec557fc762f338ebb32807264507/V0Tnp802QmuXgQuuC9i8BRUsfdJoHDYNdTUHrbCc.jpeg)

And for the programmer:  
 ![](https://pixelfed.social/storage/m/9415380b19c20b948c98d7c5f1fb65710b040a9e/19dc92584914ec557fc762f338ebb32807264507/VkmHet1zyPScCWs6MKJKKf58BLxHZL8wkd0Kn5HW.jpeg)

Ref: [https://pixelfed.social/p/gbraad/93675546067734528](https://pixelfed.social/p/gbraad/93675546067734528)
