Jinkama
Posts: 6
Joined: Thu Nov 09, 2017 8:47 pm

AIY Demo and Pi Zero W Help

Sun Nov 12, 2017 2:04 am

Hi I"m new to pi and got a AIY Kit from a friend. I used the guide here and I set it up with my pi zero w and the Check audio and Check Wifi script worked just fine, but when i try to run the assistant_grpc_demo.py it just returns "Illegal Instruction" and nothing else. I thought maybe I set it up wrong, but I put the sd card in my friend's pi3 and all the demos ran fine. Anyone know what I'm doing wrong with the pi zero w?

User avatar
fruitoftheloom
Posts: 16599
Joined: Tue Mar 25, 2014 12:40 pm
Location: Bognor Regis UK

Re: AIY Demo and Pi Zero W Help

Sun Nov 12, 2017 2:31 pm

Jinkama wrote:
Sun Nov 12, 2017 2:04 am
Hi I"m new to pi and got a AIY Kit from a friend. I used the guide here and I set it up with my pi zero w and the Check audio and Check Wifi script worked just fine, but when i try to run the assistant_grpc_demo.py it just returns "Illegal Instruction" and nothing else. I thought maybe I set it up wrong, but I put the sd card in my friend's pi3 and all the demos ran fine. Anyone know what I'm doing wrong with the pi zero w?

It states in the blurb to use a Raspberry Pi 3B

https://www.raspberrypi.org/magpi/googl ... -magpi-57/

https://www.raspberrypi.org/magpi/aiy-p ... pre-order/
""understanding the theoretical, but not always the end goal""

My other Devices are the ChromeBit CS10, ChromeCast & Huawei Mate 10 Pro SmartPhone

sheridat
Posts: 280
Joined: Sun May 07, 2017 11:18 am

Re: AIY Demo and Pi Zero W Help

Sun Nov 12, 2017 2:50 pm

Hi,

The old version of the software certainly did work with the W. You couldn't use the later version of the Assistant SDK because it requires an Arm V7 processor so the install.deps script didn't install the latest version.


I burnt an SD card using the new image - but I gave up after a couple of hours of trying to connect my W to the network.

I will have another go tonight

Jinkama
Posts: 6
Joined: Thu Nov 09, 2017 8:47 pm

Re: AIY Demo and Pi Zero W Help

Sun Nov 12, 2017 7:30 pm

sheridat wrote:
Sun Nov 12, 2017 2:50 pm
Hi,

The old version of the software certainly did work with the W. You couldn't use the later version of the Assistant SDK because it requires an Arm V7 processor so the install.deps script didn't install the latest version.


I burnt an SD card using the new image - but I gave up after a couple of hours of trying to connect my W to the network.

I will have another go tonight
Oh an old version works? I'll look for one when I'm home later. Do you know where I might find it? Thanks!

sheridat
Posts: 280
Joined: Sun May 07, 2017 11:18 am

Re: AIY Demo and Pi Zero W Help

Sun Nov 12, 2017 7:58 pm

Hi, I replicated your experience and got exactly the same error. I don't have the expertise to diagnose further.

There are two versions of the "AIY" software or more correctly two branches:

1. The original branch - which is the master branch and can be found here https://github.com/google/aiyprojects-r ... ree/master
2. The "new" branch which is what you will have installed from an image file.

The original "master" branch defo works on the W - if you read "HACKING.md" it tells you how to set it up on jessie if you don't have an image -which you haven't.

I ran that version for a couple of months on a W but upgraded to a Pi3 so I could use hotword triggering.

The response is quicker on a Pi3

Jinkama
Posts: 6
Joined: Thu Nov 09, 2017 8:47 pm

Re: AIY Demo and Pi Zero W Help

Mon Nov 13, 2017 5:18 pm

I downloaded the master branch you linked, but I already found an AIY image from May that still works with the pi zero w. Thanks for the info and all your help!
Last edited by Jinkama on Wed Nov 15, 2017 5:54 am, edited 1 time in total.

sheridat
Posts: 280
Joined: Sun May 07, 2017 11:18 am

Re: AIY Demo and Pi Zero W Help

Mon Nov 13, 2017 5:51 pm

That is great news. If you have details of where you downloaded the image from, please post the url.

Jinkama
Posts: 6
Joined: Thu Nov 09, 2017 8:47 pm

Re: AIY Demo and Pi Zero W Help

Tue Nov 14, 2017 2:51 am

I got the image from this instructable under step 2.

aku.kolu
Posts: 1
Joined: Tue Nov 14, 2017 3:10 pm

