esp8266 iot & hw hacking · esp8266 v1 programmable microcontroller wifi soc designed by...

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

Upload: others

Post on 24-May-2020

53 views

Category:

Documents


1 download

TRANSCRIPT

ESP8266

iOT & HW hacking

John Turner @wifijt

Adaptive Communications

[email protected] Formerly

Brandeis University

Aruba Networks

Tactical discussion NOT strategic!

Programmable Microcontroller

+ +

= Analog coolness

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!!

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!

- 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

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

#WLPC 2017 Badges!

Ideas to do with the ESP8266

I