The Cuddly Throwable Application Server

A presentation at QCon London in March 2015 in London, UK by Holly Cummins

Slide 1

Slide 1

Arduinos, Application Servers, and me Holly Cummins @holly_cummins

Slide 2

Slide 2

ibm.biz/bluemixgaragelondon @holly_cummins

Slide 3

Slide 3

? ibm.biz/bluemixgaragelondon @holly_cummins

Slide 4

Slide 4

ibm.biz/bluemixgaragelondon @holly_cummins

Slide 5

Slide 5

ibm.biz/bluemixgaragelondon @holly_cummins

Slide 6

Slide 6

ibm.biz/bluemixgaragelondon @holly_cummins

Slide 7

Slide 7

ibm.biz/bluemixgaragelondon @holly_cummins

Slide 8

Slide 8

ibm.biz/bluemixgaragelondon @holly_cummins

Slide 9

Slide 9

http://ibm.biz/bluemixgaragelondon ibm.biz/bluemixgaragelondon @holly_cummins

Slide 10

Slide 10

http://ibm.biz/bluemixgaragelondon ibm.biz/bluemixgaragelondon @holly_cummins

Slide 11

Slide 11

http://ibm.biz/bluemixgaragelondon ibm.biz/bluemixgaragelondon @holly_cummins

Slide 12

Slide 12

“I think there is a world market for maybe five computers.”

— Thomas Watson, chairman of IBM 1943 ibm.biz/bluemixgaragelondon @holly_cummins

Slide 13

Slide 13

Then: HARDware ibm.biz/bluemixgaragelondon @holly_cummins

Slide 14

Slide 14

Now: Everyware ibm.biz/bluemixgaragelondon @holly_cummins

Slide 15

Slide 15

Next: Connected-ware ibm.biz/bluemixgaragelondon @holly_cummins

Slide 16

Slide 16

Why care about the Internet of Things? ibm.biz/bluemixgaragelondon @holly_cummins

Slide 17

Slide 17

Why care about the Internet of Things? This could really benefit my business ibm.biz/bluemixgaragelondon @holly_cummins

Slide 18

Slide 18

Why care about the Internet of Things? This could really benefit my business ibm.biz/bluemixgaragelondon This is so FUN and COOL and OOH I made it LIGHT UP!” @holly_cummins

Slide 19

Slide 19

Poll-time. ibm.biz/bluemixgaragelondon @holly_cummins

Slide 20

Slide 20

A bit of textile engineering. ibm.biz/bluemixgaragelondon @holly_cummins

Slide 21

Slide 21

A bit more textile engineering. ibm.biz/bluemixgaragelondon @holly_cummins

Slide 22

Slide 22

Ta-daa! ibm.biz/bluemixgaragelondon @holly_cummins

Slide 23

Slide 23

Ta-daa! Presenting: The WebSphere Sphere ibm.biz/bluemixgaragelondon @holly_cummins

Slide 24

Slide 24

Ta-daa! Presenting: The WebSphere Sphere (“the cuddly application server”) ibm.biz/bluemixgaragelondon @holly_cummins

Slide 25

Slide 25

