IoT, cursos i apunts
Contingut
Curs 1
Programació curs Jaume Nogués, juny 2017
Jaume Nogués. Curs Internet of Things (INS Rambla Prim) El curs no és d'electrònica ni d'introducció a Arduino, sinó que està orientat a que poguem desenvolupar de forma ràpida aplicacions d'Internet of Things per a mòbils. S'utilitza blynq per desenvolupar les aplicacions per a Android. vídeos de blynk la app d'android que és una canya: https://ksr-video.imgix.net/projects/657114/video-471034-h264_high.mp4 https://youtu.be/FhS44hGk1Lc La placa ESP8266 que utilitzo (a part de les Arduino): https://en.wikipedia.org/wiki/NodeMCU La compro aquí: http://www.ebay.es/itm/NodeMcu-Lua-ESP8266-ESP12E-CP2102-WiFi-Wireless-Development-Board-NEW-VERSION-/201838061951?hash=item2efe7c697f Les pcb's fetes per mi que faig servir a classe: http://vps249990.ovh.net/iot/content/public/upload/iot-nodemcu_1_o.png http://vps249990.ovh.net/iot/content/public/upload/img20170209160253_1_o.jpg http://vps249990.ovh.net/iot/content/public/upload/iot-eth_0_o.png Les webs que utilitzo amb els alumnes: http://vps249990.ovh.net/iot/ -> http://vps249990.ovh.net/grav2/ http://vps249990.ovh.net/nibble/index.php?controller=post&action=view&id_post=51 Prezis de presentació: https://prezi.com/zn1tnxkeixdt/iot-amb-arduino/ https://prezi.com/evhtqs4bx-hs/internet-of-things/
Curs 2
Programació curs Cicles Formatius, juny 2018 (Manresa)
0006020600 IoT (II) 2017-2018 Curs. Form. Prof. Cicles Formatius de Grau Mitjà i Superior Objectius El curs es planteja com una continuació del curs d'introducció al món d'IoT realitzat en el 2016-17. El curs cercaria l'ampliació de coneixements ja adquirits i també se centraria en aspectes de comunicacions entre objectes fent ús del protocol MQTT. Continguts Pendent d'acabar de concretar 1. ESP8266, ESP32 i Pycom 2. Introducció al protocol MQTT. 3. Instal•lació d'un broker (servidor) de MQTT. 4. Llibreria MQTT per arduino. Programació de dispositius. 5. Introducció a node-red. Instal•lació. 6. Interacció entre MQTT, node-red i dispositius. 7. Blynk com interfície d'app mitjançant node-red.
- http://vps249990.ovh.net/nibble/index.php?controller=blog&action=view&category=internet-of-things
- http://vps249990.ovh.net/grav2/
Protocol MQTT
MQTT is described on the mqtt.org site as a machine-to-machine (M2M) / IoT connectivity protocol. This protocol is so lightweight that it can be supported by some of the smallest measuring and monitoring devices, and it can transmit data over far reaching, sometimes intermittent networks. MQTT is a publish/subscribe messaging transport protocol that is optimized to connect physical world devices and events with enterprise servers and other consumers. MQTT is designed to overcome the challenges of connecting the rapidly expanding physical world of sensors, actuators, phones, and tablets with established software processing technologies. These principles also turn out to make this protocol ideal for the emerging M2M or IoT world of connected devices where bandwidth and battery power are at a premium. The following are the five things to know about MQTT protocol:
- MQTT publish subscribe architecture
- Ideal for constrained networks (low bandwidth, high latency, data limits, and fragile connections)
- Quality of Service (QoS) for MQTT
- MQTT client abnormal disconnect notification
- MQTT clients are very simple to implement
Curs 3. CurtinX: IOT1x Introduction to the Internet of Things (IoT)
Curs packettracer: Introduction to Packet Tracer 0318
joanqc@gmail.com / Jqc********
Curs 4. 0004990600 Internet de les coses (IoT) (juny 2018)
Curs 4. 0004990600 Internet de les coses (IoT)
25/6/2018 - 29/6/2018 (32 hores) de 9:00h a 14:00h INS Rambla Prim C. Cristòbal de Moura, 223 (Barcelona)
Continguts * Plaques amb microcontroladors - Arduino Nano - ESP8266 - ESP32 - Preparació de les eines de programació * Sensors i actuadors - Traductors bidireccionals dels nivells de senyal - Sensors digitals d'entrada (teclats, tractament dels rebots) - Actuadors (relés, motors de contínua, servomotors, motors pas a pas) - BME280 (sensor de temperatura, humitat, pressió i altímetre) - Pantalles LCD - Pantalles OLED * Protocols de comunicació entre els microcontroladors i els sensors i actuadors - UART - I2C (TWI) - SPI - One Wire Interface * Sistemes operatius a Internet de les Coses - Basats en Linux (Raspbian) - Mongoose OS * Comunicació entre dispositius - Port sèrie - RS485 - Bluetooth - Ethernet (per cable i sense fils) - Freqüències de ràdio lliures (SX1276 - xip LoRa) * Transport de les dades - ModBus RTU - UDP - TCP (telnet, HTTP, MQTT, ModBus TCP) - LPWAN (SigFox, LoRaMAC, LoRaWAN) - Seguretat (encriptació AES) * Visualització i control - Node-Red - TheThingsNetwork - IFTTT - Serveis al núvol (AWS, plot.ly, thingspeak) - Scada Indusoft - Pantalles Nextion - PyQt
Curs 5. ITC - Introducció IoT - Juny 19 (CISCO Net Academy)
(Curs introductori i genèric)
Pràctiques Akirasan
- Instalación de Node-RED en Raspi3: http://akirasan.net/instalacion-node-red-raspberrypi/
- Preparando Arduino IDE para ESP32+LoRa: http://akirasan.net/preparando-arduino-ide-para-esp32-lora/
- MiniGateway LoRa monocanal con ESP32: http://akirasan.net/minigateway-lora-monocanal-con-esp32/
- Nodo LoRaWAN con ESP32: http://akirasan.net/nodo-lorawan-con-esp32/
Referències: tutorials i podcasts
programarfacil.com. Tutorial i podcast NodeMCU:
LHM149 (podcast):
Paraules clau
- Arduino MKR1000: is a powerful board that combines the functionality of the Zero and the Wi-Fi Shield. It is the ideal solution for makers wanting to design IoT projects with minimal previous experience in networking.
- MQTT: protocol per fer connectivitat IoT
- ESP32 vs ESP8266: el ESP32 té moltes millores respecte el ESB8266: http://technostuff.blogspot.com.es/2017/10/specifications-esp8266-esp32-mcu-xtensa.html
- NodeMCU