Re: AIY Demo and Pi Zero W Help

Tue Nov 14, 2017 3:15 pm

Had to make account just to post here

I had exactly the same problem, tracked it down to grpcio not working on Stretch. Jessie image and steps in HACKING.md worked out of the box, didn't have to use old image or anything.

1. Download jessie from http://downloads.raspberrypi.org/raspbi ... 017-07-05/
2. Flash it
3. git clone https://github.com/google/aiyprojects-raspbian.git
4. follow the steps in HACKING.md

Note that the demos with hotword triggers do not work as stated in the documentation. GRPC demo should work fine though. Also, it takes ages to install the dependencies so be patient.

Jinkama
Posts: 6
Joined: Thu Nov 09, 2017 8:47 pm

Re: AIY Demo and Pi Zero W Help

Wed Nov 15, 2017 5:58 am

Thanks for the info aku.kolu, I think that's what sheridat was telling me to do; but just flashing the May image was simpler for me. Just had to flash the old image and setup the Google Cloud Platform project.

sheridat
Posts: 280
Joined: Sun May 07, 2017 11:18 am

Re: AIY Demo and Pi Zero W Help

Wed Nov 15, 2017 10:00 am

@Jinkama- turned out I had the original may image on a usb drive. Just to be cautious I also downloaded the one you pointed me to. I then hashed it and compared a hash of the image I already had. They are identical - so it's pukka (slang for good, solid)

Jinkama
Posts: 6
Joined: Thu Nov 09, 2017 8:47 pm

Re: AIY Demo and Pi Zero W Help

Wed Nov 15, 2017 4:19 pm

Thanks sheridat, It's nice knowing that the one I got is the same as the original.

nicosteckhan
Posts: 1
Joined: Tue Jan 02, 2018 6:59 pm

Re: AIY Demo and Pi Zero W Help

Tue Jan 02, 2018 9:19 pm

Every time I restart the SD on which i configured the AIYkit image...nothing is booting...
so we have to wait for updates ?

or any suggestions

twistytree11
Posts: 1
Joined: Sat Apr 07, 2018 6:09 am

Re: AIY Demo and Pi Zero W Help

Sat Apr 07, 2018 6:14 am

Is there any where to get that old image from may? I want to use it as well

sahab
Posts: 16
Joined: Wed Jun 15, 2016 4:17 am

Re: AIY Demo and Pi Zero W Help

Sun May 13, 2018 8:33 am

Edit: Ignore my post . I could be partially wrong.
Steps from HACKING.md no longer work. Some scripts , such as install-deps.sh have been removed.
Last edited by sahab on Sun May 13, 2018 3:32 pm, edited 1 time in total.

User avatar
DougieLawson
Posts: 32671
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website

Re: AIY Demo and Pi Zero W Help

Sun May 13, 2018 8:44 am

sahab wrote:
Sun May 13, 2018 8:33 am
Steps from HACKING.md no longer work. Some scripts , such as install-deps.sh have been removed.
Go to https://github.com/google/aiyprojects-raspbian/issues and open an issue there. That way the developers will see your problem.
Microprocessor, Raspberry Pi & Arduino Hacker
Mainframe database troubleshooter
MQTT Evangelist
Twitter: @DougieLawson

2012-18: 1B*5, 2B*2, B+, A+, Z, ZW, 3Bs*3, 3B+

Any DMs sent on Twitter will be answered next month.

piujer
Posts: 2
Joined: Sat May 26, 2018 6:01 pm

Re: AIY Demo and Pi Zero W Help

Sat May 26, 2018 6:23 pm

wget https://raw.githubusercontent.com/googl ... ll-deps.sh -nc -P scripts
chmod +x scripts/install-deps.sh

biotecher101
Posts: 1
Joined: Sun Jun 17, 2018 2:28 am

Re: AIY Demo and Pi Zero W Help

Sun Jun 17, 2018 2:48 am

Hey everyone. I just bought the AIY Voice Kit Version 2 with the Pi Zero WH and the Voice Bonnet. I'm brand new to Raspberry Pi and hoped this kit would give me a good introduction. I was really hoping to get the full functionality of Google Home with this kit. Do I have to upgrade to a Pi 3B? Or am I just doing something really wrong? Every time I try and do the demos besides the gRPC demo it says they can't be run on the Zero WH. Even just being able to use the kit as a Google Assistant out of the box without having to be running the demo would be a great start until I learn more about this system. Help, please!

Return to “AIY Projects”

Who is online

Users browsing this forum: No registered users and 0 guests