Hello,
I really cannot think at a more simpler way to do a AC Dimmer than Blynk & MPDMv4. I am new to Blynk but I must say that I am really impressed how simple was the entire Project Setup process.
My Setup:
The Arduino IDE sketch code for using the MPDMv4 Dimmer is the one from below, nothing else necessary to run your AC Dimmer. Deadly simple!!
#define BLYNK_PRINT Serial // Comment this out to disable prints and save space
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "add you key";
void setup()
{
Serial.begin(9600);
Blynk.begin(auth, "WIFI_SSID ", "passwd here");
}
void loop()
{
Blynk.run();
}
On the Android phone that I used, in Blynk App, just created a new app & defined a new Slider in it, added desired PWM pin to it ( I have used GPIO5 ), defined slider values from 0->880 and that’s it.
Delightful
Soon also a Youtube Video with the Blynk MPDMv4 AC Dimmer Setup & software example will follow.
Happy Breadboarding,
TJ.