Hi Matt, I am using the ESP8266-12F. It uses a serial interface for communication, default at 115200 baud. The commands are based on AT command set V2.0.0. I bought a few quite recently at AliExpress for a few Euro per piece.
Note that it operates at 3.3V so you need level shifters for the UART interface with the PIC. This is something that I also mention in the sample programs. I have created the following sample programs: - Simple connect to an access point. - Browse to a website - Connect via TCP to your computer using Telnet. You can send commands to the PIC and it sends responses back. - Web server showing status of the PIC. When browsing to your PIC you get a web page showing the status of a pin. - Web server showing status of the PIC and control. When browsing to your PIC you get a web page. On this web page you can control a led on the PIC by clicking on a link on that page. - TCP server that sends simple commands H(igh), L(ow), and T(oggle) to switch a LED on and Off or Toggle. Commands are then sent using a Telnet session to the device. It could also be used if 2 devices want to send data to each other over Wifi. - I made 2 sample programs for a smaller PIC that only has 1 UART (the other use the second one for providing status information for debugging). - The sample programs are all based on PIC14 so I needed to create a new Large_Array_1 with banks of 80 bytes. I only made it for byte now but that already costs 2000 lines of code. I will complete it with Word and Dword before I release it. I use the interrupt versions of the UART from the jal library. There was something missing that I needed to add so these files also need a small update. It is quite fun to see that you an control the PIC from your browser by clicking on a link on that page. I based the library on some Arduino library that I found on GitHub but made it simple (I really could not follow the logic of that works with these C compilers). I you want I can send you zip file with what I have so far. The blog thing you mentioned is new for me. I will have a look. I will also pos something on jallist. Kind regards, Rob On Sunday, February 3, 2019 at 2:26:08 AM UTC+1, Matthew Schinkel wrote: > > What module did you buy? I see too many on ebay. I'd like to pick up the > same one you have. Is it connected by serial, SPI or I2c? > > We should look into making more tutorials to get people interested. For > now, we can add them as blogs on justanotherlanguage.org > > You can announce it on Jallist if you think others there would be > interested. > > Matt. > > On Saturday, February 2, 2019 at 3:28:36 AM UTC-5, Rob Jansen wrote: >> >> Hello all, >> >> I am working on a JAL library for using the esp8266 wifi module. It is >> starting to work and I made some sample programs. It is still work in >> progress and I need to clean up the documentation of the library. Once done >> can post it on GitHub but I am wondering if it should be >> checked/reviewed/tested by somebody to see if is all clear. What is the >> normal procedure for doing this? Put it on the jallist forum? >> >> Kind regards, >> >> Rob >> >> -- You received this message because you are subscribed to the Google Groups "jallib" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/jallib. For more options, visit https://groups.google.com/d/optout.
