|
Forum Index : Microcontroller and PC projects : Micromite eXtreme - Camera I2C issue
| Author | Message | ||||
| circuit Senior Member Joined: 10/01/2016 Location: United KingdomPosts: 293 |
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 StatesPosts: 3481 |
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: AustraliaPosts: 2832 |
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: GermanyPosts: 596 |
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: GermanyPosts: 1001 |
@Plasmamac: Micromite eXtreme V5.3.05: Camera Support Frank |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |