These are chat archives for esp8266/Arduino

5th
May 2016
Baruch Even
@baruch
May 05 2016 05:26
So they should increase the initial speed, or make it somehow configurable
Ivan Grokhotkov
@igrr
May 05 2016 05:38
It's written in the ROM code. Once the chip is taped out, it is no longer possible to change the ROM code. Rolling a new mask just to fix an odd UART rate at startup is not justified, i think. This may be addressed in future devices by having some OTP memory for such configuration parameters.
Baruch Even
@baruch
May 05 2016 05:42
That's understandable then, it's a shame they didnt make it configurable but I guess that for a low cost device saving cost is more important than getting everything just right.
I'm just finding myself trying to debug a unit that doesn't boot after burn and no way to read the serial to even get a hint and nothing I did could read the 76800 baud rate
I now figured it out to be the ADC setting to use the VDD, no idea what that failed. This is the first time I'm trying code on the wroom2, so far I used the esp12e and the same setting just worked on it.
marksev1
@marksev1
May 05 2016 15:05
https://github.com/r0ndL/WTV020SD16P - this lib looks good for esp8266 use with wifi right? since I don't see interrupts mentioned in it
Can anyone please confirm :)
Salve J. Nilsen
@sjn
May 05 2016 15:15
Heya folks. I have a Witty ESP-12F board were I have soldered on some wires to the VCC, GND, GPIO4 and GPIO5 pins, and when I try to use GPIO5 (which should be pin 24, if I've read the datasheet correctly), I get a compilation error in the Arduino IDE: "static assertion failed: Invalid pin specified".
Anyone here who knows what's going on?
or can help me figure out what' happening? :)
Martin Ayotte
@martinayotte
May 05 2016 15:18
For GenericESP, there no named pin mapping, this means GPIO5 is pin 5 (not 24)
Salve J. Nilsen
@sjn
May 05 2016 15:19
Ah, I used the "NodeMCU 1.0 (ESP-12E Module)" board setting
I'll try with the generic, and with 5 as the pin
Thanks, that made it at least compile :)
@martinayotte: Thanks! ^^
Martin Ayotte
@martinayotte
May 05 2016 15:20
Modules with named pin mapping of those NodeMCU or Wemos, the pin names are like D0, D1, D2, etc...
Salve J. Nilsen
@sjn
May 05 2016 15:21
Hm. why use different conventions between the different boards?
Martin Ayotte
@martinayotte
May 05 2016 15:22
I don't remember exactly, simply to looks like Arduino UNOs I guess, but I hate those names, I prefer straight forward pin numbers ...
In case you doubt which are those names, look in variants/nodemcu/pins_arduino.h
Salve J. Nilsen
@sjn
May 05 2016 15:25
allright, thanks
btw, do you have any idea what settings to use with the GenericESP module?
the NodeMCU 1.0 module did it fine
sjn @sjn tries to replicate some of those settings
Martin Ayotte
@martinayotte
May 05 2016 15:27
For Witty, I don't know, but Generic can still be use for any, like a NodeMCU can still be use as Generic as long as Reset Method is NodeMCU, for example.
Salve J. Nilsen
@sjn
May 05 2016 15:29
yeah, setting the reset method to nodeMCU worked
Martin Ayotte
@martinayotte
May 05 2016 15:31
BTW, even if you choose NodeMCU variant, plain pin numbers should still work too.