chipKIT® Development Platform

Inspired by Arduino™

LIBRARY FOR CMUCAM4

Created Fri, 15 Jan 2016 04:24:49 +0000 by ftss65


ftss65

Fri, 15 Jan 2016 04:24:49 +0000

Hello i'm building a small project using camera, which is CMUCAM4, i want to ask, is there any library to use this camera for chipkit max32? thanks


GrahamM242

Fri, 15 Jan 2016 12:45:52 +0000

As the interface appears to be standard serial, you might be able to use the CMUcam4-Arduino-Interface-Library-101, which can be found here: http://cmucam.org/projects/cmucam4/files

Having never used a CMUCAM4, I can't really comment any further!


ftss65

Fri, 15 Jan 2016 13:33:39 +0000

I already did that,but it has errors like this

D:\mpide-0023-windows-20140821.\hardware\pic32\libraries\CMUcam4\CMUcom4.cpp: In member function 'size_t CMUcom4::write(uint8_t)': D:\mpide-0023-windows-20140821.\hardware\pic32\libraries\CMUcam4\CMUcom4.cpp:112:26: error: void value not ignored as it ought to be D:\mpide-0023-windows-20140821.\hardware\pic32\libraries\CMUcam4\CMUcom4.cpp: In member function 'size_t CMUcom4::write(const char*)': D:\mpide-0023-windows-20140821.\hardware\pic32\libraries\CMUcam4\CMUcom4.cpp:129:28: error: void value not ignored as it ought to be D:\mpide-0023-windows-20140821.\hardware\pic32\libraries\CMUcam4\CMUcom4.cpp: In member function 'size_t CMUcom4::write(const uint8_t*, size_t)': D:\mpide-0023-windows-20140821.\hardware\pic32\libraries\CMUcam4\CMUcom4.cpp:146:37: error: void value not ignored as it ought to be


EmbeddedMan

Fri, 15 Jan 2016 13:59:25 +0000

Another thing to try would be to use the latest chipKIT-core release, which may have some internal fixes for serial (specifically software serial).

http://chipkit.net/wiki/index.php?title=ChipKIT_core

*Brian


ftss65

Sat, 16 Jan 2016 02:41:42 +0000

ok thanks. i'll try it


GrahamM242

Sat, 16 Jan 2016 10:22:11 +0000

Ah, yes, I did try a quick compile using a version of MPIDE-0150 that would have been towards the end of 2015. I didn't encounter any errors.


ftss65

Wed, 20 Jan 2016 07:10:51 +0000

I've tried cmucam4 in chipkit uno first and it works fine, but when i tried in chipkit max32 and i used serial monitor with baudrate 115200, and it didn't respond as i'm expecting. anyone can help?


ricklon

Fri, 29 Jan 2016 16:20:08 +0000

The compilation result listed above. Is for an older build of MPIDE. I've been able to compile with no errors using chipKIT-core. http://chipkit.net/wiki/index.php?title=ChipKIT_core