Ta-daa! Presenting: The WebSphere Sphere cuddly application server”) server”) (“the (“the world’s first throwable application ibm.biz/bluemixgaragelondon @holly_cummins

Slide 26

Slide 26

“Holly, why would anyone want an application server in a cuddly ball?” –My Mother

Slide 27

Slide 27

ibm.biz/bluemixgaragelondon @holly_cummins

Slide 28

Slide 28

Throwable technology. Not so silly after all. ibm.biz/bluemixgaragelondon @holly_cummins

Slide 29

Slide 29

Remind you of anything? ibm.biz/bluemixgaragelondon @holly_cummins

Slide 30

Slide 30

Not really. It’s very lumpy, isn’t it? ibm.biz/bluemixgaragelondon @holly_cummins

Slide 31

Slide 31

Software faults can be corrected without re-typing the whole program. ibm.biz/bluemixgaragelondon @holly_cummins

Slide 32

Slide 32

Iterative development of physical things is hard. ibm.biz/bluemixgaragelondon @holly_cummins

Slide 33

Slide 33

It’s a computer case ibm.biz/bluemixgaragelondon @holly_cummins

Slide 34

Slide 34

Interfacing the ball to the computer LED sequins ibm.biz/bluemixgaragelondon @holly_cummins

Slide 35

Slide 35

Soft circuits ibm.biz/bluemixgaragelondon @holly_cummins

Slide 36

Slide 36

Soft circuits Conductive thread ibm.biz/bluemixgaragelondon @holly_cummins

Slide 37

Slide 37

Soft circuits Conductive thread £6.78 ibm.biz/bluemixgaragelondon @holly_cummins

Slide 38

Slide 38

Soft circuits Stainless steel Conductive thread £6.78 ibm.biz/bluemixgaragelondon @holly_cummins

Slide 39

Slide 39

Soft circuits Stainless steel Conductive thread £6.78 ibm.biz/bluemixgaragelondon Solderable @holly_cummins

Slide 40

Slide 40

Soft circuits Stainless steel Conductive thread £6.78 Solderable Sewable ibm.biz/bluemixgaragelondon @holly_cummins

Slide 41

Slide 41

Architecture Sensors embedded application server ibm.biz/bluemixgaragelondon @holly_cummins

Slide 42

Slide 42

The physical world useful stuff ibm.biz/bluemixgaragelondon @holly_cummins

Slide 43

Slide 43

The physical world useful stuff ibm.biz/bluemixgaragelondon @holly_cummins

Slide 44

Slide 44

The physical world useful stuff Short ibm.biz/bluemixgaragelondon @holly_cummins

Slide 45

Slide 45

The physical world useful stuff Short pcDuino ibm.biz/bluemixgaragelondon @holly_cummins

Slide 46

Slide 46

The physical world useful stuff Short pcDuino ibm.biz/bluemixgaragelondon @holly_cummins

Slide 47

Slide 47

The physical world useful stuff Short Maybe having your pins and your processor intimately connected isn’t such a great idea. pcDuino ibm.biz/bluemixgaragelondon @holly_cummins

Slide 48

Slide 48

The physical world useful stuff ibm.biz/bluemixgaragelondon @holly_cummins

Slide 49

Slide 49

The physical world useful stuff ibm.biz/bluemixgaragelondon @holly_cummins

Slide 50

Slide 50

The physical world useful stuff Loose connection ibm.biz/bluemixgaragelondon @holly_cummins

Slide 51

Slide 51

The physical world sealed unit useful stuff Loose connection ibm.biz/bluemixgaragelondon @holly_cummins

Slide 52

Slide 52

ibm.biz/bluemixgaragelondon @holly_cummins

Slide 53

Slide 53

“Loose” connection ibm.biz/bluemixgaragelondon @holly_cummins

Slide 54

Slide 54

Holly’s Catalogue of IoT misfortune Wires snapped. Many times. ibm.biz/bluemixgaragelondon @holly_cummins

Slide 55

Slide 55

Holly’s Catalogue of IoT misfortune pcDuino never displayed to any monitor. ibm.biz/bluemixgaragelondon @holly_cummins

Slide 56

Slide 56

Holly’s Catalogue of IoT misfortune Burned kitchen worktop with soldering iron. ibm.biz/bluemixgaragelondon @holly_cummins

Slide 57

Slide 57

Holly’s Catalogue of IoT misfortune Insufficient voltage from battery for lights. And sensors. ibm.biz/bluemixgaragelondon @holly_cummins

Slide 58

Slide 58

Holly’s Catalogue of IoT misfortune USB power connectors ripped from board. Twice. ibm.biz/bluemixgaragelondon @holly_cummins

Slide 59

Slide 59

Holly’s Catalogue of IoT misfortune Sensor started smoking, stopped working. Had to buy a new one. ibm.biz/bluemixgaragelondon @holly_cummins

Slide 60

Slide 60

Holly’s Catalogue of IoT misfortune pcDuino stopped working. Had to buy a new one :( ibm.biz/bluemixgaragelondon @holly_cummins

Slide 61

Slide 61

Holly’s Catalogue of IoT misfortune ibm.biz/bluemixgaragelondon @holly_cummins

Slide 62

Slide 62

Holly’s Catalogue of IoT misfortune Pin snapped. Remnants of pin in PCB hole. ibm.biz/bluemixgaragelondon @holly_cummins

Slide 63

Slide 63

ibm.biz/bluemixgaragelondon @holly_cummins

Slide 64

Slide 64

The physical world … useful stuff pcDuino ibm.biz/bluemixgaragelondon @holly_cummins

Slide 65

Slide 65

The physical world … bulky protective padding useful stuff pcDuino ibm.biz/bluemixgaragelondon @holly_cummins

Slide 66

Slide 66

The physical world … bulky protective padding useful stuff pcDuino … doesn’t fit in hand-luggage. ibm.biz/bluemixgaragelondon @holly_cummins

Slide 67

Slide 67

Holly’s Catalogue of IoT misfortune ibm.biz/bluemixgaragelondon @holly_cummins

Slide 68

Slide 68

Holly’s Catalogue of IoT misfortune ibm.biz/bluemixgaragelondon @holly_cummins

Slide 69

Slide 69

Let’s have a play http://pcduino.local ibm.biz/bluemixgaragelondon @holly_cummins

Slide 70

Slide 70

ibm.biz/bluemixgaragelondon @holly_cummins

Slide 71

Slide 71

Well, no. ibm.biz/bluemixgaragelondon @holly_cummins

Slide 72

Slide 72

Well, no. Let’s not. ibm.biz/bluemixgaragelondon @holly_cummins

Slide 73

Slide 73

Well, no. Let’s not. Because my lovely demo is probably in Amsterdam. ibm.biz/bluemixgaragelondon @holly_cummins

Slide 74

Slide 74

Well, no. Let’s not. Because my lovely demo is probably in Amsterdam. Or maybe Bucharest. ibm.biz/bluemixgaragelondon @holly_cummins

Slide 75

Slide 75

Well, no. Let’s not. Because my lovely demo is probably in Amsterdam. Or maybe Bucharest. Or Moscow? ibm.biz/bluemixgaragelondon @holly_cummins

Slide 76

Slide 76

Well, no. Let’s not. Because my lovely demo is probably in Amsterdam. Or maybe Bucharest. Or Moscow? (Am I ever going to get my nice pyjamas and running shoes back?) ibm.biz/bluemixgaragelondon @holly_cummins

Slide 77

Slide 77

ibm.biz/bluemixgaragelondon @holly_cummins

Slide 78

Slide 78

Let’s pretend? ibm.biz/bluemixgaragelondon @holly_cummins

Slide 79

Slide 79

Let’s pretend? ibm.biz/bluemixgaragelondon @holly_cummins

Slide 80

Slide 80

ibm.biz/bluemixgaragelondon @holly_cummins

Slide 81

Slide 81

ibm.biz/bluemixgaragelondon @holly_cummins

Slide 82

Slide 82

ibm.biz/bluemixgaragelondon @holly_cummins

Slide 83

Slide 83

http://www.commitstrip.com/en/2016/05/26/the-internet-of-things-a-revolution/

Slide 84

Slide 84

How does it work? ibm.biz/bluemixgaragelondon @holly_cummins

Slide 85

Slide 85

Introducing WebSphere Liberty Profile ibm.biz/bluemixgaragelondon @holly_cummins

Slide 86

Slide 86

Introducing WebSphere Liberty Profile Fast ibm.biz/bluemixgaragelondon @holly_cummins

Slide 87

Slide 87

Introducing WebSphere Liberty Profile Starts in under 5s Fast ibm.biz/bluemixgaragelondon @holly_cummins

Slide 88

Slide 88

WebSphere Liberty Profile ibm.biz/bluemixgaragelondon @holly_cummins

Slide 89

Slide 89

WebSphere Liberty Profile ibm.biz/bluemixgaragelondon @holly_cummins

Slide 90

Slide 90

WebSphere Liberty Profile Lightweight ibm.biz/bluemixgaragelondon @holly_cummins

Slide 91

Slide 91

WebSphere Liberty Profile Lightweight 50 MB download ibm.biz/bluemixgaragelondon @holly_cummins

Slide 92

Slide 92

WebSphere Liberty Profile ibm.biz/bluemixgaragelondon @holly_cummins

Slide 93

Slide 93

WebSphere Liberty Profile ibm.biz/bluemixgaragelondon @holly_cummins

Slide 94

Slide 94

WebSphere Liberty Profile Modular ibm.biz/bluemixgaragelondon @holly_cummins

Slide 95

Slide 95

WebSphere Liberty Profile Modular Use only what you need ibm.biz/bluemixgaragelondon @holly_cummins

Slide 96

Slide 96

WebSphere Liberty Profile ibm.biz/bluemixgaragelondon @holly_cummins

Slide 97

Slide 97

WebSphere Liberty Profile ibm.biz/bluemixgaragelondon @holly_cummins

Slide 98

Slide 98

WebSphere Liberty Profile Dynamic ibm.biz/bluemixgaragelondon @holly_cummins

Slide 99

Slide 99

WebSphere Liberty Profile Dynamic No restarts! ibm.biz/bluemixgaragelondon @holly_cummins

Slide 100

Slide 100

WebSphere Liberty Profile ibm.biz/bluemixgaragelondon @holly_cummins

Slide 101

Slide 101

WebSphere Liberty Profile ibm.biz/bluemixgaragelondon @holly_cummins

Slide 102

Slide 102

WebSphere Liberty Profile Powered by OSGi ibm.biz/bluemixgaragelondon @holly_cummins

Slide 103

Slide 103

WebSphere Liberty Profile ibm.biz/bluemixgaragelondon @holly_cummins

Slide 104

Slide 104

WebSphere Liberty Profile Free for small-scale production ibm.biz/bluemixgaragelondon @holly_cummins

Slide 105

Slide 105

WebSphere Liberty Profile Free for small-scale production ibm.biz/bluemixgaragelondon 2 GB RAM per organisation @holly_cummins

Slide 106

Slide 106

WebSphere Liberty Profile Free for small-scale production ibm.biz/bluemixgaragelondon 2 GB RAM per organisation @holly_cummins

Slide 107

Slide 107

WebSphere Liberty Profile Free for small-scale production 2 GB RAM per = organisation 20 raspberry pis ibm.biz/bluemixgaragelondon @holly_cummins

Slide 108

Slide 108

Ubiquitous computing++ ibm.biz/bluemixgaragelondon @holly_cummins

Slide 109

Slide 109

Ubiquitous computing++ ibm.biz/bluemixgaragelondon @holly_cummins

Slide 110

Slide 110

Where have I seen this before? ibm.biz/bluemixgaragelondon @holly_cummins

Slide 111

Slide 111

Cloud-Embeddable convergence ibm.biz/bluemixgaragelondon @holly_cummins

Slide 112

Slide 112

Cloud-Embeddable convergence Density ibm.biz/bluemixgaragelondon @holly_cummins

Slide 113

Slide 113

Cloud-Embeddable convergence Density Small download Small memory footprint ibm.biz/bluemixgaragelondon @holly_cummins

Slide 114

Slide 114

Cloud-Embeddable convergence Density Elasticity Small download Small memory footprint ibm.biz/bluemixgaragelondon @holly_cummins

Slide 115

Slide 115

Cloud-Embeddable convergence Density Elasticity Enable and disable function …dynamically Small download Small memory footprint ibm.biz/bluemixgaragelondon Easy install Easy uninstall @holly_cummins

Slide 116

Slide 116

But is it really IoT? ibm.biz/bluemixgaragelondon @holly_cummins

Slide 117

Slide 117

But is it really IoT? ibm.biz/bluemixgaragelondon @holly_cummins

Slide 118

Slide 118

But is it really IoT? Thing ibm.biz/bluemixgaragelondon @holly_cummins

Slide 119

Slide 119

But is it really IoT? Embedded thing ibm.biz/bluemixgaragelondon @holly_cummins

Slide 120

Slide 120

But is it really IoT? Very very embedded thing ibm.biz/bluemixgaragelondon @holly_cummins

Slide 121

Slide 121

But is it really IoT? Network, but not internet Very very embedded thing ibm.biz/bluemixgaragelondon @holly_cummins

Slide 122

Slide 122

But is it really IoT? ibm.biz/bluemixgaragelondon @holly_cummins

Slide 123

Slide 123

But is it really IoT? No machine-tomachine ibm.biz/bluemixgaragelondon @holly_cummins

Slide 124

Slide 124

Revised architecture ibm.biz/bluemixgaragelondon @holly_cummins

Slide 125

Slide 125

Revised architecture IBM IoT Foundation ibm.biz/bluemixgaragelondon @holly_cummins

Slide 126

Slide 126

Revised architecture IBM IoT Foundation ibm.biz/bluemixgaragelondon Same source code @holly_cummins

Slide 127

Slide 127

Not to mention … ibm.biz/bluemixgaragelondon @holly_cummins

Slide 128

Slide 128

Not to mention … ibm.biz/bluemixgaragelondon @holly_cummins

Slide 129

Slide 129

M2M ibm.biz/bluemixgaragelondon @holly_cummins

Slide 130

Slide 130

ibm.biz/bluemixgaragelondon @holly_cummins

Slide 131

Slide 131

http://sphere.mybluemix.net/ ibm.biz/bluemixgaragelondon @holly_cummins

Slide 132

Slide 132

Bluemix and IoT foundation // parse VCAP_SERVICES String VCAP_SERVICES = System.getenv(“VCAP_SERVICES”); JSONObject vcap = new JSONObject(VCAP_SERVICES); JSONArray json = vcap.getJSONArray(“iotf-service”); JSONObject credentials = json.getJSONObject(0).getJSONObject(“credentials”); String host = (String) credentials.get(“mqtt_host”); Integer port = (Integer) credentials.get(“mqtt_u_port”); … MqttClient client = new MqttClient(uri, id); MqttConnectOptions opts = new MqttConnectOptions(); opts.setUserName(username); opts.setPassword(password.toCharArray()); client.connect(opts); client.setCallback(this); client.subscribe(“iot-2/type/+/id/+/evt/+/fmt/+”); ibm.biz/bluemixgaragelondon @holly_cummins

Slide 133

Slide 133

Working with IoT ibm.biz/bluemixgaragelondon @holly_cummins

Slide 134

Slide 134

Working with IoT: step 1 ibm.biz/bluemixgaragelondon @holly_cummins

Slide 135

Slide 135

Working with IoT: step 1 “No, I did NOT mean jot. I meant iot. Gah!” ibm.biz/bluemixgaragelondon @holly_cummins

Slide 136

Slide 136

Working with IoT: step 1 “No, I did NOT mean jot. I meant iot. Gah!” ibm.biz/bluemixgaragelondon @holly_cummins

Slide 137

Slide 137

Working with IoT: step 2 ibm.biz/bluemixgaragelondon @holly_cummins

Slide 138

Slide 138

Working with IoT: step 2 Get some kit ibm.biz/bluemixgaragelondon @holly_cummins

Slide 139

Slide 139

Taxonomy of embedded devices ibm.biz/bluemixgaragelondon @holly_cummins

Slide 140

Slide 140

Taxonomy of embedded devices Microcontroller ibm.biz/bluemixgaragelondon @holly_cummins

Slide 141

Slide 141

Taxonomy of embedded devices Microcontroller Microprocessor ibm.biz/bluemixgaragelondon @holly_cummins

Slide 142

Slide 142

Taxonomy of embedded devices Microcontroller Microprocessor Sort-of-a-computer ibm.biz/bluemixgaragelondon @holly_cummins

Slide 143

Slide 143

Taxonomy of embedded devices Microcontroller Microprocessor Sort-of-a-computer Really-a-computer ibm.biz/bluemixgaragelondon @holly_cummins

Slide 144

Slide 144

The microcontroller zoo ibm.biz/bluemixgaragelondon @holly_cummins

Slide 145

Slide 145

The microcontroller zoo ibm.biz/bluemixgaragelondon @holly_cummins

Slide 146

Slide 146

The microcontroller zoo PIC £2 ibm.biz/bluemixgaragelondon @holly_cummins

Slide 147

Slide 147

The microcontroller zoo PIC £2 NetDuino £48 ibm.biz/bluemixgaragelondon @holly_cummins

Slide 148

Slide 148

The microcontroller zoo Arduino £23 PIC £2 NetDuino £48 ibm.biz/bluemixgaragelondon @holly_cummins

Slide 149

Slide 149

The microcontroller zoo Arduino £23 Arduino-compatible £9 ibm.biz/bluemixgaragelondon PIC £2 NetDuino £48 @holly_cummins

Slide 150

Slide 150

Arduino ibm.biz/bluemixgaragelondon @holly_cummins

Slide 151

Slide 151

Arduino £23 ibm.biz/bluemixgaragelondon @holly_cummins

Slide 152

Slide 152

Arduino Ethernet £23 ibm.biz/bluemixgaragelondon @holly_cummins

Slide 153

Slide 153

Arduino £23 ibm.biz/bluemixgaragelondon @holly_cummins

Slide 154

Slide 154

Arduino NO Ethernet £23 ibm.biz/bluemixgaragelondon @holly_cummins

Slide 155

Slide 155

Arduino NO Ethernet NO Wi-fi £23 ibm.biz/bluemixgaragelondon @holly_cummins

Slide 156

Slide 156

Arduino NO Ethernet NO Wi-fi £23 ibm.biz/bluemixgaragelondon Internet of Things @holly_cummins

Slide 157

Slide 157

Arduino NO Ethernet NO Wi-fi £23 ibm.biz/bluemixgaragelondon Things @holly_cummins

Slide 158

Slide 158

Connecting an Arduino to the Internet ibm.biz/bluemixgaragelondon @holly_cummins

Slide 159

Slide 159

Connecting an Arduino to the Internet ibm.biz/bluemixgaragelondon @holly_cummins

Slide 160

Slide 160

Connecting an Arduino to the Internet Ethernet shield ibm.biz/bluemixgaragelondon @holly_cummins

Slide 161

Slide 161

Connecting an Arduino to the Internet Ethernet shield £10 ibm.biz/bluemixgaragelondon @holly_cummins

Slide 162

Slide 162

Connecting an Arduino to the Internet Ethernet shield £10 ibm.biz/bluemixgaragelondon @holly_cummins

Slide 163

Slide 163

Connecting an Arduino to the Internet Ethernet shield £10 ibm.biz/bluemixgaragelondon Wi-fi shield @holly_cummins

Slide 164

Slide 164

Connecting an Arduino to the Internet Ethernet shield £10 Wi-fi shield £36 ibm.biz/bluemixgaragelondon @holly_cummins

Slide 165

Slide 165

Connecting an Arduino to the Internet Ethernet shield £10 Wi-fi shield £36 ibm.biz/bluemixgaragelondon @holly_cummins

Slide 166

Slide 166

Connecting an Arduino to the Internet Ethernet shield £10 Wi-fi shield £36 ibm.biz/bluemixgaragelondon Raspberry pi @holly_cummins

Slide 167

Slide 167

Connecting an Arduino to the Internet Ethernet shield £10 Wi-fi shield £36 ibm.biz/bluemixgaragelondon £25 Raspberry pi @holly_cummins

Slide 168

Slide 168

Connecting an Arduino to the Internet Ethernet shield free £10 Wi-fi shield £36 ibm.biz/bluemixgaragelondon Raspberry pi @holly_cummins

Slide 169

Slide 169

Particle Photon ibm.biz/bluemixgaragelondon @holly_cummins

Slide 170

Slide 170

Particle Photon WIFI ibm.biz/bluemixgaragelondon @holly_cummins

Slide 171

Slide 171

Particle Photon £15 ibm.biz/bluemixgaragelondon WIFI @holly_cummins

Slide 172

Slide 172

ibm.biz/bluemixgaragelondon @holly_cummins

Slide 173

Slide 173

Managing headless devices ibm.biz/bluemixgaragelondon @holly_cummins

Slide 174

Slide 174

Managing headless devices ibm.biz/bluemixgaragelondon @holly_cummins

Slide 175

Slide 175

Managing headless devices HDMI display ibm.biz/bluemixgaragelondon @holly_cummins

Slide 176

Slide 176

Managing headless devices HDMI display USB keyboard ibm.biz/bluemixgaragelondon @holly_cummins

Slide 177

Slide 177

Managing headless devices ibm.biz/bluemixgaragelondon @holly_cummins

Slide 178

Slide 178

Managing headless devices ibm.biz/bluemixgaragelondon @holly_cummins

Slide 179

Slide 179

Managing headless devices ibm.biz/bluemixgaragelondon @holly_cummins

Slide 180

Slide 180

Managing headless devices ibm.biz/bluemixgaragelondon @holly_cummins

Slide 181

Slide 181

Workflow for “pi and seek” ibm.biz/bluemixgaragelondon @holly_cummins

Slide 182

Slide 182

Workflow for “pi and seek” Ethernet cable ibm.biz/bluemixgaragelondon @holly_cummins

Slide 183

Slide 183

Workflow for “pi and seek” Ethernet cable DHCP ibm.biz/bluemixgaragelondon @holly_cummins

Slide 184

Slide 184

Network sharing Workflow for “pi and seek” Ethernet cable DHCP ibm.biz/bluemixgaragelondon @holly_cummins

Slide 185

Slide 185

Getting a connection ibm.biz/bluemixgaragelondon @holly_cummins

Slide 186

Slide 186

Finding the IP address my-mac:~ holly$ ifconfig | grep -A3 bridge100 bridge100: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=3<RXCSUM,TXCSUM> ether 3e:07:54:e0:26:64 inet 192.168.2.1 netmask 0xffffff00 broadcast 192.168.2.255 my-mac:~ holly$ nmap -sn 192.168.2.0/24 Starting Nmap 6.47 ( http://nmap.org ) at 2015-02-28 16:26 GMT Strange error from connect (65):No route to host Nmap scan report for 192.168.2.3 Host is up (0.00056s latency). Nmap done: 256 IP addresses (1 host up) scanned in 4.16 seconds ibm.biz/bluemixgaragelondon @holly_cummins

Slide 187

Slide 187

Or just use avahi. my-mac:~ holly$ ping pcduino.local ibm.biz/bluemixgaragelondon @holly_cummins

Slide 188

Slide 188

The single board computer zoo ibm.biz/bluemixgaragelondon @holly_cummins

Slide 189

Slide 189

Raspberry Pi ibm.biz/bluemixgaragelondon @holly_cummins

Slide 190

Slide 190

Raspberry Pi £25 ibm.biz/bluemixgaragelondon @holly_cummins

Slide 191

Slide 191

Raspberry Pi GPIO pins SD storage Oldish CPU £25 RAM (some) USB ibm.biz/bluemixgaragelondon @holly_cummins

Slide 192

Slide 192

Raspberry Pi GPIO pins SD storage Oldish CPU £25 RAM (some) USB (not my friend) ibm.biz/bluemixgaragelondon @holly_cummins

Slide 193

Slide 193

Raspberry Pi SD storage GPIO pins (no analog pins) Oldish CPU £25 RAM (some) USB (not my friend) ibm.biz/bluemixgaragelondon @holly_cummins

Slide 194

Slide 194

Raspberry Pi 2 ibm.biz/bluemixgaragelondon @holly_cummins

Slide 195

Slide 195

Raspberry Pi 2 £30 ibm.biz/bluemixgaragelondon @holly_cummins

Slide 196

Slide 196

Raspberry Pi 2 GPIO pins SD storage New CPU £30 RAM (more) USB ibm.biz/bluemixgaragelondon @holly_cummins

Slide 197

Slide 197

Raspberry Pi 2 GPIO pins SD storage New CPU £30 RAM (more) USB (more) ibm.biz/bluemixgaragelondon @holly_cummins

Slide 198

Slide 198

Raspberry Pi 2 SD storage GPIO pins (no analog pins) New CPU £30 RAM (more) USB (more) ibm.biz/bluemixgaragelondon @holly_cummins

Slide 199

Slide 199

ibm.biz/bluemixgaragelondon @holly_cummins

Slide 200

Slide 200

£5 ibm.biz/bluemixgaragelondon @holly_cummins

Slide 201

Slide 201

SD storage £5 ibm.biz/bluemixgaragelondon @holly_cummins

Slide 202

Slide 202

SD storage £5 USB ibm.biz/bluemixgaragelondon @holly_cummins

Slide 203

Slide 203

SD storage (no onboard network) £5 USB ibm.biz/bluemixgaragelondon @holly_cummins

Slide 204

Slide 204

SD storage (no onboard network) £5 512 MB RAM ibm.biz/bluemixgaragelondon USB @holly_cummins

Slide 205

Slide 205

BeagleBone black ibm.biz/bluemixgaragelondon @holly_cummins

Slide 206

Slide 206

BeagleBone black £42 ibm.biz/bluemixgaragelondon @holly_cummins

Slide 207

Slide 207

BeagleBone black Ethernet 1 GHz CPU 2 Microcontrollers £42 ibm.biz/bluemixgaragelondon 4 GB flash storage 512 MB RAM @holly_cummins

Slide 208

Slide 208

Arduino Yún ibm.biz/bluemixgaragelondon @holly_cummins

Slide 209

Slide 209

Arduino Yún £57 ibm.biz/bluemixgaragelondon @holly_cummins

Slide 210

Slide 210

Arduino Yún Atheros microprocessor Ethernet Arduino microcontroller Wi-fi £57 ibm.biz/bluemixgaragelondon @holly_cummins

Slide 211

Slide 211

Odroid ibm.biz/bluemixgaragelondon @holly_cummins

Slide 212

Slide 212

Odroid £60 ibm.biz/bluemixgaragelondon @holly_cummins

Slide 213

Slide 213

pcDuino ibm.biz/bluemixgaragelondon @holly_cummins

Slide 214

Slide 214

pcDuino ibm.biz/bluemixgaragelondon @holly_cummins

Slide 215

Slide 215

pcDuino £60 ibm.biz/bluemixgaragelondon @holly_cummins

Slide 216

Slide 216

pcDuino Battery connector Wi-fi Dual-core CPU 4 GB flash storage £60 ibm.biz/bluemixgaragelondon “Arduino-ish” pins 1 GB RAM @holly_cummins

Slide 217

Slide 217

ibm.biz/bluemixgaragelondon @holly_cummins

Slide 218

Slide 218

PcDuino battery interface ibm.biz/bluemixgaragelondon @holly_cummins

Slide 219

Slide 219

Popular embeddable battery PcDuino battery interface ibm.biz/bluemixgaragelondon @holly_cummins

Slide 220

Slide 220

Popular embeddable battery PcDuino battery interface ibm.biz/bluemixgaragelondon @holly_cummins

Slide 221

Slide 221

Popular embeddable battery JST-PH PcDuino battery interface ibm.biz/bluemixgaragelondon @holly_cummins

Slide 222

Slide 222

Popular embeddable battery JST-PH PcDuino battery interface ibm.biz/bluemixgaragelondon @holly_cummins

Slide 223

Slide 223

Popular embeddable battery JST-PH JST-SH PcDuino battery interface ibm.biz/bluemixgaragelondon @holly_cummins

Slide 224

Slide 224

“The board features a difficult-to-get JST-SH connector. You won’t find a battery with a ready-made fivepin JST-SH connector. ” ibm.biz/bluemixgaragelondon

http://wt.tuxomania.net @holly_cummins

Slide 225

Slide 225

!&!^@*! “The board features a difficult-to-get JST-SH connector. You won’t find a battery with a ready-made fivepin JST-SH connector. ” ibm.biz/bluemixgaragelondon

http://wt.tuxomania.net @holly_cummins

Slide 226

Slide 226

ibm.biz/bluemixgaragelondon @holly_cummins

Slide 227

Slide 227

ibm.biz/bluemixgaragelondon @holly_cummins

Slide 228

Slide 228

Power. ibm.biz/bluemixgaragelondon @holly_cummins

Slide 229

Slide 229

You can do more. ibm.biz/bluemixgaragelondon @holly_cummins

Slide 230

Slide 230

You can know less. ibm.biz/bluemixgaragelondon @holly_cummins

Slide 231

Slide 231

You can know different things. ibm.biz/bluemixgaragelondon @holly_cummins

Slide 232

Slide 232

You can know different things. ibm.biz/bluemixgaragelondon @holly_cummins

Slide 233

Slide 233

But … ibm.biz/bluemixgaragelondon @holly_cummins

Slide 234

Slide 234

£30 ibm.biz/bluemixgaragelondon @holly_cummins

Slide 235

Slide 235

£2 ibm.biz/bluemixgaragelondon @holly_cummins

Slide 236

Slide 236

ibm.biz/bluemixgaragelondon @holly_cummins

Slide 237

Slide 237

Size ibm.biz/bluemixgaragelondon @holly_cummins

Slide 238

Slide 238

ibm.biz/bluemixgaragelondon @holly_cummins

Slide 239

Slide 239

A power brick ibm.biz/bluemixgaragelondon @holly_cummins

Slide 240

Slide 240

A power brick (sorry) ibm.biz/bluemixgaragelondon @holly_cummins

Slide 241

Slide 241

Then again … ibm.biz/bluemixgaragelondon @holly_cummins

Slide 242

Slide 242

You can have an application server! ibm.biz/bluemixgaragelondon @holly_cummins

Slide 243

Slide 243

ibm.biz/bluemixgaragelondon @holly_cummins

Slide 244

Slide 244

ibm.biz/bluemixgaragelondon @holly_cummins

Slide 245

Slide 245

ibm.biz/bluemixgaragelondon @holly_cummins

Slide 246

Slide 246

ibm.biz/bluemixgaragelondon @holly_cummins

Slide 247

Slide 247

ibm.biz/bluemixgaragelondon @holly_cummins

Slide 248

Slide 248

Any questions? www.wasdev.net www.wasdev.net ibm.biz/bluemixgaragelondon @holly_cummins ibm.biz/bluemixgaragelondon @holly_cummins