4.13 Week11 Note
This week is about Input Devices.
inputs
- DDR, PORT, PINS
- comparator 比测仪
- A/D
communication
- pySerial: Python与串口通信
- serialport: talk with js
- chrome.serial
- WebUSB API
- bit timing: crucial parameter, xxx bits/sec
- clocks (10% RC, 1% RC calibrated, .5% resonator, 50 ppm crystal)
switch
button
slide
motion
pyroelectric 热释电红外PIR运动传感器探测器模块
Measure thermal radiation of your body. Detect activity and changes.
distance
sonar 声纳
Ultrasonic Module HC-SR04 Distance Sensor
magnetic field
Hall effect:霍尔效应是指当固体导体放置在一个磁场内,且有电流通过时,导体内的电荷载子受到洛伦兹力而偏向一边,继而产生电压(霍尔电压)的现像。电压所引致的电场力会平衡洛伦兹力。
temperature
NTC : resistence goes up with temperature. higer temperature, less sensitive
RTD thermistors: lower temperature, more sensitive (NTC table)
_sml.jpg)
light
phototransistor 光电晶体管
acceleration, orientation, rotation
3D accelerometer I2C
sound
MEMS, Microphones > Knowles SPU0414HR5H-SB-7
step response
resistance, capacitance, inductance, position, pressure, proximity, tilt, acceleration, humidity,
project: touchpad, multitouch, ...
loading (test video)
transmit-receive (test video)
dielectric spectroscopy measurement
vibration
piezo
force
image
OpenCV: a lib for video processing
libuvc: a cross-platform library for USB video devices
WebRTC:WebRTC (Web Real-Time Communications) is a technology which enables Web applications and sites to capture and optionally stream audio and/or video media, as well as to exchange arbitrary data between browsers without requiring an intermediary.
you can use js to do image processing like this :video.html