I have run the setup for Raspberry Pi using one mic. Everything worked just fine until I got to the part where you run alsamixer and select the snd_rpi_simple_card. I selected the card in alasmixer and changed the mic (F4) and pressed F5 for the volume, it never changed. So I recorded a wav file as instructed and it recorded properly but I could never get any sound out. I even went back and tried to play the file that was first recorded as a test and it would not play. I copied all of the wav files to my windows computer and they all played. Is the some other changes I have missed or some new update that I am not seeing. My OS is Raspbian Stretch, full not lite.
Thanks
Adafruit I2S MEMS Microphone Breakout
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_mike
- Posts: 67446
- Joined: Thu Feb 11, 2010 2:51 pm
Re: Adafruit I2S MEMS Microphone Breakout
Try dropping back to a fresh install of Raspbian and doing the installation up to that point again. Then try playing the files to see if you can get output at the default volume.
- rockman55
- Posts: 100
- Joined: Tue Apr 14, 2015 6:17 pm
Re: Adafruit I2S MEMS Microphone Breakout
Should I go to the point of Adding Volume control?
- adafruit_support_mike
- Posts: 67446
- Joined: Thu Feb 11, 2010 2:51 pm
Re: Adafruit I2S MEMS Microphone Breakout
Stop just before that and see if the sounds will play.
- rockman55
- Posts: 100
- Joined: Tue Apr 14, 2015 6:17 pm
Re: Adafruit I2S MEMS Microphone Breakout
Ok, I did that and I can hear sound, but it is very faint or soft.
- adafruit_support_mike
- Posts: 67446
- Joined: Thu Feb 11, 2010 2:51 pm
Re: Adafruit I2S MEMS Microphone Breakout
It sounds like the I2S signals are being handled properly, but the amp can't deliver enough current to the speaker.
Post a photo showing your hardware and connections and we'll take a look. 800x600 images usually work best.
Post a photo showing your hardware and connections and we'll take a look. 800x600 images usually work best.
- rockman55
- Posts: 100
- Joined: Tue Apr 14, 2015 6:17 pm
Re: Adafruit I2S MEMS Microphone Breakout
I will send the photo, but just a quick comment. I am using a 5.1 volt 2.5 amp (official Raspberry Pi power supply) and I am using a powered speaker. Do you still need a picture?
Thanks
Thanks
- adafruit_support_mike
- Posts: 67446
- Joined: Thu Feb 11, 2010 2:51 pm
Re: Adafruit I2S MEMS Microphone Breakout
Those parts should work together.
Do post a photo of the hardware and connections please. It's easier to understand all the pieces if we can see them.
Do post a photo of the hardware and connections please. It's easier to understand all the pieces if we can see them.
- rockman55
- Posts: 100
- Joined: Tue Apr 14, 2015 6:17 pm
Re: Adafruit I2S MEMS Microphone Breakout
Danny
- adafruit_support_mike
- Posts: 67446
- Joined: Thu Feb 11, 2010 2:51 pm
Re: Adafruit I2S MEMS Microphone Breakout
Thank you. The connections look good. I'm not sure about the red LED on the speaker.. the ones I use usually show red to indicate the internal battery needs charged, but that might not apply to the one you have.
What output do you get from the command:
What output do you get from the command:
Code: Select all
arecord -l
- rockman55
- Posts: 100
- Joined: Tue Apr 14, 2015 6:17 pm
Re: Adafruit I2S MEMS Microphone Breakout
Here is copy a arecord -l
pi@fruitnanny:~ $ arecord -l
**** List of CAPTURE Hardware Devices ****
card 1: sndrpisimplecar [snd_rpi_simple_card], device 0: simple-card_codec_link snd-soc-dummy-dai-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
pi@fruitnanny:~ $
pi@fruitnanny:~ $ arecord -l
**** List of CAPTURE Hardware Devices ****
card 1: sndrpisimplecar [snd_rpi_simple_card], device 0: simple-card_codec_link snd-soc-dummy-dai-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
pi@fruitnanny:~ $
- adafruit_support_mike
- Posts: 67446
- Joined: Thu Feb 11, 2010 2:51 pm
Re: Adafruit I2S MEMS Microphone Breakout
Okay, we're good to that point. If you record a file using the command:
and copy it over to a desktop computer, does it play with decent volume there?
Code: Select all
arecord -D plughw:1 -c1 -r 48000 -f S32_LE -t wav -V mono -v file.wav
- rockman55
- Posts: 100
- Joined: Tue Apr 14, 2015 6:17 pm
- adafruit_support_mike
- Posts: 67446
- Joined: Thu Feb 11, 2010 2:51 pm
Re: Adafruit I2S MEMS Microphone Breakout
Good, that means the mic is working and is connected correctly.
Checking with some of the other folks who handle RasPi issues, I learned that the most recent version of Raspbian broke ALSA support. That seems to tie in with the behavior you're seeing.
Try dropping back to an eariler version and see if the instructions work there:
http://downloads.raspberrypi.org/raspbian/images/
Checking with some of the other folks who handle RasPi issues, I learned that the most recent version of Raspbian broke ALSA support. That seems to tie in with the behavior you're seeing.
Try dropping back to an eariler version and see if the instructions work there:
http://downloads.raspberrypi.org/raspbian/images/
- gerardgilliland
- Posts: 1
- Joined: Thu Sep 01, 2016 12:24 pm
Re: Adafruit I2S MEMS Microphone Breakout
I installed the Adafruit SPH0645 LM4H
I had it working originally then I installed a USB mic which works (I want to compare the two)
I removed the USB mic and reinstalled the Adafruit SPH0645 LM4H
I have been following the instructions for Adafruit I2S MEMS Microphone Breakout at
https://learn.adafruit.com/adafruit-i2s ... g-and-test
At the following point in the instructions:
I should get
on the last line
instead it get
Do you think my serial port for the
PM2.5 Air Quality Sensor and Breadboard Adapter Kit - PMS5003
is getting in the way of the I2S port?
I installed the PMS sensor after the original I2S installation of SPH0645
I had it working originally then I installed a USB mic which works (I want to compare the two)
I removed the USB mic and reinstalled the Adafruit SPH0645 LM4H
I have been following the instructions for Adafruit I2S MEMS Microphone Breakout at
https://learn.adafruit.com/adafruit-i2s ... g-and-test
At the following point in the instructions:
Code: Select all
lsmod | grep my_loader
dmesg | tail
Code: Select all
...
asoc-simple-card asoc-simple-card.0: snd-soc-dummy-dai <-> 3F203000.i2s mapping ok
instead it get
Code: Select all
[ 13.148034] Bluetooth: HCI UART protocol Broadcom registered
[ 13.477304] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 13.477312] Bluetooth: BNEP filters: protocol multicast
[ 13.477326] Bluetooth: BNEP socket layer initialized
[ 13.570621] Bluetooth: RFCOMM TTY layer initialized
[ 13.570648] Bluetooth: RFCOMM socket layer initialized
[ 13.570668] Bluetooth: RFCOMM ver 1.11
[ 19.142944] fuse init (API version 7.26)
[ 23.440085] EXT4-fs (mmcblk0p5): mounted filesystem with ordered data mode. Opts: (null)
[ 24.477669] logitech-hidpp-device 0003:046D:1025.0006: HID++ 1.0 device connected.
PM2.5 Air Quality Sensor and Breadboard Adapter Kit - PMS5003
is getting in the way of the I2S port?
I installed the PMS sensor after the original I2S installation of SPH0645
Please be positive and constructive with your questions and comments.