Skip to content
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

Can I use this library in other boards? #20

Open
dragonic09 opened this issue Jul 14, 2016 · 10 comments
Open

Can I use this library in other boards? #20

dragonic09 opened this issue Jul 14, 2016 · 10 comments

Comments

@dragonic09
Copy link

dragonic09 commented Jul 14, 2016

Hello
I'm kind of confuse with the libs. Can I use this libs in other boards such as Arduino Leonado that connected to ESP8266? or I can only use it in ESP8266. When I tried to burn esp8266 example to my Arduino Leonado I always got a "not define interfaces" problem, even though I already defined ESP8266 in the example. I tried both "#define ESP8266" and "#define ESP8266;" when I switched to Arduino Leonado, but I still got the same problem. When I used "GENERIC ESP8266 MODULE" even if I didn't define ESP8266 ,I can verify the codes.

Thank you

@washo4evr
Copy link
Owner

washo4evr commented Jul 15, 2016

Hi,

the library works on arduino uno and mega
it can work on arduino nano but because of the low memory, it is more difficult

#define helps you select what LAN board you have (W5100, ENC28J60, ESP8266)
usually, shields for uno / mega use w5100
nano uses ENC28J60

let me know if I can assist you more to get started :)

@dragonic09
Copy link
Author

I don't have w5100 or ENC28J60, but I have ESP8266.Can I use arduino uno/leonado with ESP8266 instead?

@washo4evr
Copy link
Owner

are you trying to use the ESP8266 as a wifi shield?
I would suggest to program the ESP directly
for now, 1 user tried to use the ESP as a wifi shield and it didnt work
I never tried it directly

@dragonic09
Copy link
Author

Thank you for the answers.
I think I will try to program the ESP directly first. If it doesn't work, I think I have to buy a wifi shield.XD

@washo4evr
Copy link
Owner

I would recommend something like that

http://www.banggood.com/Mini-NodeMCU-ESP8266-WIFI-Development-Board-Based-On-ESP-12F-p-1054209.html

this is what I have been using for a while now
works great if you only need 10 digital IOs or so

@dragonic09
Copy link
Author

dragonic09 commented Jul 19, 2016

Did you use Mini Node MCU as a wifi shield or stand alone?

@washo4evr
Copy link
Owner

Hi
I mostly use the same board I linked before.
The ESP8266 as a standalone works perfectly for me
If I ever need more IOs, I would probably use a Arduino Mega or Due with wifi shield

@alxferraz
Copy link

Hi guys, Im trying to use a Nodemcu (standalone) to connect to a web socket via Wifi OR Enc28j60. I had no succeeded so far. Any ideias?

@washo4evr
Copy link
Owner

the nodemcu uses the ESP8266
you should be able to use the library as is on the 8266

What did you try?

@alxferraz
Copy link

I need to be able to connect to the socket via enc28j60 or wifi (user will choose) and it has to be done using nodemcu as the mcu.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants