element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Home Automation
  • Challenges & Projects
  • Project14
  • Home Automation
  • More
  • Cancel
Home Automation
Blog What makes an office smart?
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Home Automation to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: samreen.islam
  • Date Created: 4 Mar 2019 10:30 PM Date Created
  • Views 1153 views
  • Likes 11 likes
  • Comments 2 comments
  • smart home technology
  • homeautomationch
  • matrix voice
  • matrix labs
  • smart device
  • development board
  • matrix creator
  • smart home
Related
Recommended

What makes an office smart?

samreen.islam
samreen.islam
4 Mar 2019
image

Home Automation

Enter Your Electronics & Design Project for a chance to win a $100 Shopping Cart!

Back to The Project14 homepage image

Project14 Home
Monthly Themes
Monthly Theme Poll

 

Smart is a widely used adjective nowadays- smartphones, smart bulbs, smart locks, even smart toilets! So many smart devices, a network of them is sure to make a smart office, right?

 

The best (and most fun) way to find out is to test that hypothesis. Lucky for us, we work at MATRIX Labs, home base to the MATRIX Creator and MATRIX Voice. Most components we need are compiled in a less than 30.25pi cm^2 area. We waste no time in getting started.

 

image

 

 

image

 

 

 

 

 

 

 

 

 

 

 

 

 

The first step is to do some background research. We use Alfred our Innovation Manager’s home as a case study. He is well on his way to turning his apartment into the smart home you would never forget. He has a MATRIX Creator controlled projector which serves as the home entertainment hub. It has its own calibration sequence using a servo before artfully projecting perfectly onto the wall space above a table. The MATRIX Creator’s LEDs serve as ambient lighting. He has a smart RGB bulb in the hallway. His bluetooth speaker is turned on with a servo. To wrap it all up he has a voice-controlled light switch with the MATRIX Voice for the main lights in his home. Did I mention he uses the Raspberry Pi controlling his projector as a server to control all the other devices through a simple website interface on his phone as well?

 

We have lots to build off of, and we decide to start with the voice-controlled lights. Alfred has become a pro at putting this together so he whips one up for the office. Recipe below:

 

Step 1: Setting up Snips, a privacy focused offline voice assistant, to detect voice commands and send out a call for action.

 

We install the SAM CLI tool on our personal computer and connect it to the Raspberry Pi that will be running Snips.

 

Then we create a Snips Assistant and a light controlling application on their website console, and deploy it. You can check out how to do this from a workshop we had conducted for Arm DevDay earlier in the year.

 

image

 

Step 2: Writing the MATRIX Voice action code to control the lights once a voice command is received.

 

We create 3 files: assistant.js to catch commands and respond with actions, relay.js to control the relay switch for the lights, and everloop.js to have MATRIX LED feedback from the MATRIX Voice.

 

Step 3: Wiring the relay and 3D printing & assembling the case.

 

First, we connect 5V from our MATRIX Voice to VCC, the ground pin from our MATRIX Voice to GND, and GPIO pin 0 to IN to match the relay.js file.

image

 

Then, we open up our office light switch. Before starting this part, we flip the breaker which powers the light switch. That way there is no electricity running through the wires and we avoid any shocking accidents!

 

Once we have unscrewed the switch from the wall we disconnect all 3 wires from the switch. We only need the 2 live wires so we use electrical tape to cover the green ground wire.

 

Now that we have the 2 live wires from the wall, we wire them to the relay as shown below.

image

 

Alfred then 3D prints the same case he designed for his house.

image

 

We put it all together and voila, we are on our way to becoming a smart office! Now we just need 6 more of these babies.

image

 

Check out our live stream on how to create your own voice-controlled lights!

 

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

Stay tuned for updates on our journey to becoming a smart office and feel free to suggest new ideas to help us automate!

  • Sign in to reply

Top Comments

  • dixonselvan
    dixonselvan over 6 years ago +2
    Nice post samreen.islam I was in a dilemma whether to use Alexa or Snips in Matrix Creator for my project and Snips turns out to be more fun! Thanks for sharing
  • samreen.islam
    samreen.islam over 6 years ago in reply to dixonselvan +2
    Thanks dixonselvan ! There will be a step-by-step guide on how to make the voice-controlled light switch with MATRIX devices using Snips on element14 soon. I will be sure to post it here!
  • samreen.islam
    samreen.islam over 6 years ago in reply to dixonselvan

    Thanks dixonselvan! There will be a step-by-step guide on how to make the voice-controlled light switch with MATRIX devices using Snips on element14 soon. I will be sure to post it here!

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • dixonselvan
    dixonselvan over 6 years ago

    Nice post samreen.islam I was in a dilemma whether to use Alexa or Snips in Matrix Creator for my project and Snips turns out to be more fun!

     

    Thanks for sharing

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube