Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
marksev1
@marksev1
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
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
For GenericESP, there no named pin mapping, this means GPIO5 is pin 5 (not 24)
Salve J. Nilsen
@sjn
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
Modules with named pin mapping of those NodeMCU or Wemos, the pin names are like D0, D1, D2, etc...
Salve J. Nilsen
@sjn
Hm. why use different conventions between the different boards?
Martin Ayotte
@martinayotte
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
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
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
yeah, setting the reset method to nodeMCU worked
Martin Ayotte
@martinayotte
BTW, even if you choose NodeMCU variant, plain pin numbers should still work too.
Stavros Korokithakis
@skorokithakis
hey guys, is there a way for me to add multiple wifi networks to the ESP? flashing it every time is becoming a huge pain
aw, it looks like my pcb is incompatible with the amica nodemcu and i'm grouding the "SD0" pin on it... does anyone know what that pin is?
Stavros Korokithakis
@skorokithakis
i'm looking at the wifimulti example here (https://github.com/esp8266/Arduino/blob/master/libraries/ESP8266WiFi/examples/WiFiMulti/WiFiMulti.ino) but i'm not sure how i can make it work with the mqtt library, which requires a WiFiClient instance. does anyone know if i can just pass the wifimulti instance in?
Ivan Grokhotkov
@igrr
WiFiMulti is not a replacement for WiFiClient
WiFiMulti is a thing which manages connections to several wireless networks
WiFiClient is a TCP client socket
So you can use WiFiMulti to handle multiple SSIDs and then use WiFiClient to do the actual connection
Martin Ayotte
@martinayotte
@igrr , I'm doing here quite an ambassador job, but since I didn't follow all details, is the UDP Multicast sporadic crashes are only related to get newer SDKs into Next Release ? (from one of several threads : http://www.esp8266.com/viewtopic.php?f=8&p=46955#p46955 )
Ivan Grokhotkov
@igrr
That seems to be related to a bug in lwip. Yes, the plan is to have it fixed in 2.3.0
Martin Ayotte
@martinayotte
Nice ! :-) ... Thanks ! You will do some happy users, although I'm not personally affected ...
praween-chao
@praween-chao
Who have the best tutorial mqtt, please share to me, I 'm newbie.
Ivan Grokhotkov
@igrr
@martinayotte I've pushed the changes that are supposed to fix this. I'll do more tests myself, and if I find no new issues then I'll make a new staging release available.
Martin Ayotte
@martinayotte
@igrr , you're a champion !
gonsays
@gonsays
Hey guys, I'm trying to use the WebUpdater.ino example on ESP-01 and I'm getting this error http://imgur.com/AoGGTdC
I'm using Flash Size 512K (no SPIFFS)
I've tried the usual 512K (64K SPIFFS)
"Flash real size: 1048576"
idk if the error is regarding the file dimension
"system param error
gonsays
@gonsays
nervmind guys, I should have been using "Flash Size: 1M (64K SPIIFS)"
liangzelang
@liangzelang
i am a new starter, and when i compile the esp8266 project ,it will generate one new file named "Lwip" ,and i wonder how does it generate
Stavros Korokithakis
@skorokithakis
@igrr, what confuses me is that WiFiMulti can also do the connection itself
jasperachtbaan
@jasperachtbaan
After installing the websocket_client, the websocket httpserver gives these errors when I try to compile
c:/tools/sming/Sming/SmingCore/Boards.h:17: undefined reference to `WebSocket::sendString(String const&)'
Anybody got any idea?
Martin Ayotte
@martinayotte
@jasperachtbaan , unfortunately, this gitter chat is for Arduino ESP framework, not for Sming. There is another one called SmingHub/Sming for that.
gonsays
@gonsays
hey guys, I want to do a LAN ip scanner with esp8266. The local ip can be aloccated as 192.168.1.1 to 192.168.1.255. Some routers start allocating from 192.168.1.1 and other routers start allocating from 192.168.1.100.
Can Arduino IDE read and write on .txt files?
FS function maybe
I'm a bit confused about the way to tell the ESP that the allocation interval is beginning in 1 or 100
being 255 ips I need to declare 255 ip strings
heavy