Hello Everyone!
I hope all of you are doing safe now. Today I am going to explain you about the fourth version of controlling the VLC Media Player using Arduino and Python. In this version, I will be using the Google Home mini to control the VLC Media Player with my voice. This version will be really useful for people who do not have a chromecast.
- Version 01 - Using Hands:
- Version 02 - IR remote:
- Version 03 - Blynk:
Hardware components used in this project
- ModeMCU devkit 1.0
- USB Type A to micro B cable
- Google Home Mini
Online services and apps used in this project
- Arduino IDE
- Blynk
- IFTTT
Coding
Arduino
For this project, you will be needing the Blynk and IFTTT app. The coding will be similar to that of the previous project.
You will need to install the Blynk app and its library; if you are new, please feel free to visit this website:
After you have installed the Blynk app, you will need an account to log in. You can log in using either your Google or Facebook account. Create a new project and name it as 'VLC Media Player'. Select board type as NodeMCU and connection type as WiFi. The auth token will be sent to your email address.
Use the example code builder to choose your hardware model and connectivity type, and copy the whole code to buffer.
Upload this code to your Microcontroller board and connect your board with Blynk app. Visit ifttt.com to get started with IFTTT. Create applets using Google Assistant and Webhooks services. Make sure that you use the same gmail address for the IFTTT account and your Google Assistant/ Google Home Mini. The pinout diagram for NodeMCU devkit 1.0 will be helpful in this step. D0 is GPIO 16 so that is why I have used D16 in the picture below.
The applets must be created for:
The applets must be created for:
- Play
- Pause
- Stop
- Toggle
- Untoggle
- Volume Up
- Mute
- Unmute
- Volume Down
- Next
- Previous
- Fast forward
- Rewind
Final Look
If anyone has any questions or suggestions with this project, please feel free to comment below or send me an email at arduinoprojectsbyr@gmail.com.
Comments
Post a Comment