IoT with AWSIoT and MongooseOS

Matias Bastos

## Microcontrollers - Is a full computer in a chip. ![Microcontroller](Microcontroller-Block-Diagram.jpg "uC")
## Atmel AVR 8 Bit: ATMega 328 Arduino ![Arduino](81A621O1eoL._SX466_.png "Arduino") - CPU type 8-bit AVR - Performance 20 MIPS at 20 MHz - Flash memory 32 kB - SRAM 2 kB - EEPROM 1 kB - Maximum I/O pins 23 - €12,19 (original)
## Espressif ESP8266 - Low power and wifi microcontroller ![ESP8266](ESP8266-functional-block-diagram-peripherals.png "ESP8266") - 32-bit @ 160MHZ Tensilica Processor - 32 KiB instruction, 80 KiB user data - Flash QSPI - 512 KB a 4 MB - 802.11 b/g/n Wi-Fi - 12 IO pins: SDIO 2.0, (H) SPI, UART, I2C, I2S, IRDA, PWM, GPIO - €1.70
## Espressif ESP32 - Hight performance with dual core wifi and bluetooth ![ESP32](FeaturesESP32.jpeg "ESP32") - CPU: Xtensa dual-core 32-bit LX6 microprocessor, operating at 160 or 240 MHz - Memory: 520 KiB SRAM, Flash 16MB - Wi-Fi: 802.11 b/g/n and Bluetooth: v4.2 BR/EDR and BLE - 12-bit SAR ADC up to 18 channels - 2 × 8-bit DACs - Flash encryption and cryptographic hardware acceleration: AES, SHA-2, RSA, ECC, RNG - €3.60
## Microcontroller OS - Arduino Framework - FreeRTOS - MongooseOS
## MongooseOS ![img](arch1.png) - Simple setup, flashing and IDE - mJS and C++ - TCP, UDP, HTTP, Websocket, MQTT, CoAP, DNS, mDNS, SNTP, both client and server - RDP over UART, HTTP, Websocket, MQTT transports - Native AWS IoT integration and Google IoT Core integration - Over-the-air (OTA) updates - Remote device management
## Demo time! - Blink - RPC - Dashboard
## Cloud Infraestructure - RestAPI - WebSockets - MQTT (Message Queue Telemetry Transport) - AWS IoT Core
## AWS IoT ![img](AWS_IoT23._CB520207442_.png)
## Demo time! - Mongoose+AWS setup - RedButton - Rules Engine

Questions?

iotmeme