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
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
Stavros Korokithakis
@skorokithakis
why does this keep happening?
which makes sense, because it's yours :P
axamarin/xamarin-android@a16673d
Michael Miller
@Makuna
Yup
Stavros Korokithakis
@skorokithakis
thanks!
a1
a[2]
a[3]
the hell?
Michael Miller
@Makuna
It's some weird markup feature I guess.
Stavros Korokithakis
@skorokithakis
yeah
bah, i can't get this module to work consistently at all
now it just stopped working again
:/
probonopd
@probonopd
@me-no-dev remember the Hue emulator? Maybe it should be rewritten using your Async libraries?