Skip to main content

[Project] Mycroft AI Assistant (Part 1 - Planning)

Mycroft AI has been a project of interest to me. I recently got to thinking whether I am able to build a Mycroft AI assistant (like actually doing it instead of dreaming that it will come to life).

So while day dreaming the other day, I remembered that Mycroft AI can be run either from the command line on Linux, or burnt onto an SD card and subsequently running it on a Raspberry Pi 3B or better. Android is also supported but I am lazy to try to learn how to use Android Studio.

By now, I think I have made it quite clear that I will try everything in the world to avoid using a Raspberry Pi. And also when I was dreaming, the thought that came to me was "why not build the while thing in an Echo Dot or Home Mini form factor?" (about 10x5cm).

I decided that I need to use smaller SBCs so I can have more freedom with the build. But small SBCs are not the most powerful in the market.

So I set out to search for Small SBCs that have the tech specs to stand a chance against the Raspberry Pi 3B. The specs to beat are...
  • CPU: Quad-core 1.2GHz, 64-bit (and a 64-bit OS)
  • RAM: 1GB LPDDR2@900MHz
  • Storage: microSD or better/faster storage options
  • USB: USB2.0 or better
  • Size: 8.6cm x 5.7cm

So by searching around, I have settled with SBCs from OrangePi as they are cheaper. The CPUs will either be based on the Allwinner H5 or H6, both 64-bit.

I did consider the NanoPi series, but I am not willing to pay US$7 just for shipping. Banana Pis are all 32-bit boards (the only 64-bit one is very large in size). Pine64 also charges quite a premium for shipping.

So the series from OrangePi we are looking at are those smaller than RPis, which actually surprised me as there are still quite a number of options to choose from. But after some quick filtering (i.e. 64-bit CPUs), we are down to the Lite2, Zero Plus, Zero 2 Plus, and One.

I first ruled out the Zero Plus as there is an ethernet jack and I do not need one. However, I do require WiFi (not a fan of dongles), so that also rules out the One.

So now, out of the choices, that leaves the Lite2 and Zero 2 Plus. The biggest difference between these two is the amount of RAM -- Lite2 has 1GB while Zero 2 Plus has 512MB of it. Off to TaoBao to check out their prices.

They were on sale when I checked. The Lite2 is selling for RMB159 (SG$32) while the Zero Plus 2 (with 8GB eMMC) is going for RMB99 (SG$20). So... I ordered both! For context, both boards (and accessories, shipping included) will cost just above an RPi here (SG$53~).

But sadly the Lite2 is out of stock. So I will have to work with the Zero 2 Plus. But it should be fine as the Zero 2 Plus has the same CPU clock speed as the RPi 3B, but has (assuming) faster DDR3 RAM. My assumption is that the only hard requirement to hit is the CPU speed as that is the only thing that changed between RPi versions. With proper cooling as well, I can also overclock the OPi Zero Plus 2 as well to try to get better performance.

The Zero Plus 2 has the following specs, which in my opinion is enough to stand up against the RPi 3B. Note the word "stand up" and not "be better than".
  • CPU: Allwinner H5, Quad core 1.2GHz, 64-bit (with a 64-bit OS)
  • RAM: 512MB, DDR3
  • Storage: 8GB eMMC
  • USB: 2.0, 1 on board, 2 expandable
  • Size: 4.8cm x 4.6cm
For now, I can only wait for the board to arrive. So that gives me time to design the whole setup as well as plan further on the individual components.

That's all for this post. Subscribe to be notified of updates to the project. And I am honestly quite excited how this project will turn out.

Comments

Popular posts from this blog

[Guide] Installing Microsoft Office 2016 on Ubuntu Using WINE

WINE is a compatibility layer that lets Linux users install and run Windows applications. It is not a virtual machine or an emulator. In simple words the compatibility layer translates Windows calls to Linux calls and thus something that can be understood by the underlying Linux system. For GUI folks (like me), PlayOnLinux is a graphical frontend to manage WINE applications. It also helps to automate some processes during the execution of the EXE files through the use of POL Scripts. All along POL  has a script that installs Microsoft Office 2010 to a point where it runs quite smoothly and mostly bug-free. However, future versions of Office have failed to be installed or run properly. As I was playing around with a copy of Microsoft Office 2016, I was able to get Microsoft Office 2016 running "well enough TM " such that it can be used on a day-to-day basis. Here I will outline the steps I have done to accomplish My laptop is running Kubuntu 18.04.3 LTS and has POL 4.2...

[Rant] A Phone That Costs How Much???

Phones are getting higher in price year by year, in the name of "better performances" or "better features". Are they really worth the premium? Are they worth the ever- hiking price tags? I mean personally, I won't spend my money on a S$2000 phone. I would already be complaining if the phone is exceeding the S$600 mark. But still, don't get me wrong - these phones are not bad per say, but for the price, they are not amazingly good either. Are they usable? Definitely. Are they going to knock my socks off? ... No. The last time a phone knocked my socks off was when I got myself a VKWorld T2 (a 3G Android Flip phone) back in 2016, but my socks were put back on quickly (ha!) When the phone broke down within months of me using it. Then again, considering its price of SG$150, nothing of value was lost. Nowadays, when I shop for phones, I keep my budget to SG$200. Xiaomi proved to be the reliable brand in this price range. Their phones are low in price, but are ...

[Rant] Rapberry Pi 3B+ is great but...

Ah the new Raspberry Pi 3 Model B+. The next in line of fresh new Raspberry Pis. But in my honest opinion, I find the RPis... More to be desired . Don't get me wrong, the RPis are great for what they can be used for. But there is a strong emphasis (at least in my experience with the Raspberry Pi 2 Model B) on *light* . On the RPi 2B, I have had troubles with the UI working not smoothly, especially when the web browser is opened. And these are on a Quad-Core SoC on the RPi, effectively affecting the ability to even multitask. A few issues I can see are stemming from the hardware to begin with... The RAM is LPDDR2. I could see that sticking to LPDDR2 is a cost saving measure to keep the prices of RPis low (I'd say RPi's price is quite low for a product of it's calibre). However there are boards out there that come with LPDDR3 or even LPDDR4 RAMs that can provide higher clock speeds (but with these come a higher price point). The Storage is Running off microSD W...