Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Stavros Korokithakis
@skorokithakis
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
Stavros Korokithakis
@skorokithakis
ah, right
can anyone help me with this inconsistency? What my library does is try to autodetect the baud rate by sending "AT" and listening to a response, and later just proxies Serial <-> SoftSerial. the module mostly seems to be unresponsive when i try autodetection, but when I power-cycle it while the ESP is proxying, it works fine every time. i can't see any reason why i wouldn't be seeing any output from the module in the autodetection yet it works fine when just proxying raw bytes...
Stavros Korokithakis
@skorokithakis
also, i declared an int array like int rates[] = {115200, 9600, 1200, 2400, 4800, 19200, 38400, 57600};, can i get the size at runtime so i can loop over it?
ah, i found the problem, i wasn't sending a CR before the AT, so the previous autodetector commands were messing the module up
Michael Miller
@Makuna
'sizeof (rates)/sizeof (rates xamarin/xamarin-android@a16673d)', usually you will a macro defined as countof () that is just this.
Stavros Korokithakis
@skorokithakis
do you mean sizeof(rates)/sizeof(int)?
oh
ratesxamarin/xamarin-android@a16673d?
damn
Michael Miller
@Makuna
Wow, that got mangled, the last part was rates indexed at zero