4

Python/Arduino Beginner here...

I have a DFplayer I am trying to hook to my Arduino and I want to hook it up through the regular pins instead of the RX and TX pins, but I've not been able to find detailed information on if I can do that and how to set it up... Is this possible to do?

asked Jun 15, 2023 at 3:14
1

1 Answer 1

0

Yes, it is possible. You need to use the SoftwareSerial.h library, which comes with the AVR libraries package preinstalled in Arduino IDE. You just need to find some library which supports declaring the DFPlayer object with custom serial port as a parameter in constructor, or use it without any additional library and send commands to it by yourself.
Here is a tutorial for the SoftwareSerial library: https://docs.arduino.cc/tutorials/communication/SoftwareSerialExample

answered Aug 18 at 11:43

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.