do it yourself coolness: arduino and m2m development with eclipse & koneki

16
Page en Source M2M: The Koneki Project Do It Yourself coolness: Arduino and M2M development with Koneki Do It Yourself coolness: Arduino and M2M development with Eclipse & Koneki EclipseCon Europe – Nov, 3 rd 2011 Benjamin Cabé Open Source Community Manager Koneki project lead

Upload: benjamin-cabe

Post on 14-May-2015

2.642 views

Category:

Technology


3 download

DESCRIPTION

http://eclipsecon.org/sessions/do-it-yourself-coolness-arduino-and-m2m-development-koneki

TRANSCRIPT

Page 1: Do It Yourself coolness: Arduino and M2M development with Eclipse & Koneki

Page

Open Source M2M: The Koneki Project

Do It Yourself coolness: Arduino and M2M development with Koneki

Do It Yourself coolness: Arduino and M2M development with Eclipse & KonekiEclipseCon Europe – Nov, 3rd 2011

Benjamin Cabé

Open Source Community ManagerKoneki project lead

Page 2: Do It Yourself coolness: Arduino and M2M development with Eclipse & Koneki

Page

Open Source M2M: The Koneki Project

Do It Yourself coolness: Arduino and M2M development with Koneki

Introduction to Arduino

Disclaimer

I didn’t know we would have David’s keynote when I submitted the talk …

3Nov, 3rd 2011

Page 3: Do It Yourself coolness: Arduino and M2M development with Eclipse & Koneki

Page

Open Source M2M: The Koneki Project

Do It Yourself coolness: Arduino and M2M development with Koneki

Introduction to Arduino

4Nov, 3rd 2011

Page 4: Do It Yourself coolness: Arduino and M2M development with Eclipse & Koneki

Page

Open Source M2M: The Koneki Project

Do It Yourself coolness: Arduino and M2M development with Koneki

Introduction to Arduino

5

InexpensiveNov, 3rd 2011

Page 5: Do It Yourself coolness: Arduino and M2M development with Eclipse & Koneki

Page

Open Source M2M: The Koneki Project

Do It Yourself coolness: Arduino and M2M development with Koneki 6

Easy to programNov, 3rd 2011

Page 6: Do It Yourself coolness: Arduino and M2M development with Eclipse & Koneki

Page

Open Source M2M: The Koneki Project

Do It Yourself coolness: Arduino and M2M development with Koneki 7

Open Source!Nov, 3rd 2011

Page 7: Do It Yourself coolness: Arduino and M2M development with Eclipse & Koneki

Page

Open Source M2M: The Koneki Project

Do It Yourself coolness: Arduino and M2M development with Koneki 8Nov, 3rd 2011

Page 8: Do It Yourself coolness: Arduino and M2M development with Eclipse & Koneki

Page

Open Source M2M: The Koneki Project

Do It Yourself coolness: Arduino and M2M development with Koneki

How to program an Arduino?

The answer is simple… Using the C language!

• (actually, it is Wiring)

How cool is that?

Ahem… It depends!

9Nov, 3rd 2011

Page 9: Do It Yourself coolness: Arduino and M2M development with Eclipse & Koneki

Page

Open Source M2M: The Koneki Project

Do It Yourself coolness: Arduino and M2M development with Koneki

The good…

The Arduino IDE is actually pretty neat:

• Syntax highlighting

• Code formatter

• Libraries and examples are easy to add

• Single-click compilation

• Single-click target download

• Pretty good serial port management

C/C++

• Produces small and efficient binary code

10Nov, 3rd 2011

Page 10: Do It Yourself coolness: Arduino and M2M development with Eclipse & Koneki

Page

Open Source M2M: The Koneki Project

Do It Yourself coolness: Arduino and M2M development with Koneki

The… well… less good

Arduino IDE lacks

• Autocompletion

• Interactive syntax/compile error management

• SCM integration

C/C++

• How to produce easily reusable libraries?

11Nov, 3rd 2011

Page 11: Do It Yourself coolness: Arduino and M2M development with Eclipse & Koneki

Page

Open Source M2M: The Koneki Project

Do It Yourself coolness: Arduino and M2M development with Koneki

Simple use case – 3 approaches

Control a servo-motor with a potentiometer and send its position (angle) to an M2M server

1. Arduino IDE

2. Eclipse CDT (+ AVR plugin)

3. Eclipse Koneki

12Nov, 3rd 2011

Page 12: Do It Yourself coolness: Arduino and M2M development with Eclipse & Koneki

Page

Open Source M2M: The Koneki Project

Do It Yourself coolness: Arduino and M2M development with Koneki 13Nov, 3rd 2011

http://fritzing.org

Page 13: Do It Yourself coolness: Arduino and M2M development with Eclipse & Koneki

Page

Open Source M2M: The Koneki Project

Do It Yourself coolness: Arduino and M2M development with Koneki

Using Eclipse Koneki

Very simple model todescribe the interfaces of each SW component

• Data in/Data out

• Event in/Event out

• Type checking + type inference

Provides a good abstraction of the physical world

Koneki component model != Visual programming

16Nov, 3rd 2011

Page 14: Do It Yourself coolness: Arduino and M2M development with Eclipse & Koneki

Page

Open Source M2M: The Koneki Project

Do It Yourself coolness: Arduino and M2M development with Koneki

In a nutshell…

Arduino IDE for beginners and hobbyists

Eclipse CDT + AVR plug-in for skilled embedded developpers and to get a « real » IDE

Eclipse Koneki to manipulate actual software components

• Tomorrow, 2.30pm, Burgersaal 2 - Modeling technologies and Machine-to-Machine

17Nov, 3rd 2011

Page 15: Do It Yourself coolness: Arduino and M2M development with Eclipse & Koneki

Page

Open Source M2M: The Koneki Project

Do It Yourself coolness: Arduino and M2M development with Koneki 28th June 2011 18

Thank you!

http://www.eclipse.org/koneki

Contact:

Benjamin Cabé[email protected]://blog.benjamin-cabe.com@kartben

Page 16: Do It Yourself coolness: Arduino and M2M development with Eclipse & Koneki

Page

Open Source M2M: The Koneki Project

Do It Yourself coolness: Arduino and M2M development with Koneki

More…

Eclipse for Arduino development

• http://www.arduino.cc/playground/Code/Eclipse

Koneki

• http://www.eclipse.org/koneki

19Nov, 3rd 2011