CodeLabs
  • Introduction
  • Cities
    • Cover
    • Summary
    • Introduction
      • Getting Started
      • Resources
      • Naming Convention
    • Caracol
      • Architecture
        • Intel
        • Operating Systems
        • Hardware Platform
        • Field Requirements
        • Software Development
        • Video Conference Station
          • Applications
          • Entertainment System
            • Services
              • Graphics
              • Video
              • Camera
              • Text To Speech
              • Speech To Text
              • Photography
              • Gaming
                • Super Nintendo Emulators
                • Super Nintendo ROMs
              • Twitter
              • Keyboard
              • Google Drive
              • WiFi
            • Modules
            • Tbd
        • Functionality
        • Bill Of Materials
        • Open Questions
        • Future
    • Chacmultun
      • JHD1313M1
        • Background
          • Inter-Integrated Circuit
          • Linux I2C Subsystem
        • Device Drivers
          • User Space Library UPM
          • User Space Library MRAA
          • User Space I2C Library
          • Kernel Space I2C Driver
    • Chicanna
      • OpenCV
        • Face Recognition
        • Web Streaming
    • Chichen Itza
      • Audio
        • Advanced Linux Sound Architecture
        • PortAudio
        • PyAudio
          • Record
          • Play
      • Text To Speech
        • eSpeak
          • pyttsx
        • VoiceRss
          • VoiceRss Text To Speech Python SDK
      • Speech To Text
        • CMU Sphinx
          • Sphinx Knowledge Base Tool
          • PocketSphinx
          • PyAudio
        • SpeechRecognition
    • Coba
      • Linux Kernel Source Code
        • Git Source Code Management
      • Linux Kernel Development Process
        • A Guide To The Linux Kernel Development Process
        • Challenge
      • Linux Kernel Compilation
      • Linux Kernel Modules
      • Linux Kernel Build System
        • Compilation Kernel Object
        • Compilation Built-In
      • Linux Kernel Patch
        • Patchset
      • Linux Kernel Developer
      • Learn More
    • Dos Pilas
    • Dzibilchaltun
    • Edzna
      • MQ Telemetry Transport
        • MQTT Broker
      • Home Assistant
        • Setup
        • Default Configuration
        • Hello
      • Home Automation
        • Device
          • Light ESP8266
          • Intel Edison
        • Server
          • MQTT
            • Light
            • Sensor
            • Binary Sensor
            • Alarm
          • Dweet
          • Weather
          • Binary Sensor
          • Telegram
          • Camera
          • Automation
      • Shack Automation
        • Configuration Yaml
    • Ek Balam
      • Google Cloud Platform
        • Google API Keys
        • Google Application Default Credentials
      • Google Cloud Translation API
      • Google Cloud Vision API
      • Google Cloud Speech
    • Hochob
      • Introduction
      • Accounts
      • Areas
        • Naming Conventions
      • Digital Media Players
        • Chromecast
      • Keypads
      • Mobile Device
      • Amikoo
        • Architecture
          • Hardware Components
            • Intel® Edison Breakout Board
        • Amikoo
          • Setup
          • Git Repositories
          • Audio
          • Main Intel Edison
          • Main x86
        • Sandbox
          • Tbd
      • Server
        • Setup
          • Root
          • PulseAudio
        • Architecture
        • Media
        • Services
          • Automation
            • Home Assistant
              • Setup
          • Calendar
          • Camera
          • Communications
          • Games
            • Loteria Mexicana
            • Caras Y Gestos
            • Sopa De Letras
          • Image
          • Institution
          • Keypad
          • Messaging
          • Motion
          • Robot
          • Sound
            • Play
            • Speech Synthetizer
          • Stream
          • Usb
          • Survey
        • Applications
          • Captain Maya Lands
          • Southern Maya Highlands
          • Amikoo Maya Lands
          • Central Maya Lowlands
          • Northern Maya Lowlands
          • Console Maya Lands
          • Media Maya Lands
          • Calendar Maya Lands
          • Tradition Maya Lands
          • Techie Maya Lands
          • NohochTata Maya Lands
      • Stations
      • Architecture
      • Release Notes
        • v0.1
        • v0.2
    • Hormiguero
    • Kaminaljuyu
      • WRI Workshop
        • Environmental Protection Agency
      • Arquitecture
        • Bill Of Materials
      • Intel
    • Kanki
      • Device
      • Gateway
    • Kinich KaK Moo
    • Kohunlich
    • La Ruta Puuc
    • Mayapan
    • Mixco Viejo
    • Muyil
    • Palenque
    • Qumarkaj
      • Amazon
      • Amazon Echo
        • Lifx
        • IFTTT
      • Amazon Alexa
        • Alexa Skills Kit
          • Training: Developing Alexa Skills - Hello, Alexa!
          • Training: Alexa - A Free Introduction
          • Projects
            • Intel GDC Visitor Center
              • Cloudy
              • Geek
              • Trivia
              • Kit
            • Voice Control Intel Edison
        • Alexa Voice Service
          • Intel Edison
    • Seibal
    • Tabasqueno
    • Tikal
      • Mexican Red Cross
      • Emergency Medical Services
        • Prehospital Care Strategies
      • Intel
      • Bitalino
      • My Signals
      • Architecture
        • Objectives
    • Tulum
      • Introduction
      • Device
        • Development Board
        • Telegram Bot
        • Bootup
        • Text Editors
        • Setup
        • Main
        • IoT101 Inc
        • Mqtt Clients
        • Sensors
      • Server
        • Setup
        • Dashboard
        • Mqtt Broker
      • Challenge
    • Uxmal
    • Xcambo
    • Xpuhil
    • Xunantunich
    • Sandbox
      • Text To Speech
      • Face Recognition Web Streaming
      • Web Server Flask
      • Speech To Text
      • Image Webpage Flask
      • Audio Capture Playback
      • Image Capture OpenCV
    • Tbd
      • Tbd
      • Linux Kernel Architecture
      • Linux Kernel Device Drivers
      • Tbd
  • Gods
    • Acat
      • Node-RED
        • Installation
          • General
          • Base
          • Npm Packages
          • Node-RED Packages
        • Autostart
      • Projects
        • GPIO
        • MQTT
        • Intel GDC Visitor Center
      • Sandbox
    • Ah Puch
      • Recon Instruments
        • ReconJet
          • Get Started
        • ReconEngage
        • Uplink
        • Intel Developer Zone
          • Recon Dev Kit for Jet™
      • Bicycles
    • Akna
      • Hardware
        • Intel Edison
        • Sphero
        • Bluetooth Dongle
      • Software
        • Javascript
        • Cylon.js
          • Cylon.js Intel Edison
          • Cylon.js Intel Edison Sphero
            • Examples
        • Sphero Linux API
    • Alom
    • Bacab
      • Getting Started
        • Inventory
        • Accounts
        • Software
      • Proof Of Concepts
        • Doorbell
    • Bitol
      • Drone Software Development Environment
        • PX4
        • JMAVSim
        • Ardupilot
        • SITL Simulator
        • DroneKit
        • QGroundControl
        • MAVLink
        • OpenCV
        • Git Source Code Management
      • Drone Solution Architect
        • Companies
      • Dronecode Project
      • Base Drone Solution
        • Flight Controller Hardware
          • PixHawk
          • Intel® Aero Ready to Fly Drone
          • Emlid
          • Erle Brain
        • Flight Controller Operating System
        • Autopilot
          • Px4
            • Architecture
              • NuttX
              • DriverFramework
            • Shell
          • Ardupilot
          • Software In The Loop
            • jMAVSim
            • DroneKit SITL
        • Communications
          • Mavlink
            • PyMAVLink
        • Ground Control Station
          • QGroundControl
        • Developer APIs
      • Hybrid Drone Solution
      • Autonomous Drone Solution
      • Drone Solutions
        • Erle Robotics
        • Emlid
      • Training
        • Drone Solution Architect
          • Demos
            • Ka’an
            • Múuyal
            • lik’
            • Chak iik’
    • Chaac
    • Bolon Ts'akab
    • Buluc Chabtan
      • Challenge
    • Chaac Uayab Xoc
    • Cacoch
      • Background
        • Open Source
        • Do It Yourself Communities
      • The Project
        • History
        • Career Profile
        • Education Strategy
        • Courses
        • Infrastructure
