ElEscalador
Posts: 850
Joined: Tue Dec 15, 2015 4:55 pm
Location: Detroit, MI USA
Contact: Website

Alexa Pi ZeroW vs Pi3 Performance

Mon Nov 12, 2018 1:27 pm

I'm sure it's been asked but my google skills are not solving this for me...
I am more concerned with size than I am with cost, but I still want not sucky performance. The end-device in mind is Alexa that does normal Alexa stuff but also plays random sound clips of my wife's kid upon a command I have to figure out how to program in. So...just how crappy is AlexaPi performance on a zero compared with a Pi3? I'd like it all to fit inside a singing fish plaque if possible.

Also, I mayyy in the future add a small hdmi display so the clips of her kid include the video. I guess it depends on what I can get a zero to do...
Robotics tips, hacks, book extras https://youtube.com/practicalrobotics

steelo
Posts: 16
Joined: Thu Jul 20, 2017 12:15 pm

Re: Alexa Pi ZeroW vs Pi3 Performance

Mon Nov 12, 2018 8:46 pm

The problem you're going to run into with a Pi 0 is the fact it lacks audio output and only has 2 micro USB ports (one of which is solely used to power the rpi) You may be able to use a bluetooth speaker, but I've always found it flaky wanting to connect. I'm sure after you figure these problems out, you'll notice a much longer delay with inquiries than a rpi 3. I know you're looking to use the smallest pi possible, but I would STRONGLY recommend using a pi 3 over a zero for this project. You'll still have a little sanity left after you finish :D


Please also note that in the end you'll probably spend more money on accessories (rpi, microphone, SD card, power supply, case, speaker) than you'd pay for an actual Alexa. I made an alexapi a few years ago with a pi 3 and although it didn't work nearly as well as a 'real' Alexa (I believe because it had a really crappy mic), it was still an educational and fun experience

gkaiseril
Posts: 679
Joined: Mon Aug 08, 2016 9:27 pm
Location: Chicago, IL

Re: Alexa Pi ZeroW vs Pi3 Performance

Mon Nov 12, 2018 9:32 pm

Pi 0 has 1 cpu core, Pi 3 has 4 cpu cores.
f u cn rd ths, u cn gt a gd jb n cmptr prgrmmng.

ElEscalador
Posts: 850
Joined: Tue Dec 15, 2015 4:55 pm
Location: Detroit, MI USA
Contact: Website

Re: Alexa Pi ZeroW vs Pi3 Performance

Tue Nov 13, 2018 1:27 am

steelo wrote:
Mon Nov 12, 2018 8:46 pm
The problem you're going to run into with a Pi 0 is the fact it lacks audio output and only has 2 micro USB ports (one of which is solely used to power the rpi) You may be able to use a bluetooth speaker, but I've always found it flaky wanting to connect. I'm sure after you figure these problems out, you'll notice a much longer delay with inquiries than a rpi 3. I know you're looking to use the smallest pi possible, but I would STRONGLY recommend using a pi 3 over a zero for this project. You'll still have a little sanity left after you finish :D


Please also note that in the end you'll probably spend more money on accessories (rpi, microphone, SD card, power supply, case, speaker) than you'd pay for an actual Alexa. I made an alexapi a few years ago with a pi 3 and although it didn't work nearly as well as a 'real' Alexa (I believe because it had a really crappy mic), it was still an educational and fun experience
You just saved me a big self-kick in the butt experience - for all of my ...7 or 8 Rpis I've never once tried to play a sound and completely forgot that the zero doesn't have a built-in audio output. Pi3 it is. I have considered buying one off the shelf...and still may. There's just some custom features I'd like to program in. I suppose I can always see how it goes rolling my own - Plenty of places to put that extra PI3 if I change my mind. Thanks for tips!
Robotics tips, hacks, book extras https://youtube.com/practicalrobotics

User avatar
DavidS
Posts: 4334
Joined: Thu Dec 15, 2011 6:39 am
Location: USA
Contact: Website

Re: Alexa Pi ZeroW vs Pi3 Performance

Tue Nov 13, 2018 2:47 am

The Raspberry Pi ZeroW is based on the BCM2835 SoC which has a single core ARMv6 (ARM1176) CPU, the Raspberry Pi 3B is based on the BCM2837 which has a Quad Core ARMv8 CPU. Even if using just a single core on each the ARMv8 will be significantly faster.

Also the Raspberry Pi ZeroW has 512MB of RAM while the 3B has 1024MB (1GB) of RAM.

Though if your needs are better suited to a single core system, or ARMv6 better fits your needs, then there is still the Raspberry Pi B+ which has the same SoC as the Raspberry Pi ZeroW, though has all the connectors of the 3B. Though the B+ does not have the useless WiFi or Bluetooth.
RPi = The best ARM based RISC OS computer around
More than 95% of posts made from RISC OS on RPi 1B/1B+ computers. Most of the rest from RISC OS on RPi 2B/3B/3B+ computers

User avatar
HermannSW
Posts: 2966
Joined: Fri Jul 22, 2016 9:09 pm
Location: Eberbach, Germany
Contact: Website Twitter YouTube

