Before creating the topic
- Search forum for similar topics
- Check http://docs.blynk.cc and http://help.blynk.cc/
- Add details :
• Hardware model + communication type. For example: Arduino UNO with Ethernet Shield
• Smartphone OS (iOS or Android) + version
• Blynk server or local server
• Blynk Library version
• Add your sketch code.
Code should be formatted as example below.
Simply paste your code between ``` If you don’t format your code, your topic can be deleted by moderators.
void loop()
Не могу соединиться с сетью
wifi пишет в порту что пытается и на этом все заканчивается
Start by sharing your code (correctly formatted with triple backticks) and copy/paste the output from your serial monitor.
Pete.
`` `
/* 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[] = "n2QpTf7x6I_SqIaxiUpN7dsF8OCwzWjb";
// Your WiFi credentials.
// Set password to "" for open networks.
char ssid[] = "YourNetworkName";
char pass[] = "YourPassword";
void notifyOnButtonPress()
{
// Invert state, since button is "Active LOW"
int isButtonPressed = !digitalRead(2);
if (isButtonPressed) {
Serial.println("Button is pressed.");
// Note:
// We allow 1 notification per 15 seconds for now.
Blynk.notify("Yaaay... button is pressed!");
}
}
void setup()
{
// Debug console
Serial.begin(9600);
Blynk.begin(auth, ssid, pass);
// Setup notification button on pin 2
pinMode(2, INPUT_PULLUP);
// Attach pin 2 interrupt to our handler
attachInterrupt(digitalPinToInterrupt(2), notifyOnButtonPress, CHANGE);
}
void loop()
{
Blynk.run();
}**strong text**
Please edit your post and all three backticks at the beginning and og your code, so that it displays correctly.
Three backticks look like this:
```
It’s also better to copy and paste the output from your serial monitor, rather than posting a photo of the screen.
That’s why I said:
А зачем код это же просто стандартный пример из библиотеки blynk wifi , все что я изменил это ключ и параметры сети еще есть такая строчка
[Unformatted code removed by moderator]
и такая
[Unformatted code removed by moderator]
А понятно как код записывать я только разобрался с интерфейсом сайта)))
[Unformatted code removed by moderator]
I’ve provided you with three backticks that you can copy and paste so that your code displays correctly.
Please do this:
- go to oist number 5 in this thread and click the pencil icon at the bottom of the post, so that you can edit it.
- put three backticks at the beginning of your code, on a blank line. Three backticks look like this:
```
- Save the edit
I’ve removed the unformatted code from the last two posts.
Pete.
[59] Connecting to TP-LINK_7A3A
Have you put your correct SSID and password (both are case sensitive) in here?
Pete.
я копировал все из другой программы
FTP сервер там пароль и имя работает
Что значит чувствительный к регистру?
В имени сети используются знаки (-_)
What do you mean, case-sensitive?
You can’t interchange capital letters and small letters, so an SSID “MyWiFi” is different to “mywifi”.
Are you connecting to a 2.4GHz Wi-Fi network?
Pete.
11:24:55.394 ->
11:24:55.394 -> ets Jan 8 2013,rst cause:4, boot mode:(3,6)
11:24:55.394 ->
11:24:55.394 -> wdt reset
11:24:55.394 -> load 0x4010f000, len 1384, room 16
11:24:55.394 -> tail 8
11:24:55.394 -> chksum 0x2d
11:24:55.394 -> csum 0x2d
11:24:55.394 -> v8b899c12
11:24:55.394 -> ~ld`Preformatted text`
один контроллер скетч залился в плату
и работает второй не желает работать
и все время эти сообщения с порта
ни понимаю , что делать,,,
если прошиваю ESP8266Flasher проблем не нет