A DVD Player Hack
Having source code and all design files as a starting point it becomes very easy to customise it for your own needs and your own DIY project, even VFD driver might be modified with little efforts to control VFD panel from another DVD player – they all designed in a unified way.
This is a list of features that we’ve got in the end (and what could be potentially enhanced if you like):
- Real time clock battery backed up dedicated chip;
- 1Wire temperature sensor;
- Controlled wirelessly by any RC;
- Activated by PIR motion sensor;
- Serial-to-USB convertor for reprogramming and logging purposes;
- Acrylic enclosure;
- Full source code is available;
The video demonstrates designing and assembling process and if you find it interesting please welcome to the next page for more technical details!
Thank you and we hope you will find this project useful and worth making!
Remove these ads by Signing Up
Step 1: Scrapped DVD player parts
But what if all this infrastructure already existed, would it be that difficult to combine together something like Arduino controller and VFD? The answer is no, not at all! Most modern DVD players equipped with VFDs and when less reliable mechanical parts (DVD ROM drives) fail devices are simply thrown away. Instead, some electronics could still be reused to give your project a completely new look reducing costs at the same time and saving the environment. In addition to a VFD with controller onboard and a power supply which provides everything with all vital voltage levels there is a bonus – an IR receiver and buttons. VFD controller takes care of refreshing display, handling events from buttons and IR receiver encapsulating whole control into a serial interface and making integration with even primitive controllers very possible, giving in exchange fully functional remotely controlled system.
But enough theory, let’s have a look at a real example. We found a broken DVD player literally lying in the street. Quick test indicated that VFD board and power supply were functional. VFD was 16-segment and therefore capable of displaying not only digits but characters as well. After a few minutes of internet search model name was identified: Philips DVP630
For our experiment we will need a front VFD panel and a power supply board only.
Returning back to the page 3 of the service manual, checking RB502 connector – there are V-CLK, V-CS, V-DATE to control VFD. Also we will need GND, IR (output from infrared receiver) and +5V. An attentive reader should notice that there is also +5V_STB at RB501 connector. It is 5V standby voltage that is always applied. +5V appears only after pressing either ‘StandBy’ TA501 button on DVD’s front panel or On/Off button on a remote control. The power supply is instructed to activate/deactivate +5V via PCON signal. But in order to wake up the player from a remote control only original RC must be used otherwise IC581 won’t recognise the command. We want to make our device working with ANY type of RC that is why our microcontroller must take responsibility of decoding RC commands and controlling PCON signal.
Please refer to the picture, the hacking points are marked with red ellipses.
Step 3: VFD display and driver – mapping bits to segments
Note, that colon is controlled with one single bit 5 and it is available for 3-th and 5-th digits only. Two vertical segments in the middle of digit are simultaneously driven by a single bit 9, there is no way to activate only one out of two segments.
In order to simplify output to the display a software driver has to be implemented. In the next step we will go through this process.
Step 4: VFD Driver Demo
In order to control DP501 HNV-07SS61 VFD in an effortless and efficient manner the following software driver has been implemented. The functionality is encapsulated in HT16512.cpp and HT16512.h files and designed for AVR processors. To drive communication interface the logic uses pinMode and DigitalWrite functions provided by Arduino low level library. Also new HT16512 class inherits Arduino’s Print class to simplify output to display even more. However, despite those Arduino’s dependencies the code might be easily ported to PIC or ARM architectures.
The driver’s logic is subdivided into several groups: initialisation and low-level methods, tests and visual effects, methods for direct access to HT16512 without intermediate buffer and methods for intermediate buffer operations.
We won’t discuss boring details of VFD driver implementation, however, if you are interested, you can refer to this article: http://atmega.magictale.com/853/vfd-driver-demo/
The code below demonstrates how to initialise our VFD driver:
#define VFD_CS_PIN 15 //PD7
#define VFD_SCLK_PIN 14 //PD6
#define VFD_DATA_PIN 13 //PD5
#define STANDBY_PIN 12 //PD4
HT16512 vfd(VFD_CS_PIN, VFD_SCLK_PIN, VFD_DATA_PIN); //VFD display
//Enable VFD power supply
//Initialise VFD tube
As you can see, apart from VFD_CS_PIN, VFD_SCLK_PIN, VFD_DATA_PIN pins that are dedicated to VFD communication there is also STANDBY_PIN pin that simulates POWER button and instructs to switch +5V power rail on.
Let’s get down to the hardware part. In this demo we will be using Freeduino board. In total we would need 4 (four) signal wires to connect it to the VFD panel. Of course, we will also need GND and +5V power rail.
Here is the signal mapping table between Freeduino board and VFD panel (please also refer to DVP630 Schematic Diagram):
|Signal||Freduino connector-pin||VFD panel connector-pin|
And the video demonstrates the result: Freeduino board running VFDDemo, connected to the VFD panel and power supply from broken Philips DVP 630.
For more detail: A DVD Player Hack
JLCPCB – Prototype 10 PCBs for $2 + 2 days Lead Time
China’s Largest PCB Prototype Enterprise, 300,000+ Customers & 10,000+ Online Orders Per Day
Inside a huge PCB factory: https://www.youtube.com/watch?v=_XCznQFV-Mw
This Post / Project can also be found using search terms:
- vfd dvd
- arduino dvd player
- arduino project dvd
- arduino Вакуумно-люминисцентный индикатор