gsi: andy wang wed 2-5 ee16a lab: touchscreen 3 la: ashley ...ee16a/fa16/lab/... · wed 2-5 gsi:...

9
EE16A Lab: Touchscreen 3 WED 2-5 GSI: Andy Wang LA: Ashley, Carol, Eric

Upload: others

Post on 21-Jul-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: GSI: Andy Wang WED 2-5 EE16A Lab: Touchscreen 3 LA: Ashley ...ee16a/fa16/lab/... · WED 2-5 GSI: Andy Wang LA: Ashley, Carol, Eric. Last Week: Resistive Touchscreen Touching the screen

EE16A Lab: Touchscreen 3WED 2-5

GSI: Andy WangLA: Ashley, Carol, Eric

Page 2: GSI: Andy Wang WED 2-5 EE16A Lab: Touchscreen 3 LA: Ashley ...ee16a/fa16/lab/... · WED 2-5 GSI: Andy Wang LA: Ashley, Carol, Eric. Last Week: Resistive Touchscreen Touching the screen

Last Week: Resistive Touchscreen

✘ Touching the screen yields a voltage we can measure

✘ Have to push hard enough to make contact

✘ Need to take one measurement for each coordinate

✘ No multi-touch

Page 3: GSI: Andy Wang WED 2-5 EE16A Lab: Touchscreen 3 LA: Ashley ...ee16a/fa16/lab/... · WED 2-5 GSI: Andy Wang LA: Ashley, Carol, Eric. Last Week: Resistive Touchscreen Touching the screen

Capacitive Touchscreen

✘ Touching the screen changes the capacitance✘ No moving parts✘ Multi-touch is easy

How to measure capacitance?

Page 4: GSI: Andy Wang WED 2-5 EE16A Lab: Touchscreen 3 LA: Ashley ...ee16a/fa16/lab/... · WED 2-5 GSI: Andy Wang LA: Ashley, Carol, Eric. Last Week: Resistive Touchscreen Touching the screen

Measuring Capacitance

Discharge everything by closing clean switch:

Page 5: GSI: Andy Wang WED 2-5 EE16A Lab: Touchscreen 3 LA: Ashley ...ee16a/fa16/lab/... · WED 2-5 GSI: Andy Wang LA: Ashley, Carol, Eric. Last Week: Resistive Touchscreen Touching the screen

Measuring Capacitance

Charge touchscreen ( + finger?) to a known voltage

Page 6: GSI: Andy Wang WED 2-5 EE16A Lab: Touchscreen 3 LA: Ashley ...ee16a/fa16/lab/... · WED 2-5 GSI: Andy Wang LA: Ashley, Carol, Eric. Last Week: Resistive Touchscreen Touching the screen

Measuring Capacitance

Share charge with known capacitor:

Page 7: GSI: Andy Wang WED 2-5 EE16A Lab: Touchscreen 3 LA: Ashley ...ee16a/fa16/lab/... · WED 2-5 GSI: Andy Wang LA: Ashley, Carol, Eric. Last Week: Resistive Touchscreen Touching the screen

Op Amp as a Comparator

Essentially does:if V_in > V_ref:

return V_ddelse:

return 0

Page 8: GSI: Andy Wang WED 2-5 EE16A Lab: Touchscreen 3 LA: Ashley ...ee16a/fa16/lab/... · WED 2-5 GSI: Andy Wang LA: Ashley, Carol, Eric. Last Week: Resistive Touchscreen Touching the screen

✘ Student-built circuit from this semester’s EE 16B ----->

✘ Wires are straight and as short as possible

✘ IC’s (black chips) placed across middle of board so each side of pins is disconnected from the other

✘ Power supply connected to blue (-) and red (+) rails

Clean Circuits!

Page 9: GSI: Andy Wang WED 2-5 EE16A Lab: Touchscreen 3 LA: Ashley ...ee16a/fa16/lab/... · WED 2-5 GSI: Andy Wang LA: Ashley, Carol, Eric. Last Week: Resistive Touchscreen Touching the screen

Notes

✘ Materials handed to you: 2 copper strips, glass slide, tape

✘ Entire circuit grounded by same ground

✘ Use multimeter to measure capacitance

✘ Peel off tape from copper strips

✘ HW7 #5 Part d

✘ Finished capacitive touchscreens on TA desk as examples