Your SlideShare is downloading. ×

P&O3 session 1

377

Published on

Probleemoplossen en Ontwerpen slides. …

Probleemoplossen en Ontwerpen slides.

Course at KU Leuven 2nd year engineering science students.

Published in: Education, Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
377
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
8
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. PenO3 Sessie 1 Erik Duval Sven Charleer - Jose Luis Santos - Nick Vannieuwenhoven
  • 2. 14.00:PenO3 Quantified Self Quantified Learning 14.20: Raspberry Pi 14.40: Hands on 15.45: Break 16.00: Arduino 16.20: Hands on 18.00: Done
  • 3. PenO
  • 4. eerste keuze?
  • 5. tweede keuze?
  • 6. derde keuze?
  • 7. vierde keuze?
  • 8. vijfde keuze?
  • 9. PenO 1?
  • 10. Probleemoplossen en Ontwerpen • Ingenieursvaardigheden • Modelleren en simuleren • Experimenteren • Methodische aanpak • Teamwerk • Integratie vakken • Smaakmaker voor andere vakken
  • 11. Over semesters • gesloten, vak-overschrijdend probleem • grafisch modelleren, ICT-werktuigen • gesloten ontwerp • modelleren en ontwerpen • open ontwerp • methodiek, reverse engineering • ook: samenwerking in groepen
  • 12. Tools • Wiki: http://ariadne.cs.kuleuven.be/wiki/ • Wordpress: http://wordpress.com/ • Backlog at the wiki •One for each group
  • 13. Wiki • Group Information (You can take a look to Peno3 last year) • Pointers to your work (blog URL, ...)
  • 14. Session report • What did you do last session? • What did you learn? • How did you do it? • Main problems?
  • 15. Quantified Self
  • 16. Little Brother
  • 17. http://www.fitbit.com/
  • 18. http://nikeplus.nike.com/plus/
  • 19. http://www.withings.com/en/bodyanalyzer
  • 20. http://www.moves-app.com/
  • 21. http://quantifiedself.com/2013/02/qs-and- mindfulness/#more-5798
  • 22. http://memoto.com/
  • 23. http://www.kickstarter.com/projects/806146824/melon-a-headband-and-mobile-app-to- measure-your-fo
  • 24. Quantified Learning
  • 25. http://navi-hci.appspot.com/
  • 26. http://mume11.snakeflash.com/
  • 27. ...-1980s
  • 28. 1990s
  • 29. http://shop.pimoroni.com/
  • 30. http://www.instructables.com/id/RaspberryPi- Powered-Wearable-Computer/#step1
  • 31. https://vimeo.com/55658574
  • 32. http://theswitchtolinux.blogspot.com/2012/12/ raspberry-pi-daily-deviations-picture.html
  • 33. http://www.youtube.com/watch? v=5npkz0xY1fo#t=75
  • 34. http://www.youtube.com/watch?v=5JoARkj7XMA
  • 35. http://www.youtube.com/watch?v=Nfk1-XMASrk
  • 36. Pi setup
  • 37. Raspberry Pi Basics login: pi password: raspberry config: sudo raspi-config xwindows: startx shutdown: sudo shutdown -h now restart: sudo shutdown -r now
  • 38. GPIO
  • 39. GPIO 3.3V
  • 40. GPIO 3.3V
  • 41. GPIO Programming Python RPi.GPIO module import'RPi.GPIO'as'GPIO'''##"Import"GPIO"library GPIO.setmode(GPIO.BCM)''''##"Use"board"pin"numbering
  • 42. GPIO Programming Python RPi.GPIO module import'RPi.GPIO'as'GPIO'''##"Import"GPIO"library GPIO.setmode(GPIO.BCM)''##"Use"board"pin"numbering
  • 43. GPIO Programming Python RPi.GPIO module import'RPi.GPIO'as'GPIO'''##"Import"GPIO"library GPIO.setmode(GPIO.BCM)''''##"Use"board"pin"numbering GPIO.setup(7,'GPIO.OUT)'''##"Setup"GPIO"Pin"7"to"OUT GPIO.output(7,True)''"""""##"Turn"on"GPIO"pin"7
  • 44. GPIO Programming Python RPi.GPIO module import'RPi.GPIO'as'GPIO'''##"Import"GPIO"library GPIO.setmode(GPIO.BCM)''''##"Use"board"pin"numbering GPIO.setup(7,'GPIO.IN)''''##"Setup"GPIO"Pin"7"to"IN result.='GPIO.input(7)''""##"Read"GPIO"pin"7
  • 45. Hands-on!
  • 46. Hello World
  • 47. import'RPi.GPIO'as'GPIO'''##"Import"GPIO"library GPIO.setmode(GPIO.BCM)''##"Use"board"pin"numbering GPIO.setup(7,'GPIO.OUT)'''##"Setup"GPIO"Pin"7"to"OUT GPIO.output(7,True)''"""""##"Turn"on"GPIO"pin"7 import'RPi.GPIO'as'GPIO'''##"Import"GPIO"library GPIO.setmode(GPIO.BCM)''##"Use"board"pin"numbering GPIO.setup(7,'GPIO.IN)''''##"Setup"GPIO"Pin"7"to"IN result.='GPIO.input(7)''""##"Read"GPIO"pin"7
  • 48. http://www.youtube.com/watch? feature=player_embedded&v=zE5PGeh2K9k
  • 49. http://www.instructables.com/id/Power-Laces-the-Auto- lacing-shoe/
  • 50. http://www.youtube.com/watch?feature=player_embedded&v=ZtNEPkwCfxA
  • 51. Arduino Basics Powered by USB Data transfer by USB Digital pins + Analog pins
  • 52. Arduino Programming Arduino Development Environment Language based on C http://arduino.cc/en/Reference/HomePage
  • 53. Arduino Programming
  • 54. Arduino Programming Python?
  • 55. void'setup()'{ } void'loop()'{''' } Arduino Programming
  • 56. void'setup()'{ '''//a'comment'in'the'setup'section'which'is'run'once ''.Serial.begin(9600); } void'loop()'{''' } Arduino Programming
  • 57. void'setup()'{ '''//a'comment'in'the'setup'section'which'is'run'once '''Serial.begin(9600); } void'loop()'{ '''//a'comment'in'the'loop'section,'which'is'looped'forever '''int'sensorValue'='analogRead(A0); '''if(sensorValue'>'0) '''{ '''''''Serial.println(sensorValue); '''} '''delay(1000); ''' } Arduino Programming
  • 58. void'setup()'{ '''//a'comment'in'the'setup'section'which'is'run'once '''Serial.begin(9600); } void'loop()'{ '''//a'comment'in'the'loop'section,'which'is'looped'forever '''int'sensorValue'='analogRead(A0); '''if(sensorValue'>'0) '''{ '''''''Serial.println(sensorValue); '''} '''delay(1000); ''' } Arduino Programming
  • 59. void'setup()'{ '''//a'comment'in'the'setup'section'which'is'run'once '''Serial.begin(9600); } void'loop()'{ '''//a'comment'in'the'loop'section,'which'is'looped'forever '''int'sensorValue'='analogRead(A0); '''if(sensorValue'>'0) '''{ '''''''Serial.println(sensorValue); '''} '''delay(1000); ''' } Arduino Programming
  • 60. Sensors
  • 61. Hands-on!
  • 62. #define'PHOTOSENSE_ANA_PIN'A0'' void'setup()'{ '''//a'comment'in'the'setup'section'which'is'run'once '''Serial.begin(9600); } void'loop()'{ '''int'microphoneValue'='analogRead(PHOTOSENSE_ANA_PIN); '''Serial.print("Sensor'Value:'"); '''Serial.println(microphoneValue); '''delay(1000); ''' }

×