Well I went here, https://aiyprojects.withgoogle.com/voice-v1/ and the download link takes me here, https://github.com/google/aiyprojects-raspbian/releases And it states "
I don't have my AIY plugged into a Pi to test it though?
Thats the way things go for me sometimes. The last time I used my AIY I just used plain Jain Raspbian. Then started installing stuff manually for the sound etc. My plan was to use the AIY hat without all the Google stuff. I then needed that Pi for something else and that plan went on the back burner. I'll have another go some time this summer.
I'll likely be doing things like that with mine and I'm more than happy to share my code. I have other things on the go before I get to it though. You might have to wait a while, I seem to misplaced my round 2it.
From the looks of it the Pi's 3.3V logic high turns on a transistor. That is a very low current draw from the GPIO pin driving it and won't hurt the Pi. A couple of milliamps maybe?
The transistor then feeds the Pi's +5V to the relay turning it on. That will draw more current but its coming from the +5V pin on the GPIO which is only limited by the Pi's poly fuse. It's pretty well coming right from your power supply.
Even if you draw too much current the poly fuse will just trip. I would think its maybe 10 to 20 ma or so to turn on the relay? No big deal, not even close to anything that would trip the poly fuse.
Then on the output side of the relay you have the Normally Closed, common, and Normally open contacts. They are completely isolated from everything else. Just think of it as a switch the relay switches.
Last edited by alphanumeric; 15 Mar 2019 at 04:21.
Other than getting your wiring (jumpers etc) correct, all you need to figure out is how to make GPIO Pin be a high or low. Thats not all that tough from Python in Raspbian. Thats how I'd test it out anyway. Getting the AIY to do it may be a bit more involved. I'm thinking you want to make a voice activated clapper.
I got my soldering iron out and solderd the headers etc on my Zumo for the line following light bar. Didn't do much of anything else though. Coding it up to do something is the next step. I might have a go at that tomorrow, looks like its going to be a stuck in the house rainy day anyway.