Dear Blynk developers,
When I was dealing with my project developing an environmental monitoring system based on Intel Edison, I chose to use Blynk to build my IoT application.
I chose to use Grove mini fan module which supply power is 5V, thus I connect it to my based shield diectly on D4, and I used following part of codes to control it:
const int fanPin = 4;
void setup(){
Serial.begin(9600);
Blynk.begin(auth, ssid, pass);
pinMode(fanPin, OUTPUT);
digitalWrite(fanPin, LOW);
}
void loop(){
Blynk.run();
}
When only mini fan runs on my development board, everything is fine. And the button widget in my Blynk app can control it directly. The problem is that after I add other sensors like PM2.5 sensor, temperature sensor and flame sensor to my development board, the mini fan does not work as well as before. What I mean is my Blynk app loses control of the fan. When I press the button to turn on the fan, it does not work.
I am wondering if there are some problems with the distributed power from Intel Edison. Maybe the more senors connected to the development board, the worse they perform.