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:relay [2019/10/28 13:01] tomykalmen:iot-open:remotelab:itt:relay [2020/07/20 09:00] (current) – external edit 127.0.0.1
Line 11: Line 11:
  
 ==== Technical details ==== ==== Technical details ====
-This laboratory consists of a relay module attached to the ITT IoT controller module. Relay module is an electrically operated switch of mains voltage. It means that it can be turned on or off, letting the current go through or not. Many relays use an electromagnet to mechanically operate the switch and provide electrical isolation between two circuits.+This laboratory consists of a relay module attached to the ITT IoT controller module. The relay module is an electrically operated switch of the mains voltage. It means that it can be turned on or off, letting the current go through or not. Many relays use an electromagnet to mechanically operate the switch and provide electrical isolation between two circuits.
  
 === Sensors === === Sensors ===
Line 44: Line 44:
 #define RELAY_PIN 5 #define RELAY_PIN 5
  
-// If message received switch relay+// If the message received switch relay
 void iot_received(String topic, String msg) void iot_received(String topic, String msg)
 { {
Line 74: Line 74:
   Serial.println("Booting");   Serial.println("Booting");
  
-  iot.printConfig(); // print json config to serial //Peale Serial.begin ja enne iot.setup+  iot.printConfig(); // print json config to serial
   iot.setup();   iot.setup();
   pinMode(RELAY_PIN, OUTPUT);   pinMode(RELAY_PIN, OUTPUT);
Line 89: Line 89:
  
 ==== Support ==== ==== Support ====
-tomy@ittgroup.ee+info@ittgroup.ee
  
en/iot-open/remotelab/itt/relay.1572267675.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