Coder Social home page Coder Social logo

arducam_esp32s_uno's Introduction

ArduCAM_ESP32S_UNO

ArduCAM ESP32 Series Development Boards

  • Add ArduCAM ESP32 SPIFFS test demo
  • Tested on 32 and 64 bit Windows 7/ Windows 10 machines

Arduino ESP32 filesystem uploader

Download ArduCAM_ESP32S_UNO board

Upload the demo we provide.

EasyBehavior

ArduCAM ESP32S UNO MINI Camera Demo Tutorial

IMAGE ALT TEXT

arducam_esp32s_uno's People

Contributors

arducam avatar per1234 avatar uctronics avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

arducam_esp32s_uno's Issues

Issue Sending images taken to a server

I'm currently trying to take images with the arducam and send these images to a database stored on a server. I'm sending the image as a string of the base64 encoded bits from reading the SPI, and after testing it seems like all the data is coming out correct, but when I try to decode the image it produces an invalid jpeg. I was wondering if there are any special formatting things I need to do with the data read from the SPI transfer to properly save the image taken as a JPEG.

OSX Directory Permission Error

When you try to get the esp32 tools with get.py the following error appears:
OSError: [Errno 1] Operation not permitted: './xtensa-esp32-elf/xtensa-esp32-elf/lib'

Fix:
Change access rights of xtensa-esp32-elf or recreate the directory as user.

PlatformIO Support

Are there any plans to provide support for PlatformIO? I looked briefly into setting up a custom platform/board but got a little lost.

Compilation aborted after uninitialized values.

Error:
/Documents/Arduino/hardware/ArduCAM/ArduCAM_ESP32S_UNO/libraries/ArduCAM/ArduCAM.cpp:973:4: error: 'reg_val' may be used uninitialized in this function [-Werror=maybe-uninitialized] while ((reg_addr != 0xff) | (reg_val != 0xffff))

Fix:
Set it to 0x00 at line 973 and 1005

unsigned int reg_addr = 0x00;
unsigned int reg_val = 0x00;

currently unable to download due to CRC issue

Unable to properly download due to a bad CRC return. I have tried this on Mac/Windows/Linux, all end up with the same results:

CRC

Is there any way to work around this issue? seems like anywhere I see it, it just "magically" works, but I'm on 2 days of attempting anything to get this going, and no luck.

Is the boards JSON file updated?

I tried to install the boards (Arduino IDE 1.6.8 and 1.8.5 on macOS High Sierra) and it can't download the zip file. Is there any problem on the jSON file?
screen shot 2018-10-31 at 23 37 16

Arducam esp32s_uno_psram write to SD card errors 0x109

I have a sketch that's writing an image file to an sd card, but I get the following messages from the serial output log:
<<<<<<<<<<<<<<<<<< start of pertinent messages >>>>>>>>>>>>>>>>>
/pic74.jpg Save picture to SD card
E (1852371) sdmmc_cmd: sdmmc_write_sectors_dma: sdmmc_send_cmd returned 0x109
E (1852371) diskio_sdmmc: sdmmc_write_blocks failed (265)
/pic74.jpg Saved to SD
E (1852374) sdmmc_cmd: sdmmc_write_sectors_dma: sdmmc_send_cmd returned 0x109
E (1852381) diskio_sdmmc: sdmmc_write_blocks failed (265)
<<<<<<<<<<<<<<<<<<< end of log messages >>>>>>>>>>>>>>>>>
What's the cause and how do I fix this.

Re-definition of swap macro causes problems when including stdlibc++ dependencies

https://github.com/ArduCAM/ArduCAM_ESP32S_UNO/blob/master/libraries/ArduCAM/ArduCAM.h#L177

Example compile errors:

Compiling .pioenvs/esp32/lib7a2/ArduCAM_ID2094/ArduCAM.cpp.o
In file included from /Users/cmullins/.platformio/packages/toolchain-xtensa32/xtensa-esp32-elf/include/c++/5.2.0/vector:64:0,
from .piolibdeps/Bleeper_ID1966/src/Helpers/utils.h:1,
from .piolibdeps/Bleeper_ID1966/src/Bleeper.h:3,
from src/main.cpp:8:
/Users/cmullins/.platformio/packages/toolchain-xtensa32/xtensa-esp32-elf/include/c++/5.2.0/bits/stl_vector.h:103:36: error: macro "swap" requires 3 arguments, but only 2 given
std::swap(_M_start, __x._M_start);
^
/Users/cmullins/.platformio/packages/toolchain-xtensa32/xtensa-esp32-elf/include/c++/5.2.0/bits/stl_vector.h:104:38: error: macro "swap" requires 3 arguments, but only 2 given
std::swap(_M_finish, __x._M_finish);
^
/Users/cmullins/.platformio/packages/toolchain-xtensa32/xtensa-esp32-elf/include/c++/5.2.0/bits/stl_vector.h:105:54: error: macro "swap" requires 3 arguments, but only 2 given
std::swap(_M_end_of_storage, __x._M_end_of_storage);
^
/Users/cmullins/.platformio/packages/toolchain-xtensa32/xtensa-esp32-elf/include/c++/5.2.0/bits/stl_vector.h:1194:23: error: macro "swap" requires 3 arguments, but only 1 given
swap(vector& __x)
^
/Users/cmullins/.platformio/packages/toolchain-xtensa32/xtensa-esp32-elf/include/c++/5.2.0/bits/stl_vector.h:1559:60: error: macro "swap" passed 4 arguments, but takes just 3
swap(vector<_Tp, _Alloc>& __x, vector<_Tp, _Alloc>& __y)
^
/Users/cmullins/.platformio/packages/toolchain-xtensa32/xtensa-esp32-elf/include/c++/5.2.0/bits/stl_vector.h:1560:19: error: macro "swap" requires 3 arguments, but only 1 given
{ __x.swap(__y); }
^
In file included from /Users/cmullins/.platformio/packages/toolchain-xtensa32/xtensa-esp32-elf/include/c++/5.2.0/vector:65:0,
from .piolibdeps/Bleeper_ID1966/src/Helpers/utils.h:1,
from .piolibdeps/Bleeper_ID1966/src/Bleeper.h:3,
from src/main.cpp:8:

