Note

Hello, welcome to the SunFounder Raspberry Pi & Arduino & ESP32 Enthusiasts Community on Facebook! Dive deeper into Raspberry Pi, Arduino, and ESP32 with fellow enthusiasts.

Why Join?

  • Expert Support: Solve post-sale issues and technical challenges with help from our community and team.

  • Learn & Share: Exchange tips and tutorials to enhance your skills.

  • Exclusive Previews: Get early access to new product announcements and sneak peeks.

  • Special Discounts: Enjoy exclusive discounts on our newest products.

  • Festive Promotions and Giveaways: Take part in giveaways and holiday promotions.

👉 Ready to explore and create with us? Click [here] and join today!

Install All the Modules(Important)

Note

Python3 related packages must be installed if you are installing the Lite version OS.

sudo apt install git python3-pip python3-setuptools python3-smbus
  1. Install robot-hat module.

    cd ~/
    git clone -b 2.5.x https://github.com/sunfounder/robot-hat.git --depth 1
    cd robot-hat
    sudo python3 install.py
    
  2. Install vilib module.

    cd ~/
    git clone https://github.com/sunfounder/vilib.git
    cd vilib
    sudo python3 install.py
    
  3. Install pidog module.

    cd ~/
    git clone https://github.com/sunfounder/pidog.git --depth 1
    cd pidog
    sudo pip3 install . --break
    

    This step will take a little time, so please be patient.

  4. Run the script i2samp.sh.

    Finally, you need to run the script i2samp.sh to install the components required by the i2s amplifier, otherwise the robot will have no sound.

    cd ~/robot-hat
    sudo bash i2samp.sh
    

    Type y and press Enter three times to continue the script, start /dev/zero in the background, and then restart the machine.

    Note

    If there is no sound after restarting, you may need to run the i2samp.sh script multiple times.