SlideShare a Scribd company logo
1 of 20
Coding For Disaster Relief
We would like to acknowledge the Traditional Owners
of this country, and the custodianship of their elders
past, present, and future.
Acknowledgement of
Country
EWB works in partnership with communities
in Aus and overseas, helping them to access the
knowledge and appropriate engineering solutions
that they need to give them more control of their lives.
Engineers Without Borders
Coding + Engineering
Coded Devices
Around the World
Example: Farming
Coding Language + Microcomputer + Electronics
Connect your computer to Raspberry Pi:
 Gently connect the CAT cable (big silver box on the Pi)
 Then the microUSB cable for power (small silver plug on Pi)
 Check that small green, red, and two orange lights illuminate on the
Raspberry Pi
 Open an internet browser (ideally Google Chrome)
 Type 192.168.1.1:8888 in the website address bar and press Enter
Opening our coding page
The Notebook Homepage
New Notebook
Follow the worksheet instructions to learn the fundamentals of
most mid to high-level coding languages.
Two things to remember about Python:
 It is CaSE SenSItiVE, so copy the worksheet code exactly
 The code that follows statements & loops (if, while, for, etc)
must be indented with the tab key or space bar
Coding Fundamentals
Cyclone Aftermath
Rescue Beacon
Beacon Wiring:
The Circuit
RESISTOR:
gets rid of some power
LED Light:
our beacon
Power
No Power
6th pin
(5 volts
= POWER)
This way
round:
Beacon Wiring:
Step 1 - Power
Power
Longer leg
connected on
POWER side
(because it’s
the positive
leg)
Beacon Wiring:
Step 2 - Resistor + LED
Power
3rd pin
(0 volts
= NO POWER/
’GROUND’)
Beacon Wiring:
Step 3 - Ground Wire
Now use the code in the
worksheet to get it flashin’
Radio Message
Now use the code in the
worksheet to transmit your
typed message
Debrief Discussion
Free learn-to-code websites:
Code Academy: http://www.codecademy.com/#!/exercises/0
Scratch: http://scratch.mit.edu/
Code Avengers: http://www.codeavengers.com/
Hackety Hack: http://hackety.com/
Continue the Journey
Continue the Journey
The Raspberry Pi was designed for students
and people who love doing electronics
projects at home. They cost around $50
and can be bought online from within Aus.
The breadboard and other cables
and electronics can all be bought
online or from an electronics store
like Jaycar.
Example Raspberry Pi project: 3D LED cube…

More Related Content

Similar to Coding for Disaster Relief Projects

NSTA 2013 Denver - ArduBlock and Arduino
NSTA 2013 Denver - ArduBlock and ArduinoNSTA 2013 Denver - ArduBlock and Arduino
NSTA 2013 Denver - ArduBlock and ArduinoBrian Huang
 
Physical prototyping lab1-input_output (2)
Physical prototyping lab1-input_output (2)Physical prototyping lab1-input_output (2)
Physical prototyping lab1-input_output (2)Tony Olsson.
 
Intro to the raspberry pi board
Intro to the raspberry pi boardIntro to the raspberry pi board
Intro to the raspberry pi boardThierry Gayet
 
JavaOne Automatizando sua casa usando Java, JAVAME, JAVAFX e Open Source Hard...
JavaOne Automatizando sua casa usando Java, JAVAME, JAVAFX e Open Source Hard...JavaOne Automatizando sua casa usando Java, JAVAME, JAVAFX e Open Source Hard...
JavaOne Automatizando sua casa usando Java, JAVAME, JAVAFX e Open Source Hard...Globalcode
 
JavaOne Automatizando sua casa usando Java, JAVAME, JAVAFX e Open Source Hard...
JavaOne Automatizando sua casa usando Java, JAVAME, JAVAFX e Open Source Hard...JavaOne Automatizando sua casa usando Java, JAVAME, JAVAFX e Open Source Hard...
JavaOne Automatizando sua casa usando Java, JAVAME, JAVAFX e Open Source Hard...Globalcode
 
Raspberry pi sikha
Raspberry pi sikhaRaspberry pi sikha
Raspberry pi sikhasikhakv
 
Building the Internet of Things with Raspberry Pi
Building the Internet of Things with Raspberry PiBuilding the Internet of Things with Raspberry Pi
Building the Internet of Things with Raspberry PiNeil Broers
 
Arduino Slides With Neopixels
Arduino Slides With NeopixelsArduino Slides With Neopixels
Arduino Slides With Neopixelssdcharle
 
Arm cross development_with_eclipse
Arm cross development_with_eclipseArm cross development_with_eclipse
Arm cross development_with_eclipseWalmar de Paula
 
ATAL NEW BROCHURE details (1).pptx
ATAL NEW BROCHURE details (1).pptxATAL NEW BROCHURE details (1).pptx
ATAL NEW BROCHURE details (1).pptxygsdyguahd
 
Introduction to Arduino with ArduBlock & SparkFun LilyPad
Introduction to Arduino with ArduBlock & SparkFun LilyPadIntroduction to Arduino with ArduBlock & SparkFun LilyPad
Introduction to Arduino with ArduBlock & SparkFun LilyPadBrian Huang
 
Arduino Workshop Slides
Arduino Workshop SlidesArduino Workshop Slides
Arduino Workshop Slidesmkarlin14
 

Similar to Coding for Disaster Relief Projects (20)

NSTA 2013 Denver - ArduBlock and Arduino
NSTA 2013 Denver - ArduBlock and ArduinoNSTA 2013 Denver - ArduBlock and Arduino
NSTA 2013 Denver - ArduBlock and Arduino
 
