BleuIO

BleuIO

  • Get Started
  • Buy Now
  • Manual
  • AT Commands
  • Help

›Raspberry PI Pico

Manual

  • How it works
  • How to use
  • Verbose Mode
  • Known Issues
  • Troubleshooting

Firmware Updates

    BleuIO Pro (SSD025)

    • Firmware Updates
    • Release History

    BleuIO (SSD005)

    • Firmware Updates
    • Release History of BleuIO (SSD005)

AT-Commands

  • List of AT Commands

BleuIO Libraries

  • JavaScript Library
  • Python Library

Scripts & Tutorials

  • Python: iBeacon
  • Python: Eddystone Beacon
  • Python: Scan
  • Python: Scan and Store
  • Python: SPS Script
  • Python: File transfer Script
  • Python: Repeater Script
  • Javascript: Google chrome.serial Beacon
  • C# Console App Example
  • C# WFA Example

Script using libraries

    Python library > v1.2.0

    • Custom Services example using Python library
    • Eddystone example using Python library
    • IBeacon example using Python library
    • Scan example using Python library
    • Scan and store example using Python library

    Python library < v1.2.0

    • Eddystone example using Python library
    • IBeacon example using Python library
    • Scan example using Python library
    • Scan and store example using Python library
    • SPS example using Python library
    • Security Example using Python library

    JS library

    • Eddystone example using Javascript library
    • IBeacon example using Javascript library
    • Scan example using Javascript library
    • Security Example using Javascript library
    • Get Device Distance

Projects

    Arduino

    • Arduino Example

    Beaglebone

    • Beaglebone Example

    Raspberry Pi

    • Raspberry PI into Beacon
    • Raspberry PI home automation

    Raspberry PI Pico

    • BleuIO integration (Part1)
    • BleuIO integration (Part2)
    • BleuIO integration (Part3)

    Renesas RA4M2

    • Signal Strength Monitoring
    • Real-Time CO2 monitor
    • Monitoring Air Quality

    STM32 Nucleo-144

    • Nucleo-144 board example
    • Smart Bulb Example

    M5Stack's CoreMP135

    • M5Stack's CoreMP135 board example

Build Your Own Firmware

  • Build Your Own Firmware
  • Advertising Example

More

  • Links
Order Now

BleuIO

$19.99

Buy Now

BleuIO integration (Part1)

Integrating BleuIO with Adafruit Feather RP2040 for Seamless BLE Applications

Introduction

In the realm of IoT projects, finding a reliable and efficient host hardware solution is important. The Adafruit Feather RP2040 is an excellent solution for that. It comes equipped with a comprehensive ecosystem, including an IDE and libraries tailored for your new projects. With this setup, you get to keep the main USB port for uploading, debugging, and data communication, while at the same time sending and receiving data to just-about-any USB device, like the BleuIO.

https://learn.adafruit.com/adafruit-feather-rp2040-with-usb-type-a-host

In this first blog with the Adafruit Feather board, we are going to show how you can setup the USB stack and communicate with BleuIO using the Adafruit Feather RP2040 board. Later in next project we will show how to read a Temperature and Humidity sensor and display the data help of the Bluetooth Low Energy (BLE) interface.

Requirements

  • Adafruit Feather RP2040 Board
  • BleuIO – Bluetooth Low Energy USB Dongle
  • Arduino IDE
  • Adafruit TinyUSB Library
  • Pico PIO USB Library

Setting Up the Development Environment

Arduino IDE Download

This section covers getting your Arduino IDE set up to include your board.

  • Download and install it to your computer.
  • Once installed, open the Arduino IDE. In the Arduino IDE, and navigate to the Preferences window.

  • Copy the following URL and Add the URL to the the Additional Boards Manager URLs field
  • https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json

Selecting the Appropriate Board Configuration

Add Board Support Package

  • In the Arduino IDE, click on Tools > Board > Boards Manager. If you have previously selected a board, the Board menu item may have a board name after it.
  • In the Boards Manager, search for RP2040. Scroll down to the Raspberry Pi Pico/RP2040 by Earle F Philhower, III entry. Click Install to install it.

Choose Your Board

  • In the Tools > Boards menu, you should now see Raspberry Pi RP2040 Boards (possibly followed by a version number).
  • Navigate to the Raspberry Pi RP2040 Boards menu and choose Adafruit Feather RP2040 USB Host.

Now you’re ready to begin using Arduino with your RP2040 board! The main use case for this Feather is to act as a USB host.

Library Installation

Install Adafruit_TinyUSB Library

To use your Feather as a USB host, you’ll need to install the Adafruit TinyUSB library. It can be installed using the Library Manager in the Arduino IDE.

Click the Manage Libraries > menu item, search for Adafruit TinyUSB, and select the Adafruit TinyUSB Library

Install Pico PIO USB Library

Additionally, you’ll need to install the Pico PIO USB library.

Click the Manage Libraries > menu item again, search for PIO USB, and select the Pico PIO USB library.

Configuration and Deployment

Board Upload Settings

  • In the Tools menu, select Adafruit Feather RP2040 USB Host under Board.
  • For CPU Speed, you’ll need to select 120 MHz or 240 MHz**.
  • Finally, under USB Stack, select Adafruit TinyUSB.

Serial Host Bridge Example

  • Load the example code onto your Feather after following the library installation instructions on the Arduino Library Install page.
  • Navigate to the Adafruit TinyUSB Library Examples and select DualRole – CDC – serial_host_bridge

Now you can control the BleuIO USB Dongle via the Adafruit Feather board.

With these steps completed, you’re now ready to start integrating BleuIO with your Adafruit Feather RP2040 board. This setup lays the foundation for exciting IoT projects, and we’ll explore more functionalities in future tutorials where we will show how to make the BleuIO USB Dongle advertise data from a Temperature and Humidity sensor.

← Raspberry PI home automationBleuIO integration (Part2) →
  • Introduction
  • Requirements
  • Setting Up the Development Environment
  • Selecting the Appropriate Board Configuration
  • Library Installation
  • Configuration and Deployment

Support Request

If you have any queries or technical questions, please don't hesitate to send us a message. We will reply within 24 hours.

Message Sent!

Docs
ManualAT CommandsHelp
Community
YouTubeLinkedInFacebook
More
BleuIOSmart Sensor DevicesGitHub
Sales & Support
support@bleuio.comsales@bleuio.com
Copyright © 2025 BleuIO. A product of Smart Sensor Devices