What is
10.0.0.10
and what is
[1300] My IP: 0.0.0.0
?
What is
10.0.0.10
and what is
[1300] My IP: 0.0.0.0
?
/**************************************************************
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.
Social networks: http://www.fb.com/blynkapp
http://twitter.com/blynk_app
Blynk library is licensed under MIT license
This example code is in public domain.
**************************************************************/
#define BLYNK_PRINT Serial // Comment this out to disable prints and save space
#include <SPI.h>
#include <Ethernet.h>
#include <BlynkSimpleEthernet.h>
// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = “c138431aab914b6fbda16dbd13439046”;
IPAddress server_ip (10, 0, 0, 10);
// Mac address should be different for each device in your LAN
byte arduino_mac[] = { 0x90, 0xA2, 0xDA, 0x10, 0x1F, 0xC4 };
IPAddress arduino_ip ( 192, 168, 1, 70);
IPAddress dns_ip ( 8, 8, 8, 8);
IPAddress gateway_ip ( 192, 168, 1, 254);
IPAddress subnet_mask(255, 255, 255, 0);
void setup()
{
Serial.begin(9600);
Blynk.begin(auth, server_ip, 8442, arduino_ip, dns_ip, gateway_ip, subnet_mask, arduino_mac);
// Or like this:
//Blynk.begin(auth, “cloud.blynk.cc”, 8442, arduino_ip, dns_ip, gateway_ip, subnet_mask, arduino_mac);
}
void loop()
{
Blynk.run();
}
This is the sketch that i uploaded and the serial monitor gave the earlier mentioned output
@djinn111 Well, you using another person router IPs. You should use yours. Have you tried simple sketch without any settings?
yup, and i keep getting
[0] Blynk v0.3.1
[0] Getting IP…
Any idea guys? If i use a wifi shield will i getthe same error?
@djinn111 @Dmytro i was checking the ethernet shield for weak solder points and found out that it has the w5500 chip instead of the w5100 that i specifically ordered… Also found this:
http://forum.arduino.cc/index.php?topic=329990.0
which says that i have to update the wiznet library or use the IDE from arduino.org. fonna give it a try when i get home.
Cheers
damn. thnks fr tht tip…chkd ur msg, n wnt on 2 chk my shield…sme prob in mine 2…
also found this
i don’t know how to install it though…
@vshymanskyy @Dmytro help? i was able to get an ip using the ethernet 2 dhcpAdressPrint but in the blynk examples if i change the ethernet.h to ethernet2.h i get errors…
Anyone knows how to update using this files above?