matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 11604
Posted: 07:22am 04 Jun 2026
The camera command is available on the webmite. I haven't tested it recently but no reason it wouldn't work. However, it might be better to refer to the manual rather than claude. From the manual Quote Command supporting the OV7670 camera module. For an uncorrupted image the CPU speed must be 288MHz or more for the RP2040 and 200 MHz or more for the RP2350. This initialises the camera, It outputs a 12MHz clock on XLK (PWM) and checks that it is correctly receiving signals on PLK, VS, and HS. The camera is set to a resolution of 160x120 (QQVGA) which is the maximum achievable within the limits of the available memory. Enable OPTION SYSTEM I2C in the PicoMite firmware and wire SCL and SDA to the relevant pins (may be labelled SIOC and SIOD on the camera module). These connections must have a pullup to 3.3V - 2K7 recommended) Other pins are wired as per the OPEN command. (NB: VS may be labelled VSYNC, HS may be labelled HREF, PLK may be labelled PCLK, RET may be labelled RESET and XLK may be XCLK on your module) D0pin defines the start of a range of 8 contiguous pins (eg,GP0 - GP7). This captures a picture from the camera (RGB565) and displays it on an LCD screen. An SPI LCD must be connected and enabled in order for the command to work. (ILI9341 and ST7789_320 recommended).Edited 2026-06-04 17:23 by matherp