Powered by GitBook
On this page
  • Visitor Center: Edison Station
  • Setup
  • Big Changes
  • Grove Indoor Environment Kit for Intel® Edison
  • Input
  • Output
  • Node-Red UI
  • Node Management
  1. Gods
  2. Acat
  3. Projects

Intel GDC Visitor Center

Visitor Center: Edison Station

...

Setup

root@edison:~# git clone https://github.com/TheIoTLearningInitiative/CodeLabs.git
root@edison:~# cd CodeLabs
root@edison:~/CodeLabs# sh scripts/setup.sh Acat
root@edison:~# /usr/bin/node-red --max-old-space-size=256
28 Mar 16:12:56 - [info]

Welcome to Node-RED
===================

28 Mar 16:12:56 - [info] Node-RED version: v0.16.2
28 Mar 16:12:56 - [info] Node.js  version: v4.4.3
28 Mar 16:12:56 - [info] Linux 3.10.98-poky-edison+ ia32 LE
28 Mar 16:12:58 - [info] Loading palette nodes
28 Mar 16:13:09 - [warn] ------------------------------------------------------
28 Mar 16:13:09 - [warn] [rpi-gpio] Info : Ignoring Raspberry Pi specific node
28 Mar 16:13:09 - [warn] ------------------------------------------------------
28 Mar 16:13:09 - [info] Settings file  : /home/root/.node-red/settings.js
28 Mar 16:13:09 - [info] User directory : /home/root/.node-red
28 Mar 16:13:09 - [info] Flows file     : /home/root/.node-red/flows_edison.json
28 Mar 16:13:09 - [info] Creating new flow file
28 Mar 16:13:09 - [info] Starting flows
28 Mar 16:13:09 - [info] Started flows
28 Mar 16:13:09 - [info] Server now running at http://127.0.0.1:1880/
root@edison:~# ls
CodeLabs
root@edison:~# cd ~/.node-red/
root@edison:~/.node-red# ls
flows_edison.json  lib  node_modules  settings.js
root@edison:~/.node-red# cd node_modules/
root@edison:~/.node-red/node_modules# ls
node-red-contrib-upm  node-red-dashboard
root@edison:~/.node-red/node_modules#
root@edison:~/.node-red/node_modules# git clone https://github.com/TheIoTLearningInitiative/node-red-contrib-upm.git
Cloning into 'node-red-contrib-upm'...
remote: Counting objects: 169, done.
remote: Compressing objects: 100% (33/33), done.
remote: Total 169 (delta 23), reused 0 (delta 0), pack-reused 136
Receiving objects: 100% (169/169), 218.92 KiB | 0 bytes/s, done.
Resolving deltas: 100% (104/104), done.
Checking connectivity... done.
root@edison:~/.node-red/node_modules# cd node-red-contrib-upm
root@edison:~/.node-red/node_modules/node-red-contrib-upm# git branch -a
* master
  remotes/origin/HEAD -> origin/master
  remotes/origin/master
  remotes/origin/visitorcenter
