Saravanamani C.S.
Published

Automatic Fish feeder

A mini project, by using this people can feed their fish in fish tank from long distance

BeginnerWork in progress4 hours12
Automatic Fish feeder

Things used in this project

Hardware components

Arduino UNO
Arduino UNO
×1
SG90 Micro-servo motor
SG90 Micro-servo motor
×1
Jumper wires (generic)
Jumper wires (generic)
×1
9V battery (generic)
9V battery (generic)
×1

Software apps and online services

Arduino IDE
Arduino IDE
Blynk
Blynk

Story

Read more

Schematics

Circuit diagram

Code

Code

Arduino
nil
#define BLYNK_PRINT Serial
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
#include <Servo.h>

Servo servo;

char auth[] = "Blynk Auth Token";
char ssid[] = "your ssid";
char pass[] = "wifi password";

void setup()
{
  Serial.begin(9600);
  Blynk.begin(auth, ssid, pass);

  servo.attach(15); // NodeMCU D8 pin
  
 }
  
void loop()
{
  
  Blynk.run();
  
}
BLYNK_WRITE(V1)
{
   servo.write(param.asInt());
}

BLYNK_WRITE(V2)
{
  servo.write(0);
}
BLYNK_WRITE(V3)
{
  servo.write(90);
}

Credits

Saravanamani C.S.

Saravanamani C.S.

2 projects • 0 followers
I'm a passionate science and engineering student.

Comments

Add projectSign up / Login