A67 发表于 2017-3-31 10:24:27

请教大神怎么编程来控制传感器信号的输出

根据这段话来控制呼吸传感器信号的输出
Every 1ms collect one analog signal reading (ADC is 10-bit, giving values in the range 0 to
1023)
Integrate collected analog signal readings to reduce noise. Sum 25 readings.
If sum is less than 1500 (low reading), then try to increase the gain by multiplexing between
different feedback resistors using Arduino digital outputs 22, 24, 26 or 28.
If sum is more than 14800 (high reading), then try to reduce the gain by multiplexing between
different resistors using Arduino digital outputs 22, 24, 26 or 28.
Every 100ms send the reading over Bluetooth (write to Arduino UART output)

A67 发表于 2017-3-31 19:55:35

来个大神给点建议怎么编程啊:)

A67 发表于 2017-4-1 10:01:16

看到的人留个言吧,好让我知道有人看了
页: [1]
查看完整版本: 请教大神怎么编程来控制传感器信号的输出