2016-07-19 - how to build 1000 of something - wearables techcon - jen.run · •easy to deploy...

47
@MimmingCodes Jen Tong Developer Advocate IoT Validation Making 1,000 of something

Upload: others

Post on 05-Jun-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 2016-07-19 - how to build 1000 of something - wearables techcon - jen.run · •Easy to deploy •Can run on a battery Wants @MimmingCodes MCU - ESP8266 Credit: SparkFun @MimmingCodes

@MimmingCodes

Jen Tong Developer Advocate

IoT Validation Making 1,000 of something

Page 2: 2016-07-19 - how to build 1000 of something - wearables techcon - jen.run · •Easy to deploy •Can run on a battery Wants @MimmingCodes MCU - ESP8266 Credit: SparkFun @MimmingCodes

@MimmingCodes

Jen Tong Developer Advocate Google Cloud Platform

@MimmingCodes mimming.com

Page 3: 2016-07-19 - how to build 1000 of something - wearables techcon - jen.run · •Easy to deploy •Can run on a battery Wants @MimmingCodes MCU - ESP8266 Credit: SparkFun @MimmingCodes

@MimmingCodes

Who are you?

Page 4: 2016-07-19 - how to build 1000 of something - wearables techcon - jen.run · •Easy to deploy •Can run on a battery Wants @MimmingCodes MCU - ESP8266 Credit: SparkFun @MimmingCodes

@MimmingCodes

•are electrical engineers? • think Arduino is neat? •have never made a PCB before? • identify as web or app developers?

How many of you…

Page 5: 2016-07-19 - how to build 1000 of something - wearables techcon - jen.run · •Easy to deploy •Can run on a battery Wants @MimmingCodes MCU - ESP8266 Credit: SparkFun @MimmingCodes

@MimmingCodes

•A story •Hardware Recipe •Cloud stuff •Demo

Agenda

Page 6: 2016-07-19 - how to build 1000 of something - wearables techcon - jen.run · •Easy to deploy •Can run on a battery Wants @MimmingCodes MCU - ESP8266 Credit: SparkFun @MimmingCodes

@MimmingCodes

A Story

Page 7: 2016-07-19 - how to build 1000 of something - wearables techcon - jen.run · •Easy to deploy •Can run on a battery Wants @MimmingCodes MCU - ESP8266 Credit: SparkFun @MimmingCodes

@MimmingCodes

The first webcam

Page 8: 2016-07-19 - how to build 1000 of something - wearables techcon - jen.run · •Easy to deploy •Can run on a battery Wants @MimmingCodes MCU - ESP8266 Credit: SparkFun @MimmingCodes

@MimmingCodes

How it works

Page 9: 2016-07-19 - how to build 1000 of something - wearables techcon - jen.run · •Easy to deploy •Can run on a battery Wants @MimmingCodes MCU - ESP8266 Credit: SparkFun @MimmingCodes

@MimmingCodes

How it works in emoji

Page 10: 2016-07-19 - how to build 1000 of something - wearables techcon - jen.run · •Easy to deploy •Can run on a battery Wants @MimmingCodes MCU - ESP8266 Credit: SparkFun @MimmingCodes

@MimmingCodes

How it works in emoji

Page 11: 2016-07-19 - how to build 1000 of something - wearables techcon - jen.run · •Easy to deploy •Can run on a battery Wants @MimmingCodes MCU - ESP8266 Credit: SparkFun @MimmingCodes

@MimmingCodes

How it works

"#

in emoji

Page 12: 2016-07-19 - how to build 1000 of something - wearables techcon - jen.run · •Easy to deploy •Can run on a battery Wants @MimmingCodes MCU - ESP8266 Credit: SparkFun @MimmingCodes

@MimmingCodes

How it works

"# ☁$$$$%

in emoji

Page 13: 2016-07-19 - how to build 1000 of something - wearables techcon - jen.run · •Easy to deploy •Can run on a battery Wants @MimmingCodes MCU - ESP8266 Credit: SparkFun @MimmingCodes

@MimmingCodes

How it works

"# ☁$$$$% '

in emoji

Page 14: 2016-07-19 - how to build 1000 of something - wearables techcon - jen.run · •Easy to deploy •Can run on a battery Wants @MimmingCodes MCU - ESP8266 Credit: SparkFun @MimmingCodes

@MimmingCodes

How it works

"# ☁$$$$% '

✉☕

in emoji

Page 15: 2016-07-19 - how to build 1000 of something - wearables techcon - jen.run · •Easy to deploy •Can run on a battery Wants @MimmingCodes MCU - ESP8266 Credit: SparkFun @MimmingCodes

@MimmingCodes

How it works

"# ☁$$$$% '

)☕ ✉☕

in emoji

Page 16: 2016-07-19 - how to build 1000 of something - wearables techcon - jen.run · •Easy to deploy •Can run on a battery Wants @MimmingCodes MCU - ESP8266 Credit: SparkFun @MimmingCodes

