I have managed to find a lot of information to setting this up, but with the external ESP8266 module and normal Arduino Uno. I still tired some of the tutorials to regarding the external one and tired to take the PIN controls out of the code but couldn't do it without breaking the hole code.
Also i have managed to connect the Wifi to an internet access router from the web panel with this tutorial...
...but i have the feeling that i am supposed to connect to wifi with the uploaded program.
So what kind of code and libraries would i need to connect to Wifi with this board?
After that,
for getting the data from the API there seems to be a lot of tutorials for, but i can't say do they work with the integrated setup yet because i can't test it because of the Wifi problem... so this is also a question for me still.
(I know that one of the main ideas of the Arduino Uno Wifi board is the ability to upload the code to it wirelessly, but that is a feature i don't need).
Thanks for the link. I did found a lot of info from there, but after setting up all the firmware and so on with the tutorial, i still can't make this work.
For some reason there's now only 2 tabs in the web panel (overview and wifi) and it started to be very slow.
To test the wifi, i tired ScanNetworks from WiFi link library, but the serial monitor only says "à Î" every time. Baud rate is setup the same so that can't be the problem (115200).
Pretty sure i did both. (If by "uploaded from source codes" meant in the tutorial, the title "Building from source code".) I had some trouble with OTA upload, but Serial upload seemed to work.
no. it is ok. my fork would be a problem for you. it is default set to straight serial.
so the situation is, that you can upload a simple sketch (to atmega) using serial (com port) and the sketch has regular output on Serial Monitor.
only a sketch with WiFi Link library doesn't work? if yes, try putting a 5 sec delay in the begin of setup to let esp8266 time to initialize.
Yes. My own sketches (with nothing to do with WiFi) work and print normally to serial monitor. Only the WiFi link example wont work. The 5 second delay seems to just delay the same characters "à Î", so didn't work.
I also tired the CheckWiFiLinkFirmwareVersion example. With delay it prints out:
First i had installed WiFi link library 1.0.1 from the Library Manager, but after checking the tutorial you sent me i noticed in the bottom that i had to install another one so i just replaced the file with the new one.
Pike:
First i had installed WiFi link library 1.0.1 from the Library Manager, but after checking the tutorial you sent me i noticed in the bottom that i had to install another one so i just replaced the file with the new one.
Slower baudrate seems to not help.
the Library Manager version of WiFi Link library is ok.
(the 'straight-serial' branch version is for my special straight-serial version of the firmware. and it can't by used with USB connected)
Removing the straight-serial version library seemed to fix the issue. Now the examples work perfectly.
Thank you for the help!
I am wondering, how similar is this board compared to normal UNO with external ESP8266 when it comes to programing. I know that with the external one i have to control pins, but does it otherwise work the same now?
It is the same. The only difference it that Uno WiFi uses TWI instead of soft-serial in setup where you need USB for upload and Serial Monitor. My straight-serial version is the same as when you would connect Uno with ESP module with TX/RX.
I plan to try and document using WiFi Link on Nano with connected ESP-12 module.