Diferència entre revisions de la pàgina «Introducció a Internet de les Coses - juny 2018»

De Wiki d'en Jordi Binefa
Dreceres ràpides: navegació, cerca
(Controladors)
(Instal·lació de tot el programari)
Línia 46: Línia 46:
  
 
[https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html Download PuTTY]
 
[https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html Download PuTTY]
 +
 +
[https://github.com/jordibinefa/ms-drivers-and-tools Arxiu putty.exe des de https://github.com/jordibinefa/]
  
 
== git ==
 
== git ==

Revisió del 08:05, 13 juny 2018

En construcció / Under construction

Programa del curset d'introducció a Internet de les Coses - juny 2018

Contingut

Instal·lació de tot el programari

Controladors

CH340

Guia d'instal·lació en pdf (document de makeit.cat)

Arxiu comprimit del controlador CH341SER.zip

Arxiu CH341SER.zip des de https://github.com/jordibinefa/

FT232

Controlador per a Windows de l'FT232

Arxiu ft232.zip des de https://github.com/jordibinefa/

IDE d'Arduino 1.8.5

Descàrrega de l'Arduino IDE per a instal·lar-ho a l'escriptori

Prova de l'Arduino Nano

Afegint més microcontroladors (targetes) a l'Arduino IDE

Installing additional cores -Arduino official documentation-

Afegint targeta ESP8266

Prova witty (NodeMCU1.0)

Afegint targeta ESP32

Prova TTGO (DOIT ESP32 DEVKIT V1)

Afegint targeta Arduino MKR WAN 1300

Guia completa de l'Arduino MKR WAN 1300 d'en Xose Pérez

Getting Started with the Arduino MKR WAN 1300 -Arduino official documentation-

Guia de l'Arduino MKR WAN 1300 d'en Gonzalo Casas

How to send and receive data with the MKR WAN 1300 LoRa module -Arduino official documentation-

MKRWAN library -Arduino official documentation-

putty / gtkterm

El gtkterm és als dipòsits de Debian i Ubuntu. Recordeu d'afegir el vostre usuari al grup dialout

Download PuTTY

Arxiu putty.exe des de https://github.com/jordibinefa/

git

git download for Windows

Filezilla / Nautilus

FileZilla Client sftp://

Nextion Editor

Descàrrega de l'editor de les pantalles tàctils Nextion

Indusoft

Gestió de les llicències d'ús acadèmic

Presa de contacte amb el maquinari

Placa Arduino Nano (vermella. MakeIt)

Placa witty ESP8266

Placa IoT (blanca. ttn.cat)

Placa ESP32 (TTGO)

Raspberry Pi

Test amb el NodeRED

Distribució dels pins del GPIO

WiringPi is a PIN based GPIO access library written in C for the BCM2835, BCM2836 and BCM2837 SoC devices used in all Raspberry Pi

An unofficial Python port of Gordon's WiringPi library

Segnix is an open-source interface library for hardware manipulation based on Linux platform and compatible with Arduino API. You can develop with it by using C/C++ and Python.

GPIO pin naming at Segnix API

Perifèrics sense bus de comunicació

Convertidors bidireccionals (3,3V <-> 5V). Font d'alimentació de 5V a 3,3V

Botons. Concepte de pull-up

Microrruptors

Relés Reed

Relés de bobina

Detecció per infrarojos

Detectors de seguidors de línies

PIR

Potenciòmetres

Encoders

Sensors tàctils

Pont en H. Motors

Servomotors

Sensor ultrasònic

Perifèrics amb bus de comunicació

One Wire Interface

DS28B20

Exemple en micropython de comunicació MQTT amb un ESP32 i el sensor DS18B20 (One Wire Interface)

SPI

Sensor de temperatura, humitat i altímetre. BME280

Ethernet. ENC28J60

RFID

I2C

Expansor d'entrades/sortides PCF8574

Sensor de temperatura, humitat i altímetre. BME280

Pantalla OLED

U8g2. Monochrome graphics library for embedded devices

UART

Software Serial

HMISerial

Bluetooth

Comunicacions industrials amb port sèrie i ModBus RTU. Introducció a Indusoft

Ús d'Indusoft

Comunicacions amb xarxa Ethernet. Introducció al NodeRED

Ús del NodeRED

Comunicació UDP

Comunicació ModBus TCP

Serveis extra del NodeRED

Instal·lació de nous nodes

Correu electrònic

Open Weather

Panell de control (dashboard)

OPC-UA

Instal·lació a la Raspberry Pi i control des d'Indusoft

Protocols específics d'Internet de les Coses

MQTT

Mosquitto local a l'ordinador

Mosquitto local a la Raspberry Pi

Brokers remots

Ús al NodeRED

Ús a Indusoft

Ús a Android (MQTTDash)

Exemples

Exemple en micropython de comunicació MQTT amb un ESP32 i el sensor BME280 (I2C)

Exemple en micropython de comunicació MQTT amb un ESP32 i el sensor DS18B20 (One Wire Interface)

CoAP

LoRaWAN

Introducció. Bones pràctiques

LoRa vs LoRaWAN Uplink Downlink

The Things Network

Termòstat

NodeRED. Nodes TTN i ús amb MQTT

Comunicació remota amb Raspberry Pi

SSH

screen

Accés sense contrasenya

Túnel invers

Raspberry Pi com a punt d'accés

HMI de baix cost. Pantalla tàctil Nextion

Nextion Instruction Set

Biblioteca modificada de Nextion per a IDE d'Arduino(NexConfig.h)

Biblioteca original de Nextion per a Arduino

Visualització

Ginys d'entrada

Pantalla Nextion connectada a la Raspberry Pi

How to use Nextion to work with Raspberry Pi?

Raspberry Pi 3 add-on supplementary document v1.0

A Python library for Nextion smart display management

Alternatives al C de l'Arduino IDE

LUA

MicroPython

MicroPython port to ESP8266

MicroPython port to the ESP32

Get on the Good Foot with MicroPython on the ESP32

Exemple en micropython de comunicació MQTT amb un ESP32 i el sensor BME280

Mongoose OS

Visualització al núvol

Plotly

Displaying realtime data on web using plot.ly on S4A PLB

ESP8266’s Witty sending data to plot.ly

ThinkSpeak

Displaying ESP8266’s LDR level on web using ThingSpeak

IoTgo

Guia d'ús d'IoTgo


Grafana?