• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
P&O3 session 1
 

P&O3 session 1

on

  • 374 views

Probleemoplossen en Ontwerpen slides.

Probleemoplossen en Ontwerpen slides.

Course at KU Leuven 2nd year engineering science students.

Statistics

Views

Total Views
374
Views on SlideShare
374
Embed Views
0

Actions

Likes
1
Downloads
7
Comments
0

0 Embeds 0

No embeds

Accessibility

Upload Details

Uploaded via as Adobe PDF

Usage Rights

CC Attribution-NonCommercial-ShareAlike LicenseCC Attribution-NonCommercial-ShareAlike LicenseCC Attribution-NonCommercial-ShareAlike License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    P&O3 session 1 P&O3 session 1 Presentation Transcript

    • PenO3 Sessie 1 Erik Duval Sven Charleer - Jose Luis Santos - Nick Vannieuwenhoven
    • 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
    • PenO
    • eerste keuze?
    • tweede keuze?
    • derde keuze?
    • vierde keuze?
    • vijfde keuze?
    • PenO 1?
    • Probleemoplossen en Ontwerpen • Ingenieursvaardigheden • Modelleren en simuleren • Experimenteren • Methodische aanpak • Teamwerk • Integratie vakken • Smaakmaker voor andere vakken
    • Over semesters • gesloten, vak-overschrijdend probleem • grafisch modelleren, ICT-werktuigen • gesloten ontwerp • modelleren en ontwerpen • open ontwerp • methodiek, reverse engineering • ook: samenwerking in groepen
    • Tools • Wiki: http://ariadne.cs.kuleuven.be/wiki/ • Wordpress: http://wordpress.com/ • Backlog at the wiki •One for each group
    • Wiki • Group Information (You can take a look to Peno3 last year) • Pointers to your work (blog URL, ...)
    • Session report • What did you do last session? • What did you learn? • How did you do it? • Main problems?
    • Quantified Self
    • Little Brother
    • http://www.fitbit.com/
    • http://nikeplus.nike.com/plus/
    • http://www.withings.com/en/bodyanalyzer
    • http://www.moves-app.com/
    • http://quantifiedself.com/2013/02/qs-and- mindfulness/#more-5798
    • http://memoto.com/
    • http://www.kickstarter.com/projects/806146824/melon-a-headband-and-mobile-app-to- measure-your-fo
    • Quantified Learning
    • http://navi-hci.appspot.com/
    • http://mume11.snakeflash.com/
    • ...-1980s
    • 1990s
    • http://shop.pimoroni.com/
    • http://www.instructables.com/id/RaspberryPi- Powered-Wearable-Computer/#step1
    • https://vimeo.com/55658574
    • http://theswitchtolinux.blogspot.com/2012/12/ raspberry-pi-daily-deviations-picture.html
    • http://www.youtube.com/watch? v=5npkz0xY1fo#t=75
    • http://www.youtube.com/watch?v=5JoARkj7XMA
    • http://www.youtube.com/watch?v=Nfk1-XMASrk
    • Pi setup
    • Raspberry Pi Basics login: pi password: raspberry config: sudo raspi-config xwindows: startx shutdown: sudo shutdown -h now restart: sudo shutdown -r now
    • GPIO
    • GPIO 3.3V
    • GPIO 3.3V
    • GPIO Programming Python RPi.GPIO module import'RPi.GPIO'as'GPIO'''##"Import"GPIO"library GPIO.setmode(GPIO.BCM)''''##"Use"board"pin"numbering
    • GPIO Programming Python RPi.GPIO module import'RPi.GPIO'as'GPIO'''##"Import"GPIO"library GPIO.setmode(GPIO.BCM)''##"Use"board"pin"numbering
    • 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
    • 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
    • Hands-on!
    • Hello World
    • 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
    • http://www.youtube.com/watch? feature=player_embedded&v=zE5PGeh2K9k
    • http://www.instructables.com/id/Power-Laces-the-Auto- lacing-shoe/
    • http://www.youtube.com/watch?feature=player_embedded&v=ZtNEPkwCfxA
    • Arduino Basics Powered by USB Data transfer by USB Digital pins + Analog pins
    • Arduino Programming Arduino Development Environment Language based on C http://arduino.cc/en/Reference/HomePage
    • Arduino Programming
    • Arduino Programming Python?
    • void'setup()'{ } void'loop()'{''' } Arduino Programming
    • void'setup()'{ '''//a'comment'in'the'setup'section'which'is'run'once ''.Serial.begin(9600); } void'loop()'{''' } Arduino Programming
    • 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
    • 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
    • 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
    • Sensors
    • Hands-on!
    • #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); ''' }