circuitpython-org/_board/m5stack_timer_camera_x.md
Jeff Epler 4715875cc4 Fix board dates to always be of the form YYYY-MM-DD
.. leading zeros are required for `frontmatter` to treat them as dates
rather than strings, apparently per the YAML specification.

This was done by script:
```py
import re
import datetime
import pathlib
import sys

import frontmatter

rx = re.compile(r'^(\s*)date_added:.*$', re.M)

for path_str in sys.argv[1:]:
    print(path_str)
    path = pathlib.Path(path_str)

    post = frontmatter.load(path)
    date_added = post.get("date_added", "")

    if isinstance(date_added, datetime.date):
        continue

    if isinstance(date_added, str):
        try:
            date_added = datetime.datetime.strptime(date_added, "%Y-%m-%d")
        except ValueError as exc:
            print(f"Failed to parse date {date_added} in {path_str}: {exc}")
            continue

    date_added = date_added.date()
    content = path.read_text("utf-8")
    new_content = rx.sub(lambda m: f"{m.group(1)}date_added: {date_added}", content)
    assert content != new_content

    path.write_text(new_content, "utf-8")
```
2024-03-22 11:31:45 -05:00

1.9 KiB

layout board_id title name manufacturer board_url board_image date_added family features
download m5stack_timer_camera_x M5Stack Timer Camera X Download M5Stack Timer Camera X M5Stack
https://docs.m5stack.com/en/unit/timercam_x
https://www.adafruit.com/product/4959
m5stack_timer_camera_x.jpg 2023-05-22 esp32
Wi-Fi
USB-C
Bluetooth/BTLE
Camera
Battery Charging

M5Stack's Timer Camera X is an all-in-one camera module based on ESP32, integrated with ESP32 chip and has 8M PSRAM. Why so much PSRAM? Well, the camera can shoot up to 2048x1536 resolution photos(!). The module also comes with a built-in 140mAh battery and LED status indicator. There is a reset button under the LED.

You can use the built-in RTC (BM8563) to keep track of time to create custom, specific sleep and wake-up schedules. In deep sleep, the standby current of the entire Camera X can be as low as 10 μA. This camera supports sending images through WiFi and via the USB serial debug port. The bottom HY2.0-4P I2C port output can be connected to other I2C peripherals such as Grove or Stemma QT devices when this cable is in use.

A friendly heads-up: The low-power power management used by the Timer Camera series is different from the CORE and StickC devices. When in use, the PWR button is used as a power-on button (long press 2 seconds). If you need to shut down the device, use the software API or press the Reset button on the PCB.

Features

  • ESP32-based
  • Built-in RTC
  • WiFi image transmission
  • Timed sleep wake up
  • Blue LED
  • Power button
  • Built-in Lithium Polymer Battery
  • Extendable Socket
  • Wearable & Wall mounted

Documentation

Purchase