完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
您好,每一个OnElelts直接指向。我的要求如下:连接OV7670相机模块(或任何其他模块与支持640x480)与任何支持PIC和获得640x480灰度图像,和8T位/像素最低7个FPS直接在Windows PC通过USB和安卓通过OTGELL清晰的ALSo一些东西:-我不想存储任何图像在板上,如果它不需要强制-我不想做任何图像处理在船上,如果它不需要强制-我只是想要和gt=7 fps的相机640x480分辨率灰度-所有图像处理我通过软件在Windows和App上做Android。-我只需要直接USB连接,我不希望USB到串行连接-我想要纯USB连接-像PC / Android连接与PIC通过USB和PIC连接到相机。根据我的Google,我发现下面的东西:-我强制性地需要PIC24或PIC32,因为我想要USB通信(BeasSO)我说这不能通过PIC16或PIC18实现。-我在AV7670中发现了与AVR的ARDUINO的链接,但是我对此不感兴趣,因为它给了我通过USB到串行的较低的帧速率。我是编程人员,非常熟悉C,C,+,.NET,Eclipse,Android,Java,PHP。但是我对PICS是新的,但是我有。用PIC做了基本的项目来了解它是如何工作的,我也成功了。通过15天的搜索,我知道这对我来说并不容易,但是顺便说一下,没有什么是不可能的。不管怎样,我迟早会想办法的。所以,请给我一个实现这一目标的路径。请同时建议哪一个PIC最适合我的要求,PICS有太多的模型,所以如果可能的话,请建议ActtimeMod。找到我的需求图的附件。-谢谢。
以上来自于百度翻译 以下为原文 Hello Everyone Lets Goes to point Directly. My Requirement as Below: Connect OV7670 Camera Module (Or Any Other Module with Support 640x480) with any Support PIC and Get 640x480 Grayscale Image, >8bits/Pixel at Minimum 7 FPS Directly on Windows PC Through USB & Android Through OTG Lets Clear Also Some Things: - I dont want to store any image on board if its not require compulsory - I dont want to do any image processing onboard if its not require compulsory - I Just want >=7 FPS of Camera 640x480 Resolution Grayscale - All Image Processing i doing through software on windows & app on android. - I Only Need Direct USB Connection, I DONT WANT USB TO SERIAL CONNECTION - I WANT PURE USB CONNECTION - LIKE PC/Android Connect with PIC over USB and PIC Connect To Camera. As Per My Googling i Found Below Things: - I Compulsory Need Pic24 OR Pic32 Because i want USB Communication (Becase Some Says This Cant Achieve Through Pic16 OR Pic18). - I Found Links on OV7670 with Arduino with AVR But im Not Interested in that because it Gives me Lower Frame Rate through USB To Serial. I am Programming Guy very familiar with C#, C++, .Net, Eclipse, Android, Java, PHP. But im New to PICs But I have done Basic Projects with PIC to Understand how its works and i also successful in that. By Googling of 15 Days I Know this is not Going to be easy for me, but by the way nothing is impossible. Soon or Later i Going to Achive This Anyhow. So, Please Suggest me Any Path to Achieve this. Please also suggest which PIC is Best Fit in My Requirement, There are Too Much Models For PICs So kindly Suggest Exact Model if Possible. Find Attachment For My Requirement Diagram. -Thanks in Advance. Attached Image(s) |
|
相关推荐
10个回答
|
|
PIC如何与相机通信?Ruben
以上来自于百度翻译 以下为原文 How does the pic communicate with the camera? /Ruben |
|
|
|
|
|
|
|
不可能在任何PIC以外的PIC32…MZ。对于USB2全速,所需的数据速率太高。需要HGH速度。8位并行。理想的PMP/EBI在“MZ”上必须为PIC编写视频类驱动程序,或者使用供应商类和为Windows / Android编写驱动程序。
以上来自于百度翻译 以下为原文 Not possible on any PIC other than PIC32...MZ. The data rate required is too high for USB2 Full Speed. Needs Hgh Speed. 8-bit parallel. Ideal for PMP/EBI on 'MZ. Would have to either write a video class driver for the PIC, or use vendor class and write drivers for windows/android. |
|
|
|
首先,谢谢大家的回复@ Max RubNeI想把相机和PIC连接在SPI或I2C上,满足我的要求。@ RISCI不想使用USB摄像头,因为我需要PIC和PC之间的USB通信。@ SiMnG123让我买PIC32…MZ并开始体验。
以上来自于百度翻译 以下为原文 First of all Thanks U All For Reply @maxruben I want to connect camera with PIC over SPI OR I2C whichever satisfy my requirement. @RISC I dont want to use USB camera because i need USB Communication between PIC & PC. @simong123 Let me buy pic32...mz and start experiement. |
|
|
|
在该模块的数据表中,控制是通过100kHz的I2C通道,但这仅仅是控制,不能通过那里访问视频数据。反正你的要求太慢了。你需要640x480,8位7FPS。这是17203200位/s,或者每秒2150400字节。你必须通过8位并行视频接口接收数据,由HREF、VSYNC和PCLK管脚控制。在全速USB2上的数据,你需要高速,这非常限制PICS可以做到这一点。
以上来自于百度翻译 以下为原文 Some Looking at the datasheet for that module, control is via a 100kHz I2C channel, but that is ONLY control, you cannot access video data through there. It's way too slow for your requirements anyway. You want 640x480 by 8 bit by 7fps. That is 17,203,200 bits/s, or 2,150,400 bytes per second. You have to receive the data via the 8 bit parallel video interface, controlled by the HREF, VSYNC and PCLK pins. As simong123 mentioned, you can't send that much data over Full Speed USB2, you need Hi-Speed, which very much limits which PICs can do it. |
|
|
|
您好,谢谢您的回复。我有一些疑问,请澄清。如果我的计算数据需要传输大约是2.15 Mb/s,如果我用PIC32 MZ使用这个相机,并且通过PIC上的数据引脚接收相机输出,那么我仍然无法通过USB2.0把这个数据传送到PC?Orpic无法以这种速率从相机接收数据?也请澄清,如果我要使用PIC32 MZ,那么我需要外部RAM在这个设置?如果不可能使用像PIC32 MZ那样高端的PIC相机,那么请给我推荐一个满足这个要求的另一个模块或满足这一要求的另一个微控制器。但是请记住,我需要在微控制器和PC通信之间使用USB2.0。
以上来自于百度翻译 以下为原文 Hello qyb Thanks for your reply. I have some doubts please clarify that. Please correct me if im wrong. As per your calculation data require to transfer is around 2.15 mb/s. If i m using pic32mz with this camera and receive camera output through data pins on pic then i m still unable to transfer this data to pc over u***2.0? OR Pic is unable to receive data from camera at this rate? Also please clarify if im going to use pic32mz then i require external ram in this setup? If its impossible to use this camera with higherend pic like pic32mz then please suggest me another module which satisfy this requirement OR another microcontroller which satisfy this. But please keep in mind i need u***2.0 between microcontroller & pc communication. |
|
|
|
回到西蒙的POST 4.4,他说PIC32 MZ可以做到这一点,但是你必须正确地在PIC中实现代码来模拟一个视频类设备,或者编写自己的Windows驱动程序来处理它。这不是一个琐碎的任务。这是大量的数据,所以通用驱动程序也不会工作。L.
以上来自于百度翻译 以下为原文 Refer back to Simon's post#4. He says a PIC32MZ can do it, but you are going to have to correctly implement code in the PIC to emulate a video class device, or write your own Windows driver to handle it. Neither is a trivial task. That is a LOT of data, so generic drivers are not going to work too well. |
|
|
|
不可能在任何PIC以外的PIC32…MZ。对于USB2全速,所需的数据速率太高。需要HGH速度。8位并行。理想的PMP/EBI在“MZ”上必须为PIC编写视频类驱动程序,或者使用供应商类并为Windows /ANDROID编写驱动程序。您好,西蒙加斯根据您的建议,我决定用PMP配置连接摄像机。我已经购买了PIC32 MZ2048 ECM100-I/PT并开始工作。第二部分:PC到PIC的高速通信。第二部分:PIC到PMP上的摄像机通信。现在我正在进行PART1,在协调器中面临困难。如下:我想使用2个散装端点512字节。选项只有高达64字节,当我选择高速时,选择也高达64字节。我可以手动输入512字节,但是在配置器上显示了红色错误。但是我也能生成代码。所以,我想问一下,如果我选择高速和大小512字节的2个端点,那么我就是。能与PIC沟通?或者沟通中有什么问题吗?
以上来自于百度翻译 以下为原文 Not possible on any PIC other than PIC32...MZ. The data rate required is too high for USB2 Full Speed. Needs Hgh Speed. 8-bit parallel. Ideal for PMP/EBI on 'MZ.Would have to either write a video class driver for the PIC, or use vendor class and write drivers for windows/android. Hello Simong As per your advice i decided to connect camera using pmp configuration. I already purchased PIC32MZ2048ECM100-I/PT and start working on that. I devide whole work in two part. Part1: Pc to pic communication over high speed u***. Part2: pic to camera communication over pmp. Rightnow i am working on part1 and facing difficulty in harmony configurator. Confusion as below: I want to use 2 bulk endpoints with 512bytes. But when i use configurator there is option only upto 64bytes, also when i select high speed then also selection is upto 64 bytes. I can manually enter 512bytes, but there is red error shown on configurator. But i am also able to generate code. So, here i want to ask if i select high speed and size 512 bytes with 2 end point then i am able to communicate with pic? Or is there any issue happens in communication? |
|
|
|
嗨,不要使用USPIC32 MZ2048 ECM100-I/PT,但是在微芯片网站上明确提到USPIC32 MZ2048 EFM100-I/PT.It:不推荐用于新设计。请考虑PIC32 MZ2048 EFM100的新设计,原因是PIC32 MZ2048 ECM100还有很多硅限制,PIC32 MZ2048 ECM100支持B。从和谐V2.XXORYSNDB中删除:您应该在Hyg线程中启动一个新线程,因为它是基于32位PIC(不是这个线程)
以上来自于百度翻译 以下为原文 Hi, Don't use PIC32MZ2048ECM100-I/PT but use PIC32MZ2048EFM100-I/PT. It is clearly mentioned on Microchip website : Not Recommended for new designs Please consider PIC32MZ2048EFM100 for new designs the reason is that PIC32MZ2048ECM100 has many silicon limitations Additionally, PIC32MZ2048ECM100 support has been removed from Harmony v2.xx Regards NB : you should start a new thread in the Harmony thread because it is based on 32bits PIC (not as this thread) |
|
|
|
|
|
|
|
只有小组成员才能发言,加入小组>>
5234 浏览 9 评论
2026 浏览 8 评论
1950 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3201 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2253 浏览 5 评论
771浏览 1评论
659浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
588浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
670浏览 0评论
571浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-20 12:44 , Processed in 1.442556 second(s), Total 98, Slave 81 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号