完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
你好,先生,
我有CY8CITK-04942XX PSoC 4原型套件。我是初学者,我做过LED闪烁项目。现在我想做更多的项目。我有DS1307实时时钟Ic。我想将RTC与PSoC 4接口 我的任务 LED将开启1小时 LED将关闭10分钟 LED将打开20秒 我查看了组件数据日志,但没有RTC组件。我不知道如何在PSoC创建者上做顶级设计 能请人帮帮我吗? 以上来自于百度翻译 以下为原文 Hello sir , I have cy8ckit -049-42xx Psoc 4 prototyping KIt. I am begainer, recentally I have done LED blinking Project.. now I want to do some more projects. I have Ds1307 real time clock Ic. I want to interface RTC with psoc 4 My task LED will turn on for 1 houre LED will turn off for 10 minute LED will turn on for 20 seconad I looked component data log But there no RTC component. I don't understand how to make Top design on psoc creator could someone help me please ..........! |
|
相关推荐
48个回答
|
|
|
你好,Dana先生
我见过,你是最有帮助的成员之一。我想你不明白我说的话。用另一种方式看这个 我已经上传了我的帖子中关于我的项目的图片。 我在我的BooTooLoad和I2C中使用了两个组件,我知道我需要另一个组件。我问的是组件。我不明白我在设计中必须使用哪些组件。 你能告诉我在设计中使用的部件的名称吗? 以上来自于百度翻译 以下为原文 Hello Mr. Dana I have seen , you are one of the most helpful member. I think you didn't understand what I said. look at this in another way I have uploaded images in my last Post I already said about my project. I used two comonents in my design bootlodable and I2C I know I need another component . I am asking about component. I don't understand which components I have to used in my design. could you please tell me the name of components that are going to used in design ? |
|
|
|
|
|
哦,鲍伯,我真的很抱歉我的措辞不好。实际上,我想说的是,这里有很多成员愿意帮助。
不管怎样,我把项目文件附在硬件图片上。 外部5伏直流电 与晶体连接的销1, 2 引脚3与3.3伏电池连接 接地引脚4 与引脚5连接的P3.0 SCL P3.1与引脚6连接的SDA 与VCC连接的销8 实时时钟 1.2兆字节 以上来自于百度翻译 以下为原文 oh Bob , I am really sorry for my bad wording . actually I want to say that here are many members that are ready to help anyway , I am attaching project file with hardware picture external 5 v dc pin 1, 2 connected with crystal pin 3 connected with 3.3 v battery pin 4 connected with ground p3.0 SCL connected with pin 5 p3.1 SDA connected with pin 6 pin 8 connected with vcc
|
|
|
|
|
|
一两年前,我在项目中使用了DS1307。附上的是一个使用DS1307的小项目。除了Meal.C之外,您还可以找到DS1307.C和DS1307.H,它包含DS1307的特定代码,以将其数据格式转换为更灵活的时间字符串格式。
作记号 DS1307L DEMOO1.ZIP 939.9 K 以上来自于百度翻译 以下为原文 A year or two ago I used the DS1307 in a project. Attached is a little project the uses the DS1307. Other than main.c, you will find a DS1307.c and DS1307.h that contain most of the DS1307 specific code to convert to/from its data format to a more flexible time string format.. Mark
|
|
|
|
|
|
您需要的唯一附加组件将是控制LED的输出引脚。取消“硬件连接”,并使用PixWrreWe()来打开和关闭LED(查看数据表)。比较你眨眼的例子,看看PIN必须连接的PIN号码。
鲍勃 以上来自于百度翻译 以下为原文 The only additional component you need will be the output pin that is controlling your LED. Uncheck the "Hardware Connection" and use Pin_Write() to switch the LED on and off (Look at datasheet). Compare your blinking example to see to which pin-number the pin has to be connected. Bob |
|
|
|
|
|
当然,你必须连接电源和接地,
和土地共享。 问候,Dana。 以上来自于百度翻译 以下为原文 Of course you have to connect power and ground, and grounds shared. Regards, Dana. |
|
|
|
|
|
我有相同的示意图,当我张贴时我没有分配的LED。
一般性的讨论,我不关心GPIO LED连接到什么,一个 在董事会或外部… 问候,Dana。 以上来自于百度翻译 以下为原文 I have the same schematic, the LED I had not assigned when I posted. Generic discussion, I do not care what GPIO LED is connected to, one on the board or external.... Regards, Dana. |
|
|
|
|
|
你好,鲍伯先生
谢谢你的快速回复 正如你所说的,我正在上传我的作品。但还是让人困惑。因为我必须使用PSoC 4的RTC芯片,但是为什么我们不在设计中使用RTC芯片? 以上来自于百度翻译 以下为原文 Hello Mr. Bob thank you for your quick reply as you said I am uploading my work. but still confusing. because I have to use RTC chip with PSoC 4 but why we are not using RTC chip in Design ? |
|
|
|
|
|
你看过Cysn投稿文件吗?所有组件连接是否正确?
以上来自于百度翻译 以下为原文 did you look that cydsn projrct File ? all components connections are correct ? |
|
|
|
|
|
是的,Dana,我完全同意你的看法。但我说的是LED的另一端,它连接到GND,而在你的示意图上,它挂在VDD上。
鲍勃 以上来自于百度翻译 以下为原文 Yes, Dana, I fully agree with you. But I was talking about the other side of the LED which is connected to GND while in your schematic it hangs on VDD Bob |
|
|
|
|
|
取决于您使用的RTC芯片,它将通过
I2C或SPI或UART或1线……所以你只需要COM组件 在原理图上,这将是与RTC芯片的接口。 问候,Dana。 以上来自于百度翻译 以下为原文 Depending on what RTC chip you use it will communicate via I2C or SPI or UART or 1 Wire ......so you only need the com component on the schematic, which is what will interface to the RTC chip. Regards, Dana. |
|
|
|
|
|
你的接线应该是这样的
问候,Dana。 以上来自于百度翻译 以下为原文 Your wiring should look like this - Regards, Dana. |
|
|
|
|
|
如果一个人要驾驶LED更好地驾驶
N通道比P通道,所以精神上我总是开车 一个通往地面的LED。除非一个人喜欢昏暗 (二聚体)发光二极管。通过驾驶更准确 由于源体积效应的缺乏,电流控制发生。 否则会影响P CMOS输出中的电流。 晶体管。只需要一个变量来改变设计电流, 当使用P通道驱动时。 由于较低的RDSON,芯片PDES通常较低。 N通道。 问候,Dana。 以上来自于百度翻译 以下为原文 If one is going to drive an LED much better to drive with N Channel than P Channel, so mentally I always drive an LED to ground. Unless of course one likes dim (dimer) LEDs. And by driving to ground more accurate current control occurs due to the lack of source bulk effect that otherwise would affect current in the P CMOS output transistor. Just one more variable to alter design current, when using P Channel for drive. And generally lower chip Pdiss due to lower Rdson in the N Channel. Regards, Dana. |
|
|
|
|
|
当你上传你的作品时,请使用
创建者-gt;文件& gt;创建工作区束(最小)并附加结果文件。这不仅仅是图片,该文件包含了所有的设置、代码和配线。你的RTC芯片有一个I2C接口,所以你可以重命名你的,以反映为“RTC”或类似的东西。你必须做4个外部连接到芯片,I2C时钟,数据和电源。 为什么没有RTC组件?我假设市场上有100种不同的RTCS,它们具有不同的接口、命令和连接。因此,让设计师决定选择哪一个并编程界面是比较容易的。 鲍勃 以上来自于百度翻译 以下为原文 When you upload your work, please use Creator->File->Create Workspace Bundle (minimal) and attach the resulting file. That is more than a picture, the file contains all of your settings, code and wiring. Your RTC chip has got an I2C interface, so you may rename yours to reflect that as "RTC" or something similar. You will have to make 4 external connections to the chip, I2C clock, data and power. Why there is no RTC component? I assume there are some 100 different RTCs on the market with various interfaces, commands and connections. So it is easier to let us designers decide which one to take and program the interface ourselfes. Bob |
|
|
|
|
|
现在所有的工作都完成了。我只需要C代码。我做了谷歌搜索,我发现了所有关于LCD的显示。但我需要LED代码
我的任务 LED将打开20秒 LED将关闭1小时 LED将开启10分钟 LED将关闭1小时 如何编写分钟、小时、日和蒙特的C程序? 以上来自于百度翻译 以下为原文 now all work is completed. I only need c code. I did google search, I found all about LCD display. but I need code for LED My task LED will turn on for 20 seconad LED will turn off for 1 houre LED will turn on for 10 minute LED will turn off for 1 hours how to write c program for minute , hours , day and monts ? |
|
|
|
|
|
再次问好,
有人可以检查我在电路中使用的组件吗? 1。DS1307集成电路 2。电阻器5.6K 3晶体32.7.68千赫 谢谢你的帮助。 以上来自于百度翻译 以下为原文 Hello again, can someone check my component that I am going to use in my circuit 1. ds1307 Ic 2. resistor 5.6K 3 crystal 32.7.68 kHZ Thank you for your every help. |
|
|
|
|
|
这里有一个例子,用屏幕上的移动棒来移动时间。这是一个很好的例子,与RTC有很好的接口。HTTP://www. eltMeNe1.com/Trace/Trace/25071/L/PSOC-4先锋-KIT-Cultudio项目035-UART-I2C和SP-JooStukk示例。
以上来自于百度翻译 以下为原文 Here is an example that moves the time around the screen with a joy stick. It is a good example and has a good interface to the RTC. http://www.element14.com/community/thread/25071/l/psoc-4-pioneer-kit-community-project035-uart-i2c-and-spi-joystick-example. |
|
|
|
|
|
你好
我正在尝试制作C程序,但我没有任何想法。 我附上文件, 索姆能帮我吗? DS1307L DEMOO11ZIP 939.9 K 以上来自于百度翻译 以下为原文 hello I am trying to make c program but I am not getting any idea I am attaching file , somone can help me?
|
|
|
|
|
|
电阻色码图片使它们看起来像56欧姆,
只要用欧姆表复查即可。如果你要使用 1 R的LED,计算从RLED =(VDD - VLED)/ LED VLED类型2V以上。 问候,Dana。 以上来自于百度翻译 以下为原文 The resistor color code picture makes them look like 56 ohm, just double check with an ohmmeter. If you are going to use 1 R for LED, calculate from Rled = (Vdd - Vled) / Iled Vled typicaly 2V or more. Regards, Dana. |
|
|
|
|
|
|
|
|
|
|
|
我正在整理zip文件。我试图上传工作区捆绑,但我不能因为一些错误。我不明白如何连接组件
实时时钟 250.4 K 以上来自于百度翻译 以下为原文 I am atteching zip file. I tried to upload workspace bundle but I couldn't due to some error. I don't understand how to connect component
|
|
|
|
|
只有小组成员才能发言,加入小组>>
786个成员聚集在这个小组
加入小组cyUSB3014一直显示2.1,不能到3.0情况,谁遇到过
7088 浏览 0 评论
2474 浏览 1 评论
2166 浏览 1 评论
4031 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
2073 浏览 6 评论
CY8C4025LQI在程序中调用函数,通过示波器观察SCL引脚波形,无法将pin0.4(SCL)下拉是什么原因导致?
7566浏览 2评论
CYUSB3065焊接到USB3.0 TYPE-B口的焊接触点就无法使用是什么原因导致的?
6114浏览 2评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
742浏览 2评论
710浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
7962浏览 2评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-2 00:23 , Processed in 1.096164 second(s), Total 81, Slave 73 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
2458