你好,
我们是
电子工程系的4名学生,我们有一个项目与一个PSoC组件保持距离。
我们希望产生一个40 kHz频率的方波,并测量时间响应。
我们只有PSoC创建者1软件。
我们刚刚开始使用这个软件。
为了产生信号,我们使用具有6 MHz时钟和150周期的PWM。
但是如何提取反射信号呢?我们已经看到了一些具有计数器的PSoC 3的例子,但是我们的例子是不同的。
谢谢你的帮助,
最好的问候,
阿德里安。
JPG
40.3 K
以上来自于百度翻译
以下为原文
Hi,
We are 4 students in electronics engineering and we have the project to mesure a distance with a PSoC component.
We want to generate a square waveform with a 40 kHz frequency and to measure the
time response.
We only have the PSoC Creator 1.0 software.
We're just beginning with this software.
To generate the signal, we use a pwm with a 6 MHz clock and a period of 150.
But how to retrieve the reflective signal ? We have seen some examples for the PSoC 3 with a counter but ours is different.
Thanks in advance for your help,
Best regards,
Adrien.