This is an old revision of the document!


Controller module basics

Introduction

This chapter describes the IOT ITT controller module. Controller module is necessary for for any other module to work.

Prerequisites

General knowledge of MQTT protocol: topics, brokers, subscribe, publish. General knowledge on microcontrollers and Arduino IDE.

Technical details

Specifications 11 digital input/output pins Micro USB connector Compatible with ArduinoIDE Compatible with nodemc 4 MB flash-memory Electrical connection Modules are using following I/O ports

RGB LED Shield GPIO4 Relay Shield GPIO5 OLED Display Shield GPIO4, GPIO5 Motor Shield GPIO4, GPIO5 Temperature/Humidity DHT Pro Shield GPIO2 Sensor Shield (ITT ver. 1.1) GPIO4, GPIO5, GPIO6, GPIO7, A0

Actuators

This laboratory involves a WS2812B RGB LED. RGB LEDs are basically three LEDs (red, green, blue) that are built inside one shell. They include a WS2812 driver that makes it possible to use only one pin to control them.

Software, libraries and externals

To control WS2812B RGB LED the following libaries are used:

  • ITTIoT libary - used to program the controller module.
  • Adafruit NeoPixel libary - used to control the RGB LED.

Communication

The user can connect to this controller using the Distancelab environment.

Limits

At the same time one user can program the controller. But all users connected to the Distancelab MQTT broker can control the RGB LED, assuming they use the topic described in the controller program.

Hands-on labs

List study scenarios (hands-on labs), linking to the Dokuwiki pages with hands-on labs descriptions (there should be a separate page for each scenario). Classify each scenario and refer to the target group using starting keywords: * Beginners * Undergraduates * Masters * Professionals Note, assume that more professional group automatically contains less professional ones. Note - use language and as appropriate to the target group, i.e.:

  * Beginners: Elementary operations on the Arduino 2x16 LCD screen.
  * Undergraduates: Visualizing temperature and humidity on the remote screen.
  * Masters: Using power saving states to limit power consumption.

Support

Give some information on how to access help, how to get support in case of the trouble etc.

en/iot-open/remotelab/itt/controlmodule.1544075220.txt.gz · Last modified: 2020/07/20 09:00 (external edit)
CC Attribution-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0