Skip to content

AlpenglowIndustries/aiyprojects-raspbian

 
 

Repository files navigation

Alpenglow FUnicorn Google AIY Voice Repo

NOTE! UPON CLONING THIS REPO MAKE SURE YOU CHECK OUT THE AIYPROJECTS BRANCH. GOOGLE DISCONTINUED THE DEFAULT MASTER BRANCH. IT IS OLD. DO NOT USE.

This repo is for an Alpenglow Industries FUnicorn board hooked up to a Google AIY Voice Hat version 1 on a Raspberry Pi 3B+. It basically makes the FUnicorn voice-activated, so you can say "Hey Google, Fuck You!" and beautiful LEDs written in cursive script light up with "Fuck You!", next to a majestic rearing gold unicorn. What's not to love?

This was forked from the Google AIY Projects repo, original info on that below.

Changes and Additions:

  • cloudspeech.py was updated according to description in issue 716.
  • demo python scripts for the FUnicorn added to src/examples/voice

Examples:

  • funicorn_demo_wassistant.py has full Google Assistant functionality and is commanded via the wake word (OK Google or Hey Google), and outputs a "button press" to the FUnicorn when "fuck you" is uttered. It also says "No, Fuck You" in a most excellent obviously computer-generated voice.
  • funicorn_demo_alwayslistening.py is solely a cloud speech to text demo that is always listening and interpreting. There is no Google Assistant functionality.

Hardware Setup:

  • Google AIY Voice Hat Servo 0 left pin (GPIO26) to Alpenglow FUnicorn button connector pin 3
  • Google AIY Voice Hat Servo 0 right pin (GND) to Alpenglow FUnicorn button connector pin 4

Also see The FUnicorn on Hackaday.io for more info and photos. For more irreverent electronics and frivolous circuits from a small woman-owned electronics business, follow us!

Web and Storefronts:


AIY Projects

This repository contains an easy-to-use Python API for the AIY Vision Kit and AIY Voice Kit. The code for all AIY kits is in the aiyprojects branch, and is included in images starting with aiyprojects-2017-12-18.img. The previous voicekit branch contains code just for the Voice Kit, and the master branch contains the original deprecated Voice Recognizer demo.

Documentation

If you're just getting started with the Vision or Voice kit, see the assembly guide and other maker guides at aiyprojects.withgoogle.com.

If you just need the Python API reference, see aiyprojects.readthedocs.io. Also have a look at the example code.

If you want to flash the latest AIY system image or install AIY packages on an existing Raspbian system, read the system updates guide.

Releases

Bugs & Support

If you've found a bug, please review the known issues and report a new one.

If you've fixed a bug yourself, please send us a pull request! For details, read CONTRIBUTING.md.

If you're having trouble assembling your kit or running the demos, try the following links:

If you've found a problem with the Assistant API (for example, it crashes or provides incorrect responses), try the following:

About

API libraries, samples, and system images for AIY Projects (Voice Kit and Vision Kit)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 87.5%
  • JavaScript 6.6%
  • Jupyter Notebook 4.2%
  • Makefile 1.2%
  • Other 0.5%