![]() ![]() To switch WiFi, on Windows, the icon is on bottom right corner, on a Mac it's on top right.Go to your computer/phone to change your WiFi connection from your normal WiFi to MorphClk.At this time, the ESP is acting as WiFi access point named MorphClk with password HariFun.The display will show you AP: MorphClk,Pwd: HariFun, and 192.168.4.1.Press the reset (RST) button on the ESP twice in a row about one second apart.However, it doesn't know the password to your WiFi Access Point (AP) yet. The ESP is trying to connect to your WiFi to fetch the current time. Once the upload is completed, you should see the word: "Connecting" on the display. Unfortunately, I've only been able to work around the problem by decreasing the refresh rate of the display, so the display is not as bright compared to the original version. I've seen this happen on the smaller NodeMCU that is based ESP-12E and 1M SPIFF and use this ESP-12E version of MorphClk. Matrix works, but the ESP never shows up as an access point.Post what it says if you need help deciphering what it's trying to say :-) If the error is in English, it should tell you what it's having trouble with.If the errors are a bunch of hex numbers, try changing the Flash Size to 4M(1M SPIFFS) and reupload. If the compile succeeded, upload succeeded but the clock does not work, open serial monitor in Arduino IDE, press reset on the ESP.If you get a JSON-related error when compiling, use JSON library version 5.13.2 instead of the latest version (6-beta) - Thanks lmirel ! There will be some warnings - those are OK, they do not stop the compile. If you cannot figure out what it's saying, post that first error and I will try to help. If the compile fails before it tries to upload, scroll up in the black background window and then slowly scroll down and note the first error it reports.If you could see files on the phone from the PC, then you have a good data cable. Test it by connecting your phone and PC with that cable. Make sure you are using a data/sync cable.Make sure you've installed CH340 driver (see previous step).If there is no enabled option under Tools > Port. ![]() If the upload fails because it could not connect, make sure you choose the port where the ESP is plugged into under Tools > Port.This will take some time (about a 30 seconds), and there will be warnings, but it will eventually upload to the NodeMCU. I had to change Flash Size to 4M(1M SPIFFS) your ESP might be different.Setup the options in Arduino IDE > Tools as pictured.When you plug in USB, you should hear the usual "ding" as Windows recognize a USB device being plugged in.Make sure that the pins of the NodeMCU are not being shorted by any metal objects on your desk while the NodeMCU is on.Before we plug in the NodeMCU to your PC via the Micro USB cable, have you double-checked your wiring? :-).Unzip the downloaded zip file then double-click MorphingClock.ino.(see picture above if you're unfamiliar with github).Download and unzip the latest Morphing Clock code. ![]()
0 Comments
Leave a Reply. |