turning eclipse into an arduino programming platform for kids · pdf fileturning eclipse into...

Post on 06-Mar-2018

226 Views

Category:

Documents

4 Downloads

Preview:

Click to see full reader

TRANSCRIPT

TURNING ECLIPSE INTO AN ARDUINOPROGRAMMING PLATFORM FOR KIDS

Mélanie Bats / Obeo

UNDERSTAND PROGRAMMINGMany open source software are dedicated to learn

programming to kids : Scratch, TurtleLogo, KidsRuby,Python4Kids...

Initiatives : Programatoo, Devoxx4Kids, greenlight, codinggoûter...

TEXT

ECLIPSE IDE FOR DEVELOPPERSComplex UI, concepts (perpsectives, project lifecycle...),

languages (Java, C)

TURNING ECLIPSE AN IDE FOR KIDSGraphical programming & light UI

PROTOTYPE BASED ON DFROBOT ARDUBLOCKKIT

Sensors : ambient light, infrared , sound, push button, rotationActuators : LEDs, micro servo motors, fan

GRAPHICAL BLOCK-BASED LANGUAGEStructures : while, repeat, ifFunctions : delayHardware modules : Status, Level, SensorVariablesConstantsMathematical operators

WHY USING SIRIUS ?For the tool development phase : Dynamic & iterative (live)developmentFor kids : Tooling adapted to the development of arduinosmall projects

ARDUINO DESIGNER DEVELOPMENTSTEP 2 - ARDUINO DIAGRAM SPECIFICATION

Sirius specification

ARDUINO DESIGNER DEVELOPMENTSTEP 3 - CODE GENERATOR

Generate ino files with Acceleoint brightness;void setup() { brightness=0;}void loop() { while ((brightness<255)) { brightness=(brightness+1); analogWrite(11,255-(brightness)); delay(8); } while ((brightness>1)) { brightness=(brightness-1); analogWrite(11,255-(brightness)); delay(8); } delay(200);}

ARDUINO DESIGNER DEVELOPMENTSTEP 4 - INTEGRATE ARDUINO COMPILER

arduino.mkGenerate Makefile with Acceleo

makeBOARD_TAG = unoARDUINO_PORT = /dev/ttyACM0ARDUINO_LIBS = Servo

include /usr/share/arduino/Arduino.mk

ARDUINO DESIGNER DEVELOPMENTSTEP 5 - INTEGRATE TARGET UPLOADER

avr-gcc, avrdudemake upload

MORE "SIRIUS" PRESENTATIONSWednesday

14:30 - Changing the Game of Systems Architecture16:15 - Sirius By Example17:00 - EcoreTools 2.0: The Making Of19:00 - BOF "Let's get Sirius"

At any time: ask us or visit Obeo booth

THANKS! QUESTIONS?CLAP YOUR HANDS TO MAKE MORE BUBBLES! AND MAYBE

ASK QUESTIONS...

top related