I’m a real novice here. I have gone through the starter kit and begun to think about my own projects. Many of them will involve wifi or serial communication. I’ve worked out using Ardunio with ESP8266 and using nodemcu boards with AT firmware. I am mostly using software serial communications with the Arduino board. Is anyone aware of a wifi library that will work on a variety of boards so that I don’t have to run different libraries with each of these boards?
I am using an arduino uno and I have it working with an ESP8266 over software serial.
I am also using a nodemcu 1.0 with AT firmware.
I have both boards in the Arduino IDE and can program them. I have a couple of Wifi libraries from Github that I can program the arduino and ESP. There are not too many of them. Separately I have a couple of libraries that I can make work on the NodeMcu(esp development boarding.
I may just be misunderstanding and maybe it easy to do with what I have and know.
I would just like to have one Wifi library with the same methods and just tell it which board which board I am using. Right now I have different libraries that work with each board separately and have different ways of accomplishing the same things.
delgross:
I am using an arduino uno and I have it working with an ESP8266 over software serial.
For this is recommend:
delgross:
I am also using a nodemcu 1.0 with AT firmware.
...
Separately I have a couple of libraries that I can make work on the NodeMcu(esp development boarding.
This makes no sense. If you have the AT firmware on the NodeMCU board then you can't have a library on the NodeMCU board. If you are using a library on the NodeMCU board then you no longer have the AT firmware on it. You need to make the effort to provide us with enough information so we can actually help you.
That is library I am using currently. The library you suggest for the arduino board with the esp8266 is handling the wifi stuff.
I apologize for not making sense. The other board I am using is HiLetgo New Version NodeMCU LUA WiFi Internet ESP8266 Development. I have found a different wifi library for it. It responds to AT commands from coolterm and small test programs I have written for the board using AT commands in the Ardunio IDE.
I'm just looking for a library that handles boards wifi communications using the same methods for both situations. If I am not making sense please explain why.
If you're controlling a NodeMCU running the AT firmware from CoolTerm then the Arduino IDE is not involved in any way and so no Arduino library can be useful to you. Therefore, what you ask is impossible.