Main motivation for this project - i want to control Mopidy music server from my couch, especialy when i want to switch on the TV and therefore turn off music. And i have 50% or more out of my remote buttons unused. I mean what are those colorful buttons do? No idea. But this project fill them with purpose. Later i found aliexpress sourced remote laying around and decided to adopt it as well. This one gives more precise control over music server.
I use Sming framework for my esp8266 based project. I think this one is most handy for quick and convinient development.
I split unit's tasks in classes with following high level responsibilities:
wifimanager - tries to connect to known network and notifies application if connection established or lost. when no connection avalable - it starts AP point so you can connect to it and configure.
webserver - starts and provides basic interface for listing wifi networks and connecting to one.
mopidy - basic httpclient used for communication with mopidy music server using jsonrpc. Additionaly to basic operations like play and stop, it loads user stored playlist from mopidy server and provides possibility to start track by number.
ir - provides mapping between remore buttons and mopidy actions
aso IR library included with all protocols disabed apart from those that i need. This improves remote responsiveness dramaticaly.
I use vscode for development and basic build tasks for vscode are included
Originaly i had much more planned compared with final state, but luckily i can keep some components unsoldered and continue development with another instance of the same board, since i had them ordered in batch of 5 items. I did some small mistakes in first design (no surprise), therefore some fixes applied on top.
Unsodered: powerfull IR led to control my TV, this require transistor driver since led current well abovce 100mA. At this point this is tested and working great but unsoldered after
Unsoldered: RF433 sender and receiver - this comes handy to orchestrate smaller mcus (like attinys) but also out of scope of this project
Soldered: IR receiver as heart of this project.
Please be aware that schematics is fixed after i found some errors there, but pcb received no updates.
Creating an ESP8266-based Mopidy remote controller is an exciting project that allows you to control the Mopidy music server from a wireless device, such as a smartphone or tablet. Mopidy is a flexible music server that can play music from various sources, and with the ESP8266 acting as a remote controller, you can have a convenient way to interact with the server. Here are the general steps to create an ESP8266-based Mopidy remote controller:
Materials Needed:
ESP8266 development board (e.g., NodeMCU or Wemos D1 Mini) Breadboard and jumper wires Pushbuttons or capacitive touch sensors (for input) OLED display or LEDs (for visual feedback) USB cable for programming and power supply Mopidy music server set up and running (on a separate device, such as a Raspberry Pi) Step 1: Set up the Mopidy Server Ensure that you have a functioning Mopidy server set up and running. You can install Mopidy and its various extensions on a Raspberry Pi or any other device capable of running it. This server will handle https://surahwaqia.com/best-surah-waqia-pdf-download-in-2023/ the actual music playback and library management.
Step 2: Set up the Arduino IDE for ESP8266 Install the Arduino IDE and set it up to work with the ESP8266 development board. You can find various tutorials online that guide you through installing the required board manager and libraries for the ESP8266.
Step 3: Connect the Hardware Connect your ESP8266 development board to the breadboard, and then connect the pushbuttons or capacitive touch sensors and the OLED display or LEDs as per your design. The pushbuttons will act as the controls for play, pause, next, previous, etc., while the OLED display or LEDs can provide visual feedback on the current status.
Step 4: Install Required Libraries In the Arduino IDE, install the necessary libraries for your OLED display (if you're using one) and the ESP8266. You may also need libraries for specific input components (e.g., capacitive touch).
Step 5: Write the Code Write the Arduino sketch to handle the ESP8266's communication with the Mopidy server and control the music playback. You will need to use the ESP8266's Wi-Fi capabilities to connect to your local network and send HTTP requests to control the Mopidy server.
Creating an ESP8266-based Mopidy remote controller is an exciting project that allows you to control the Mopidy music server from a wireless device, such as a smartphone or tablet. Mopidy is a flexible music server that can play music from various sources, and with the ESP8266 acting as a remote controller, you can have a convenient way to interact with the server. Here are the general steps to create an ESP8266-based Mopidy remote controller:
Materials Needed:
ESP8266 development board (e.g., NodeMCU or Wemos D1 Mini)
Breadboard and jumper wires
Pushbuttons or capacitive touch sensors (for input)
OLED display or LEDs (for visual feedback)
USB cable for programming and power supply
Mopidy music server set up and running (on a separate device, such as a Raspberry Pi)
Step 1: Set up the Mopidy Server
Ensure that you have a functioning Mopidy server set up and running. You can install Mopidy and its various extensions on a Raspberry Pi or any other device capable of running it. This server will handle https://surahwaqia.com/best-surah-waqia-pdf-download-in-2023/ the actual music playback and library management.
Step 2: Set up the Arduino IDE for ESP8266
Install the Arduino IDE and set it up to work with the ESP8266 development board. You can find various tutorials online that guide you through installing the required board manager and libraries for the ESP8266.
Step 3: Connect the Hardware
Connect your ESP8266 development board to the breadboard, and then connect the pushbuttons or capacitive touch sensors and the OLED display or LEDs as per your design. The pushbuttons will act as the controls for play, pause, next, previous, etc., while the OLED display or LEDs can provide visual feedback on the current status.
Step 4: Install Required Libraries
In the Arduino IDE, install the necessary libraries for your OLED display (if you're using one) and the ESP8266. You may also need libraries for specific input components (e.g., capacitive touch).
Step 5: Write the Code
Write the Arduino sketch to handle the ESP8266's communication with the Mopidy server and control the music playback. You will need to use the ESP8266's Wi-Fi capabilities to connect to your local network and send HTTP requests to control the Mopidy server.