root@edison:~/.node-red/node_modules/node-red-contrib-upm#
root@edison:~/.node-red/node_modules/node-red-contrib-upm# git checkout -b visitorcenter origin/visitorcenter
Branch visitorcenter set up to track remote branch visitorcenter from origin.
Switched to a new branch 'visitorcenter'
root@edison:~/.node-red/node_modules/node-red-contrib-upm#
root@edison:~/.node-red/node_modules/node-red-contrib-upm# npm install
root@edison:~/.node-red/node_modules/node-red-contrib-upm#

Big Changes

  • Use node-red-dashboard instead of node-red-contrib-ui

  • Use github repositories

  • Remove "Grove" and "ui" words from the Nodes

  • Modification to default to 1/0 instead of True/False under ui_switch

  • Change from Speaker to Buzzer under UPM-Grove-Speaker

Grove Indoor Environment Kit for Intel® Edison

Input

Analog

Digital

Output

Node-Red UI

  • Change name "Flow 1" to "Workspace"

Node Management

Go to Menu -> Manage Palette -> Nodes and keep enabled only the following items

  • node-red

    • function

    • inject

    • watch

  • node-red-contrib-ui

    • ui_chart

    • ui_gauge

    • ui_switch

    • ui_tab

    • ui_text_input

  • node-red-contrib-upm

    • UPM-Grove-Button

    • upm-grove-light

    • UPM-Grove-Relay

    • upm-grove-rgb-lcd

    • upm-grove-sound

    • UPM-Grove-Speaker

    • upm-grove-temperature

PreviousMQTTNextSandbox

Last updated 7 years ago

Grove - Light
Grove - Temperature
Grove - Sound Sensor
Grove - Button
Grove - LCD RGB Backlight
Grove - Relay
Grove - Buzzer