xiaoexpansion

Micropython, Platformio, and Arduino examples using Seeed XIAO expansion board for multiple MCUs

https://github.com/ricksorensen/xiaoexpansion

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (6.4%) to scientific vocabulary
Last synced: 10 months ago · JSON representation ·

Repository

Micropython, Platformio, and Arduino examples using Seeed XIAO expansion board for multiple MCUs

Basic Info
  • Host: GitHub
  • Owner: ricksorensen
  • License: mit
  • Language: Python
  • Default Branch: master
  • Homepage:
  • Size: 154 KB
Statistics
  • Stars: 1
  • Watchers: 2
  • Forks: 2
  • Open Issues: 0
  • Releases: 0
Created over 3 years ago · Last pushed over 1 year ago
Metadata Files
Readme License Citation

README.md

xiaoexpansion

Micropython, Platformio, and Arduino examples using Seeed XIAO expansion board for multiple MCUs in the Seeed family.

Simple examples using the Seeed XIAO expansion board with RTC(external), buzzer, display, and button. The compiled arduino code works with the XIAO SAMD21, EXP32C3, RP2040, and NRF52840 boards. The arduino code is built and loaded with platformio, only tested once with Arduino IDE.

The micropython code is a work in progress - tested with custom SAMD21 micropython build to help with small available RAM. This version can use a GPS input (xxRMC message) for acquiring time if available.

Devices onboard the expansion board are:

  • PCF8563 real time clock using I2C
  • SSD1306 OLED 128x64 using I2C
  • Piezo Buzzer
  • Push button

Every mcu has Serial IO and ADC capabilities, but only the SAMD21 has a DAC.

The micropython implementation will try to use the Serial IO to read a GPS module if present. Both implementation will exercise the PCF8563, OLED, BUZZER, and push button. ADC is used to read <3.3V on pin3/A2 REPL input can be used to provide a value which will be sent to the DAC if present.

the micropython external modules used are

  • ssd1306 from micropython-lib
  • pcf8563 from https://github.com/sshahryiar/Raspberry-Pi-PICO---RP2040/blob/main/DVK511%20-%20PCF8563%20RTCC/PCF8563.py renamed as pcfsimp.py

Owner

  • Name: Rick Sorensen
  • Login: ricksorensen
  • Kind: user
  • Location: Minnesota, USA
  • Company: self

Citation (CITATION.cff)

# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!

cff-version: 1.2.0
title: Seeed XIAO Expansion Board Examples
message: >-
  If you use this software, please cite it using the
  metadata from this file.
type: software
authors:
  - given-names: Eric
    family-names: Sorensen
    email: rick.sorensen@gmail.com
repository-code: 'https://github.com/ricksorensen/xiaoexpansion'
url: 'https://github.com/ricksorensen/xiaoexpansion'
abstract: >-
  Seeed XIAO expansion board peripheral usage examples. 
  Sample code exists for various XIAO form factor boards:
  SAMD21, nRF52840, ESP32C and RP2040.  There are examples
  for both C++/Arduino using PlatformIO and micropython
license: MIT

GitHub Events

Total
  • Push event: 1
Last Year
  • Push event: 1