Logo


Le perroquet

A wild wooden parrot, outside

Make the parrot talk via your browser, using a raspberry pi.

Bill of materials:

  • Some plywood for the parrot structure
  • Raspberry-pi + alim
  • Adafruit I2S 3W Class D Amplifier Breakout
  • A tiny speaker
  • A push button
  • Some wires

Steps:

<?php
    if (isset($_POST['cul']))
    {
        shell_exec('mpg123 /var/www/cul.mp3');
    }
?>
<form method="post">
<p><button class="button1" name="cul">Tu pues du cul</button></p>
</form>
Screenshot website and buttons
  • Manage Sounds group permission to allow user www-data
  • Add a power button to the device: Instructions
Electronics internals of the parrot

You can only use the webpage to communicate with the parrot if you are on the same network as the pi and you need to find its IP address. That may be for the best.

Comments are closed.