Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wiring setup #51

Open
cipiasentini opened this issue Aug 6, 2017 · 12 comments
Open

Wiring setup #51

cipiasentini opened this issue Aug 6, 2017 · 12 comments

Comments

@cipiasentini
Copy link

cipiasentini commented Aug 6, 2017

Hi Charles awesome project, I'm sorry I didn't want to open an issue this stupid, but I haven't found anywhere how to do it. I have an esp8266 (nodemcu v3) and a Groove - Loudness Sensor based on LM2904 amplifier, I've successfully flashed the firmware and uploaded the web interface (make netburn) and I've used the RX and TX pins on the esp for the mic input and led strip output (respectively) but I get nothing but noise, that's why I wanted to know if I should use other pins. Here's a picture of what I refer to as noise (it's present even if there's noting connected to the board):

captura de pantalla 2017-08-06 a la s 12 28 16

@opus506
Copy link
Contributor

opus506 commented Aug 6, 2017

The mic goes between the tout (analog in) and ground, with an addition wire connected to the + pin with a 10k resistor connecting to the 3.3v.

I ended up using an LM358 to boost the signal by over 50x. I'm now able to capture sounds from across the room now. I had to lower the gDFTIIR value to keep the noise from constant triggers.

See this article for schematic:
http://davidhoulding.blogspot.ca/2014/02/simple-high-sensitivity-arduino-sound.html

colorchord lm358

cc mic

Final parameters with the lm358 amp attached:

cc noise settings

@cipiasentini
Copy link
Author

cipiasentini commented Aug 6, 2017

Thanks opus for your reply, but I don't know why it isn't working for me, I've explained myself wrong before, I am using the The Grove - Loudness Sensor which uses the LM2904 amplifier. And I've tried using your parameters and attaching the signal pin of the sensor to pins A0, and some of the analogs inputs according to the picture above (the one on the right), but still nothing.
pinout-nodemcu_1 0-v2-y-v3

By the way, it's not a mic problem because I've tried elsewhere and had no problems.

@opus506
Copy link
Contributor

opus506 commented Aug 6, 2017

Check your Tout to see if its functioning, perhaps its damaged, maybe it was hit with 5v?

Try the software demo from the Groove product site. Flash your nodemcu with it.
http://wiki.seeed.cc/Grove-Loudness_Sensor/#software

Perhaps a photo would help us.

@cipiasentini
Copy link
Author

cipiasentini commented Aug 6, 2017

I don't know how can I test if Tout works? Tout would be A0 according to the picture right?
Here are some pictures of how I've got things connected.
Connections are as follows:

  • 3v to VCC
  • G to GND
  • RX to SIG
    img_0507
    img_0508
    captura de pantalla 2017-08-06 a la s 18 24 51
    Last one I am not quite sure but I put the GPIO 3 to 1 and in (as I've connected the mic out to my RX input (which says to be GPIO3) but nothing.

@opus506
Copy link
Contributor

opus506 commented Aug 6, 2017 via email

@opus506
Copy link
Contributor

opus506 commented Aug 6, 2017 via email

@cipiasentini
Copy link
Author

cipiasentini commented Aug 8, 2017

Sorry for late response, but still does nothing after doing that.. I'll try reflashing the esp because I don't know what else to do.

@cnlohr
Copy link
Owner

cnlohr commented Aug 8, 2017

@cipiasentini 1: verify you are starting from defaults in the parameters tab. 2: try installing esp8266ws2812i2s. 3: Some of these modules do not allow the ESP to override the RX pin. like no resistor between TX on the USB->serial and the RX pin. Have to use RX because that is where the DMA I2S engine output is.

@pjmole
Copy link

pjmole commented Oct 11, 2017

Charles,
I just noticed this thread and it has brought up a concern of mine about darn microphone problems. I have been looking at a recent ultrasonic imaging project that makes a point of separating
subsystems. This project should be presented as two modules the esp8266 + input bias is much like any line level input device. The second module is the input and could be a microphone or any other source amplified to line level.

It would make your project more popular if it was presented this way. So people could get started with a known signal source and standard connectors and then add microphones. I have been studying ultrasonic down converters hoping to make bat detector input module.

The system can be built with just capacitor on some modules as they have already biased analog input,
otherwise pull-up resistor needed to get oscilloscope at midpoint of display.

and then add chose input selection RCA ,headphone plugs, 1/4 inch , microphone , 38kHz demodulator
many things will work , remember you have AC input you might choose non electrolytic capacitor.

Just musing ... Perry

@cnlohr
Copy link
Owner

cnlohr commented Oct 14, 2017

It's really sad that you can't do multiple inputs on the ESP, to allow for really crazy stuff, like monitoring phase and comparing that to do triangulation :-/ But still would be neat. I don't know how much I can dedicate to it. I have been ENTIRELY slammed over the last few months :(.

@pjmole
Copy link

pjmole commented Jan 30, 2018

Charles
I have been looking at the MEMS microphones. They have better S/N than electrets and you could use i2s to read stereo signals, but could the esp8266 handle 2xFFT?

@cnlohr
Copy link
Owner

cnlohr commented Jan 30, 2018

The issue is you can't use the i2c input stream for the mic and i2c output stream for the WS2812Bs. If you were to use an SPI WS2812B interface (I don't know how to do that) then it would make it possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants