|
Wemos D1 MiniWemos
|
x 1 | |
|
232Keystone Electronics
|
x 1 | |
|
9v BatteryGeneric
|
x 1 | |
|
LM7805Generic
|
x 1 | |
|
Slide SwitchGeneric
|
x 1 | |
|
9g Micro ServoGeneric
|
x 1 |
|
arduino IDEArduino
|
|
|
Blynk App |
Remote Servo Actuator
How does it work?
The ESP8266 board (D1 mini) connects to the wifi your wifi network and the Blynk app. When a Botton on the app is actioned, the ESP sends it to the servo motor. The LM7805 transistor is used to convert the 9 volts from the battery to a useable 5 volts. All of the parts used are widely available for some cheap prices.
Building and Programming:
Building the Blynk app:
Start a new project on the Blynk App.
Name it Remote Servo Control, choose ESP8266 as the device and choose the connection type via WiFi
An email will arrive with your Auth token when you create your project. Save it, you'll need it later.
Add a Slider to the project.
Set the output of the Slider to Virtual 1 (V1) and change the 1023 value to 180.
Add 2 buttons to the project
Name it Position 1 and set the output as Virtual 2 (V2)
Name the other button Position 2 and set the output as Virtual 3 (V3)
And that's basically it for the App.
The code:
We need to change some things to make it work:
char auth[] = "Blynk Auth Token";
Paste your Auth code inside the brackets
char ssid[] = "your ssid";
Replace "your ssid" and add your wifi network name
char pass[] = "wifi password";
Replace "wifi password" and add your networks password.
And that's it! Now you're ready to turn on and off anything anywhere in your house.
#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(5); // NodeMCU D1 pin
}
void loop()
{
Blynk.run();
}
BLYNK_WRITE(V1)
{
servo.write(param.asInt());
}
BLYNK_WRITE(V2)
{
servo.write(0);
}
BLYNK_WRITE(V3)
{
servo.write(90);
}
Remote Servo Actuator
*PCBWay community is a sharing platform. We are not responsible for any design issues and parameter issues (board thickness, surface finish, etc.) you choose.
- Comments(0)
- Likes(0)
- 0 USER VOTES
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
More by Inaki Iturriaga
- GPS Mobile Beacon Building a GPS Emergency Beacon: A DIY TutorialWelcome to our latest DIY project: creating a GPS Eme...
- Wireless RFID Card Copier. Wireless RFID Card CopierIn today's digital world, security and accessibility are of paramount impor...
- Piezo Alert System. Within the fast-evolving sphere of security tools and home automation, creativity often paves the wa...
- Wifi Weather Station - Sensors board WiFi Weather Station - Sensor unitIn our digital era, many electronics projects integrate diverse se...
- RC Receiver Build Your Own RC ReceiverHarnessing advanced electronics and precise control systems, the RC Receiv...
- Universal RC Controller Build Your Own Universal RC RemoteHarnessing the power of custom PCBs and wireless communication, th...
- Continuous GPS Tracker This compact and efficient tracker provides real-time location updates, making it ideal for surveill...
- Air Quality Monitor Welcome to our DIY tutorial on assembling an Air Quality Monitoring Device. This project is perfect ...
- Automatic Watch Winder Automatic Watch WinderIn the realm of luxury timepieces and watch aficionados, an automatic watch is...
- Handheld GPS Within the swiftly advancing realm of portable technology and travel essentials, innovation often sh...
- Dual Motor Controller for Model Robotics In the thrilling world of robotics and DIY engineering, innovation continues to soar to new heights....
- Altitude Indicator with Beeper for Rocketry Altitude Indicator for Model RocketryIn our ever-advancing technological landscape, countless projec...
- Wifi Weather Station - Display unit WiFi Weather Station - Display UnitIn this technologically advanced age, countless electronics proje...
- Positon Breakout Board Position Sensors Breakout Board In today's era of advanced technology, many electronics projects req...
- Ambient Sensors Breakout Board In today's world, electronics projects often require the integration of multiple sensors to collect ...
- Infrared Launch Controller IntroductionHave you ever wanted to remotely launch a rocket, drone or other device using infrared t...
- Altimeter Datalogger with Display. Building TutorialAltimeter Datalogger with Display.Components needed:BMP280 sensorI2C to 16x2 displa...
- Remote Igniter + 3D printed Case. Remote IR Igniter.Build an Infrared remote ignitor for model rocket testing and launching!This guide...
-
-
-
-
-
-
3D printed Enclosure Backplate for Riden RD60xx power supplies
154 1 1 -
-