Serial Port for Node
-
I'd like to use a DF Player Sound Module on a node using a Pro Mini. The sound module can be controlled using a serial interface at 9600 but all serial libraries I've tried - being the usual ones on the Arduino and Teensy websites use interupts and while running well without MySensors included always bring up compilation errors when including MySensors.
Although there is another method of control using stepped analog voltages on other inputs , I'd prefer to use the serial inputs if possible. Has anyone ever connected a serial device to a node? Any suggestions would be welcome.
-
@BobC OK no problem. A new idea. As I only need to Tx to the player I'll just do a bit of bit banging to a pin. That should work just fine.
The idea behind the project is to add a door bell to my system which has selectable MP3 files to play when the 'button' is pressed. Really quite a fun thing to have a personalised message to welcome visitors to special events rather than just a DingDong.
Suggested Topics
-
Day 1 - Status report
Announcements • 23 Mar 2014, 22:45 • hek 24 Mar 2014, 20:12 -
Compiling Sensor code using BME280 and ESP8266
Troubleshooting • 26 Feb 2025, 00:32 • dpcons 26 Feb 2025, 06:22 -
Can not compile MySensors on esp8266
Troubleshooting • 24 Aug 2024, 15:35 • TheoL 29 Aug 2024, 20:47 -
JSN SR04T - Temperature Influencing Readings
Troubleshooting • 6 Sept 2019, 07:51 • Timbergetter 21 days ago -
JSN-SR04T-V3.0 Coax cable extended
Troubleshooting • 30 days ago • bocalexandru 28 days ago -
Forum Search not working?
Troubleshooting • 4 Oct 2023, 23:33 • Gibber 2 Sept 2024, 20:28