Presentation is loading. Please wait.

Presentation is loading. Please wait.

7/10/2007 AIIT Summer Course - D# 1 Wireless Embedded Systems and Networking Lab Day 2: Part 1: Add your own external sensors Lab Assistant: Jaein Jeong.

Similar presentations


Presentation on theme: "7/10/2007 AIIT Summer Course - D# 1 Wireless Embedded Systems and Networking Lab Day 2: Part 1: Add your own external sensors Lab Assistant: Jaein Jeong."— Presentation transcript:

1 7/10/2007 AIIT Summer Course - D# 1 Wireless Embedded Systems and Networking Lab Day 2: Part 1: Add your own external sensors Lab Assistant: Jaein Jeong University of California, Berkeley

2 7/10/2007AIIT Summer Course - D#2 Magnetic Reed Sensor Study the resistance of the magnetic reed sensor open and closed. Discuss pull up, expected voltage and current.

3 7/10/2007AIIT Summer Course - D#3 Connecting sensors to expansion port

4 7/10/2007AIIT Summer Course - D#4 Configuring Switch Port. Enable Device. Name the states.

5 7/10/2007AIIT Summer Course - D#5 Interrupt vs. Sampling Discuss interrupt versus sampling. Exercise 2-1: set the alarm on humidity.

6 7/10/2007AIIT Summer Course - D#6 Using RTD Exercise 2-2: Study the resistance of the RTD in ice water versus room temperature versus tea. Ice Water Room Temperature Tea Resistance of RTD Temperature

7 7/10/2007AIIT Summer Course - D#7 Concept of resistive sensors. Discuss voltage divider, reference voltage. Mapping readings to engineering units. Exercise 2-3: What value R comp should be set to? For a Primer Pack node, V ADC0 is between 0 to 4095 (12-bits). Internal to Sensor Node R th R comp VCC ADC0 VPU0

8 7/10/2007AIIT Summer Course - D#8 ADC0 GND VPU0 Attach RTD to ADC port Connect one end to ADCx, the other to GND. Try with your own node. Internal to sensor node Wiring to sensor node

9 7/10/2007AIIT Summer Course - D#9 Configure ADC port, resistor, reference 1.Enable Port to Use. 2.Configure Each Port.

10 7/10/2007AIIT Summer Course - D#10 Measurement using a sensor node Conduct same measurements using a sensor node. –Measure temperature using the RTD connected to a node. –Try both in ice water versus in room temperature. Compare results to expectations.

11 7/10/2007AIIT Summer Course - D#11 Conversion Pull data into excel using the data export facility and do the conversions. Raw ReadingTemperature Point 1 Point 2 Point 3 Point 4 Point 5

12 7/10/2007AIIT Summer Course - D#12 A Sample Sensor Board Resistive sensor: photo resistor Voltage sensor: voltage divider with variable resistor Actuator: LED

13 7/10/2007AIIT Summer Course - D#13 Sample Sensor Board 1K IO0 R comp : Programmable Potentiometer in Primer Pack Sensor Node R photo R comp (set close to 100K) VCC ADC0 VPU0 R v (0 – 100K) R pu (100K) R comp (set close to 0 Ohm) VCC ADC1 VPU1


Download ppt "7/10/2007 AIIT Summer Course - D# 1 Wireless Embedded Systems and Networking Lab Day 2: Part 1: Add your own external sensors Lab Assistant: Jaein Jeong."

Similar presentations


Ads by Google