Top Banner
ESP8266 iOT & HW hacking John Turner @wifijt Adaptive Communications [email protected] Formerly Brandeis University Aruba Networks Tactical discussion NOT strategic!
23

ESP8266 iOT & HW hacking · ESP8266 V1 Programmable Microcontroller WiFi SOC Designed by Espressif Tensilica Xtensa LX3 processor Targeted at iOT Complete development package Built

May 24, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: ESP8266 iOT & HW hacking · ESP8266 V1 Programmable Microcontroller WiFi SOC Designed by Espressif Tensilica Xtensa LX3 processor Targeted at iOT Complete development package Built

ESP8266

iOT & HW hacking

John Turner @wifijt

Adaptive Communications

[email protected] Formerly

Brandeis University

Aruba Networks

Tactical discussion NOT strategic!

Page 2: ESP8266 iOT & HW hacking · ESP8266 V1 Programmable Microcontroller WiFi SOC Designed by Espressif Tensilica Xtensa LX3 processor Targeted at iOT Complete development package Built

Programmable Microcontroller

Page 3: ESP8266 iOT & HW hacking · ESP8266 V1 Programmable Microcontroller WiFi SOC Designed by Espressif Tensilica Xtensa LX3 processor Targeted at iOT Complete development package Built

+ +

= Analog coolness

Page 4: ESP8266 iOT & HW hacking · ESP8266 V1 Programmable Microcontroller WiFi SOC Designed by Espressif Tensilica Xtensa LX3 processor Targeted at iOT Complete development package Built
Page 5: ESP8266 iOT & HW hacking · ESP8266 V1 Programmable Microcontroller WiFi SOC Designed by Espressif Tensilica Xtensa LX3 processor Targeted at iOT Complete development package Built
Page 6: ESP8266 iOT & HW hacking · ESP8266 V1 Programmable Microcontroller WiFi SOC Designed by Espressif Tensilica Xtensa LX3 processor Targeted at iOT Complete development package Built
Page 7: ESP8266 iOT & HW hacking · ESP8266 V1 Programmable Microcontroller WiFi SOC Designed by Espressif Tensilica Xtensa LX3 processor Targeted at iOT Complete development package Built
Page 8: ESP8266 iOT & HW hacking · ESP8266 V1 Programmable Microcontroller WiFi SOC Designed by Espressif Tensilica Xtensa LX3 processor Targeted at iOT Complete development package Built
Page 9: ESP8266 iOT & HW hacking · ESP8266 V1 Programmable Microcontroller WiFi SOC Designed by Espressif Tensilica Xtensa LX3 processor Targeted at iOT Complete development package Built
Page 10: ESP8266 iOT & HW hacking · ESP8266 V1 Programmable Microcontroller WiFi SOC Designed by Espressif Tensilica Xtensa LX3 processor Targeted at iOT Complete development package Built
Page 11: ESP8266 iOT & HW hacking · ESP8266 V1 Programmable Microcontroller WiFi SOC Designed by Espressif Tensilica Xtensa LX3 processor Targeted at iOT Complete development package Built

ESP8266 V1 Programmable Microcontroller

WiFi SOC

Designed by Espressif

Tensilica Xtensa LX3 processor

Targeted at iOT

Complete development

package

Built in Serial for Debugging

Apply power, Flash, Go

$1.25!!

What a Bargain!!

Page 12: ESP8266 iOT & HW hacking · ESP8266 V1 Programmable Microcontroller WiFi SOC Designed by Espressif Tensilica Xtensa LX3 processor Targeted at iOT Complete development package Built
Page 13: ESP8266 iOT & HW hacking · ESP8266 V1 Programmable Microcontroller WiFi SOC Designed by Espressif Tensilica Xtensa LX3 processor Targeted at iOT Complete development package Built
Page 14: ESP8266 iOT & HW hacking · ESP8266 V1 Programmable Microcontroller WiFi SOC Designed by Espressif Tensilica Xtensa LX3 processor Targeted at iOT Complete development package Built
Page 15: ESP8266 iOT & HW hacking · ESP8266 V1 Programmable Microcontroller WiFi SOC Designed by Espressif Tensilica Xtensa LX3 processor Targeted at iOT Complete development package Built
Page 16: ESP8266 iOT & HW hacking · ESP8266 V1 Programmable Microcontroller WiFi SOC Designed by Espressif Tensilica Xtensa LX3 processor Targeted at iOT Complete development package Built
Page 17: ESP8266 iOT & HW hacking · ESP8266 V1 Programmable Microcontroller WiFi SOC Designed by Espressif Tensilica Xtensa LX3 processor Targeted at iOT Complete development package Built
Page 18: ESP8266 iOT & HW hacking · ESP8266 V1 Programmable Microcontroller WiFi SOC Designed by Espressif Tensilica Xtensa LX3 processor Targeted at iOT Complete development package Built

Out of the box it accepts AT commands • Join a network

• Create a network

• Dual mode!

• Mesh mode – with auto join and an easy

messaging function

• Open TCP/UDP connections

• Onboard webserver

• Even a built in EZ config mode!

• Set MAC addr. to whatever you want

• Sadly no 802.1x yet

Arduino libraries automate all of this!

Page 19: ESP8266 iOT & HW hacking · ESP8266 V1 Programmable Microcontroller WiFi SOC Designed by Espressif Tensilica Xtensa LX3 processor Targeted at iOT Complete development package Built
Page 20: ESP8266 iOT & HW hacking · ESP8266 V1 Programmable Microcontroller WiFi SOC Designed by Espressif Tensilica Xtensa LX3 processor Targeted at iOT Complete development package Built

- 19µA standby current - that makes 166mAh/year

- Waking it every hour for 300ms at 15mA makes

12mAh/pear

- Sending an email lasts about 40s at 67mA - this

results in 0.75mAh per mail

- Total draw is ~ 220mAh/year.

Low Power Mode

Typical AAA Alkaline has about 1000mAh

CR235 Coin Cell has about 190mAh

Page 21: ESP8266 iOT & HW hacking · ESP8266 V1 Programmable Microcontroller WiFi SOC Designed by Espressif Tensilica Xtensa LX3 processor Targeted at iOT Complete development package Built

iOT devices! – lights, toasters, refrigerators, lawn mowers, watering systems, games! At

prices this low why not put one on your dog!

Testing rigs – how many devices do you bring with you to test a network?

WiFi Pizza with 500 Clients in a box – how well does that new controller code really work?

RF modeling – put one in every room – in every corner and use the RF as a client

modeling tool – leave them behind after your survey!

EVIL THINGS – throwable DOS device – code is out there for this – I’ve tested it!

How will you plan for the growth of IOT?

What tools do we need to manage this type of growth?

Ideas to do with the ESP8266

Page 22: ESP8266 iOT & HW hacking · ESP8266 V1 Programmable Microcontroller WiFi SOC Designed by Espressif Tensilica Xtensa LX3 processor Targeted at iOT Complete development package Built

#WLPC 2017 Badges!

Ideas to do with the ESP8266

Page 23: ESP8266 iOT & HW hacking · ESP8266 V1 Programmable Microcontroller WiFi SOC Designed by Espressif Tensilica Xtensa LX3 processor Targeted at iOT Complete development package Built

I