@googlecloudGoogle Cloud Platformphoto credit - taniwha on flickr

Page 17: 2016-07-19 - how to build 1000 of something - wearables techcon - jen.run · •Easy to deploy •Can run on a battery Wants @MimmingCodes MCU - ESP8266 Credit: SparkFun @MimmingCodes

@googlecloudGoogle Cloud Platform photo credit - wemake_cc on flickr

Page 18: 2016-07-19 - how to build 1000 of something - wearables techcon - jen.run · •Easy to deploy •Can run on a battery Wants @MimmingCodes MCU - ESP8266 Credit: SparkFun @MimmingCodes

@MimmingCodes

A prototype

Page 19: 2016-07-19 - how to build 1000 of something - wearables techcon - jen.run · •Easy to deploy •Can run on a battery Wants @MimmingCodes MCU - ESP8266 Credit: SparkFun @MimmingCodes

@MimmingCodes

•Each ☕ sends a $ every 6 seconds • 1000 ☕ send ~15,000,000 $ per day

•Microwave ovens hurt wifi • Intermittent connectivity

•Offices already have coffee pots • Accommodate existing infrastructure

Pain points

Page 20: 2016-07-19 - how to build 1000 of something - wearables techcon - jen.run · •Easy to deploy •Can run on a battery Wants @MimmingCodes MCU - ESP8266 Credit: SparkFun @MimmingCodes

@MimmingCodes

"#

Page 21: 2016-07-19 - how to build 1000 of something - wearables techcon - jen.run · •Easy to deploy •Can run on a battery Wants @MimmingCodes MCU - ESP8266 Credit: SparkFun @MimmingCodes

@MimmingCodes

"#☁'

Page 22: 2016-07-19 - how to build 1000 of something - wearables techcon - jen.run · •Easy to deploy •Can run on a battery Wants @MimmingCodes MCU - ESP8266 Credit: SparkFun @MimmingCodes

@MimmingCodes

Hardware Recipe

"#

Page 23: 2016-07-19 - how to build 1000 of something - wearables techcon - jen.run · •Easy to deploy •Can run on a battery Wants @MimmingCodes MCU - ESP8266 Credit: SparkFun @MimmingCodes

@MimmingCodes

•Low cost: under $10 per device •Maintain velocity • Easy to develop • Easy to deploy

•Can run on a battery

Wants

Page 24: 2016-07-19 - how to build 1000 of something - wearables techcon - jen.run · •Easy to deploy •Can run on a battery Wants @MimmingCodes MCU - ESP8266 Credit: SparkFun @MimmingCodes

@MimmingCodes

MCU - ESP8266

Credit: SparkFun

Page 25: 2016-07-19 - how to build 1000 of something - wearables techcon - jen.run · •Easy to deploy •Can run on a battery Wants @MimmingCodes MCU - ESP8266 Credit: SparkFun @MimmingCodes

@MimmingCodes

ESP8266 - The numbers

•32-bit RISC CPU running at 80 MHz •64 KiB of instruction RAM, 96 KiB of data RAM •802.11 b/g/n Wi-Fi •16 GPIO pins •SPI, I²C, I²S interfaces with DMA •1 10-bit ADC

Page 26: 2016-07-19 - how to build 1000 of something - wearables techcon - jen.run · •Easy to deploy •Can run on a battery Wants @MimmingCodes MCU - ESP8266 Credit: SparkFun @MimmingCodes

@MimmingCodes

Module - ESP-12E

Credit: autopilot on Wikipedia

Page 27: 2016-07-19 - how to build 1000 of something - wearables techcon - jen.run · •Easy to deploy •Can run on a battery Wants @MimmingCodes MCU - ESP8266 Credit: SparkFun @MimmingCodes

@MimmingCodes

Dev board - NodeMCU

Credit: Vowstar on Wikipedia

Page 28: 2016-07-19 - how to build 1000 of something - wearables techcon - jen.run · •Easy to deploy •Can run on a battery Wants @MimmingCodes MCU - ESP8266 Credit: SparkFun @MimmingCodes

@MimmingCodes

Dev board - Adafruit Huzzah Feather

Credit: Adafruit

Page 29: 2016-07-19 - how to build 1000 of something - wearables techcon - jen.run · •Easy to deploy •Can run on a battery Wants @MimmingCodes MCU - ESP8266 Credit: SparkFun @MimmingCodes

@MimmingCodes

Toolchain

Page 30: 2016-07-19 - how to build 1000 of something - wearables techcon - jen.run · •Easy to deploy •Can run on a battery Wants @MimmingCodes MCU - ESP8266 Credit: SparkFun @MimmingCodes

@MimmingCodes

•Great community •Helps us focus on the Internet part and less on the device firmware

•Keep it simple, silly

Why Arduino?

