circuitpython-org/_board/pca10059.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

3 KiB

layout board_id title name manufacturer board_url board_image date_added family bootloader_id features
download pca10059 nRF52840 Dongle (PCA10059) Download nRF52840 Dongle (PCA10059) Nordic Semiconductor
https://www.nordicsemi.com/Software-and-Tools/Development-Kits/nRF52840-Dongle
nRF52840_dongle.jpg 2019-03-09 nrf52840 pca10059
Bluetooth/BTLE
Breadboard-Friendly

The nRF52840 dongle from Nordic Semiconductor is a small, low-cost USB dongle for Bluetooth Low Energy, Bluetooth mesh, Thread, ZigBee, 802.15.4, ANT, and 2.4 GHz proprietary applications using the nRF52840 SoC. The dongle has been designed to be used as a wireless hardware device together with nRF Connect for Desktop.

Technical details

  • Bluetooth 5.2 ready multiprotocol radio (2 Mbps, Long Range, Advertising Extensions, Channel Selection Algorithm #2)
  • IEEE 802.15.4 radio support (Thread, Zigbee)
  • Arm Cortex-M4 with floating point support
  • DSP instruction set
  • Arm CryptoCell CC310 cryptographic accelerator
  • 15 GPIO available via edge castellation
  • USB interface direct to nRF52840 SoC
  • Integrated 2.4 GHz PCB antenna
  • 1 user-programmable button
  • 1 user-programmable RGB LED
  • 1 user-programmable LED
  • 1.7-5.5 V operation from USB or external

Misc

Purchase