arducam / arducam_mega Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Hi, is there a Mac version of the app for ArduCAM mega?
Does not compile with Arduino Due. Tried with 2.09 and 2.04. Below is error message.
In file included from ...\Documents\Arduino\libraries\Arducam_Mega\src/Arducam_Mega.h:14:0,
from ...\AppData\Local\Temp\.arduinoIDE-unsaved2023115-55804-1fn6mg4.tnx2\full_featured\ArducamLink.h:11,
from ...\AppData\Local\Temp\.arduinoIDE-unsaved2023115-55804-1fn6mg4.tnx2\full_featured\ArducamLink.cpp:9:
...\Documents\Arduino\libraries\Arducam_Mega\src/Arducam/ArducamCamera.h:30:14: error: multiple types in one declaration
#define Bool char
^
...\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.12\system/libsam/include/USB_device.h:74:33: note: in expansion of macro 'Bool'
typedef unsigned char Bool; //!< Boolean.
^
...\Documents\Arduino\libraries\Arducam_Mega\src/Arducam/ArducamCamera.h:30:14: error: declaration does not declare anything [-fpermissive]
#define Bool char
^
...\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.12\system/libsam/include/USB_device.h:74:33: note: in expansion of macro 'Bool'
typedef unsigned char Bool; //!< Boolean.
^
...\AppData\Local\Temp\.arduinoIDE-unsaved2023115-55804-1fn6mg4.tnx2\full_featured\ArducamLink.cpp: In member function 'void ArducamLink::reportVerInfo(Arducam_Mega*)':
...\AppData\Local\Temp\.arduinoIDE-unsaved2023115-55804-1fn6mg4.tnx2\full_featured\ArducamLink.cpp:30:32: error: 'struct ArducamCamera' has no member named 'verDate'
Serial.write(cameraInstance->verDate,3);
^
...\AppData\Local\Temp\.arduinoIDE-unsaved2023115-55804-1fn6mg4.tnx2\full_featured\ArducamLink.cpp: In member function 'void ArducamLink::cameraGetPicture(Arducam_Mega*)':
...\AppData\Local\Temp\.arduinoIDE-unsaved2023115-55804-1fn6mg4.tnx2\full_featured\ArducamLink.cpp:77:35: error: 'struct ArducamCamera' has no member named 'cameraDataFormat'
arducamUartWrite(cameraInstance->cameraDataFormat);
^
...\AppData\Local\Temp\.arduinoIDE-unsaved2023115-55804-1fn6mg4.tnx2\full_featured\full_featured.ino: In function 'uint8_t readBuffer(uint8_t*, uint8_t)':
...\AppData\Local\Temp\.arduinoIDE-unsaved2023115-55804-1fn6mg4.tnx2\full_featured\full_featured.ino:31:21: error: 'arducamDelayMs' was not declared in this scope
arducamDelayMs(1);
^
...\AppData\Local\Temp\.arduinoIDE-unsaved2023115-55804-1fn6mg4.tnx2\full_featured\full_featured.ino: In function 'void setup()':
...\AppData\Local\Temp\.arduinoIDE-unsaved2023115-55804-1fn6mg4.tnx2\full_featured\full_featured.ino:127:41: error: no matching function for call to 'Arducam_Mega::registerCallBack(uint8_t (&)(uint8_t*, uint8_t), int)'
myCAM.registerCallBack(readBuffer, 200);
^
...\AppData\Local\Temp\.arduinoIDE-unsaved2023115-55804-1fn6mg4.tnx2\full_featured\full_featured.ino:127:41: note: candidate is:
In file included from ...\AppData\Local\Temp\.arduinoIDE-unsaved2023115-55804-1fn6mg4.tnx2\full_featured\full_featured.ino:9:0:
...\Documents\Arduino\libraries\Arducam_Mega\src/Arducam_Mega.h:308:10: note: void Arducam_Mega::registerCallBack(BUFFER_CALLBACK, uint8_t, STOP_HANDLE)
void registerCallBack(BUFFER_CALLBACK, uint8_t, STOP_HANDLE);
^
...\Documents\Arduino\libraries\Arducam_Mega\src/Arducam_Mega.h:308:10: note: candidate expects 3 arguments, 2 provided
...\AppData\Local\Temp\.arduinoIDE-unsaved2023115-55804-1fn6mg4.tnx2\full_featured\full_featured.ino: In function 'void loop()':
...\AppData\Local\Temp\.arduinoIDE-unsaved2023115-55804-1fn6mg4.tnx2\full_featured\full_featured.ino:133:21: error: 'arducamDelayMs' was not declared in this scope
arducamDelayMs(5);
^
exit status 1
Compilation error: 'struct ArducamCamera' has no member named 'verDate'
Hello,
is the source code of the Gui tool available? is this open source? Many thanks and thank you again for your work
I'm using the 3MP model on a Raspberry Pi Pico with the full_featured example. Setting manual exposure via the Ardulink app does not change the output image at all, and the image data is returned instantly. Changing the manual gain, values seem very on/off, with huge jumps in sensitivity between integer steps between 1 and 10. Both of these actions are performed after turning off auto exposure / gain.
I wrote a test Web Serial implementation to query over Ardulink, and ReportCameraInfo says:
Status: ReportCameraInfo
Camera Type:3MP
Camera Support Resolution:7638
Camera Support specialeffects:319
Camera Support Focus:0
Camera Exposure Value Max:30000
Camera Exposure Value Min:1
Camera Gain Value Max:1023
Camera Gain Value Min:1
Camera Support Sharpness:1
Is the correct register being used? I've noticed that this varies in implementations, for example CAM_REG_MANUAL_EXPOSURE_BIT_7_0 is 0x35 in
Arducam_Mega/src/Arducam/ArducamCamera.c
Line 65 in 3e7eb78
Thanks!
Hi
I am running the Arduino example on a Raspberry Pi PicoW board.
[16:59:16]: Port Connect Success
[16:59:18]: Command:55 FF AA, Send Success!
[16:59:18]: Command:55 0F AA, Send Success!
[16:59:18]: Command:55 0F AA, Send Success!
[16:59:18]: Command:55 0F AA, Send Success!
[16:59:18]: Command:55 0F AA, Send Success!
[16:59:21]: Parser timeout error.
[16:59:21]: Port Close Success.
I get the above error in the Arducam app
I am running the 2.0.4 version of the library
I think communication between the camera and the GUI app is happening correctly. But there's something malformed on either end - not sure what.
Also, is there documentation on how to use the GUI application with the Pico SDK instead of Arduino? I see that it's supported, but the docs website doesn't say much about the Pico C SDK
https://www.arducam.com/docs/arducam-mega/arducam-mega-getting-started/packs/example/PICO.html#
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.