circuitpython-org/_board/bdmicro_vina_d21.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 bdmicro_vina_d21 Vina-D21 Download Vina-D21 BDMICRO, LLC
https://bdmicro.com/products/vina-d21
bdmicro_vina_d21.jpg 2020-09-28 atmel-samd
Battery Charging

The VINA-D21 is a powerful, robust, pluggable control module designed for modular control applications. Built with all-industrial grade components and features, it is well-suited for a wide variety of automation and control requirements, including harsh environments.

The VINA-D21 Control Module saves time and money by providing a proven, modular design, that enables custom application-specific solutions to move from the drawing board to the finished product quickly.

VINA-D21 enables you to develop your application-specific board independently of the controller section. This simplifies your design, saves CAD time during the design phase, reduces errors that can cost weeks of PCB re-manufacture to correct, and saves debug time during the prototype and testing phases. By starting with VINA-D21, you start from a known-good foundation, reducing complexity and risk.

Incorporate the VINA-D21 in your designs over and over again and multiply your savings. Useful for custom applications, one-off projects, breadboarded prototypes, and even standalone projects. VINA-D21 has all of the common essentials built-in, on-board.

To get you started even more quickly, BDMICRO provides the Autodesk Eagle CAD part for VINA-D21. Getting started is as easy as downloading the part and adding it to your application specific design, allowing you to focus on your custom application's needs, with all the right connectors, headers, and other circuitry needed for your project solution.

Capable of running standalone, modular piggy back on application-specific boards, or breadboarded, the VINA-D21 is a great choice for your next project.