Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Martin Ayotte
@martinayotte
Ok ! I see your last post. Did you find which commit fixed it ?
bbx10
@bbx10
@martinayotte @igrr I do not understand why 2MSS works. I tried big writes 2MSS with the hope it would flush output faster which it does. Disabling Nagle has no effect which is expected. Nagle affects small writes (< MSS). Also it appears Nagle on ESP is either not implemented or defaults off because I tried small writes and there is no Nagle delay. I think this is a good because Nagle can be a PITA.
@martinayotte @igrr When I tested the git version, I tried with 1MSS and 2MSS. Both are fast, that is, 2MSS is no longer needed to get fast performance. 2MSS just wastes RAM. I will take a closer look at which commit fixed the problem.
Me No Dev
@me-no-dev
@bbx10 if you read the available space for sending data, the first time you will get usually 2xMSS and then 1xMSS on each ack, so 1xMSS is fine
bbx10
@bbx10
@me-no-dev @martinayotte @igrr Ok, 1xMSS is good. commit 8db4dcea "WiFiClient::write refactoring..." fixes the TCP write performance issue. Associated issue: #2177 Thanks @igrr, the comments in the issue take the mystery out of why 2xMSS helps. Fortunately, this "black magic" value is no longer needed.
aug2uag
@aug2uag
is there an option to choose flash style? i know the previous flash mechanism was based on esptool.py, however i'm facing an issue relating to persistence that may have to do with Running Cesanta flasher stub.. .
i'll try flashing the build w esptool.py
aug2uag
@aug2uag
no luck, seems the build process may have also changed since those days ..
aug2uag
@aug2uag
ok, i missed the point esptool.py is still doing the flashing. i wouldn't have arrived here w/out posting .. thanks
Stavros Korokithakis
@skorokithakis
do you guys think 100 uF tantalum capacitors are worth it?
for voltage stabilization
Stavros Korokithakis
@skorokithakis
although i'm using the big barrelly 470 uF ones now
Martin Ayotte
@martinayotte
both are good, but you also need decoupling one such ceramic 0.1uF
Stavros Korokithakis
@skorokithakis
hmm, why? doesn't the large capacitor work for that?
aug2uag
@aug2uag
btw, soln for me was i had esp8266 2.0.0 on arduino 1.6.5. definitely better w esp8266 2.3.0!
Martin Ayotte
@martinayotte
@skorokithakis , large one is for power reserve to avoid current spikes, small one is for noise filtering.
Stavros Korokithakis
@skorokithakis
ah, and they both need to be connected in parallel?
Martin Ayotte
@martinayotte
Yes !
Stavros Korokithakis
@skorokithakis
i see, thank you
Martin Ayotte
@martinayotte
welcome
Stavros Korokithakis
@skorokithakis
can anyone decipher the connections in this 3.5mm headphone jack? i can't understand the order: http://hongsenele.com/UpLoadPic/PJ-320L-.jpg
i think 5 is gnd, and 2 is microphone?
aug2uag
@aug2uag
Screen Shot 2016-08-19 at 5.47.29 PM.png
is it for a 4-pole input ?
Stavros Korokithakis
@skorokithakis
yes
i found that as well, but i don't know which one corresponds to which
in the end, it looks like 5 is mic, 2 is gnd, 3 is r and 4 is l
does anyone know of a nice microsim holder?
smd
Stavros Korokithakis
@skorokithakis
ah never mind, found one
Stavros Korokithakis
@skorokithakis
phew
sticking an ESP, an A6, a mic jack, a sim, an antenna and all the other pins and things on a 5x5 cm board is pretty tight
Akash Ashok
@thehellmaker
Interesting. Guys question. Is ESP 8266 powerful enough to stream audio? I was thinking of streaming voice from a mic throught esp8266 to a centralized server for voice recognition. Is this possible with esp8266?
Me No Dev
@me-no-dev
@thehellmaker it is possible, but you will need to sample at equal intervals, then combine on the other end with the same sample frequency to reconstruct the sound
Akash Ashok
@thehellmaker
I'm assuming since the frequency is around 180Hz - 500Hz the MCU is in Mhz its definitely capable. My question is since its a lot of data ESP has to stream can it handle it other wifi requests while its streaming voice. I think the answer is no. @igrr mentioned that ipstack has one thread and hence only one ip request is processed at any point. correct me if i am wrong here
Me No Dev
@me-no-dev
that is true but most transmissions are multipacket and there is time between the packets to handle other connections.
there is an ESP-Radio project and I have personally streamed PCM to the ESP which plays through I2S
you just need to go Async to be able to do it all at the same time
Akash Ashok
@thehellmaker
makes sense ....
Clemens Kirchgatterer
@everslick
@skorokithakis if it becomes really difficult to make them fit, you could put some components on the backside. like the A6 or ESP
Stavros Korokithakis
@skorokithakis
I have, there's a bunch of resistors and the SIM card on the back, @everslick
Clemens Kirchgatterer
@everslick
ic
Stavros Korokithakis
@skorokithakis
i'm measuring the current draw of the A6 and it's coming out to half a MILLIamp, can that be right?
i was expecting 200 mA at least
and of course it's not right, the multimeter probe was in the wrong place
yay
Germán Martín
@gmag11
Current may depend on mobile coverage quite a lot.
Data sheet value is the worst case