# I badly need to use the NXT Sound Sensor

**URL:** https://forum.makecode.com/t/i-badly-need-to-use-the-nxt-sound-sensor/3169
**Category:** EV3
**Created:** [August 20, 2020, 4:29am UTC](https://forum.makecode.com/t/i-badly-need-to-use-the-nxt-sound-sensor/3169 "2020-08-20T04:29:21Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![lokus1980](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/lokus1980/32/1411_2.png) [@lokus1980](https://forum.makecode.com/u/lokus1980)
#### Post date: [August 20, 2020, 4:29am UTC](https://forum.makecode.com/t/i-badly-need-to-use-the-nxt-sound-sensor/3169/1 "2020-08-20T04:29:22Z")

</div>

I bought a set of Ev3 Mindstorms for my son. We started building robots. I read on the Internet that we can use NXT sensors with Ev3. I bought an NXT sound sensor to build a robot which responds to sounds.

The sensor has arrived and now we got stuck as MakeCode (and the app for MacOS) doesn’t support the sound sensor.

I’m a software developer and I am happy to help to extend MakeCode for EV3 to support the sound sensor. Please let me help so I can finish our robot with my son 🙂

I know multiple programming languages so if there is any other platform out there which would allow me to use the sound sensor today - please point me to it (I’m still new to Lego Ev3).

Thank you.

---

<div class="post-metadata">

### Author: ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)
#### Post date: [August 20, 2020, 4:15pm UTC](https://forum.makecode.com/t/i-badly-need-to-use-the-nxt-sound-sensor/3169/2 "2020-08-20T16:15:54Z")

</div>

@peli we don’t support any NXT sensors, right?

---

<div class="post-metadata">

### Author: ![lokus1980](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/lokus1980/32/1411_2.png) [@lokus1980](https://forum.makecode.com/u/lokus1980)
#### Post date: [August 20, 2020, 9:36pm UTC](https://forum.makecode.com/t/i-badly-need-to-use-the-nxt-sound-sensor/3169/3 "2020-08-20T21:36:06Z")

</div>

I am happy to help to implement the support for NXT sensors if required. As a software dev with 20 years of experience I have been coding in assembler, C++, C#, Python, Java and more. I can help.

Otherwise - is there any EV3-compatible sound sensor available on the market that I can use with MakeCode or Scratch? We have a few nice ideas for a robot responding to sounds. We bought an EV3 Education set, an NXT sound sensor and we basically cannot use it (as Lego didn’t release an official EV3 sound sensor for some reason).

Or, can you guys please recommend some alternative to MakeCode that supports NXT sensors?

Thank you.

---

<div class="post-metadata">

### Author: ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)
#### Post date: [August 21, 2020, 4:59pm UTC](https://forum.makecode.com/t/i-badly-need-to-use-the-nxt-sound-sensor/3169/4 "2020-08-21T16:59:44Z")

</div>

Sorry, I don’t know of any alternatives and we do not support any sound sensors right now. If you’d like to try adding support, the code is in this repo:

> **[microsoft/pxt-ev3](https://github.com/microsoft/pxt-ev3)**
>
> Microsoft MakeCode editor for the LEGO MINDSTORMS EV3 Brick - microsoft/pxt-ev3

The implementation for the other sensors is in the `libs/` folder of that project. TBH I’m not too familiar with the EV3 code myself but @peli or @mmoskal might have some pointers

---

<div class="post-metadata">

### Author: ![lokus1980](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/lokus1980/32/1411_2.png) [@lokus1980](https://forum.makecode.com/u/lokus1980)
#### Post date: [September 1, 2020, 6:13am UTC](https://forum.makecode.com/t/i-badly-need-to-use-the-nxt-sound-sensor/3169/5 "2020-09-01T06:13:06Z")

</div>

Hi @peli and @mmoskal - because the EV3 set doesn’t have an equivalent of the NXT sound sensor - would it be very hard to implement support just for this one particular sensor? I can help, I am a software engineer, you can trust me 😃

---

<div class="post-metadata">

### Author: ![MKleinSB](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/mkleinsb/32/593_2.png) [@MKleinSB](https://forum.makecode.com/u/MKleinSB)
#### Post date: [September 1, 2020, 12:14pm UTC](https://forum.makecode.com/t/i-badly-need-to-use-the-nxt-sound-sensor/3169/6 "2020-09-01T12:14:22Z")

</div>

And it would be nice to add the other nxt sensors, too. We still have them in our school and it would be more friendly to our planet not to throw them away!

Michael

---

<div class="post-metadata">

### Author: ![TechPro](https://avatars.discourse-cdn.com/v4/letter/t/bcef8e/32.png) [@TechPro](https://forum.makecode.com/u/TechPro)
#### Post date: [May 2, 2022, 4:48pm UTC](https://forum.makecode.com/t/i-badly-need-to-use-the-nxt-sound-sensor/3169/7 "2022-05-02T16:48:32Z")

</div>

Why not try the EV3 software by lego, available in the Microsoft store  
[Education](https://www.microsoft.com/store/productId/9P8SJVZM63SZ)  
[Home](https://www.microsoft.com/store/productId/9N7GN3KC2GK6)

---

<div class="post-metadata">

### Author: ![THEb0nny](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/theb0nny/32/3500_2.png) [@THEb0nny](https://forum.makecode.com/u/THEb0nny)
#### Post date: [August 25, 2026, 11:46pm UTC](https://forum.makecode.com/t/i-badly-need-to-use-the-nxt-sound-sensor/3169/8 "2026-08-25T23:46:57Z")

</div>

@lokus1980 Support for the NXT sound sensor will be added to the fork in the coming days.  
Currently, the fork supports the NXT light sensor and touch sensor. Sensors are added to the project through extensions.

> **[GitHub - pxt-ev3-community/pxt-ev3: BrickCode - A community fork of MakeCode for LEGO®...](https://github.com/pxt-ev3-community/pxt-ev3)**
>
> BrickCode - A community fork of MakeCode for LEGO® MINDSTORMS® EV3
