I bought a wemos D1 and got it to work with arduino ide.
Normal code works. But how do i get it to work with blynk?
I uploaded the blynk example code for the esp8266 and added my ssid and password here.
I then selected esp8266 in the android app but it says my board isnt connected to the internetz :(.
received a couple of days ago my Wemos Mini D1 as well, successfully connected to Blynk server and acting as expected in a simple app done in Android.
Did you set the token in the code?
I’ve found quite useful displaying the serial monitor in the Arduino IDE, it shows what your D1 is doing (connecting to wifi, receiving IP address, connecting to Blynk server).
I tried uploading sketches like blynk as you would with a normal arduino nano and everything works great!
Reinstall blynk library
select sketch "esp8266"standalone (is this the one u used?)
add my token, ssid and pass to sketch
upload
and nothing happened, serial monitor is not displaying anything… Which step am i missing?
Should i use a different baud rate? (default in sketch is 9600)
Why is my blynk sketch not working?
@Pavel I know it is not supported yet, but since this is litterly just an esp8266 soldered on a board i thought it should work just as well if not better? I must be doing something else wrong?
I reinstalled the latest blynk library and now the wemos D1 does display serial monitor when using above steps. It says it is connected. The app works too but the pins do not match. Pin 13 on the board is pin 14 in the app. This is important knowledge if you want to prevent hyper frustration
@Pavel, glad too the Wemos mini D1 is working even if not officially supported. I’m currently collecting different esp8266-x based devices (nodemcu, …), still to investigate on their full work under your nice Blynk hat.
@ectoplasma, seen around 1.6.5 ver. for the IDE should be used when working with ESP-8266, due to libraries compatibility issues in new releases. The mini D1 and D1 boards have their own pinout, well documented in the Wemos website. I’ve used 57600 as upload speed for the sketch.
I just checked the wemos website again and indeed the pins are under the tap documentation.
I’m over the moon with joy here, so many things I could hack with the wemos mini!
@Pavel is there a limit of around 11 projects per Blynk account as I tried to create a new project for the Wemo D1 Mini that arrived yesterday and I get 'User not allowed to perform this operation. Try Later"?
I edited an existing project, changing USB to ESP8266 and the Wemo connects to Blynk but I don’t have full control.
With a button set to GPIO2 and another to V0 I can toggle the built in LED, remembering the pullup resistor on GPIO2 so high and low are effectively reversed.
However when I put an LED on GPIO4 or 5 I don’t get any response. I tried switching them around as I know 4 and 5 are mixed up on some ESP’s but still no joy. I put my meter on the pins and no response. I’m not the kind of guy that uses resistors for LED’s but surely the meter would register a reading without a resistor.
I’m using the Wemo pinout, IDE 1.6.5 etc.
Any tips from @goingmad or @ectoplasma as to why GPIO 4 / 5 (D1 and D2) are not responding for me?
Ok scrap all the above. I deleted one of my projects to be able to create a fresh one for the Wemo and all works fine now. I have noticed before that changing the device in the project doesn’t give good results.
I think the D1 is going to be a very popular device.