Arduino新手,想利用它来验证自己制作的电容式接触传感器。
自制的电容传感器的结构就是简单的平行板电容器,电容值比较小,大概1pF左右。
参考了不少方案,代码,大多一知半解,所以一直实现不了想要的效果,即:通过接触控制LED等行为。
参考过的方案有:
http://tieba.baidu.com/p/2060482431
https://www.arduino.cc/en/Tutorial/CapacitanceMeter
另外,也看了一些别人发表的论文上的做法。虽然我看懂了他的思路,但我不知道该怎么做。原文如下:
3. One I/O pin internal pull-upAn I/O pin of Arduino® was connected to the active electrodes, while the GND pin wasconnected to the grounded electrodes. First, the I/O pin was set to output and the LOW state todischarge the capacitor connecting the pin. Then the internal pull-up resistor (35.7 kΩ) wasturned to the HIGH state, measuring the time it takes for the pin to return to the HIGH state. Thepull-up resistor integrated in the microcontroller cascaded with the touchpad capacitor to serve asan “RC-current”. The rise time is defined as the time required for the potential rise from the lowvalue to a defined value (3V for Arduino®), and is proportional to capacitance. The frequency ofdischarging-pull-up cycles was set to 1 kHz.
——《Direct Writing on Paper of Foldable Capacitive Touch Pads withSilver Nanowire Inks》
有没有大神能提供一下思路?
自制的电容传感器的结构就是简单的平行板电容器,电容值比较小,大概1pF左右。
参考了不少方案,代码,大多一知半解,所以一直实现不了想要的效果,即:通过接触控制LED等行为。
参考过的方案有:
http://tieba.baidu.com/p/2060482431
https://www.arduino.cc/en/Tutorial/CapacitanceMeter
另外,也看了一些别人发表的论文上的做法。虽然我看懂了他的思路,但我不知道该怎么做。原文如下:
3. One I/O pin internal pull-upAn I/O pin of Arduino® was connected to the active electrodes, while the GND pin wasconnected to the grounded electrodes. First, the I/O pin was set to output and the LOW state todischarge the capacitor connecting the pin. Then the internal pull-up resistor (35.7 kΩ) wasturned to the HIGH state, measuring the time it takes for the pin to return to the HIGH state. Thepull-up resistor integrated in the microcontroller cascaded with the touchpad capacitor to serve asan “RC-current”. The rise time is defined as the time required for the potential rise from the lowvalue to a defined value (3V for Arduino®), and is proportional to capacitance. The frequency ofdischarging-pull-up cycles was set to 1 kHz.
——《Direct Writing on Paper of Foldable Capacitive Touch Pads withSilver Nanowire Inks》
有没有大神能提供一下思路?

