26
SEND TARBALL; GET PIZZA BUILDING ARDUINO CODE IN THE CLOUD FOR THE INTERNET OF THINGS

Compiling Code for Arduino in the Cloud

Embed Size (px)

Citation preview

Page 1: Compiling Code for Arduino in the Cloud

SEND TARBALL; GET PIZZAB U I L D I N G A R D U I N O C O D E I N T H E C LO U D

F O R T H E I N T E R N E T O F T H I N G S

Page 3: Compiling Code for Arduino in the Cloud

twitch.tv/noopkat

Page 4: Compiling Code for Arduino in the Cloud
Page 5: Compiling Code for Arduino in the Cloud
Page 6: Compiling Code for Arduino in the Cloud
Page 7: Compiling Code for Arduino in the Cloud
Page 8: Compiling Code for Arduino in the Cloud
Page 9: Compiling Code for Arduino in the Cloud
Page 10: Compiling Code for Arduino in the Cloud
Page 11: Compiling Code for Arduino in the Cloud
Page 12: Compiling Code for Arduino in the Cloud

TWO TASKS1. Compile custom script for

their specific board

2. Flash it onto the board

Page 13: Compiling Code for Arduino in the Cloud

TOOLCHAINS

ARE A DRAG

Page 14: Compiling Code for Arduino in the Cloud

AN API WOULD BE NICE.

Page 15: Compiling Code for Arduino in the Cloud
Page 16: Compiling Code for Arduino in the Cloud
Page 17: Compiling Code for Arduino in the Cloud

AVR-PIZZA

Page 18: Compiling Code for Arduino in the Cloud

HEXDELIVERYSERVICE

Page 19: Compiling Code for Arduino in the Cloud
Page 20: Compiling Code for Arduino in the Cloud
Page 21: Compiling Code for Arduino in the Cloud

JSON

sketch.hex

sketch.ino

sketch.ino

sketch.tar.

gz

NodeJS REST API Server

Arduino Builderchild

process

Avr-pizza NodeJS

package

Azure VM aka “the cloud”

Laptop aka “local”

Page 22: Compiling Code for Arduino in the Cloud

NodeJS API Server (Hapi)

Arduino Builder

Nginx

Certbot

Avr-pizza NodeJS package

Azure VM

Local client / computer

API request / responseArduino sketch file

Page 23: Compiling Code for Arduino in the Cloud
Page 24: Compiling Code for Arduino in the Cloud

DEMO

Page 25: Compiling Code for Arduino in the Cloud

TO DO1. Document server setup2. Compile against builder

versions3. Addition of third party

boards

Page 26: Compiling Code for Arduino in the Cloud

THANKS