sipeed / MaixPy-v1

MicroPython for K210 RISC-V, let's play with edge AI easier
https://wiki.sipeed.com/maixpy
Other
1.68k stars 439 forks source link

OV2640 sensor.reset() error #145

Closed Vinschni closed 5 years ago

Vinschni commented 5 years ago

I brought those OV2640 modules after i learned that the OV7725 are probably not compatible.

Now with those OV2640 and a new MaixBit board i get the same error as before: We get no camera image and following error on sensor.reset()

error gc0328 detect, ret id is 0xff
[MAIXPY]: sensor reset function is null

Traceback (most recent call last):
  File "<stdin>", line 12, in <module>
OSError: Reset Failed

Any hints what the problem could be?

Vinschni commented 5 years ago

I compiled the latest commit. It works. Previously utilized v0.3.2.

>>> sensor.reset()                                                              
init i2c2                                                                       
[MAIXPY]: find ov2640                                                           
>>>
MengXiao92 commented 4 years ago

I met the same problem with OV2640 and a new MAiX GO board, can you tell me how deal with?

Vinschni commented 4 years ago

I solved the problem ensuring to at least using https://github.com/sipeed/MaixPy/commit/b29aa57e6abc899ddc2b55629757897c57abeebe

bwellmeshed commented 4 years ago

Hello I am having the same issue as well what do you mean by at least using b29aa57

Vinschni commented 4 years ago

I recommend using / building at least MaixPy with commit b29aa57

bwellmeshed commented 4 years ago

Okay thanks

JrHdez commented 4 years ago

Okay thanks

Hi! I'm new at this, and I also have the same problem: When executin the next line of code: sensor.reset(), I got:

init i2c2 [mt9dll] Sensor ID:0xffff,req:0x1519 error mt9dlll detect, ret id is 0xffff [MAIXPY]: no sensor Traceback (most recent call last): File "", line1, in OSError: Reset Failed

I've tried reconnecting the camera, also with another firmware version but doesn't work :(

Pls help! Thanks!