DVD Player LED Display Recycling

 Arduino - Without Wiring Reusing LED Display Of DVD Player 
















The project uses no wiring maybe one. I have simplified it for Arduino


The video is uploaded to zero electronics youtube channel 

Watch that video and see how connection is made in

Zero Electronics youtube channel


DVD Player LED Display Recycling - Arduino Code

Finding the pin-out and testing a DVD Player LED Display for re purposing it on Arduino projects.
More details about this display and 7 segment LED display basics with some code:


Reusing a led display from a broken dvd player

DVD Mini TV Display

DVD Mini LED Display

DVD LED Display

DVD Display

DVD seven segment display

Program 1 :


#include "SevSeg.h"

SevSeg sevseg; //Instantiate a seven segment controller object


void setup() {

  byte numDigits = 4;

  byte digitPins[] = {7, 13, 8,9};

  byte segmentPins[] = {0, 1, 2, 3, 4, 5, 6, 15};

  bool resistorsOnSegments = false; // 'false' means resistors are on digit pins

  byte hardwareConfig = COMMON_ANODE; // See README.md for options

  bool updateWithDelays = false; // Default 'false' is Recommended

  bool leadingZeros = false; // Use 'true' if you'd like to keep the leading zeros

  bool disableDecPoint = false; // Use 'true' if your decimal point doesn't exist or isn't connected

  

  sevseg.begin(hardwareConfig, numDigits, digitPins, segmentPins, resistorsOnSegments,

  updateWithDelays, leadingZeros, disableDecPoint);

  sevseg.setBrightness(90);

}


void loop() {

  static unsigned long timer = millis();

  static int deciSeconds = 0;

  

  if (millis() - timer >= 100) {

    timer += 100;

    deciSeconds++; // 100 milliSeconds is equal to 1 deciSecond

    

    if (deciSeconds == 10000) { // Reset to 0 after counting for 1000 seconds.

      deciSeconds=0;

    }

    sevseg.setNumber(deciSeconds, 1);

  }


  sevseg.refreshDisplay(); // Must run repeatedly

}


/// END ///









Previous Post Next Post