Posts

Showing posts with the label XIAO Expansion board

BLE UART Peripheral run on XIAO nRF52840 Sense (in Arduino Framework)

Image
With Seeed nRF52 Boards installed , this exercise show how to run BLE exercise on XIAO nRF52840 Sense in Arduino Framework, and test with nRF Connect App. And modified to display on OLED. With Seeed nRF52 Boards installed, you can open BLE UART Peripheral example from Adafruit Bluefruit nRF52 Libraries > Peripheral > bleuart. Refer to  XiaoESP32C3_Serial_Terminal.ino exercise in previous post " Xiao ESP32C3 display on SSD1306 128x64 OLED (I2C & SPI) using U8g2 Librar ", it's modified to display received char on OLED. XnRF52_bleuart_OLED_Terminal.ino /* * Modify Examples for Xiao nRF52840 Sense * > Adafruit Bluefruit nRF52 Libraries * > Peripheral * > bleuart * Run on Xiao nRF52840 Sense, * to display received char on I2C OLED. */ /********************************************************************* This is an example for our nRF52 based Bluefruit LE modules Pick one up today in the adafruit shop...

XIAO nRF52840 Sense/XIAO Expansion board display on OLED in Arduino framework, using U8g2 Library.

Image
With  Seeed nRF52 Boards installed on Arduino IDE , this video show how 128x64 I2C OLED (SSD1306/SSD1315) displayed on  XIAOnRF52840 Sense and XIAO Expansion board . Make sure U8g2 is installed in Arduino IDE. Open Examples > U8g2 > full_buffer > GraphicsTest Uncomment the contructor U8G2_SSD1306_128x64_NONAME_F_HW_I2C using hardware I2C 128x64 SSD1306 driver. ~ more exercise to drive SSD1306 using U8g2, refer to the post " Xiao ESP32C3 display on SSD1306 128x64 OLED (I2C & SPI) using U8g2 Library ". next: ~  BLE UART Peripheral run on XIAO nRF52840 Sense (in Arduino Framework)

XIAO nRF52840 Sense/CircuitPython examples for SSD1306 I2C OLED

Image
This post show how to display on  128x64 SSD1306 I2C OLED in  XIAO nRF52840 Sense/XIAO Expansion board , running CircuitPython. In CircuitPython, to display on SSD1306, there are two approach: - framebuf  (using adafruit_ssd1306/adafruit_framebuf) - displayio (using adafruit_displayio_ssd1306) framebuf  (using adafruit_ssd1306/adafruit_framebuf) This video show steps to run CircuitPython Library Bundle's examples using adafruit_ssd1306/adafruit_framebuf. displayio (using adafruit_displayio_ssd1306) This video show steps to run CircuitPython Library Bundle's examples using adafruit_displayio_ssd1306. cpyX_nRF_displayio_ssd1306_aniCircle.py , my exercise using displayio to display a animated Circle (with title) over random pixel. """ coXXect: Exercise to display on 128x64 SSD1306 I2C OLED in XIAO nRF52840 Sense/XIAO Expansion board, running CircuitPython. Using displayio Libs needed: - adafruit_displayio_ssd1306.mpy - adafruit_display_...

my dev.board - Seeed Studio XIAO nRF52840 Sense and XIAO Expansion board

Image
Pinout of XIAO nRF52840 Sense: Pinout of XIAO Expansion board: Getting Started Guide: -  XIAO BLE Sense (XIAO nRF52840 Sense) -  XIAO Expansion board More: ~  Install CircuitPython Firmware on Seeed Studio XIAO nRF52840 Sense (and more exercise using CircuitPython ). ~  Install Seeed nRF52 Boards on Arduino IDE 1.8.19 to program XIAO nRF52840 Sense in Arduino Framework (on Raspberry Pi OS) Exercises of XIAO nRF52840 Sense: ~  Test 1.44" 128x128 ST7735 SPI TFTs, on XIAO nRF52840 Sense/CicuitPython ~  XIAO nRF52840/CircuitPython implement BLE UART Service, linked with XIAO ESP32C3/Arduino BLE UART Client . Exercises with XIAO Expansion board: ~  XIAO nRF52840 Sense/CircuitPython examples for SSD1306 I2C OLED ~  Xiao ESP32C3 display on SSD1306 128x64 OLED (I2C & SPI) using U8g2 Library (arduino-esp32) ~  XIAO nRF52840 Sense/XIAO Expansion board display on OLED in Arduino framework, using U8g2 Library ...