Re: Alexa Pi ZeroW vs Pi3 Performance

Thu Nov 15, 2018 11:58 am

> I am more concerned with size than I am with cost
>
Today Pi 3A+ was released. While it has reduced RAM (512MB instead of 1GB of the 3B+), it has "all" the connectors the 3B+ has (only 1 USB instead of 4 of 3B+, no ethernet, but Wifi) and has same computational power. It is just smaller form factor and has audio connector, and sounds that it could be where you want to go.
Image
https://stamm-wilbrandt.de/en/Raspberry_camera.html
https://stamm-wilbrandt.de/en#raspcatbot
https://github.com/Hermann-SW/raspiraw
https://github.com/Hermann-SW/Raspberry_v1_camera_global_external_shutter
https://stamm-wilbrandt.de/github_repo_i420toh264

steelo
Posts: 16
Joined: Thu Jul 20, 2017 12:15 pm

Re: Alexa Pi ZeroW vs Pi3 Performance

Mon Nov 19, 2018 4:23 pm

Aww man, had I known about a cheaper, smaller form pi 3 coming out I wouldn't have purchased a pi zero!

ElEscalador
Posts: 850
Joined: Tue Dec 15, 2015 4:55 pm
Location: Detroit, MI USA
Contact: Website

Re: Alexa Pi ZeroW vs Pi3 Performance

Tue Nov 20, 2018 12:50 am

HermannSW wrote:
Thu Nov 15, 2018 11:58 am
> I am more concerned with size than I am with cost
>
Today Pi 3A+ was released. While it has reduced RAM (512MB instead of 1GB of the 3B+), it has "all" the connectors the 3B+ has (only 1 USB instead of 4 of 3B+, no ethernet, but Wifi) and has same computational power. It is just smaller form factor and has audio connector, and sounds that it could be where you want to go.
Image
AWESOME... SOLD!
Robotics tips, hacks, book extras https://youtube.com/practicalrobotics

User avatar
DavidS
Posts: 4334
Joined: Thu Dec 15, 2011 6:39 am
Location: USA
Contact: Website

Re: Alexa Pi ZeroW vs Pi3 Performance

Tue Nov 20, 2018 1:30 am

I know I am giving a serious look at the Raspberry Pi 3A+ for a Linux box (the single usb and lack of ethernet eleminates RISC OS and relegates it to an off line only box).

With RISC OS I need to have the extra USB ports, because I am not going to waste power with a hub. With Linux I should be able to use a bluetooth keyboard, and mouse (and microphone for that matter.

Still stiks the RPi 3A offline, no WiFi.
RPi = The best ARM based RISC OS computer around
More than 95% of posts made from RISC OS on RPi 1B/1B+ computers. Most of the rest from RISC OS on RPi 2B/3B/3B+ computers

ejolson
Posts: 5824
Joined: Tue Mar 18, 2014 11:47 am

Re: Alexa Pi ZeroW vs Pi3 Performance

Tue Nov 20, 2018 2:16 am

DavidS wrote:
Tue Nov 20, 2018 1:30 am
I am not going to waste power with a hub.
Why would an external hub connected to a 3A+ use more power than the built-in hubs of the 3B+?

ElEscalador
Posts: 850
Joined: Tue Dec 15, 2015 4:55 pm
Location: Detroit, MI USA
Contact: Website

Re: Alexa Pi ZeroW vs Pi3 Performance

Tue Nov 20, 2018 2:29 am

DavidS wrote:
Tue Nov 20, 2018 1:30 am

Still stiks the RPi 3A offline, no WiFi.
It has built in wifi chip? I think?
Robotics tips, hacks, book extras https://youtube.com/practicalrobotics

fruitoftheloom
Posts: 24097
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Alexa Pi ZeroW vs Pi3 Performance

Tue Nov 20, 2018 4:42 am

ElEscalador wrote:
Tue Nov 20, 2018 2:29 am
DavidS wrote:
Tue Nov 20, 2018 1:30 am

Still stiks the RPi 3A offline, no WiFi.
It has built in wifi chip? I think?

Yes WiFi & BT are on the 3A+ same Chipset as 3B+

https://www.raspberrypi.org/blog/new-pr ... 3-model-a/
Thinking outside the box is better than burying your head in the sand...

steelo
Posts: 16
Joined: Thu Jul 20, 2017 12:15 pm

Re: Alexa Pi ZeroW vs Pi3 Performance

Tue Nov 20, 2018 2:17 pm

I'd be interested in seeing what kind of performance hit it takes with 1/2 the RAM...

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 27104
Joined: Sat Jul 30, 2011 7:41 pm

Re: Alexa Pi ZeroW vs Pi3 Performance

Tue Nov 20, 2018 2:58 pm

steelo wrote:
Tue Nov 20, 2018 2:17 pm
I'd be interested in seeing what kind of performance hit it takes with 1/2 the RAM...
In CPU tests, none whatsoever. In the real world, depends what software you are using. Browsing will be horrible as that's a massive memory hog. Most other apps, probably fine.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed.
I've been saying "Mucho" to my Spanish friend a lot more lately. It means a lot to him.

Return to “General discussion”