Physical prototyping lab1-input_output (2)
Physical prototyping lab1-input_output (2)Physical prototyping lab1-input_output (2)
Physical prototyping lab1-input_output (2)
 
Intro to the raspberry pi board
Intro to the raspberry pi boardIntro to the raspberry pi board
Intro to the raspberry pi board
 
JavaOne Automatizando sua casa usando Java, JAVAME, JAVAFX e Open Source Hard...
JavaOne Automatizando sua casa usando Java, JAVAME, JAVAFX e Open Source Hard...JavaOne Automatizando sua casa usando Java, JAVAME, JAVAFX e Open Source Hard...
JavaOne Automatizando sua casa usando Java, JAVAME, JAVAFX e Open Source Hard...
 
JavaOne Automatizando sua casa usando Java, JAVAME, JAVAFX e Open Source Hard...
JavaOne Automatizando sua casa usando Java, JAVAME, JAVAFX e Open Source Hard...JavaOne Automatizando sua casa usando Java, JAVAME, JAVAFX e Open Source Hard...
JavaOne Automatizando sua casa usando Java, JAVAME, JAVAFX e Open Source Hard...
 
SIGFOX Makers Tour - Porto
SIGFOX Makers Tour - PortoSIGFOX Makers Tour - Porto
SIGFOX Makers Tour - Porto
 
Raspberry pi sikha
Raspberry pi sikhaRaspberry pi sikha
Raspberry pi sikha
 
Building the Internet of Things with Raspberry Pi
Building the Internet of Things with Raspberry PiBuilding the Internet of Things with Raspberry Pi
Building the Internet of Things with Raspberry Pi
 
What is arduino
What is arduinoWhat is arduino
What is arduino
 
Arduino Slides With Neopixels
Arduino Slides With NeopixelsArduino Slides With Neopixels
Arduino Slides With Neopixels
 
Intro_to_Arduino_-_v30.pptx
Intro_to_Arduino_-_v30.pptxIntro_to_Arduino_-_v30.pptx
Intro_to_Arduino_-_v30.pptx
 
Arm cross development_with_eclipse
Arm cross development_with_eclipseArm cross development_with_eclipse
Arm cross development_with_eclipse
 
ATAL NEW BROCHURE details (1).pptx
ATAL NEW BROCHURE details (1).pptxATAL NEW BROCHURE details (1).pptx
ATAL NEW BROCHURE details (1).pptx
 
Introduction to Arduino with ArduBlock & SparkFun LilyPad
Introduction to Arduino with ArduBlock & SparkFun LilyPadIntroduction to Arduino with ArduBlock & SparkFun LilyPad
Introduction to Arduino with ArduBlock & SparkFun LilyPad
 
Rassberry pi
Rassberry piRassberry pi
Rassberry pi
 
Raspberry Pi
Raspberry PiRaspberry Pi
Raspberry Pi
 
Sunspot
SunspotSunspot
Sunspot
 
Sunspot
SunspotSunspot
Sunspot
 
SIGFOX Makers Tour - Dublin
SIGFOX Makers Tour - DublinSIGFOX Makers Tour - Dublin
SIGFOX Makers Tour - Dublin
 
Arduino Workshop Slides
Arduino Workshop SlidesArduino Workshop Slides
Arduino Workshop Slides
 

Coding for Disaster Relief Projects

  • 2. We would like to acknowledge the Traditional Owners of this country, and the custodianship of their elders past, present, and future. Acknowledgement of Country
  • 3. EWB works in partnership with communities in Aus and overseas, helping them to access the knowledge and appropriate engineering solutions that they need to give them more control of their lives. Engineers Without Borders
  • 5. Coded Devices Around the World Example: Farming
  • 6. Coding Language + Microcomputer + Electronics
  • 7. Connect your computer to Raspberry Pi:  Gently connect the CAT cable (big silver box on the Pi)  Then the microUSB cable for power (small silver plug on Pi)  Check that small green, red, and two orange lights illuminate on the Raspberry Pi  Open an internet browser (ideally Google Chrome)  Type 192.168.1.1:8888 in the website address bar and press Enter Opening our coding page
  • 10. Follow the worksheet instructions to learn the fundamentals of most mid to high-level coding languages. Two things to remember about Python:  It is CaSE SenSItiVE, so copy the worksheet code exactly  The code that follows statements & loops (if, while, for, etc) must be indented with the tab key or space bar Coding Fundamentals
  • 13. Beacon Wiring: The Circuit RESISTOR: gets rid of some power LED Light: our beacon Power No Power
  • 14. 6th pin (5 volts = POWER) This way round: Beacon Wiring: Step 1 - Power
  • 15. Power Longer leg connected on POWER side (because it’s the positive leg) Beacon Wiring: Step 2 - Resistor + LED
  • 16. Power 3rd pin (0 volts = NO POWER/ ’GROUND’) Beacon Wiring: Step 3 - Ground Wire Now use the code in the worksheet to get it flashin’
  • 17. Radio Message Now use the code in the worksheet to transmit your typed message
  • 19. Free learn-to-code websites: Code Academy: http://www.codecademy.com/#!/exercises/0 Scratch: http://scratch.mit.edu/ Code Avengers: http://www.codeavengers.com/ Hackety Hack: http://hackety.com/ Continue the Journey
  • 20. Continue the Journey The Raspberry Pi was designed for students and people who love doing electronics projects at home. They cost around $50 and can be bought online from within Aus. The breadboard and other cables and electronics can all be bought online or from an electronics store like Jaycar. Example Raspberry Pi project: 3D LED cube…