Page 31: 2016-07-19 - how to build 1000 of something - wearables techcon - jen.run · •Easy to deploy •Can run on a battery Wants @MimmingCodes MCU - ESP8266 Credit: SparkFun @MimmingCodes

@MimmingCodes

Going into (low scale) production

•Printed circuit board •A way to program a bunch

Page 32: 2016-07-19 - how to build 1000 of something - wearables techcon - jen.run · •Easy to deploy •Can run on a battery Wants @MimmingCodes MCU - ESP8266 Credit: SparkFun @MimmingCodes

@MimmingCodes

PCB - EAGLE CAD

Page 33: 2016-07-19 - how to build 1000 of something - wearables techcon - jen.run · •Easy to deploy •Can run on a battery Wants @MimmingCodes MCU - ESP8266 Credit: SparkFun @MimmingCodes

@MimmingCodes

PCB - EAGLE CAD

•Get it • https://cadsoft.io

•Learn it • Jeremy Blum’s series - https://www.youtube.com/watch?v=1AXwjZoyNno

Page 34: 2016-07-19 - how to build 1000 of something - wearables techcon - jen.run · •Easy to deploy •Can run on a battery Wants @MimmingCodes MCU - ESP8266 Credit: SparkFun @MimmingCodes

@MimmingCodes

PCB - OSH Park

Page 35: 2016-07-19 - how to build 1000 of something - wearables techcon - jen.run · •Easy to deploy •Can run on a battery Wants @MimmingCodes MCU - ESP8266 Credit: SparkFun @MimmingCodes

@MimmingCodes

Pogo Programmer

Page 36: 2016-07-19 - how to build 1000 of something - wearables techcon - jen.run · •Easy to deploy •Can run on a battery Wants @MimmingCodes MCU - ESP8266 Credit: SparkFun @MimmingCodes

@MimmingCodes

Pogo Programmer

http://johan.kanflo.com/a-versatile-esp8266-development-board/Credit: Johan Kanflo

Page 37: 2016-07-19 - how to build 1000 of something - wearables techcon - jen.run · •Easy to deploy •Can run on a battery Wants @MimmingCodes MCU - ESP8266 Credit: SparkFun @MimmingCodes

@MimmingCodes

Hardware

"#

Page 38: 2016-07-19 - how to build 1000 of something - wearables techcon - jen.run · •Easy to deploy •Can run on a battery Wants @MimmingCodes MCU - ESP8266 Credit: SparkFun @MimmingCodes

@MimmingCodes

Cloud Stuff ☁'

Page 39: 2016-07-19 - how to build 1000 of something - wearables techcon - jen.run · •Easy to deploy •Can run on a battery Wants @MimmingCodes MCU - ESP8266 Credit: SparkFun @MimmingCodes
Page 40: 2016-07-19 - how to build 1000 of something - wearables techcon - jen.run · •Easy to deploy •Can run on a battery Wants @MimmingCodes MCU - ESP8266 Credit: SparkFun @MimmingCodes

@MimmingCodes

HTCPCP?

Page 41: 2016-07-19 - how to build 1000 of something - wearables techcon - jen.run · •Easy to deploy •Can run on a battery Wants @MimmingCodes MCU - ESP8266 Credit: SparkFun @MimmingCodes

@MimmingCodes

Recipe

Page 42: 2016-07-19 - how to build 1000 of something - wearables techcon - jen.run · •Easy to deploy •Can run on a battery Wants @MimmingCodes MCU - ESP8266 Credit: SparkFun @MimmingCodes

@MimmingCodes

Recipe

Page 43: 2016-07-19 - how to build 1000 of something - wearables techcon - jen.run · •Easy to deploy •Can run on a battery Wants @MimmingCodes MCU - ESP8266 Credit: SparkFun @MimmingCodes

@MimmingCodes

Recipe

Page 44: 2016-07-19 - how to build 1000 of something - wearables techcon - jen.run · •Easy to deploy •Can run on a battery Wants @MimmingCodes MCU - ESP8266 Credit: SparkFun @MimmingCodes

@MimmingCodes

Conclusion

Page 45: 2016-07-19 - how to build 1000 of something - wearables techcon - jen.run · •Easy to deploy •Can run on a battery Wants @MimmingCodes MCU - ESP8266 Credit: SparkFun @MimmingCodes

@MimmingCodes

•Coffee is awesome •The ESP8266 is a great deal

Conclusion

Page 46: 2016-07-19 - how to build 1000 of something - wearables techcon - jen.run · •Easy to deploy •Can run on a battery Wants @MimmingCodes MCU - ESP8266 Credit: SparkFun @MimmingCodes

@MimmingCodes

Thank You!@MimmingCodes

Slides: mimming.com/presos/iot-validation/ Free trial: cloud.google.com/free-trial

Page 47: 2016-07-19 - how to build 1000 of something - wearables techcon - jen.run · •Easy to deploy •Can run on a battery Wants @MimmingCodes MCU - ESP8266 Credit: SparkFun @MimmingCodes