-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ESP8266 Library #4
Comments
The library is included inside the esp8266-board package: Be sure that you have also selected a ESP-Board. If it's accidentally set to "Uno" it won't work. |
Do you happen to know how I can get it for Mac? I'm also slightly confused on the board selection. If I'm putting the ArtnetWifi sketch on the Uno with the ESP8266 connected to the uno shouldn't I have Uno selected? It is the main microprocessor which will then control the ESP8266 to connect to my network? Im currently using the ArtNet Master sketches to control my led lights along with an Ethernet shield and that is how it run that sketch. I would assume the ESP simply replaces that shield and uses the ESP8266WiFi.h file instead of the Ethernet one. Sorry if that was long winded, your help is greatly appreciated. |
There are two ways, to use the ESP board.
To replace the firmware of the ESP-board you need a "board-package" for your Arduino IDE. This is because you are now using the CPU on the WiFi module to do stuff for you. My library was specificaly desined to run on a bare ESP, so it is requesting the ESP8266WiFi.h header file out of the esp board package. (Linux, Windows, Mac: if you have the board-package and my library, it will compile on all platforms.) |
Thank you so much for your help! I completely understand now. I've ordered a NodeMCU board to work with. I've also installed the board manager and verified that the code compiles correctly and it does! I'll also be looking into flashing my ESP-01's to the NodeMCU firmware as I ordered several of them for this project and I'd like to be able to make use of them. |
Do you happen to know how I can get it for Mac? I'm also slightly confused on the board selection. If I'm putting the ArtnetWifi sketch on the Uno with the ESP8266 connected to the uno shouldn't I have Uno selected? It is the main microprocessor which will then control the ESP8266 to connect to my network? Im currently using the ArtNet Master sketches to control my led lights along with an Ethernet shield and that is how it run that sketch. I would assume the ESP simply replaces that shield and uses the ESP8266WiFi.h file instead of the Ethernet one. Sorry if that was long winded, your help is greatly appreciated.
|
@rstephan I was able to flash the ESP-01 and get the sketch loaded on the board. I can see it receiving the artnet data via the RX led on the uno. (I'm using the uno only as a passthrough to flash and power the ESP-01) my final question is do you have any idea what pin I need to use to send the digital signal out? I've tried a few things and haven't had much luck with this last step. |
Hey, I have a question, is it possile to use your library for the Pretzelboard ? This should have the same WIFI Chip on Board. Maybe you can help me to match ? Thanks a lot |
The Pretzelboard is the "old way", see early post. You can chop off the ATmega and use the ESP alone. But don't use an hacksaw! Desolder the ATmega, connect the rx and tx from the CH340 USB-serial converter to the ESP. Now you have an expensive variation of a NodeMCU board. |
Hello,
thanks in advance Niko |
The short answer is: no. My library was only designed for the ESP8266, so Uno, Mega and so on are out. But you can use another ESP8266 to generate the patterns. My library is able to transmit ArtNet as well. |
Hello thanks again Niko |
I don't know the upper limit of the ESP8266, but if you need power you have to choose a fast "Arduino". A Uno runs at 16 MHz, a ESP8266 can do 80 MHz. The final performance depend on many reasons:
10 clients and 1 "frame/s", sure a Uno can do this. Build it up and make some tests. That's all i can say, sorry. |
Where do I find the ESP8266 Library that includes ESP8266WiFi.h file. I've downloaded what I thought was the correct library however the build still fails first as it is missing the file "#include "
The text was updated successfully, but these errors were encountered: