Publicité

EclipseCon Europe 2013 - Turning Eclipse into an Arduino programming platform for kids

melbats
4 Nov 2013
Publicité

Contenu connexe

Plus de melbats(20)

Publicité

EclipseCon Europe 2013 - Turning Eclipse into an Arduino programming platform for kids

  1. TURNING ECLIPSE INTO AN ARDUINO PROGRAMMING PLATFORM FOR KIDS Mélanie Bats / Obeo
  2. CURIOSITY Explore, question and learn
  3. DISCOVER BY YOURSELF Explore to understand cause and effects.
  4. COMPUTERS ARE EVERYWHERE To understand the world, you need to understand how computers work
  5. UNDERSTAND ELECTRONICS Play with sensors and actuators
  6. OPEN HARDWARE
  7. ELECTRONIC FOR KIDS Open hardware dedicated to kids learning electronics : littleBits
  8. ARDUINO
  9. ARDUINO KITS Cheap, easy to find thanks to many different providers : AdaFruit, DFRobot, SeeedStudio, SnootLab, ... So many kinds of modules available!
  10. UNDERSTAND PROGRAMMING Many open source software are dedicated to learn programming to kids : Scratch, TurtleLogo, KidsRuby, Python4Kids... Initiatives : Programatoo, Devoxx4Kids, greenlight, coding goûter...
  11. TEXT
  12. GRAPHICAL
  13. PROGRAM THE REAL WORLD
  14. ECLIPSE IDE FOR DEVELOPPERS Complex UI, concepts (perpsectives, project lifecycle...), languages (Java, C)
  15. TURNING ECLIPSE AN IDE FOR KIDS Graphical programming & light UI
  16. A SIMPLIFIED UI No menu, only a toolbar with 4 buttons activated according to what is possible
  17. DASHBOARD The process : 1. Define connection between hardware platform and modules 2. Describe the sketch 3. Upload on the target
  18. HARDWARE Platform, Modules, Wire
  19. SKETCH
  20. PROTOTYPE BASED ON DFROBOT ARDUBLOCK KIT Sensors : ambient light, infrared , sound, push button, rotation Actuators : LEDs, micro servo motors, fan
  21. HELLO WORLD Blink a LED!
  22. GRAPHICAL BLOCK-BASED LANGUAGE Structures : while, repeat, if Functions : delay Hardware modules : Status, Level, Sensor Variables Constants Mathematical operators
  23. SIRIUS A tool to quickly define DSL based custom multi-view workbenches with dedicated representations Sirius
  24. WHY USING SIRIUS ? For the tool development phase : Dynamic & iterative (live) development For kids : Tooling adapted to the development of arduino small projects
  25. ARDUINO DESIGNER DEVELOPMENT STEP 1 - ARDUINO DSL DSL describing what are Arduino hardware modules and sketches
  26. ARDUINO DESIGNER DEVELOPMENT STEP 2 - ARDUINO DIAGRAM SPECIFICATION Sirius specification
  27. ARDUINO DESIGNER DEVELOPMENT STEP 3 - CODE GENERATOR Generate ino files with Acceleo itbihns; n rgtes vi stp){ od eu( bihns=; rgtes0 } vi lo( { od op) wie(bihns<5) hl (rgtes25) { bihns=bihns+) rgtes(rgtes1; aaoWie1,5-bihns); nlgrt(125(rgtes) dly8; ea() } wie(bihns>) hl (rgtes1) { bihns=bihns-) rgtes(rgtes1; aaoWie1,5-bihns); nlgrt(125(rgtes) dly8; ea() } dly20; ea(0) }
  28. ARDUINO DESIGNER DEVELOPMENT STEP 4 - INTEGRATE ARDUINO COMPILER arduino.mk Generate Makefile with Acceleo make BADTG OR_A =uo n ADIOPR =/e/tAM RUN_OT dvtyC0 ADIOLB =Sro RUN_IS ev icue/s/hr/run/run.k nld ursaeadioAdiom
  29. ARDUINO DESIGNER DEVELOPMENT STEP 5 - INTEGRATE TARGET UPLOADER avr-gcc, avrdude make upload
  30. USE SENSOR A LED + push button
  31. FADE LIGHT 1 LED + programming language
  32. A MORE COMPLEX PROJECT A pet robot
  33. TIGGER
  34. MANY SENSORS AND ACTUATORS
  35. RECYCLED HIGH TECH COMPOSITE
  36. TOUCH Push button nose commands a blinking necklace
  37. SEE Infrared sensor eye commands the servo-motored tail
  38. HEAR Sound sensor ear commands the bubble machine
  39. MORE "SIRIUS" PRESENTATIONS Wednesday 14:30 - Changing the Game of Systems Architecture 16:15 - Sirius By Example 17:00 - EcoreTools 2.0: The Making Of 19:00 - BOF "Let's get Sirius" At any time: ask us or visit Obeo booth
  40. FIND THE CODE ? https://github.com/mbats/arduino
  41. THANKS! QUESTIONS? CLAP YOUR HANDS TO MAKE MORE BUBBLES! AND MAYBE ASK QUESTIONS...
Publicité