In the previous post, I explained what a MATRIX Voice and a MATRIX Creator is and the difference between the two. I highly recommend you to go through the first part if you are new to it and get a better understanding of the whole project. Great. Now you know what a MATRIX device is and what it can do. Now let us set it up with a raspberry pi. Lets get started.
Sponsor Link
This Project is Sponsored by UTSource. UTSource is a professional electronic components supplier.
MATRIX device is built in such a way that, it will fit easily on top of the Pi.If you turn the device upside down, we will be able to see the female header pins, which can be connected to the male GPIO pins of the Pi. If you are using a camera, connect it to the Pi before connecting the MATRIX.
Align the Female pins of the MATRIX to the Male pins of the Pi in such a way that the center of the Pi will align with the center of the MATRIX.
Now press them together.
PC Setup
Before starting the setup make sure you have npm installed on your PC. Follow this tutorial to install npm on your PC.
Once npm is installed, you can install the CLI tool using the command
npm install -g matrix-cli
Once it is installed, you can create a new account using the command
matrix register
Enter the account details and finish the registration process. Now sign in to the account using
matrix login
Now to interact with your device, you will have to register the device to the CLI tool. For that execute the command
matrix register device
Once it is completed, system will generate a MATRIX_DEVICE_ID and MATRIX_DEVICE_SECRET which we will be using it in the future. Output will be something like. These two lines are important and we will be using it the Device Setup.[AdSense-C]
Download and burn latest Raspbian image to a micro SD card and insert it into the raspberry Pi.
Now power it up with a power adapter that can provide at least 2.5 Ampere. Now fire up your terminal and create a password for the user ‘pi’ by executing the command
sudo passwd pi
Connect your Raspberry Pi to a WiFi router or Wired network and make sure it is connected by checking whether it is getting an IP address from the switch.
Now perform and update and upgrade by running
sudo apt update -ysudo apt upgrade -y
Setting up MOS
Now we can install MOS (Matrix Open System). Now execute
curl https://raw.githubusercontent.com/matrix-io/matrix-creator-quickstart/master/install.sh | sh
This will install the MOS and all the required dependencies. Once everything is finished, the Pi will automatically reboot.
Now go to your home folder and create a file called .envrc[AdSense-C]
nano .envrc
Here, paste the two lines with the id and secrets exactly as shown when it was generated, like shown below.
A few weeks back we published a tutorial “Home Automation using Raspberry Pi” in rootsaid.com which was well received among hobbyists and college students. Then one of our members came up with an Arduino Home Automation system using NodeMCU. Arduino Home Automation System Here we will be showing you how to build an Arduino Home…
Hi all, welcome back, In the previous post, I told you how an IR sensor works and how to make a line follower using an IR sensor. Now, i will show you how you can make a Simple DIY Burglar Alarm using an IR sensor and a Buzzer without using any micro controller or complicated…
The sudden drop in price of IoT modules and rapid growth of Internet of Things is allowing hobbyists to create new devices at home.ESP8266 is one such module which is specifically designed for IoT projects and costs less than 5$. This module can be used with or without micro-controller. Sponsor Link This Project is Sponsored…
Welcome to our new DIY series – Spinel Crux – A DIY Advanced Hand Gesture Control Robot using Raspberry Pi for Wireless Surveillance Project. Yes, of course, building and tinkering with a DIY robot is fun. In this series, we will build a Raspberry Pi Rover Robot which can travel through rough terrain and control…
A lot of people have been asking us about controlling a brushless motor using Arduino. So we thought about writing a post explaining everything about the working of the brushless motor, ECS, ECS configuration and rotating it using an Arduino Nano. Components Required Arduino Nano ESC Brushless Motor 12 V LIPO Battery First let us…
Have a smartphone in your hand? How about controlling your home appliances by using it? Awesome right? All you need is a Smartphone with ‘Arduino Remote LITE’ installed, and a basic Bluetooth Arduino kit with a relay board. This will enable you to control all the devices in your home using a few taps. This…
0 Comments
This is very interesting, You are a very skilled blogger.
I’ve joined your rss feed and look forward to seeking more of your great post.
Also, I have shared your web site in my social networks!
This is very interesting, You are a very skilled blogger.
I’ve joined your rss feed and look forward to seeking more of your great post.
Also, I have shared your web site in my social networks!