As with any other HAT, the ReSpeaker 2-Mics Pi HAT can be mounted on a Raspberry Pi, and the Pi then programmed accordingly.
To help with the programming for the ReSpeaker HAT, there is plenty of documentation available online. Having said that, we did find that it was necessary to be a little creative with some of the information that we found.
The first step in getting to grips with the ReSpeaker 2-Mics Pi HAT is to mount the HAT onto a Raspberry Pi. Ultimately we would like to use the HAT with a Pi Zero. However, for our initial set up we made use of a Pi 3 Model B, since this is easier to attach to monitor, keyboard and mouse. Once we are happy that everything is working the way we would like, we will swap the Pi 3 for a Pi Zero, using the same SD card.
Once the HAT has been mounted onto the Pi 3, the Raspberry Pi needs to be attached to a keyboard, mouse, and monitor. Following that, the Pi is booted using an SD card that is imaged with the latest version of Raspbian. The process for imaging the SD card can be found at the Raspberry Pi Foundation’s website. We also cover this process in our blog article on Programming SD cards for Raspberry Pi.
Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.