Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 06:50 21 Nov 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Micromite eXtreme - Camera I2C issue

Author Message
circuit
Senior Member

Joined: 10/01/2016
Location: United Kingdom
Posts: 293
Posted: 05:06pm 29 Jun 2022
Copy link to clipboard 
Print this post

I have an OV7670 Camera attached as prescribed to a Micromite eXtreme 144 and it is working well - as expected given the expertise behind the firmware.  There is, however, one significant and problematic anomaly.  Upon starting the Micromite and issuing the command CAMERA OPEN, the screen reports "Error: I2C failure".  

If I issue the same command again, then it is accepted and the camera is initialised.  From then on, repeated CAMERA CLOSE, CAMERA OPEN commands work without issue.  If I issue CPU RESTART the error appears once more for one iteration only and then the error once again vanishes for all subsequent command issues.  

The problem is absolutely repeatable.  The difficulty is that once these commands are written into a program rather than being issued directly, the program will fall over.  

I am using firmware 5.05.04.

Any solutions?

(Incidentally, the "wow" factor of seeing the camera imaging onto the SSD1963 screen with "just" a microcontroller doing the processing is quite something as previous posts have indicated.)
 
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3481
Posted: 05:53pm 29 Jun 2022
Copy link to clipboard 
Print this post

  circuit said  Any solutions?


ON ERROR SKIP? (No idea if that will actually help with an I2C error.)
PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2832
Posted: 10:41pm 29 Jun 2022
Copy link to clipboard 
Print this post

In the program setup area before the main loop open and close it with ON ERROR SKIP.
I have to do that with a particular SD card that won't respond the first time, but is fine thereafter.
 
Plasmamac

Guru

Joined: 31/01/2019
Location: Germany
Posts: 596
Posted: 11:06pm 29 Jun 2022
Copy link to clipboard 
Print this post

Where can i find an example for a camera? Iam confused not to read about . Thx
Plasma
 
Frank N. Furter
Guru

Joined: 28/05/2012
Location: Germany
Posts: 1001
Posted: 06:54am 30 Jun 2022
Copy link to clipboard 
Print this post

@Plasmamac:

Micromite eXtreme V5.3.05: Camera Support

Frank
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025