schristiopher3
New member
Hello, I am trying to communicate with a DFMiniPlayer using a Teensy4.0. I am powering the teensy with a 7805 regulator. However, when powering with the external regulator I just get a high pitched noise coming out of the speaker, with no music. I am using pins 0 and 1 on the teensy4.0 with Serial1 to communicate with the DFMini.
However when i power the Teensy with the USB port it works fine. I've attached both my schematic and code. Any help is appreciated.
However when i power the Teensy with the USB port it works fine. I've attached both my schematic and code. Any help is appreciated.
Code:
#include <DFRobotDFPlayerMini.h>
DFRobotDFPlayerMini player;
void setup() {
delay(500);
pinMode(12, OUTPUT);
digitalWrite(12, HIGH);
Serial1.begin(9600);
player.begin(Serial1);
player.volume(12);
player.playFolder(1,5);
player.loopFolder(1);
}
void loop() {
}