完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
你好,
我是一个新的编程程序,有一点想法,就是如何编程这个设备。我的目标是设计一个数据采集系统,它应该有两个通道来获取电压和电流。为此,我计划使用MUX使用Delta Sigma ADC。在液晶显示器上应显示变化渐开线和电流。最后将采集到的数据转化为PC UngutART。我附上我的项目文件供你参考如何让系统。请指引我的编程toacchivethe期望的结果。 谢谢和问候, 维卡斯库马 投影0.jPG 250 K 以上来自于百度翻译 以下为原文 Hi, I am new to PSoc programming with a little idea as how to programm this device. My aim is to design a data acqusition system which should have two channels to acquire voltage and current. For this i am planning to use delta sigma ADC with a MUX. Variation in voltage and current should be displayed in LCD. Finally data acquired can be transgered to PC using UART. I have attached my project file for for your reference as how i want the system. Please, guide me to the programming to acchive the desired result. Thanks & regards, VIkas Kumar
|
|
相关推荐
17个回答
|
|
|
|
|
|
您好!
请你把我的项目文件发给我,我想做32个频道。 以上来自于百度翻译 以下为原文 Hi Please can you send me ur project file .I am trying to do for 32 channel |
|
|
|
有一个CySualReSeTe[()API。请参阅创建者帮助菜单中的系统参考指南。
鲍勃 以上来自于百度翻译 以下为原文 There is a CySoftwareReset() API. See System Reference Guide from Creator Help menu. Bob |
|
|
|
嗯,看数据表为ADC MUX,LCD和UART的元件。我认为还有一个- 030盒读取电压通过ADC采样程序,并在LCD上显示。你可以用这个作为起点。
以上来自于百度翻译 以下为原文 Well, read the data sheets for the ADC, MUX, LCD and UART components first. I think there is also a sample program with the -030 kit that reads a voltage via ADC and shows it on the LCD. You can use this as s starting point. |
|
|
|
你想使用PSoC 3还是可以使用PSoC 5LP或PSoC 4设备。我有一个程序,在PSoC 4上读取6个电压,其中一个通道可以被转换成安培表。
以上来自于百度翻译 以下为原文 Are you wanting to use the PSOC 3 or can you use a PSOC 5lp or a PSOC 4 device. I have a program that reads 6 voltages on a PSOC 4 and one of the channels could be changed to an Amp meter. |
|
|
|
对我来说,PSOC版本没有任何限制。根据你的建议,我当然可以选择PSoC 5LP或PSoC 4。你指的是你处理6个电压源的项目,对我来说非常有用。谢谢
以上来自于百度翻译 以下为原文 For me as such there is no constraint on psoc version. As per your suggestion I can certainly go for psoc 5lp or psoc 4. The project that u are referring in which you dealt with 6 voltage sources, can be very useful for me. Thanks |
|
|
|
HII
对于上面的DAS,我已经编写了代码(附件)。但是我没有得到如何包含所有的PIN(如IMAGEOFITECHED项目文件中所示)。请指引我。 谢谢。 维卡斯 邮编 1.2 K 以上来自于百度翻译 以下为原文 Hii , For above DAS i have written the codes (attached). But i am not getting how to include all the pins (as shown in the image ofattached project file ). Please guide me. Thanks . vikas
|
|
|
|
你能把你的整个项目发布出来,这样我们就可以看看你的所有设置了吗?要做到这一点,使用C造饰者和GT;文件-GT;创建工作区束(最小)并附加结果文件。
鲍勃 以上来自于百度翻译 以下为原文 Can you please post your complete project, so that we all can have a look at all of your settings? To do so, use Creator->File->Create Workspace Bundle (minimal) and attach the resulting file. Bob |
|
|
|
60user186 发表于 2019-1-14 19:25 Hii Bob 根据你的建议,我附上了完整的项目文件。请找到同样的东西。 谢谢和问候, 维卡斯 ViyDas.Cyrkk.Access 01.Zip 463.1 K 以上来自于百度翻译 以下为原文 Hii Bob, As per your suggestion i have attached the complete project file. please find the same. Thanks & Regards, Vikas
|
|
|
|
好的,HLI的建议最合适。
一些修正: 有一个函数CyDelay(UIT32 32)不使用中断处理程序中的延迟。 鲍勃 以上来自于百度翻译 以下为原文 OK, hli's advices fit best. some corrections: There is a function CyDelay(uint32 ms)do not use a delay in an interrupt handler. Bob |
|
|
|
如何软复位硬件。意味着工具包应该软复位每当我按下一个键在前面板。
谢谢 维卡斯 以上来自于百度翻译 以下为原文 How to soft reset the hardware. means kit should soft reset every time i press a key on the front pannel. thanks vikas |
|
|
|
使用CySualARESET()API。您可以从“创建者帮助”菜单中找到这一点和其他一些系统参考指南。
鲍勃 以上来自于百度翻译 以下为原文 Use the CySoftwareReset() API. You find this and a few others in the System Reference Guides from Creator Help menu. Bob |
|
|
|
感谢所有的回应,直到现在,现在我可以从我的DAS硬件获得电压和电流。但是我能得到的采样率大约是1000个样品/秒。我想要一个50000个样本/秒或更多的采样率。为此,我想先把数据传输到寄存器库,然后再调用它来获取PC中的数据。我的问题是如何配置寄存器/存储体,以便先将数据写入它,然后再调用它。
谢谢 维卡斯 以上来自于百度翻译 以下为原文 Thank you all for all the responses till now, now i can acquire voltage and current from my DAS hardware. But the sampling rate what i could achive is about 1000 samples/sec. I want a sampling rate of 50000 samples/sec or more. For that i am thinking of transferring the data to register bank first and then call it to acquire the data in PC. My question is how to configure registers/memory banks to first write data to it and then call it back. Thanks Vikas |
|
|
|
我试图把ADC数据写入内存并调用它。但这并没有解决这个问题。现在我的采样率也低到1000个样品/秒。我已经附上我的项目文件,请建议修改,以便在更短的时间内获得更多的数据样本。
谢谢, 维卡斯 VIY-DAS-000。Cyrkk.Asvivi01.Zip 475.4 K 以上来自于百度翻译 以下为原文 I Tried to write ADC data to memory and call it back. But this has not solved the problem. Means now also my sampling rate is as low as 1000 samples/ sec. I have attached my project file please suggest modification so that more data samples in shorter duration can be obtained. Thanks, Vikas
|
|
|
|
第一:你有多个渠道喂养你的ADC需要转换模式“多样本”。这将降低转化率。
你没告诉你需要多少样品,但最快的方式存储在内存的16位ADC的数据项是使用DMA。有PSOC3的示例项目,请检查这些项目。 鲍勃 以上来自于百度翻译 以下为原文 First: you have multiple channels feeding your ADC which requires a conversion mode of "Multi-Sample". That will reduce the conversion rate. You did not tell how many samples you need, but fastest way to store ADC data as 16 bit items in memory is using DMA. There are example projects for PSoC3, check those. Bob |
|
|
|
60user186 发表于 2019-1-14 20:53 Hii Bob 对我来说,超过40K的样品/秒。或更多会为我服务。我会尝试使用DMA,并将照顾多个渠道,但我的问题是,即使我从内存中读取数据,我的采样率极低。 以上来自于百度翻译 以下为原文 Hii Bob, For me anything above 40k samples / sec. or more will serve my purpose. I will try to use DMA and will take care of multiple channels, but my question is even though i am reading the data from memory, my sampling rate is extremely low . |
|
|
|
lxhzx 发表于 2019-1-14 18:43 嗨,鲍伯 你能帮我开发一个32通道数据采集系统吗???? 我是一个新的PSoDeCo开发者。 当做 Tanvi:) 以上来自于百度翻译 以下为原文 Hi Bob Can you help me in developing a 32 channel Data acquisition system ??? I am a new PSoC developer. Regards Tanvi :) |
|
|
|
只有小组成员才能发言,加入小组>>
718个成员聚集在这个小组
加入小组1911 浏览 1 评论
1666 浏览 1 评论
3419 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
1583 浏览 6 评论
1388 浏览 1 评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
210浏览 2评论
195浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
341浏览 2评论
367浏览 1评论
76浏览 1评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-5-13 17:47 , Processed in 0.940681 second(s), Total 80, Slave 74 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号