Nippleboard
Print Profile(1)

Description
Reproduction of the Nippleboard known from TV Total
I used an Arduino Nano, DFplayer Mini, mini amplifier, and a 5w speaker. I have added links.
https://amzn.eu/d/0bybApgi
https://amzn.eu/d/081NaAdf
https://amzn.eu/d/07T9NW18
https://amzn.eu/d/0i6AOxnt
https://amzn.eu/d/027p5ZPP
https://amzn.eu/d/09BtZdA3
Other switches and buttons can also be used, they should just be 12mm
The code that needs to be uploaded to the Arduino is as follows:
// MP3
#include "Arduino.h"
#include "SoftwareSerial.h"
#include "DFRobotDFPlayerMini.h"
SoftwareSerial mySoftwareSerial(10,11); // RX, TX
DFRobotDFPlayerMini myDFPlayer;
int Titel = 0;
int laut = 10;
int Zahl1 = 0;
int Zahl2 = 0;
int buttonState = HIGH;
int buttonApin = 2; //Button 1
int buttonBpin = 3; //Button 2
int buttonCpin = 4; //Button 3
int buttonDpin = 5; //Button 4
int buttonEpin = 6; //Button 5
int buttonFpin = 7; //Button 6
int buttonGpin = 8; //Button 7
int buttonHpin = 9; //Button 8
// Switches and Buttons
void setup() {
//Button
pinMode(buttonApin, INPUT_PULLUP);
pinMode(buttonBpin, INPUT_PULLUP);
pinMode(buttonCpin, INPUT_PULLUP);
pinMode(buttonDpin, INPUT_PULLUP);
pinMode(buttonEpin, INPUT_PULLUP);
pinMode(buttonFpin, INPUT_PULLUP);
pinMode(buttonGpin, INPUT_PULLUP);
pinMode(buttonHpin, INPUT_PULLUP);
// MP3
delay(2000);
mySoftwareSerial.begin(9600);
Serial.begin(9600);
Serial.println();
Serial.println(F("DFRobot DFPlayer Mini Demo"));
Serial.println(F("Initializing DFPlayer ... (May take 3~5 seconds)"));
if (!myDFPlayer.begin(mySoftwareSerial)) { //Use softwareSerial to communicate with mp3.
Serial.println(F("Unable to begin:"));
Serial.println(F("1.Please recheck the connection!"));
Serial.println(F("2.Please insert the SD card!"));
while(true);
}
Serial.println(F("DFPlayer Mini online."));
myDFPlayer.volume(20);
}
void loop() {
// Check Button 1
if (digitalRead(buttonApin) == LOW) {
myDFPlayer.play(1);
}
//End Check Button 1
// Check Button 2
if (digitalRead(buttonBpin) == LOW) {
myDFPlayer.play(2);
}//End Button 2
// Check Button 3
if (digitalRead(buttonCpin) == LOW) {
myDFPlayer.play(3);
} //End Check Button 3
// Check Button 4
if (digitalRead(buttonDpin) == LOW) {
myDFPlayer.play(4);
} //End Check Button 4
// Check Button 5
if (digitalRead(buttonEpin) == LOW) {
myDFPlayer.play(5);
} //End Check Button 5
// Check Button 6
if (digitalRead(buttonFpin) == LOW) {
myDFPlayer.play(6);
} //End Check Button 6
// Check Button 7
if (digitalRead(buttonGpin) == LOW) {
myDFPlayer.play(7);
} //End Check Button 7
// Check Button 8
if (digitalRead(buttonHpin) == LOW) {
myDFPlayer.play(8);
} //End Check Button 8
} // End for all
The SD card is accessible from below
A video is available here:
License
You shall not share, sub-license, sell, rent, host, transfer, or distribute in any way the digital or 3D printed versions of this object, nor any other derivative work of this object in its digital or physical format (including - but not limited to - remixes of this object, and hosting on other digital platforms). The objects may not be used without permission in any way whatsoever in which you charge money, or collect fees.






Comment & Rating (2)