Micro & mobile

10
Micro & Mobile Pance Cavkovski

Transcript of Micro & mobile

Page 1: Micro & mobile

Micro & MobilePance Cavkovski

Page 2: Micro & mobile

• Pance Cavkovski

• Senior Software Engineer @ Netcetera

• Java, Flex & JavaScript developer

• Hardware & electronics fan

|

The author

Page 3: Micro & mobile

• Raspberry Pi + Arduino

• Basic multimeter: AC/DC voltage,

frequency spectrum, resistance

• Results shown in a mobile web

application

|

The device

Page 4: Micro & mobile

• Raspberry Pi

• Arduino Mega 2560

• Custom adapter and

interface board

|

The hardware

Page 5: Micro & mobile

• Arduino readings

• Java8 SE Embedded server

• D3.js animated SVG graphs

|

The software

Analog read + FFT

Java8

Java WebSocket

Java WebSocket

pi4jpi4jlighttpd

Browser app d3jsd3js

Serial communication

JSON

Page 6: Micro & mobile

|

The demo

Page 7: Micro & mobile

• Mobile is not just responsive

• Mobile browsers are getting lot faster

• JavaScript applications can run smoothly

|

The mobile reason

Page 8: Micro & mobile

• Micro devices are catching on and improving

• Raspberry Pi Mod. B rev. 2: 700MHz ARM, 512MB SDRAM

Rumored Model C: Dual Core, 1GB RAM ?

• Arduino TRE: Intel 1GHz ARM, 512MB DDR3l RAM

• Lots of sensors and shields available

|

The micro reason

Page 9: Micro & mobile

• Java8 improves the embedded editions

• Java8 SE Embedded: mid-high range, Full OS, general functions, limited I/O integration

• Java8 ME Embedded (v.3.3) : low-mid range, Full/min OS, I/O integrated, optimized, available tools

• Developer versions available

|

The Java reason

Page 10: Micro & mobile

Thanks for the attention!

Follow @[email protected]

github.com/hsilomedus/pi4jmultimeter