1 1 st june 2012 connected prototypes deep dive 1st june 2012 ashley mills

23
1 1 st June 2012 connected prototypes deep dive 1st June 2012 Ashley Mills Email: [email protected] Twitter: @ashleyjsmills Phone: 07825608771

Upload: rodney-richard

Post on 06-Jan-2018

219 views

Category:

Documents


3 download

DESCRIPTION

3 Long Tail 30th May 2012 VodafoneK3770.h

TRANSCRIPT

Page 1: 1 1 st June 2012 connected prototypes deep dive 1st June 2012 Ashley Mills

1 1st June 2012

connected prototypes deep dive

1st June 2012Ashley Mills

Email: [email protected]: @ashleyjsmills

Phone: 07825608771

Page 2: 1 1 st June 2012 connected prototypes deep dive 1st June 2012 Ashley Mills

2 Long Tail 30th May 2012

Overview

> Introduction to the dongle API

> “Question Mark” application walkthrough

> “VGANode” application walkthrough

Page 3: 1 1 st June 2012 connected prototypes deep dive 1st June 2012 Ashley Mills

3 Long Tail 30th May 2012

VodafoneK3770.h

Page 4: 1 1 st June 2012 connected prototypes deep dive 1st June 2012 Ashley Mills

4 Long Tail 30th May 2012

Question Mark plug-and-play ad-hoc feedback point

Page 5: 1 1 st June 2012 connected prototypes deep dive 1st June 2012 Ashley Mills

5 Long Tail 30th May 2012

Mini thermal printer is very popular using ethernet:

Page 6: 1 1 st June 2012 connected prototypes deep dive 1st June 2012 Ashley Mills

6 Long Tail 30th May 2012

Question Mark – thermal printer with dongle + SMS

Page 7: 1 1 st June 2012 connected prototypes deep dive 1st June 2012 Ashley Mills

7 Long Tail 30th May 2012

Question Mark

5v

GND

TX

RX

5V

GND

5V

D-

D+

GND

Adafruit thermal printer

Vodafone K3770

mbed LPC1768

Page 8: 1 1 st June 2012 connected prototypes deep dive 1st June 2012 Ashley Mills

8 Long Tail 30th May 2012

Page 9: 1 1 st June 2012 connected prototypes deep dive 1st June 2012 Ashley Mills

9 Long Tail 30th May 2012

VGANode

Page 10: 1 1 st June 2012 connected prototypes deep dive 1st June 2012 Ashley Mills

10 Long Tail 30th May 2012

VGANode

Page 11: 1 1 st June 2012 connected prototypes deep dive 1st June 2012 Ashley Mills

11 Long Tail 30th May 2012

VGANode

5v

GND

TX

RX

5V

GND

5V

D-

D+

GND

LinkSprite Y201

Vodafone K3770

mbed LPC1768

Page 12: 1 1 st June 2012 connected prototypes deep dive 1st June 2012 Ashley Mills

12 Long Tail 30th May 2012

VGANode – code parts

>Camera driver

>Client code

>Server code

Page 13: 1 1 st June 2012 connected prototypes deep dive 1st June 2012 Ashley Mills

13 Long Tail 30th May 2012

Camera driver

Page 14: 1 1 st June 2012 connected prototypes deep dive 1st June 2012 Ashley Mills

14 Long Tail 30th May 2012

Camera driver – interface and manual

Page 15: 1 1 st June 2012 connected prototypes deep dive 1st June 2012 Ashley Mills

15 Long Tail 30th May 2012

Camera driver – process overview> Define sequences

> Push sequence

> Read response

> Example:

Page 16: 1 1 st June 2012 connected prototypes deep dive 1st June 2012 Ashley Mills

16 Long Tail 30th May 2012

Memory address

Bytes to read

Take picture

Read file size

Camera driver- getting picture(if you can understandthe docs)

Read file

Stop taking pictures

EOF?

Page 17: 1 1 st June 2012 connected prototypes deep dive 1st June 2012 Ashley Mills

17 Long Tail 30th May 2012

Client code

Page 18: 1 1 st June 2012 connected prototypes deep dive 1st June 2012 Ashley Mills

18 Long Tail 30th May 2012

Client code - setup

Page 19: 1 1 st June 2012 connected prototypes deep dive 1st June 2012 Ashley Mills

19 Long Tail 30th May 2012

Client code - body

Page 20: 1 1 st June 2012 connected prototypes deep dive 1st June 2012 Ashley Mills

20 Long Tail 30th May 2012

Server code

Page 21: 1 1 st June 2012 connected prototypes deep dive 1st June 2012 Ashley Mills

21 Long Tail 30th May 2012

Server code (nodejs)

Page 22: 1 1 st June 2012 connected prototypes deep dive 1st June 2012 Ashley Mills

22 Long Tail 30th May 2012

Overview

> Looked at API in present incarnation

> Looked at simple SMS printer example

> Looked at jpeg camera UNIX socket example

Page 23: 1 1 st June 2012 connected prototypes deep dive 1st June 2012 Ashley Mills

23 Long Tail 30th May 2012

Thanks for listening…

questions?