Tag Archives: RBPI3

Talk to your Raspberry Pi

The Raspberry Pi Foundation has tied up with Google for a project called the Artificial Intelligence Yourself or AIY. This is a Hardware on Top or HAT project for the Raspberry Pi 3 (RBPi3) to transform the single board computer into a virtual assistant. This is the first time that Google is offering something exclusively for hobbyists, and the kit comes free with the printed issue 57 of the MagPi—the official magazine of the Raspberry Pi.

The kit with the MagPi magazine consists of a Voice HAT board, a speaker, a stereo microphone board, a large arcade push button, and a set of wires. This is all one needs to add-in voice integration to the RBPi3, turning it into a personal Alexa alternative. Alexa is an intelligent personal assistant developed by Amazon. Intelligent personal assistants are capable of offering real time information, such as news, traffic, weather, apart from playing audiobooks, streaming podcasts, setting alarms, making to-do lists, playing back music, and most importantly, capable of voice integration.

The MagPi magazine contains all the build instructions for putting together the free hardware voice kit; you only need to add the RBPi3 to get it working. There is also a custom cardboard case to house the entire kit along with the RBPi3. Apart from the RBPI3, the AIY voice project will work with an RBPi2 and an RBPiZW as well. Once the hardware is assembled, you will need some software setup, with access to the Google Assistant SDK and Google Cloud Speed API.

The MagPi 57 issue offers several voice integration ideas for the AIY voice kit and you can enhance them or build your own projects. For instance, you can have a voice integration project to answer all your questions just as Alexa does. Alternately, you can create a voice-controlled robot. In fact, some owners of RBPi are building secret AIY projects at Hackster.

According to Billy Rutledge, Google’s director on the project, the AIY project demonstrates a practical method of starting and running a natural language recognizer in conjunction with the Google Assistant. Not only will you have all the functions of the Google Assistant, you can as well add your own pairs of questions and answers.

The Voice Kit and RBPi3 combination acts as a voice recognizer and uses the Google Assistant SDK to recognize speech. For evaluating local commands, it uses a local Python application. You can talk to the Google Assistant, which makes use of the Google Cloud Speech API to answer back. If you wish to use voice capabilities in your future projects, check out the Maker’s guide for more creative extensions.

The arcade style button has additional functions other than initiating the speech interaction. A bright LED mounted within the button signals to verify your device is running properly through different types of blinking. For instant, the LED pulses to indicate the device is just starting up, and the voice recognizer has not started functioning yet. Once the device is ready to be used, the LED blinks every few seconds. The LED glows steadily when the device is listening, and pulses if the device is thinking or responding.

Is there a 64-bit Raspberry Pi?

Although the arrival of the Raspberry Pi 3 (RBPi3) heralded a huge speed boost for the Linux hacker board, this $35, wireless-enabled single board computer did not signal a switch over to 64-bit ARM computing. Even though the hardware, following so many other SBCs at the time, was 64 bits, the default Linux distribution from the Raspberry Pi Foundation is still 32-bit.

Eventually, there will be a changeover to 64-bit ARM firmware, as the technology offers significant improvements in performance. More power-efficient chips, such as the 64-bit x86 are also piling on the pressure. However, the Raspberry Pi Foundation is still not committing itself beyond considering a change in the coming months to the 64-bit for the default Raspbian distribution as the reworking of the code required for the changeover is going to be extensive.

The RBPi3 has advanced to the new quad-core of Cortex A53 BCM2837 SoC from Broadcom. Architecturally, this SoC is quite similar to the BCM2836 that the predecessor RBPi2 uses—the quad-core Cortex A7. The Pi Foundation claims that even while operating in 32-bits, the RBPI3 delivers more than 50% better performance than delivered by the RBPi2. This is because of two improvements, one due to the superior architecture of the Cortex A-53, and the other due to the higher clock rate of 1.2 GHz of the RBPi3, as compared to that of 900 MHz of the RBPi2.

While comparing the RBPi3 with the RBPi2, we find the BCM2837 on the RBPi3 is paired with the same VideoCore IV GPU from Broadcom, similar to that in the RBPi2. However, in the RBPi3, the GPU is clocked at a higher rate of 400 MHz. That precludes any video performance at 4K, deep learning projects, or any high-end VR from the RBPi3. On the other hand, the Odroid-C2, being equipped with a Mali-450 GPU, supports 4K video decoding.

Eben Upton, the CEO for the Foundation’s commercial arm, the Raspberry Pi Trading, has explained this. According to Upton, the VideoCore IV 3D is the only 3-D graphics core for the ARM-based SoCs that has been documented publicly and the Foundation wants to make the RBPi more open over time.

Apart from the new SoC, the RBPi3 has also added a wireless chip from Broadcom, the BCM43438, and this enables it with 2.4 GHz, 802.11n Wi-Fi, and Bluetooth 4.1 BLE. With this addition, the RBPi3 steals a march over the Odroid-C2, which lacks wireless, operates on a Cortex-53 Amlogic S905 SoC, and costs $5 more.

Whether to have wireless onboard, or to let users select their own wireless options via Ethernet or USB adapters, has been the subject of an intense debate. As earlier, cost was the main consideration, and the deciding factor came from the dropping prices of wireless chips. Further, the single antenna of the Broadcom chip can be soldered directly onto the board, rather than be used as a module.

Other than the slight shift in the placement of the LED, the new processor, and the wireless capability, the RBPi3 is identical to its predecessor, the RBPi2. They share the same dimensions, amount of RAM, and the 40-pin expansion connector.