Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:iot-open:remotelab:itt:controlmodule [2019/10/29 14:22] pczekalskien:iot-open:remotelab:itt:controlmodule [2020/07/20 09:00] (current) – external edit 127.0.0.1
Line 1: Line 1:
-====== ITT Controller module basics======+===== ITT Controller module basics =====
  
  
-===== Introduction  =====+==== Introduction  ====
 This chapter describes the IOT ITT controller module. The controller module is necessary for any other module to work.  This chapter describes the IOT ITT controller module. The controller module is necessary for any other module to work. 
  
 {{:en:iot_homelab_kit:hardware:controller.png?200|}} {{:en:iot_homelab_kit:hardware:controller.png?200|}}
  
-===== Prerequisites =====+==== Prerequisites ====
 General knowledge of MQTT protocol: topics, brokers, subscribe, publish. General knowledge of MQTT protocol: topics, brokers, subscribe, publish.
 General knowledge on microcontrollers and Arduino IDE. General knowledge on microcontrollers and Arduino IDE.
  
-===== Technical details =====+==== Technical details ====
  
 The ITT IoT controller module is based on the Wemos D1 Mini controller. Its pinout can be seen in the following schematic. The ITT IoT controller module is based on the Wemos D1 Mini controller. Its pinout can be seen in the following schematic.
Line 17: Line 17:
 {{:en:iot_homelab_kit:hardware:d1mini_pinout.png?300|}} {{:en:iot_homelab_kit:hardware:d1mini_pinout.png?300|}}
  
-===== Specifications=====+==== Specifications====
   * 11 digital input/output pins   * 11 digital input/output pins
   * Micro USB connector   * Micro USB connector
Line 24: Line 24:
   * 4 MB flash-memory   * 4 MB flash-memory
  
-===== Electrical connection =====+==== Electrical connection ====
 Modules are using following I/O ports Modules are using following I/O ports
  
Line 34: Line 34:
   *     Sensor Shield (ITT ver. 1.1) GPIO4, GPIO5, GPIO6, GPIO7, A0   *     Sensor Shield (ITT ver. 1.1) GPIO4, GPIO5, GPIO6, GPIO7, A0
  
-===== Actuators =====+==== Actuators ====
 As this is the controller module, no actuators or sensors are installed to it. As this is the controller module, no actuators or sensors are installed to it.
  
-===== Software, libraries and externals ===== +==== Software, libraries and externals ==== 
-To program the controller module ITTIoT library is used. This is a custom library made specifically for ITT IoT kits. It aims to make the board easier to use with simple but yet effective methods.+To program the controller module ITTIoT library is used. This is a custom library made specifically for ITT IoT kits. It aims to make the board easier to use with simple but yet effective methods. A non-exclusive list of methods is presented below:
  
-<table Ref.Tab.1.1> 
-<caption>List of ITTIoT methods</caption> 
 ^ Method ^ Description ^ ^ Method ^ Description ^
 | iot.setup() | Does the operations necessary for setting up the ITTIoT framework and MQTT communications.| | iot.setup() | Does the operations necessary for setting up the ITTIoT framework and MQTT communications.|
Line 50: Line 48:
 | iot.received(String topic, String msg) | User-defined method that is called when the controller receives a message from one of the subscribed topics. The topic from which the message is received is the string "topic" and the body of the message is the string "msg".| | iot.received(String topic, String msg) | User-defined method that is called when the controller receives a message from one of the subscribed topics. The topic from which the message is received is the string "topic" and the body of the message is the string "msg".|
 | iot.publishMsgTo(String topic, String msg, bool retain) | Publishes the message "msg" to the topic "topic". Boolean retain informs the broker if the message should be saved into the memory of the broker.| | iot.publishMsgTo(String topic, String msg, bool retain) | Publishes the message "msg" to the topic "topic". Boolean retain informs the broker if the message should be saved into the memory of the broker.|
-</table> 
  
-===== Communication =====+ 
 +==== Communication ====
 The user can connect to and program this controller using the Distancelab environment. The user can connect to and program this controller using the Distancelab environment.
  
-===== Limits =====+==== Limits ====
 At the same time, one user can program the controller. But all users connected to the Distancelab MQTT broker can subscribe to and publish messages to the topics. At the same time, one user can program the controller. But all users connected to the Distancelab MQTT broker can subscribe to and publish messages to the topics.
  
en/iot-open/remotelab/itt/controlmodule.1572358934.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