These are chat archives for esp8266/Arduino

27th
Aug 2016
Jordan Carlson
@jordancarlson08
Aug 27 2016 02:26

Hey guys, I'm super new to Arduino and the ESP8266, hopefully someone can help me understand what i'm doing wrong.
I'm trying to connect to a MQTT broker with the ESP8266. It connects to wifi fine but throws an exception when trying to connect to the broker.

Here is the serial monitor printout if that helps.
http://hastebin.com/sorelojeva.sm

Krzysztof
@krzychb
Aug 27 2016 03:55
Hi Jordan, does it always throw the same exception in the same place? Where in code? The stack trace is typically useless if not decoded – check https://github.com/esp8266/Arduino/blob/master/doc/faq/a02-my-esp-crashes.md
Jordan Carlson
@jordancarlson08
Aug 27 2016 04:33
@krzychb Thanks for responding! I ended up starting from scratch using the example file from the Adafruit MQTT github and I have slowly added everything back in and its working.
Krzysztof
@krzychb
Aug 27 2016 07:43
@jordancarlson08, cool! Thanks for update :smile:
kiralikbeyin
@kiralikbeyin
Aug 27 2016 08:38
Anybody ? how can i make wifi reconnect longer than 1 second? Without using delay in sta+ap mode
Ivan Grokhotkov
@igrr
Aug 27 2016 10:25
While not all the peripherals made it into the first release, esp32 reference manual is already much more detailed than anything written about the 8266: http://espressif.com/sites/default/files/documentation/esp32_technical_reference_manual_en.pdf
Akash Ashok
@thehellmaker
Aug 27 2016 10:34
@igrr has esp 32 product manufacturing started
Ivan Grokhotkov
@igrr
Aug 27 2016 10:42
Yes. The chip is in production.
Akash Ashok
@thehellmaker
Aug 27 2016 10:42
Awesome ...
Krzysztof
@krzychb
Aug 27 2016 11:10
Just checked the watchdog in the ESP32 manual. There are three watchdogs instead of one and each having 4 stages that may take one of three or four actions on expiry. Fascinating read :smile:
Akash Ashok
@thehellmaker
Aug 27 2016 12:06
Hi Guys, I am facing a surprising problem
So till now with node MCU dev kit and esp12 f modules i never had problems with serial baud rates
today i got a new module from alibaba
i am able ot flash code into it
after flashing on serial port its pringting gibberisg
tried all baud rates
Tried setting ... Serial.begin(9600);
and then opening serial monitor at 9600
and then tried Serial.begin(115200); and opened serial at the same
it always prints gibberish
Stavros Korokithakis
@skorokithakis
Aug 27 2016 21:38
@thehellmaker but flashing worked properly?
Akash Ashok
@thehellmaker
Aug 27 2016 21:39
Yeah it did
I out a loop and serial print
Its printing gibberish
And I remove that nothing comes on the screen
But ap doesn't come up
It doesn't connect to wifi
Nothing really works apart from printing girrberish when I print to serial
:)
Quite strange
My esp12f modules work perfectly
Stavros Korokithakis
@skorokithakis
Aug 27 2016 21:45
Hmm, that's very odd, I've never seen that
Does anyone know of a component like a key matrix, for connecting many inputs or outputs to few GPIOs? A GPIO extender, I guess
Stavros Korokithakis
@skorokithakis
Aug 27 2016 22:40
MCP23017?