1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in

NXT Speaker Failure

Discussion specific to the intelligent brick, sensors, motors, and more.

NXT Speaker Failure

Postby tcwan » 04 Jul 2011, 00:31

Hi,

Does anyone have experience with the NXT speaker failing?
This morning I found my NXT speaker does not generate sound anymore.

Last Friday the NXT firmware startup tone sequence sounded more clipped than usual (i.e., harsh metallic tone), and today, I managed to get some weak sound by pressing down on the speaker diaphram for a while (the cover was off for JTAG debugging), but that too eventually won't work anymore.

Is there any programmable gain for the speaker output driver which may cause it to overload and fail? I thought it was just a PWM driven circuit.
What kind of replacement should I look for (impedance)?
User avatar
tcwan
 
Posts: 157
Joined: 30 Sep 2010, 07:39

Re: NXT Speaker Failure

Postby timpattinson » 05 Jul 2011, 10:53

Try looking in the schematics in the Hardware Dev Kit on mindstorms.lego.com
Commit to Lego Mindstorms StackExchange Q&A http://area51.stackexchange.com/proposals/4105
Minboards IRC Channel #mindboards on Freenode
My blog: http://timpattinson.wordpress.com/
User avatar
timpattinson
 
Posts: 224
Joined: 30 Oct 2010, 04:10
Location: 127.0.0.1

Re: NXT Speaker Failure

Postby mattallen37 » 05 Jul 2011, 20:01

I haven't tried replacing any NXT speakers. I don't know for sure, but I think I remember hearing that they are 32 ohm, but I don't really remember for sure.

As far as how they are powered, I don't believe you could drive one with PWM. For driving a speaker from a digital device, you need to use a DAC.

If I were to have an NXT with a non-working speaker, I wouldn't replace it. I would either not worry about it, or I would replace it with an audio jack for line out.
Matt
http://mattallen37.wordpress.com/

I'm all for gun control... that's why I use both hands when shooting ;)
User avatar
mattallen37
 
Posts: 1775
Joined: 02 Oct 2010, 02:19
Location: Michigan USA

Re: NXT Speaker Failure

Postby nxtreme » 05 Jul 2011, 21:21

It's hard to accurately measure a speaker, just because of the way they work. However, you can usually just measure the impedance of the speaker and round up to the nearest type of speaker. In my case, I measured ~14.5 ohms, so it's probably a 16 ohm speaker and given it's size, probably not any larger than 1/2 W, more likely 1/4. However, lots of guessing was involved in this post, so take the information with a huge grain of salt ;).

-EDIT- I browsed through the hardware development kit that the Lego Company offers, but the only mention I could find of a speaker was the text "speaker" and a jumper pad, no specs. So, it appears the Lego Company wouldn't exactly know either... :)
One King to rule them all, One King to find them,
One King to bring them all and in the darkness bind them
On Earth where Shadows lie.
User avatar
nxtreme
 
Posts: 246
Joined: 29 Sep 2010, 03:53
Location: 192.168.1.2

Re: NXT Speaker Failure

Postby pbenco » 06 Jul 2011, 08:52

Hello dear tcwan



You can use the mattalen37 suggestion to plug external speaker.
Try to ask Lego for a replacement part suggestion, or find a to with little speaker, and test...
Hope this help
Ben
pbenco.wordpress.com/
User avatar
pbenco
 
Posts: 70
Joined: 29 Sep 2010, 09:43

Re: NXT Speaker Failure

Postby gloomyandy » 06 Jul 2011, 10:54

The speaker is driven via a small amplifier using pulse density modulation (PDM), from a single I/O pin. There is no hardware DAC involved (unless you count resistors/capacitors)... PDM is an interesting technique see here for a few more details:
http://en.wikipedia.org/wiki/Pulse-dens ... conversion

Sorry about the off topic post...

Andy
User avatar
gloomyandy
 
Posts: 232
Joined: 29 Sep 2010, 05:03

Re: NXT Speaker Failure

Postby tcwan » 06 Jul 2011, 14:40

Thanks for all the suggestions.

While it is not critical to the operation of the NXT, I do miss the audio cues since I'm doing debugging with frequent reboots.
It is good to know the state of the brick without having to look at the LCD, and whether a button press registered correctly or not.

I'll have to try and hunt down a replacement one of these days, 2 cm diameter speakers are not so easily sourced where I am.
User avatar
tcwan
 
Posts: 157
Joined: 30 Sep 2010, 07:39

Re: NXT Speaker Failure

Postby mattallen37 » 06 Jul 2011, 21:49

~Andy, PDM with a cap is a DAC. According to that wiki page, the only thing needed to convert PDM into a DAC is a low pass filter (capacitor in parallel, with maybe a couple extra parts to help smooth it out).
Matt
http://mattallen37.wordpress.com/

I'm all for gun control... that's why I use both hands when shooting ;)
User avatar
mattallen37
 
Posts: 1775
Joined: 02 Oct 2010, 02:19
Location: Michigan USA

Re: NXT Speaker Failure

Postby gloomyandy » 08 Jul 2011, 21:09

Yes Matt I know that is why I said "unless you count resistors/capacitors". I was just trying to point out that the NXT does not use a convential hardware DAC
User avatar
gloomyandy
 
Posts: 232
Joined: 29 Sep 2010, 05:03

Re: NXT Speaker Failure

Postby mattallen37 » 08 Jul 2011, 23:05

Oh okay, right.

@tcwan, what did you decide on doing.
Matt
http://mattallen37.wordpress.com/

I'm all for gun control... that's why I use both hands when shooting ;)
User avatar
mattallen37
 
Posts: 1775
Joined: 02 Oct 2010, 02:19
Location: Michigan USA

Next

Return to Mindstorms Hardware

Who is online

Users browsing this forum: No registered users and 0 guests

cron