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

2.5 KiB

layout board_id title name manufacturer board_url board_image date_added family bootloader_id features
download circuitplayground_bluefruit Circuit Playground Bluefruit Download Circuit Playground Bluefruit Adafruit
https://www.adafruit.com/product/4333
https://www.adafruit.com/product/764
https://www.adafruit.com/product/4504
https://www.adafruit.com/product/4371
circuitplayground_bluefruit.jpg 2019-08-30 nrf52840 circuitplayground_nrf52840
Speaker
Solder-Free Alligator Clip
Bluetooth/BTLE

Circuit Playground Bluefruit is our third board in the Circuit Playground series, another step towards a perfect introduction to electronics and programming. We've taken the popular Circuit Playground Express and made it even better! Now the main chip is an nRF52840 microcontroller which is not only more powerful, but also comes with Bluetooth Low Energy support for wireless connectivity.

The board is round and has alligator-clip pads around it so you don't have to solder or sew to make it work. You can power it from USB, a AAA battery pack, or with a Lipoly battery (for advanced users). Circuit Playground Bluefruit has built-in USB support.

Built in USB means you plug it in to program it and it just shows up, no special cable or adapter required. Just program your code into the board then take it on the go!

Technical details

  • 1x nRF52840 Cortex M4 processor with Bluetooth Low Energy support
  • 10x mini NeoPixels, each one can display any color
  • 1x Motion sensor (LIS3DH triple-axis accelerometer with tap detection, free-fall detection)
  • 1x Temperature sensor (thermistor)
  • 1x Light sensor (phototransistor). Can also act as a color sensor and pulse sensor.
  • 1x Sound sensor (MEMS microphone)
  • 1x Mini speaker with class D amplifier (7.5 mm magnetic speaker/buzzer)
  • 2x Push buttons, labeled A and B
  • 1x Slide switch
  • 8x alligator-clip friendly input/output pins
  • Includes I2C, UART, 6 pins that can do analog inputs, multiple PWM outputs
  • Green "ON" LED so you know its powered
  • Red "#13" LED for basic blinking
  • Reset button
  • 2 MB of SPI Flash storage, used primarily with CircuitPython to store code and libraries.
  • MicroUSB port for programming and debugging
  • USB port can act like serial port, keyboard, mouse, joystick or MIDI!

Tutorials

Purchase