Hi, there
I have bought this board.
I have success with understanding of DIP switches. But, I am failing to integrate Blynk with this board:
I am not able to understand at all which code I have to upload to Mega, or the ESP8266, what example to choose for which Module, and which Board to choose - the WeMos Pro R1 or the Arduino Mega 2560.
Its been like this for the past 24 hours and seriously, I am not able to understand what I shall do.
Please help me out with this one. I know I am asking for a lot but your help is sincerely appreciated.
UPDATE; I have some success
I got the ESP connected to Blynk, an extra DIP was turned on.
The code was
/*************************************************************
Download latest Blynk library here:
https://github.com/blynkkk/blynk-library/releases/latest
Blynk is a platform with iOS and Android apps to control
Arduino, Raspberry Pi and the likes over the Internet.
You can easily build graphic interfaces for all your
projects by simply dragging and dropping widgets.
Downloads, docs, tutorials: http://www.blynk.cc
Sketch generator: http://examples.blynk.cc
Blynk community: http://community.blynk.cc
Follow us: http://www.fb.com/blynkapp
http://twitter.com/blynk_app
Blynk library is licensed under MIT license
This example code is in public domain.
*************************************************************
This example runs directly on ESP8266 chip.
Note: This requires ESP8266 support package:
https://github.com/esp8266/Arduino
Please be sure to select the right ESP8266 module
in the Tools -> Board menu!
Change WiFi ssid, pass, and Blynk auth token to run :)
Feel free to apply it to any other example. It's simple!
*************************************************************/
/* Comment this out to disable prints and save space */
#define BLYNK_PRINT Serial
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "AuthToken";
// Your WiFi credentials.
// Set password to "" for open networks.
char ssid[] = "NetworkSSID";
char pass[] = "Password";
void setup()
{
// Debug console
Serial.begin(9600);
Blynk.begin(auth, ssid, pass);
}
void loop()
{
Blynk.run();
}
Now, I want to ask how do I connect the ESP8266 to the onboard Atmega2650. I want to take data from soil sensors from Atmega2650 and use the data to make a few conditions that I have figured out.,
I just want to know what do I write on code so that mega connects with ESP and I am able to send notifications on mobile phone.
FINAL UPDATE: I have figured out the DIP Switches and the Code.
See in the Thread to see the Code.
This is the configuration for DIP Switches