This repository contains all the information and everything you need to know about what Motoplay is, how to use it and many other details. Read this page to understand everything about Motoplay.
Motoplay is a project that aims to bring an on-board computer to motorcycles. The main point is that this computer must be 100% functional, running Linux, for greater flexibility, and be able to interact with the vehicle's ECU to read information of motor and vehicle, have a media player and several other functions. Basically, this computer should work as a kind of "second panel", with Touchscreen input support, on the motorcycle's handlebars, so that the rider can count on several functions within reach of just a few touches.
The project is divided into two layers, the Hardware layer and the Software layer. The Hardware layer consists of all the accessories (peripherals) that will be installed on the motorcycle and that will be used by the on-board computer, such as speakers, 5v3a USB output, camera, etc.
In the second layer, in Software, we will have the Linux operating system, which will run the "Motoplay" software in full time, which is a program that will function as the on-board computer's central hub, being the key point for the pilot's use of the computer.
Of course, there are some mandatory Hardware accessories that need to be installed on your motorcycle if you intend to use Motoplay. All of these components are listed below. After that, there are some necessary procedures to prepare the computer and install the "Motoplay" program on the computer. All of this and many other details are all documented on this page, if you want to continue learning more, just keep reading!
Warning
If you intend to use Motoplay, before we continue with this page... It is assumed that you already have prior knowledge regarding the use of the Linux System, Maintenance and Assembly of PCs, Experience With Installing Accessories on Motorcycles, and Knowledge About the OBD Interface of Vehicles. Keep in mind that if you are going to install accessories on your motorcycle, it is interesting that you already have prior knowledge and experience to do so.
You can create topics in the "Issues" tab of this repository, to ask questions, report problems or send suggestions! 🙂
Motoplay has several Functions, with several additional and useful features. In the list below, you can find the MAIN functions of Motoplay.
- Virtual Panel
- RPM Display (optionally with Interpolation to compensate for OBD Adapter Delay).
- Speed Display (Km/h or Mp/h).
- Gear Display, detected by Software (even if the ECU does not provide this data).
- Numeric RPM display.
- Coolant Temperature Display (in °C or °F).
- Engine Load Display.
- Battery Voltage Display.
- Displaying Ping Between Computer and OBD Adapter.
- Pairing and Connection with the OBD Adapter 100% managed by Motoplay.
- Light and Dark Mode (automatic by default, based on time of day).
- Virtual Keyboard
- Motoplay Virtual Keyboard, optimized to eliminate the need for a physical Keyboard.
- Configurable Keyboard Height.
- Metrics
- Graph updated in real time, on the time spent in each Gear.
- Ping History between Computer and OBD Adapter.
- Display of Disconnection Count Metric with OBD Adapter.
- Music Player
- MP3, M4A, OGG, WMV and WAV offline Music Player.
- Music Randomization.
- Automatic System Volume Control, eliminating the need to worry about adjusting or checking the System Volume.
- Equalizer support, with configurable bands between 32Hz and 16KHz with Amplifier.
- Support for Normalizing Music Audio.
- Automatic Pause and Play, depending on the vehicle's movement (Optional).
- Support choosing System Output Device without needing a Keyboard or Mouse.
- Automatically adjusts playback Volume based on vehicle Speed and RPM (Optional).
- Music Transfer and Musics Management interface.
- Web Browser (Coming Soon)
- USB Cameras
- Display of USB Cameras Connected to Computer.
- Full adjustment of Display quality, Frame Rate and other things.
- Support Mini Camera View (Picture-in-Picture).
- Phone Mirror (Android only)
- Android Phone Mirroring Support (Video and Audio).
- Fully configurable, with the ability to disable functions, quality and other things.
- Support for very low latencies and up to 60 FPS.
- Support for full control of your cell phone from your computer.
- Support for turning off the phone screen during mirroring.
- Wireless mirroring supported. Requires a USB cable only for initial pairing, but mirroring can be maintained wirelessly afterwards.
In addition to all these features, more features may be added in the future through updates. In addition, MANY elements of Motoplay are configurable.
This topic will tell you all the Hardware you can buy to install on your motorcycle if you want to use Motoplay. Since there are many functions in Motoplay, not every function may be of interest of you, so the Hardware is divided into groups according to their functions. For each group, there is a Table below, informing you of the Hardware you need to have if you want to use the functions of the group.
Starting with the Computer group. Everything in this group is mandatory, and is necessary if you want to use Motoplay, as all the hardware in this group is directly connected to the central element of Motoplay, which is the on-board computer.
With all this Hardware in hand, just assemble your Raspberry Pi with the Screen and Case, install the other accessories on your motorcycle and continue following this page.
Moving on to the Camera group. Nothing in this group is mandatory, and you only need to install these accessories on your motorcycle if you want to access the features that require a Camera in Motoplay.
Now, moving on to the ECU group. Nothing in this group is mandatory, however, if you want Motoplay to be able to access your motorcycle's ECU and read speed, RPM, battery voltage and other useful information, you need to install all the Hardware in this group.
Tip
Don't worry, Motoplay doesn't change ANYTHING in your ECU, it only reads data!
Finally, moving on to the Sound System group. Nothing in this group is mandatory, however, if you want Motoplay to be able to play sounds and media, you must have a Sound System installed on your motorcycle. If you want to install a Sound System, simply install all the accessories in this group.
Warning
If you intend to build a custom Sound System for your motorcycle, remember to take into account the capacity of the motorcycle's Electrical System, and also respect the wire and cable sections (widths), in addition to always using fuses to protect circuits. Creating a custom Sound System is at your own risk!
Now that you have the desired/needed accessories installed on your motorcycle, and you have your Raspberry, Screen and Case already assembled, it's time to put an operating system to run on your Raspberry Pi's SD Card.
You can follow this guide to install Raspbian OS and set it up on your Raspberry Pi. You may need the "Raspberry Pi Imager" to install the system on your Raspberry Pi. You can access this link to find the download for this software.
Once you have the operating system installed and configured on your Raspberry Pi, you may want to add a few finishing touches. If you want to do a few more things with your system, just read the topics below...
- How To Check OS Release And Version Installed
- Change Image of "Welcome To The Raspberry Pi Desktop" on Boot
- Disabling Blinking Cursor, Rainbow Splash and Kernel Logs At Boot
- Change Image of Menu Button (of Taskbar) and Height of Taskbar
- Removing Shortcuts (Pinned Apps) of Taskbar
- Editing Taskbar and Adding Useful Meters
- Changing Wallpaper and Hidding Wastebasket From Desktop
- Disabling Services/Programs From AutoStart
- Installing and Configuring the DS3231 Real Time Clock Chip
- It's Necessary The Creation of a Memmory Swap File?
Tip
There are some guides that teach you how to prepare the system to work correctly with some models of Screens available on the market. There is a guide for MHS3528, MPI3501 and Waveshare DSI 4.3' 800x480. If you prefer, you will also find ROMs ready to work with each of these Screens, by accessing this link! 🙂
If you have an ELM327 device and want to test it, to check if it is working, using a Linux Operating System, with Bluetooth or USB, just access this link to follow a detailed guide on how to do it!
To install the Motoplay on your Raspberry Pi, first, open your Terminal. Make sure that the Terminal is not being opened with "sudo" (as root). Then, just enter all the command lines below, one by one.
s="install-motoplay.sh"
u="https://marcos4503.github.io/motoplay/Repository-Pages/current-install-motoplay-script.sh"
cd ~
sudo apt-get install curl -y
curl -o $s $u
chmod +x $s
~/$s ; rm $s ; exit
Once you have entered all the commands above, the script will install the "Motoplay Installer" which is the program responsible for executing ALL the remaining installation processes, as well as ensuring that Motoplay on your Raspberry Pi is always up to date.
Warning
If the Motoplay Installer GUI freezes during any step of the installation, use CTRL + C in the Terminal to stop the GUI and then re-execute the last 3 commands above. This will restart the GUI and continue where it left off.
Tip
You can run the above command lines again if you want to update your Motoplay Installer in the future! While it is not necessary to update the Motoplay Installer, it may help in troubleshooting some specific issues.
Important
The Raspbian OS (version Bookworm+ x64) is the ONLY operating system officially supported by Motoplay. The only Graphic Server Protocol supported by Motoplay is Wayland and the only Compositor supported by Motoplay is Wayfire, which is already incorporated into Raspbian OS Bookworm+.
After installing Motoplay on your motorcycle's Raspberry Pi, the first thing you should do is open it to test. After that, connect Motoplay to your motorcycle's OBD Bluetooth Adapter. Also connect your motorcycle's Speaker (if you use one) and finally, go to Motoplay's Preferences to adjust whatever is necessary. Several parameters need to be adjusted by you, to ensure the best experience!
Important
To adjust some specific parameters, you will need to ride your bike to test and find the best setting. While doing this, remember to respect the traffic laws of your city, and pay attention to the road. Remember, take care of yourself too! 🙂
If for any reason you want to uninstall Motoplay, first, open your Terminal. Make sure that the Terminal is not being opened with "sudo" (as root). Then, just enter all the command lines below, one by one. Just keep in mind that all data related to Motoplay will be deleted, including your preferences of Motoplay.
s="clear-motoplay.sh"
u="https://marcos4503.github.io/motoplay/Repository-Pages/current-clean-motoplay-script.sh"
cd ~
curl -o $s $u
chmod +x $s
~/$s ; rm $s ; exit
If you liked the Motoplay and found it useful for your, please consider making a donation (if possible). This would make it even more possible for me to create and continue to maintain projects like this, but if you cannot make a donation, it is still a pleasure for you to use it! Thanks! 😀
Created with ❤ by Marcos Tomaz