TABLE OF CONTENTS
Software 1. ARC for Windows PC 2. Example Projects 3. Controls 4. Getting Help with Controls 5. ControlCommand() 6. Virtual Desktops 7. RoboScratch 8. Blockly 9. EZ-Script Mobile Software 1. Create a Mobile App Linear Programming 1. Create a Scene Using RoboScratch (Big Hero Six) 2. Create a Scene using Blockly (Avengers) Logical Programming 1. Programming Concepts (Variables, If/Else, Logic) 2. Counting Up 3. Counting Down Camera Input 1. Introduction to the EZ-B Camera 2. Face Detection with RoboScratch 3. Face Detection with Blockly 4. Face Detection with EZ-Script 5. Color Tracking with Servos 6. Color Tracking with Movement 7. Detecting Multiple Colors 8. Line Following with Roli, AdventureBot and Shell-E 9. Vision - Object Training & Recognition 10. Glyphs to Control Robot Movement 11. Detecting Glyphs & Augmented Reality 12. QR Code Detect 13. Microsoft Cognitive Emotion 14. Microsoft Cognitive Vision Audio Input 1. Speech Recognition RGB Output 1. RGB Animations Positioning 1. Servo Control 2. Introduction to Servo Motors 3. Create a Robot Dance 4. Program Robot to Dab 5. Program Robot to Play Piano 6. MYO Gesture Armband Navigation and Movement 1. Movement Panels 2. Navigating using RoboScratch 3. Navigating using Blockly Creative Applications 1. Customize Your EZ-Robot 2. Control Robot From Twitter 3. Nest Thermostat EZ-B v4 Robot Brain 1. EZ-B v4 Robot Brain Overview 2. DIY Autonomous Robot Vehicle 3. EZ-B v4 and IoTiny Wi-Fi Modes 4. Change WiFi Name 5. Resetting Your EZ-B v4 or IoTiny 6. USB WiFi or Ethernet Adapter Robot Troubleshooting 1. Which Robot are You Using? |
Nest ThermostatProgram your EZ-Robot to communicate with a Nest Thermostat. If speech recognition has been configured correctly, saying the phrase "What is the temperature of my house" will receive a response from your EZ-Robot while it executes the Thinking animation.
What You Will Need
This activity requires a connection to both the robot and internet at the same time. This is because the service used in the activity requires your computer to be connected to the internet to utilize the Nest Thermostat, while also being connected to your robot to make it respond. This can be achieved by either adding a second USB WiFi adapter to your PC, or setting the robot's EZ-B into Client Mode. Instructions
First, load ARC, then open the latest JD project from the EZ-Cloud Robot AppStore, or from the EZ-Robot tab. Next we will need to give ARC permission to access your Nest product.
Now we need to add the appropriate control to the project, so your robot will know how to read the Nest Thermostat.
We should add in the ability for the robot to read out the temperature to us, just by asking it to verbaly.
Your JD must be connected to your network in Client Mode from here on. See the lesson for setting this up here. Alternatively, you can use a second WiFi adapter to connect to both the internet and your robot.
Next we will configure the speech recognition to listen for the correct phrase and respond appropriately. Our first section will be to have ARC refresh the data it receives from the Nest Thermostat.
Now we need to refresh the data manually, and have the robot respond correctly.
But JD just standing there and saying the temperature is boring, so let's add some movement to give it some personality.
Now click on Save at the bottom left to save the script, and then Save once again at the bottom left to save the Speech Recognition configuration. If speech recognition has been configured correctly, uncheck the pause checkbox (the waveform should go green), and speak the phrase "What is the temperature of my house". You'll receive a response from JD while he plays the Thinking action. |