Arduous Arduinos How can we make useful things? g 1 B f Before we begin... b i Is there a need? How do we fill this need? Is technology appropriate for this need? 2 E Example: l P Pulse l O Ox Is there a need? How do we fill this need? Is technology appropriate for this need? 3 Courtesy of Google.com. Used with permission. Th pulse The l oximeter i t how does it work? 4 Red Infrared Photodetector Image by MIT OpenCourseWare. Th pulse The l oximeter i t how does it work? 5 10 (Red) 660 nm (Infrared) 910 nm Absorption Hb HbO2 0.1 600 700 800 900 Wavelength (nm) 1000 Image by MIT OpenCourseWare. Th pulse The l oximeter i t how does it work? 6 H How d does it work? k? Shines light g through g a finger g Measures light intensity Converts intensity into blood oxygen level 7 S what So h t do d we need? d? We need to shine a light through a finger We need to measure light intensity We need to display y and record the collected data We need to convert intensity into blood oxygen level 8 Di l and Display d record? d? The world is complicated We can break complicated systems down into easier problems p We can use same data for multiple projects 9 Th pulse The l O Oximeter i t how we did it 10 S what So h t do d we need? d? We need to shine a light through a finger 11 Image made using http://fritzing.org/ li ht th light through h a fifinger how we did it 12 b burn Th Through h a fifinger how We screwed up 13 S what So h t do d we need? d? We need to shine a light through a finger We need to measure light intensity 14 Courtesy of SparkFun Electronics. Used with permission. M Measuring i th the lilight ht how we did it 15 M Measuring i th the lilight ht how we did it 16 Excerpts from TAOS Inc. product spec sheets removed due to copyright restrictions. See Programmable Light-to-Frequency Converters spec sheets TSL230R-LF, TSL230AR-LF, and TSL230BR-LF. M Measuring i th the lilight ht how we did it 17 M Measuring i th the lilight ht how we did it 18 M Measuring i th the lilight ht how we did it 19 M Measuring i th the lilight ht how we did it 20 S what So h t do d we need? d? We need to shine a light g through g a finger g We need to measure light intensity We need to display and record the collected data 21 graphing hi and d storing t i how we did it 22 graphing hi and d storing t i how we did it 23 graphing hi and d storing t i how we did it 24 graphing hi and d storing t i how we did it 25 graphing hi and d storing t i how we did it 26 S what So h t do d we need? d? We need to shine a light through a finger We need to measure light intensity We need to display y and record the collected data We need to convert intensity into blood oxygen level 27 How do we get the yg level? blood oxygen Process the data! Conditional statements (if) Control statements (while (while, for) Translating g the abstract p problem into a logical g one 28 How can I learn about p g programming? g Websites ((Processing, g, Python, y , C)) Books (O’Reilly collection is free!) Ask a friend 29 M i Id Main Ideas Understand the problem Break down the problem Design each block Experiment! p 30 Q Questions? ti ? I can’t have possibly explained everything in the right way to everyone 31 SURPRISE! Now yyou have to build the system y 32 MIT OpenCourseWare http://ocw.mit.edu EC.710 D-Lab: Medical Technologies for the Developing World Spring 2010 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.