It doesn't seem like anything in ArduCAM even uses this swap macro, so maybe it's safe to remove it? I was able to compile after commenting it out for the platform I'm using (ESP32).

camera=>cellular module=>ESP32

hi
sorry to open ticket for my question, it may not related to this repo but I really appreciated for any possible technical advise. Actually I intend to select a cellular module like SIM7100E 4G link for video stream, it has SPI interface and only control by slow AT command, I was wondering for any tip about whether is possible to directly connect a cellular module to camera while control other feature of module with MCU host which is in this case is ESP32
BR

Can I use "ArduCAM_ESP32_Capture.ino" for OV5642 Mini 5MP?

In the comments of ArduCAM_ESP32_Capture it says that this demo work only on OV2640_MINI_2MP or ARDUCAM_SHIELD_V2 platform. Is there any reason that it is not working for ov5642 based arducam? Why there is only a demo that needs an SD card for the ov5642?

Arducam ESP32S Uno Pinout

I am trying to hook up an Adafruit Lora RFM9X to an Arducam ESP32-S Uno board. However, I am receiving the following error:

Failed to put device in Lora Mode
RH_RF95_REG_01_OP_MODE: 0

I believe this error is coming from a pin layout error when hooking up the wiring between the ESP and the Lora. More specifically, I believe the error is coming from the placement of hardware interrupt pin. Does anyone have any familiarity with the Arducam board and could offer some assistance?

CORS header missing

Hi,

I'm having an issue getting the capture example running : when the GET request is sent to the ESP32, I get the response

Server is running!

URI: /a
Method: GET
Arguments: 3

QL change to: 2

But at the same time, I get an error on the console saying that a CORS request has been blocked as the CORS header was missing.
I tried with 3 different browser (firefox, edge, chrome) but without success (still can't get the image from the camera)...

What are is the correct method to make a cameraInit() wakeup function

I'm trying to wake up camera only on the moment of taking a picture and then shutting it of via a P-channel mosfet.

So I built this functions:

void cameraInit() {
  digitalWrite(gpioCameraVcc, LOW);       // Power camera ON
  // OV5642 Needs special settings otherwise will not wake up
  myCAM.clear_bit(6, GPIO_PWDN_MASK);  // Disable low power
  delay(3);
  myCAM.set_format(JPEG);
  myCAM.InitCAM();
  delay(50); 
  myCAM.write_reg(3, 2);               // VSYNC is active HIGH
  delay(47);
}

void cameraOff() {
  digitalWrite(gpioCameraVcc, HIGH); // Power camera OFF
}

But I discovered that this times are not working the same with different OV5642 5 megapixels camera. Question is: There is not a more clever way to do this ? Like make a while(check something)
that will return true when camera wakes up fully ?
Can you please reference me to a code snippet ?

Issues with Image Capture Example Sketch

Hey guys,

I'm having an issue with the image capture example sketch, when I click on a resolution option on the UI, the serial monitor begins to flash a series of GET requests over and over, sometimes it might go on for a few seconds whereas other times it may go on for 30+ seconds until the image is finally captured and sent, but the time taken to capture and send the image still reference times around 30 ms even though I'm not seeing the image for 30+ seconds sometimes. Has anyone ever experienced this issue? I'll attach an image of the serial monitor and what it looks like. Thanks in advance for any tips/help you guys can lend me!
image

Is esp32 faster the esp8266

Good day. What is the maximum frame rate that can be achieved with the esp32 compared to the 8266 board?
Is there any improvement in performance other than more I/O pins?

Archive size differs from index

Unable to install in Arduino IDE 2.0.0. This is the error that I receive:( Error: 13 INTERNAL: Cannot install platform: installing platform ArduCAM_ESP32S:[email protected]: testing local archive integrity: testing archive size: fetched archive size differs from size specified in index ). Arduino v1.8.19 will install no problem! It's became difficult to use the old version because repeated pop up for libraries that I cannot use. Is this a fixable issue? or am i just a dummy when it comes to using these instructions?

Unable to install ArduCAM_ESP32S_UNO board

Unable to install ArduCAM ESP32S board in Arduino IDE 2.0.4 due to file size mismatch:
Failed to install platform: ArduCAM_ESP32S_UNO:esp32.
Error: 13 INTERNAL: Cannot install platform: installing platform ArduCAM_ESP32S_UNO:[email protected]: testing local archive integrity: testing archive size: fetched archive size differs from size specified in index: 30810480 != 30814208

Boards index is read when added to the Additional Boards Manager in Properties, but error is thrown when adding the board.

update to the libraries

Greetings to the people,

The espressif libraries are updated, but not here i suppose, i tried to use the "WiFiClientSecure.h" and use the name.setInsecure() function it throwed a error stating no class member found. When i browsed to the library files, yes the member function was not found. But to the esp32 espressif repo it is found. Then i tried to recursively update it here from espressif repo, and ended up in crashing the IDE. It would be help full in periodic upgradation of the libraries.
If i am wrong or missed a part correct me, my goal is to use the setInscure member function from WiFiClientsecure.h

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.