Pitdroid with Arduino and Bottango - Sound #8

Поделиться
HTML-код
  • Опубликовано: 2 окт 2024
  • This video will explain how you add sound to your Droid Division Pit Droid and how to play it via Bottongo. To play the sound, we will be using a DFPlayer Mini and for Bottango itself an Arduino Mega 2560.
    This is one video in a playlist and series. The other videos are:
    - Wiring Arduino - • Video
    - Prepare the Arduino - • Pitdroid with Arduino ...
    - Modelling the Pit Droid in Bottango - • Pitdroid with Arduino ...
    - Real World Servos - • Pitdroid with Arduino ...
    - First animation - • Pitdroid with Arduino ...
    - Adding LEDs - • Pitdroid with Arduino ...
    - Change LED Colors - • Pitdroid with Arduino ...
    - Use ESP32 instead of Arduino - • ESP32 and Bottango - #9
    - Making the Droid independent - • Pitdroid with ESP32 an...
    Source snippet located here: raw.githubuser...

Комментарии • 5

  • @jasonhayes9219
    @jasonhayes9219 3 месяца назад +1

    Don't forget to add: #include "DFRobotDFPlayerMini.h"
    #include "SoftwareSerial.h" - It took me a min to figure out I was missing those lines at the top of the code.

  • @SolusAmare
    @SolusAmare 3 месяца назад

    I am running into an issue where the driver is reporting "Command not received" in Bottango when the media file effector is set live. When exported to the Arduino, it causes the animation to cut short and eventually stop looping. Has anyone else seen this issue following this tutorial?
    EDIT:
    An interesting discovery: After listening to the communication over 115200 baud (the same as the driver), I found that the program was crashing shortly after the second time the media was called. After some experimenting, I found that the loop will execute normally when only playing the particular media once over the duration of the loop.

    • @jasonhayes9219
      @jasonhayes9219 3 месяца назад

      Im getting the same error when I have the audio file set to live.

  • @SummersideDiver
    @SummersideDiver 5 месяцев назад

    I have a different mp3 player - the YX5300, but this video gives me some insight for adding it into the bottango.ino and hopefully getting my own sounds to play autonomously. Thanks

    • @SummersideDiver
      @SummersideDiver 5 месяцев назад

      Thank you so much for these videos. I was able to use the same methods and libraries to get my crow playing sound autonomously.