slides and script coding for disaster relief rmit
TRANSCRIPT
![Page 1: slides and script Coding for Disaster Relief RMIT](https://reader031.vdocuments.mx/reader031/viewer/2022022123/589fc62d1a28ab91398b5d13/html5/thumbnails/1.jpg)
Coding For Disaster Relief
![Page 2: slides and script Coding for Disaster Relief RMIT](https://reader031.vdocuments.mx/reader031/viewer/2022022123/589fc62d1a28ab91398b5d13/html5/thumbnails/2.jpg)
We would like to acknowledge the Traditional Owners of this country, and the custodianship of their elders
past, present, and future.
Acknowledgement of Country
![Page 3: slides and script Coding for Disaster Relief RMIT](https://reader031.vdocuments.mx/reader031/viewer/2022022123/589fc62d1a28ab91398b5d13/html5/thumbnails/3.jpg)
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
![Page 4: slides and script Coding for Disaster Relief RMIT](https://reader031.vdocuments.mx/reader031/viewer/2022022123/589fc62d1a28ab91398b5d13/html5/thumbnails/4.jpg)
Coding + Engineering
![Page 5: slides and script Coding for Disaster Relief RMIT](https://reader031.vdocuments.mx/reader031/viewer/2022022123/589fc62d1a28ab91398b5d13/html5/thumbnails/5.jpg)
Coded Devices Around the World
Example: Farming
![Page 6: slides and script Coding for Disaster Relief RMIT](https://reader031.vdocuments.mx/reader031/viewer/2022022123/589fc62d1a28ab91398b5d13/html5/thumbnails/6.jpg)
Coding Language + Microcomputer + Electronics
![Page 7: slides and script Coding for Disaster Relief RMIT](https://reader031.vdocuments.mx/reader031/viewer/2022022123/589fc62d1a28ab91398b5d13/html5/thumbnails/7.jpg)
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
![Page 8: slides and script Coding for Disaster Relief RMIT](https://reader031.vdocuments.mx/reader031/viewer/2022022123/589fc62d1a28ab91398b5d13/html5/thumbnails/8.jpg)
The Notebook Homepage
![Page 9: slides and script Coding for Disaster Relief RMIT](https://reader031.vdocuments.mx/reader031/viewer/2022022123/589fc62d1a28ab91398b5d13/html5/thumbnails/9.jpg)
New Notebook
![Page 10: slides and script Coding for Disaster Relief RMIT](https://reader031.vdocuments.mx/reader031/viewer/2022022123/589fc62d1a28ab91398b5d13/html5/thumbnails/10.jpg)
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
![Page 11: slides and script Coding for Disaster Relief RMIT](https://reader031.vdocuments.mx/reader031/viewer/2022022123/589fc62d1a28ab91398b5d13/html5/thumbnails/11.jpg)
Cyclone Aftermath
![Page 12: slides and script Coding for Disaster Relief RMIT](https://reader031.vdocuments.mx/reader031/viewer/2022022123/589fc62d1a28ab91398b5d13/html5/thumbnails/12.jpg)
Rescue Beacon
![Page 13: slides and script Coding for Disaster Relief RMIT](https://reader031.vdocuments.mx/reader031/viewer/2022022123/589fc62d1a28ab91398b5d13/html5/thumbnails/13.jpg)
Beacon Wiring: The Circuit
RESISTOR: gets rid of some power
LED Light: our beacon
WIRE
WIREPower
No Power
![Page 14: slides and script Coding for Disaster Relief RMIT](https://reader031.vdocuments.mx/reader031/viewer/2022022123/589fc62d1a28ab91398b5d13/html5/thumbnails/14.jpg)
6th pin (5 volts
= POWER)
This way round:
Beacon Wiring: Step 1 - Power
![Page 15: slides and script Coding for Disaster Relief RMIT](https://reader031.vdocuments.mx/reader031/viewer/2022022123/589fc62d1a28ab91398b5d13/html5/thumbnails/15.jpg)
Power
Longer leg connected on POWER side (because it’s the positive leg)
Beacon Wiring: Step 2 - Resistor + LED
![Page 16: slides and script Coding for Disaster Relief RMIT](https://reader031.vdocuments.mx/reader031/viewer/2022022123/589fc62d1a28ab91398b5d13/html5/thumbnails/16.jpg)
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’
![Page 17: slides and script Coding for Disaster Relief RMIT](https://reader031.vdocuments.mx/reader031/viewer/2022022123/589fc62d1a28ab91398b5d13/html5/thumbnails/17.jpg)
Radio Message
Now use the code in the worksheet to transmit your
typed message
![Page 18: slides and script Coding for Disaster Relief RMIT](https://reader031.vdocuments.mx/reader031/viewer/2022022123/589fc62d1a28ab91398b5d13/html5/thumbnails/18.jpg)
Debrief Discussion
![Page 19: slides and script Coding for Disaster Relief RMIT](https://reader031.vdocuments.mx/reader031/viewer/2022022123/589fc62d1a28ab91398b5d13/html5/thumbnails/19.jpg)
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
![Page 20: slides and script Coding for Disaster Relief RMIT](https://reader031.vdocuments.mx/reader031/viewer/2022022123/589fc62d1a28ab91398b5d13/html5/thumbnails/20.jpg)
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…