<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by bleuio on Medium]]></title>
        <description><![CDATA[Stories by bleuio on Medium]]></description>
        <link>https://medium.com/@bleuio?source=rss-cb8f32e6ea2a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*eA26DROjcwTUPD8920on7w.jpeg</url>
            <title>Stories by bleuio on Medium</title>
            <link>https://medium.com/@bleuio?source=rss-cb8f32e6ea2a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 08:15:56 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@bleuio/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com" rel="hub"/>
        <item>
            <title><![CDATA[Add Bluetooth Low Energy to Your Existing Product Without Building Custom BLE Hardware]]></title>
            <link>https://bleuio.medium.com/add-bluetooth-low-energy-to-your-existing-product-without-building-custom-ble-hardware-88322feeb4d2?source=rss-cb8f32e6ea2a------2</link>
            <guid isPermaLink="false">https://medium.com/p/88322feeb4d2</guid>
            <category><![CDATA[bluetooth-low-energy]]></category>
            <category><![CDATA[wireless]]></category>
            <category><![CDATA[bleuio]]></category>
            <category><![CDATA[iot]]></category>
            <dc:creator><![CDATA[bleuio]]></dc:creator>
            <pubDate>Mon, 23 Nov 2026 10:37:22 GMT</pubDate>
            <atom:updated>2026-11-23T10:37:22.899Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*dbC1rhGi2bPnmJ8f.jpg" /></figure><p>Bluetooth Low Energy (BLE) is now used in many products, including industrial machines, IoT devices, smart building systems, and wireless sensors.</p><p>For businesses that already have a working product, adding Bluetooth can be a useful upgrade. It allows devices to communicate wirelessly, exchange information with nearby sensors, or connect to mobile applications.</p><p>For example, a device that currently uses a cable for communication could offer wireless access instead.</p><p>But there is one question that often comes up:</p><p><strong>Do you need to develop your own Bluetooth hardware to add BLE to an existing product?</strong></p><p>Building a Bluetooth solution from the beginning takes time and requires knowledge of hardware, firmware, testing, and certification.</p><p>The good news is that you don’t always need to take that route.</p><h3>Why Building Custom Bluetooth Hardware Can Be Challenging</h3><p>Let’s say your company makes an industrial controller, monitoring device, or IoT gateway.</p><p>The product already works well, but now you want to add Bluetooth connectivity.</p><p>Maybe you want users to change settings through a mobile app, read information from nearby BLE sensors, or check the device’s status without connecting a cable.</p><p>One way to do this is to redesign the product’s circuit board and add a Bluetooth chip.</p><p>However, this usually means more development work.</p><p>Here are some things you may need to consider:</p><ul><li><strong>Hardware design:</strong> Choosing the right Bluetooth components, updating the circuit board, and designing an antenna.</li><li><strong>Firmware development:</strong> Writing and maintaining software to manage Bluetooth communication.</li><li><strong>Testing:</strong> Making sure Bluetooth connections work correctly and remain reliable.</li><li><strong>Certification:</strong> Checking the Bluetooth and regulatory requirements for the product.</li><li><strong>Development time:</strong> Spending additional time and resources before the new version is ready.</li></ul><p>If your company mainly works with industrial equipment, sensors, or other electronics, developing Bluetooth hardware may not be something your team wants to spend time on.</p><p>This is where using an existing BLE solution can make things easier.</p><h3>Adding Bluetooth with BleuIO</h3><p><a href="https://www.bleuio.com/"><strong>BleuIO</strong></a> is a Bluetooth Low Energy USB dongle that allows developers to add BLE communication to compatible systems without designing their own Bluetooth radio hardware.</p><p>Instead of building everything from scratch, you can connect BleuIO to a system that supports USB host communication and control Bluetooth features using simple AT commands.</p><p>BleuIO handles the Bluetooth radio communication, while your application controls what the device should do.</p><p>Depending on your project, BleuIO can work as a BLE central or peripheral.</p><p>For example, you could use it to communicate with nearby BLE sensors, collect wireless data, or add Bluetooth communication to an existing application.</p><p>This approach allows your development team to spend more time working on the actual product features instead of designing and testing a new Bluetooth radio.</p><p>If you want to see how BleuIO works, there are several resources available:</p><ul><li><a href="https://www.bleuio.com/#bleuio-pro-blue">BleuIO Products</a> — Explore the available BLE USB dongles.</li><li><a href="https://www.bleuio.com/blog/?bleprojects">Projects and Examples</a> — See how BleuIO can be used with different development boards, programming languages, and applications.</li><li><a href="https://www.bleuio.com/getting_started/">Getting Started Documentation</a> — Learn how to connect and communicate with BleuIO.</li><li><a href="https://www.bleuio.com/learn-ble/">BleuIO Academy</a> — Learn more about Bluetooth Low Energy through tutorials and practical examples.</li></ul><h3>What About Bluetooth Certification?</h3><p>Certification is another important part of developing wireless products.</p><p>When a company designs its own Bluetooth radio hardware, it may need to go through additional testing and compliance procedures before selling the product.</p><p>Using an existing Bluetooth solution can help reduce some of this work.</p><p>BleuIO comes with established regulatory compliance documentation.</p><p>The standard BleuIO dongle is listed with CE, FCC, KC, RoHS, and REACH credentials. BleuIO Pro is listed with CE, FCC, RoHS, and REACH credentials.</p><p>By using existing BLE hardware, businesses can avoid developing and testing a custom Bluetooth radio, which may also make parts of the compliance process easier.</p><p>However, the requirements for the complete product will still depend on how it is designed and where it will be sold.</p><p>If you are planning to use BleuIO in a commercial product, the BleuIO team can help you understand the available documentation and discuss possible integration options.</p><h3>Thinking About Adding Bluetooth to Your Product?</h3><p>Adding Bluetooth to an existing product does not always mean redesigning your electronics or developing custom wireless hardware.</p><p>A ready-to-use BLE USB solution like BleuIO can offer a simpler way to introduce Bluetooth communication while allowing your team to focus on the product itself.</p><p>Whether you are working with industrial equipment, IoT gateways, monitoring systems, or connected devices, it is worth exploring whether an existing BLE solution can meet your needs.</p><p><strong>Have a product that could benefit from Bluetooth connectivity?</strong></p><p><a href="https://www.bleuio.com/contact.php">Contact the BleuIO team</a> to discuss your project and possible integration options.</p><p>You can also email <a href="mailto:sales@bleuio.com"><strong>sales@bleuio.com</strong></a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=88322feeb4d2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Exploring the Basics of Bluetooth Low Energy (BLE): How It Works and How to Get Started]]></title>
            <link>https://bleuio.medium.com/exploring-the-basics-of-bluetooth-low-energy-ble-how-it-works-and-how-to-get-started-1948d90004e9?source=rss-cb8f32e6ea2a------2</link>
            <guid isPermaLink="false">https://medium.com/p/1948d90004e9</guid>
            <category><![CDATA[bleuio]]></category>
            <category><![CDATA[bluetooth-low-energy]]></category>
            <category><![CDATA[iot]]></category>
            <dc:creator><![CDATA[bleuio]]></dc:creator>
            <pubDate>Tue, 10 Nov 2026 13:30:14 GMT</pubDate>
            <atom:updated>2026-11-10T13:30:14.678Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7zpZ7wl5rk6BO76gnLIQFQ.png" /></figure><p>Bluetooth has become such a familiar part of our lives that we rarely think about the technology behind it. From wireless headphones and smartwatches to fitness trackers and environmental sensors, Bluetooth helps devices exchange information without physical cables.</p><p>But not all Bluetooth communication works the same way.</p><p>Some devices need to transfer continuous streams of data, such as audio. Others only need to send a small amount of information occasionally, perhaps a temperature reading, a heart rate measurement, or a notification that a door has opened.</p><p>For these applications, energy efficiency becomes especially important.</p><p>This is where <a href="https://www.bleuio.com/bluetooth-low-energy-usb-ssd025.php"><strong>Bluetooth Low Energy</strong></a> (BLE) comes in.</p><p>In this article, we’ll explore what Bluetooth Low Energy is, how it works, what makes it power-efficient, and how devices discover and communicate with one another. Finally, we’ll look at how to begin experimenting with BLE using a simple hands-on example.</p><h3>1. Understanding Wireless Communication Protocols</h3><p>Before exploring Bluetooth Low Energy, it helps to understand how electronic devices communicate.</p><p>Imagine two people attempting to have a conversation without speaking the same language. Even if they can hear each other perfectly, exchanging meaningful information would be difficult.</p><p>Electronic devices face a similar challenge.</p><p>For two devices to communicate successfully, they must follow a common set of rules. These rules are known as a communication protocol.</p><p>A communication protocol determines how devices identify one another, establish connections, format and transmit information, interpret received data, and handle errors.</p><p>Wi-Fi, Ethernet, and Bluetooth are all examples of networking technologies that rely on standardized communication protocols.</p><p>Bluetooth is particularly useful when devices need to exchange data wirelessly over relatively short distances without relying on an existing network infrastructure.</p><h3>2. What Is Bluetooth Low Energy?</h3><p>Bluetooth Low Energy, commonly called BLE or Bluetooth LE, is a wireless communication technology designed to exchange information while consuming relatively little power.</p><p>Introduced as part of the Bluetooth 4.0 specification in 2010, BLE was developed to address the growing need for wireless connectivity in battery-powered electronic devices.</p><p>Unlike Bluetooth Classic (BR/EDR), which has traditionally been used for applications such as wireless audio, BLE was designed with a strong focus on efficient data exchange.</p><p>Consider a small environmental sensor powered by a battery.</p><p>The sensor might measure temperature every few seconds, but it does not necessarily need to keep its radio continuously active. Instead, it can periodically transmit its measurements and spend much of its time in a low-power state.</p><p>This approach can significantly reduce energy consumption.</p><p>BLE operates in the globally available 2.4 GHz ISM radio band and is widely used in modern embedded and Internet of Things (IoT) systems.</p><h4>Bluetooth Classic vs Bluetooth Low Energy</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AtqbZ3KXJvAC4yuBBkz5oA.png" /></figure><p>Modern Bluetooth LE also supports more advanced applications, including LE Audio. Therefore, the distinction is not simply that Bluetooth Classic handles audio while BLE handles sensor data. The two technologies have different architectures and design priorities.</p><h3>3. How Does Bluetooth Low Energy Save Power?</h3><p>One of the defining features of BLE is its ability to minimize the time a device spends actively using its radio.</p><p>Wireless transmission and reception consume energy. By reducing unnecessary radio activity, BLE helps battery-powered devices operate for longer periods.</p><p>Several techniques make this possible.</p><h4>Short communication events</h4><p>A BLE device can exchange data during short communication events and remain idle between them.</p><p>Instead of transmitting continuously, a device may wake up, send or receive information, and return to a lower-power state.</p><h4>Efficient advertising</h4><p>BLE devices can announce their presence through small wireless messages called advertising packets.</p><p>Other devices can discover these messages without necessarily establishing a connection.</p><h4>Flexible communication intervals</h4><p>Developers can configure parameters such as advertising intervals and connection intervals to balance power consumption, responsiveness, and data throughput.</p><p>For instance, a sensor that reports measurements infrequently can often use longer intervals than a device requiring near-real-time updates.</p><h4>Optimized data exchange</h4><p>BLE supports compact data exchanges and protocols designed to handle relatively small quantities of information efficiently.</p><p>However, low power consumption is not automatic. Actual battery life depends on device hardware, radio configuration, transmission frequency, processing requirements, and application behavior.</p><h3>4. Understanding BLE Advertising and Scanning</h3><p>One of the most interesting features of Bluetooth Low Energy is that devices can exchange useful information without establishing a dedicated connection.</p><p>This process involves two important activities: advertising and scanning.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JZDiZe6SgNFrMM2t51_dtA.png" /></figure><p>Simplified illustration of a BLE device broadcasting advertising packets that nearby scanners can detect.</p><h4>Advertising: Announcing a device’s presence</h4><p>A BLE advertiser periodically transmits packets containing information that nearby devices may receive.</p><p>Depending on the configuration, advertising information might include a device name, service identifiers, manufacturer-specific information, or application data.</p><p>A beacon, for example, may repeatedly broadcast an identifier that nearby devices can recognize.</p><h4>Scanning: Discovering nearby devices</h4><p>A scanning device listens for Bluetooth LE advertising packets.</p><p>When it receives them, it can extract available information and identify devices in range.</p><p>For example, a scanner might discover several nearby devices:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*g_kScVpjvBr_FdIKDinFoQ.png" /></figure><p>Illustrative values, not actual scan results.</p><p>RSSI stands for Received Signal Strength Indicator. It provides an indication of the received radio signal strength, usually expressed in dBm.</p><p>A value closer to zero generally represents a stronger received signal. However, RSSI is affected by obstacles, antenna orientation, interference, and other conditions, so it should not be treated as a precise distance measurement.</p><p>BLE uses 40 radio-frequency channels in its 2.4 GHz band. Three are designated primary advertising channels (37, 38, and 39), while the other 37 support data communication and can also be used in certain extended advertising procedures.</p><p>Advertising and scanning form the foundation of many BLE discovery and beacon applications.</p><h3>5. How BLE Devices Establish Connections</h3><p>Advertising makes device discovery possible, but many applications require a dedicated connection to exchange additional information.</p><p>For this, BLE commonly uses two connection roles.</p><ul><li><strong>Central:</strong> The device that initiates and manages a connection, often a smartphone, computer, or gateway.</li><li><strong>Peripheral:</strong> A device that advertises its availability and accepts connections, often a sensor or embedded device.</li></ul><p>Consider a smartphone connecting to a wireless heart rate monitor.</p><p>The monitor advertises its presence, the smartphone discovers it, and the smartphone initiates a connection.</p><p>Once connected, the devices can exchange information according to the services and features they support.</p><p>A simplified BLE connection sequence, from discovery to connected data exchange.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*z6p0CpkGQkCCUxfDq4_Jmw.png" /></figure><p>An important detail is that the central/peripheral roles are not the same as GATT client/server roles. They describe different aspects of communication.</p><h3>6. Understanding GAP and GATT</h3><p>Two terms appear frequently when working with Bluetooth Low Energy: GAP and GATT.</p><p>They serve different purposes.</p><h4>GAP — Generic Access Profile</h4><p>GAP defines important aspects of how devices become discoverable and establish connections.</p><p>It covers concepts such as advertising, scanning, discoverability, and connection procedures.</p><p>In simple terms, GAP helps answer:</p><p>How do Bluetooth devices find and connect to one another?</p><h4>GATT — Generic Attribute Profile</h4><p>GATT defines how devices organize and access structured information through attributes, services, and characteristics.</p><p>A BLE device may expose a service containing several characteristics.</p><p>For example, a hypothetical environmental sensor might organize its measurements like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YwwcngD3XxNzB7_0ThdIog.png" /></figure><p>Conceptual example of how characteristics might be organized inside a custom GATT service. Actual services and permissions vary by device.</p><p>Characteristics can support different operations, including reading, writing, notifications, and indications.</p><p>A GATT client, such as a computer application, can discover supported services and interact with their characteristics according to the permissions and behavior defined by the device.</p><p>This structure makes BLE especially useful for embedded systems with clearly defined data and control interfaces.</p><h3>7. A Quick Look at the Bluetooth LE Protocol Stack</h3><p>Behind advertising, scanning, and GATT communication is a collection of protocols working together.</p><p>This architecture is known as the Bluetooth LE protocol stack.</p><p>Some of its important components include:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3egyuZD7OIfHWNSRa-J2hg.png" /></figure><p>Most application developers do not need to implement these layers individually.</p><p>Bluetooth controllers, firmware, and software stacks handle much of the underlying complexity, allowing developers to focus on application-specific behavior.</p><h3>8. Where Is Bluetooth Low Energy Used?</h3><p>BLE has become an important part of modern connected products because it combines wireless connectivity with flexible power-management capabilities.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*04wIa3sYqfIbmzyqHijvBA.png" /></figure><p>The communication requirements of these applications vary considerably, but they share a common need for dependable short-range wireless connectivity.</p><h3>9. Getting Hands-On with Bluetooth Low Energy</h3><p>Understanding how BLE works is useful, but seeing actual BLE communication makes these concepts much easier to understand.</p><p>A good first experiment is to scan for nearby Bluetooth Low Energy devices and observe their advertising information.</p><p>There are various development boards, BLE scanners, and software tools available for this purpose.</p><p>One option is <a href="https://www.bleuio.com/bluetooth-low-energy-usb-ssd005.php"><strong>BleuIO, a Bluetooth Low Energy USB dongle</strong></a> that allows developers to interact with BLE devices through AT commands.</p><p>Rather than requiring developers to build a complete Bluetooth stack application for a basic experiment, BleuIO provides commands for operations such as scanning, advertising, and managing supported connections.</p><p>The <a href="https://www.bleuio.com/bluetooth-low-energy-usb-ssd025.php">BleuIO website</a> also provides a browser-based Web App for interacting with compatible BleuIO dongles through a supported browser.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V1wXfOwIgeEcMlmNGVaD6A.png" /></figure><h3>Your first BLE scan</h3><p>To perform a basic scan, connect the BleuIO dongle to your computer and open the BleuIO Web App in a supported browser.</p><p>After connecting to the dongle, the following commands can be used to start discovering nearby devices:</p><pre>AT+CENTRAL<br>AT+GAPSCAN=5</pre><p>The first command configures BleuIO for the central role.</p><p>The second starts a BLE scan for five seconds.</p><p>During the scan, the dongle listens for advertising packets transmitted by nearby Bluetooth Low Energy devices.</p><p>A typical result may look something like this:</p><pre>AT+GAPSCAN=5<br>SCANNING...<br>[01] Device: [1]30:63:C5:D0:B1:DE RSSI: -38<br>[02] Device: [0]D0:76:50:80:0A:98 RSSI: -75<br>[03] Device: [1]27:5D:B8:2E:96:B0 RSSI: -51<br>SCAN COMPLETE</pre><p>Each discovered device may be identified by an address and accompanied by information such as its received signal strength.</p><p>Depending on the scan settings and advertising data available, additional information such as device names can also be displayed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*3bAOhnweJN7ViA2F.png" /></figure><p>This simple experiment demonstrates one of BLE’s most fundamental operations: a scanner discovering nearby advertising devices without first establishing a connection.</p><p>From here, developers can move on to more advanced experiments, such as investigating advertising payloads, establishing connections with compatible peripherals, or exchanging GATT data.</p><h3>Moving beyond basic scanning</h3><p>Once the fundamentals are clear, BLE can be integrated into practical applications.</p><p>For example, a computer application might collect readings from nearby wireless sensors, while an embedded controller could communicate with a BLE peripheral to monitor or control connected hardware.</p><p>BleuIO provides example projects and tutorials covering Python, JavaScript, Raspberry Pi, STM32, Arduino, and other development platforms. These examples can help connect fundamental BLE concepts to real applications.</p><p>For additional experiments, explore the <a href="https://www.bleuio.com/getting_started/docs/commands/">BleuIO AT command</a> documentation and the tutorials available through the <a href="https://www.bleuio.com/">BleuIO website</a>.</p><h3>10. Final Thoughts</h3><p>Bluetooth Low Energy has made it possible for a wide range of connected devices to communicate efficiently while operating within limited power budgets.</p><p>From simple advertising packets to structured GATT communication, BLE provides developers with a flexible set of tools for building wireless applications.</p><p>The key to learning BLE is understanding a few foundational ideas: how devices advertise, how scanners discover them, how connections are established, and how information is organized and exchanged.</p><p>And once those concepts are understood, the next step is experimentation.</p><p>A simple BLE scan is often enough to reveal just how many wireless devices are communicating around us every day.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1948d90004e9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Built-In Bluetooth Keeps Breaking Your Code (And How BleuIO Fixes It)]]></title>
            <link>https://bleuio.medium.com/why-built-in-bluetooth-keeps-breaking-your-code-and-how-bleuio-fixes-it-2d57c6012042?source=rss-cb8f32e6ea2a------2</link>
            <guid isPermaLink="false">https://medium.com/p/2d57c6012042</guid>
            <category><![CDATA[bluetooth-low-energy]]></category>
            <category><![CDATA[embedded-systems]]></category>
            <category><![CDATA[bleuio]]></category>
            <category><![CDATA[iot]]></category>
            <dc:creator><![CDATA[bleuio]]></dc:creator>
            <pubDate>Mon, 09 Nov 2026 13:09:30 GMT</pubDate>
            <atom:updated>2026-11-09T13:09:30.186Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XDgCIDa_r9tQ1PcFF0dWrw.png" /></figure><p>Anyone who has built a project communicating with <a href="https://www.bleuio.com/"><strong>Bluetooth Low Energy</strong></a> devices knows the frustration of cross-platform deployment. A script that connects cleanly to a peripheral on a MacBook suddenly throws silent connection timeouts when copied over to an automated Linux test rig. An identical workflow deployed on a Windows workstation behaves strangely with connection handles, or demands specific threading permissions that were never an issue during local prototyping.</p><p>Over the air, <a href="https://www.bleuio.com/"><strong>Bluetooth Low Energy</strong></a> is governed by tidy, strictly defined specifications. Once those packets reach host silicon, that neat standardization completely falls apart.</p><h3>The Fragmented World of Native Bluetooth Stacks</h3><p>The root cause comes down to who actually processes the wireless protocol. When you use your laptop’s built-in Bluetooth card or plug in a standard USB adapter, the physical chip is merely a Host Controller Interface (HCI) controller. The heavy lifting — managing states, parsing advertising packets, resolving GATT tables, and maintaining connection intervals — is handled entirely by the host operating system’s CPU.</p><p>Because every major operating system built its own Bluetooth subsystem independently, developers end up writing code against three fundamentally divergent software architectures.</p><p>On Linux, applications must communicate across D-Bus to the BlueZ daemon. BlueZ exposes raw MAC addresses, enforces strict user group permissions, and caches GATT tables aggressively, sometimes locking up until someone manually restarts the service. On macOS, CoreBluetooth deliberately hides device MAC addresses behind randomized, system-generated UUIDs to protect user privacy, immediately breaking any naive connection script written with hardware addresses in mind. Meanwhile, Windows funnels everything through its modern WinRT framework, which requires careful synchronization with application event loops.</p><p>Cross-platform wrapper libraries work hard to paper over these chasms, but they can only do so much. A subtle timing quirk or an unhandled GATT refresh in the underlying OS daemon will inevitably bleed through into your application layer. For automated hardware-in-the-loop test benches, factory floor validation, or headless edge gateways, these operating-system-level headaches quickly turn into major engineering bottlenecks.</p><h3>Bypassing the Host OS with BleuIO</h3><p>This architectural friction is precisely what the <a href="https://www.bleuio.com/"><strong>BleuIO</strong></a> dongle was built to solve. Rather than acting as a dumb HCI radio that delegates protocol tasks to the host kernel, BleuIO runs its entire Bluetooth Core protocol stack directly on its own internal microcontroller.</p><p>When you insert the dongle into a USB port, the host operating system doesn’t register a complex Bluetooth controller. It simply mounts a universal, driverless USB Virtual Serial COM port.</p><p>All interaction with the device happens through straightforward, human-readable ASCII AT commands sent over that serial stream. To initiate a five-second scan of surrounding peripherals, you write AT+GAPSCAN=5 followed by a carriage return. To connect to an endpoint, you send AT+GAPCONNECT with the target address. To configure the dongle as an advertising peripheral or emulate a custom beacon payload, you trigger the appropriate advertising command.</p><p>Because every modern operating system has supported virtual serial communications natively for decades, the entire native Bluetooth subsystem is neatly bypassed. You don’t have to wrestle with BlueZ permissions in a headless Docker container, configure D-Bus policies on a Raspberry Pi, or navigate Apple’s privacy-wrapped device handles.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VICMGhI7bvRcLrlx6hbxjw.png" /></figure><h3>True Portability Across Languages and Boards</h3><p>The practical benefit of this design is that serial communication is identical across practically every language in existence. A Python script using basic serial reads and writes will execute with the exact same syntax on Windows, Linux, and macOS. The only variable that changes across environments is the serial port string itself, switching between a COM port on Windows and a serial device path on Unix-like machines.</p><p>This flexibility extends well beyond standard desktop environments. Web developers can talk directly to BLE hardware inside a browser using the native Web Serial API, building diagnostic dashboards for field technicians without requiring a compiled desktop utility. Firmware engineers working with resource-constrained development boards — such as STM32, ESP32, or other microcontrollers with a USB host port — can orchestrate complex multi-device BLE connections simply by streaming text lines over UART, entirely freeing the host board from hosting a multi-megabyte wireless protocol stack.</p><pre>import serial<br><br># Works identically on Linux, Windows, or macOS<br>dongle = serial.Serial(&quot;/dev/ttyACM0&quot;, baudrate=57600, timeout=1)<br>dongle.write(b&quot;AT+GAPSCAN=5\r\n&quot;)<br>response = dongle.read_all().decode(&quot;utf-8&quot;)<br>print(response)</pre><p>By isolating the Bluetooth engine onto dedicated hardware and exposing it through plain text commands, <a href="https://www.bleuio.com/"><strong>BleuIO</strong></a> trades the unpredictability of OS-managed drivers for the reliable simplicity of a serial terminal. When testing hardware on an assembly line or gathering sensor telemetry in the field, having a device that behaves predictably regardless of the host machine is worth its weight in gold.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2d57c6012042" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Build a BLE Signal Strength Analyzer with Live Charts Using BleuIO]]></title>
            <link>https://bleuio.medium.com/build-a-ble-signal-strength-analyzer-with-live-charts-using-bleuio-d8b19cd44b1e?source=rss-cb8f32e6ea2a------2</link>
            <guid isPermaLink="false">https://medium.com/p/d8b19cd44b1e</guid>
            <category><![CDATA[bluetooth-low-energy]]></category>
            <category><![CDATA[rssi]]></category>
            <category><![CDATA[bleuio]]></category>
            <dc:creator><![CDATA[bleuio]]></dc:creator>
            <pubDate>Wed, 04 Nov 2026 17:03:18 GMT</pubDate>
            <atom:updated>2026-11-06T15:24:18.607Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CANv5xnGZCh2zhjC250WOw.jpeg" /></figure><p>RSSI analysis becomes much easier when you can see the signal changing instead of watching a stream of numbers in a terminal. A chart makes it possible to notice movement, sudden drops, periods of instability, and differences between devices almost immediately.</p><p>In this project, we use a <a href="https://www.bleuio.com/">BleuIO USB dongle</a> with Python and Plotly Dash to build a live BLE signal strength analyzer. The application scans nearby BLE advertisers, lets us select a device, and follows its RSSI over time. It also provides a quick overview of every device currently being discovered.</p><p>This is intended as a starting point rather than a complete positioning or ranging system. If you already work with RSSI, the dashboard gives you a practical base for collecting observations, testing an environment, and extending the analysis for your own use case.</p><h3>What the analyzer provides</h3><p>The dashboard is organized around one selected BLE device. Its current RSSI, smoothed RSSI, recent trend, and signal stability appear directly above a live time-series chart. The raw readings remain visible, so the processed line never hides what the dongle actually received.</p><p>Below the main analysis, the <strong>Discovered Now</strong> section compares the latest RSSI values from nearby devices. An RSSI distribution chart shows how the selected device’s readings are spread across the recent observation window.</p><p>This combination is useful when you want to answer practical questions such as whether a signal is consistently weak, whether it is changing direction, or whether an apparently stable device is producing occasional large variations.</p><h3>Hardware and software</h3><p>You will need:</p><ul><li>A <a href="https://www.bleuio.com/">BleuIO USB dongle</a></li><li>Python 3.10 or newer</li><li>The <a href="https://github.com/smart-sensor-devices-ab/bleuio-rssi-analyzer">project source code on GitHub</a></li></ul><p>The application uses <a href="https://pyserial.readthedocs.io/">pySerial</a> to communicate with BleuIO and <a href="https://dash.plotly.com/">Plotly Dash</a> for the local dashboard. BleuIO handles the BLE radio operation, so the Python application only needs to work with its serial AT-command interface.</p><h3>Download and install the project</h3><p>Clone the repository and move into the project directory:</p><pre>git clone https://github.com/smart-sensor-devices-ab/bleuio-rssi-analyzer.git <br>cd bleuio-rssi-analyzer</pre><p>On macOS or Linux, create a virtual environment and install the dependencies:</p><pre>python3 -m venv .venv <br>source .venv/bin/activate <br>python -m pip install -r requirements.txt</pre><p>On Windows PowerShell, use:</p><pre>py -m venv .venv <br>.venv\Scripts\Activate.ps1 <br>python -m pip install -r requirements.txt</pre><p>Connect the BleuIO dongle before starting the application. BleuIO briefly exposes its bootloader after power-up, so allow approximately 15 seconds for the normal application serial port to appear.</p><p>Start the analyzer:</p><pre>python app.py</pre><p>Then open <a href="http://127.0.0.1:8050/">http://127.0.0.1:8050</a> in a browser.</p><h3>Start scanning</h3><p>The serial-port menu only shows ports identified as BleuIO devices. On macOS, this normally looks like /dev/cu.usbmodem.... On Windows, the dongle may appear as a generic USB Serial Device (COMx), so the application also recognizes BleuIO by its USB vendor and product identifiers.</p><p>Select the dongle and click <strong>Start scan</strong>. The application places BleuIO in central role and repeatedly performs a short timed scan using AT+GAPSCAN=1. Repeating the timed scan gives the dashboard a continuing series of fresh RSSI observations instead of a single discovery result. The command behavior is documented in the <a href="https://www.bleuio.com/getting_started/docs/commands/">BleuIO AT command reference</a>.</p><p>As advertisements are received, nearby addresses appear in the BLE device menu. Select the device you want to examine, and the analysis area updates immediately.</p><h3>Follow a selected signal</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/542/0*aTZIWKuF-oBFbCHj.png" /></figure><p>The <strong>Current RSSI</strong> card displays the most recent reading. This value is useful for immediate feedback, but normal radio variation can make it jump even when neither device has deliberately moved.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/534/0*jjpU6A7Jxi46PVI_.png" /></figure><p>The <strong>Smoothed RSSI</strong> view makes the overall movement easier to follow. The project first applies a short median filter to reduce isolated spikes, followed by an exponentially weighted moving average that gives more importance to recent observations. The original samples remain visible as dots, while the smoothed result appears as the blue line.</p><p>This processing is deliberately lightweight. It is enough to make the live chart readable, but it is also easy to replace if your experiment needs a Kalman filter, a different smoothing window, or no filtering at all.</p><h3>Read the trend and stability indicators</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/534/0*JYECW8eZXroBtYjT.png" /></figure><p>The <strong>Recent Trend</strong> card compares the latest smoothed value with the recent signal history. A change of at least 4 dB is described as <strong>Getting stronger</strong> or <strong>Getting weaker</strong>. Smaller changes are shown as <strong>Stable</strong>. The card also displays the measured change, making the label easy to interpret rather than presenting it as an unexplained classification.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/522/0*9QkHQ6oCoIY_uPLb.png" /></figure><p>The <strong>Signal Stability</strong> card looks at the variation among the latest raw readings. A tightly grouped signal is labeled <strong>Steady</strong>. Greater variation is reported as <strong>Variable</strong> or <strong>Unstable</strong>. Strength and stability are treated separately: a weak signal can still be steady, and a strong signal can fluctuate considerably.</p><p>These thresholds are sensible defaults for exploring a signal, not universal BLE rules. They are kept in a small analysis module so they can be adjusted for the advertising interval, environment, antenna, and behavior of the device being studied.</p><h3>Compare nearby devices</h3><p>The <strong>Discovered Now</strong> chart provides context for the focused analysis. It shows the latest RSSI from every address found during the scan, ordered from stronger to weaker signals. This is useful when choosing a target or checking how crowded the local BLE environment is.</p><p>The distribution beside it belongs only to the selected device. It counts how often recent readings occurred within each RSSI range. A narrow group of bars usually accompanies a steadier signal, while a wider spread reveals more variation. The chart can be especially useful when comparing two locations or antenna orientations that have a similar average RSSI but different consistency.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Ykf1TbJiouQ_K8M_.png" /></figure><h3>Try a simple observation</h3><p>Choose a BLE advertiser that sends packets regularly and leave it in a fixed position. Let the analyzer collect readings for a short period, then change one condition at a time: rotate the device, move it farther away, place an obstacle between it and BleuIO, or walk through the signal path.</p><p>The raw samples show the immediate radio response. The smoothed line makes the larger movement easier to see, while the trend and stability cards provide a compact summary. The distribution shows whether the new condition changed only the average signal or also made it more variable.</p><p>The goal is not to turn RSSI into an exact ruler. Bluetooth radio measurements are affected by the environment, reflections, antenna orientation, and the human body. The Bluetooth SIG notes that newer Bluetooth Channel Sounding is more reliable for accurate ranging than approaches that use RSSI as a distance proxy. The <a href="https://www.bluetooth.com/bluetooth-le-primer/">Bluetooth Low Energy primer</a> provides useful background on that distinction.</p><p>For this project, RSSI is used for what it does well: observing relative signal behavior, detecting meaningful changes, and building an experiment around real measurements.</p><h3>Take the project further</h3><p>The source is intentionally compact so it can be adapted. A next version could save readings to CSV, compare multiple selected devices, add experiment markers, calculate packet reception rates, or load a calibration profile for a known environment. The analysis functions can also be replaced without changing the BleuIO serial scanner or the dashboard structure.</p><p>You can find the complete application, installation instructions, and tests in the <a href="https://github.com/smart-sensor-devices-ab/bleuio-rssi-analyzer">BleuIO RSSI Analyzer repository</a>.</p><p>With a live view of both raw and processed RSSI, the project turns BleuIO into a useful signal exploration tool-and a practical foundation for more focused BLE research.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d8b19cd44b1e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building Bluetooth Low Energy Applications Is Getting Easier with AI and BleuIO]]></title>
            <link>https://bleuio.medium.com/building-bluetooth-low-energy-applications-is-getting-easier-with-ai-and-bleuio-541b90217605?source=rss-cb8f32e6ea2a------2</link>
            <guid isPermaLink="false">https://medium.com/p/541b90217605</guid>
            <category><![CDATA[bleuio]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[bluetooth-low-energy]]></category>
            <dc:creator><![CDATA[bleuio]]></dc:creator>
            <pubDate>Wed, 04 Nov 2026 15:03:51 GMT</pubDate>
            <atom:updated>2026-11-04T15:03:51.080Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-lQCGwhpKwntDy7zJfcibg.png" /></figure><p><em>How AI-assisted coding and a simple Bluetooth interface can help developers build BLE applications faster, across different programming languages and operating systems.</em></p><p>Bluetooth Low Energy (BLE) is everywhere today. From wireless sensors and smart home devices to industrial monitoring systems, healthcare equipment, and IoT applications, BLE has become an important part of modern technology.</p><p>Yet, for many developers, working with Bluetooth Low Energy is not always straightforward.</p><p>Building a simple application that discovers nearby Bluetooth devices or connects to a sensor can require learning unfamiliar APIs, understanding Bluetooth protocols, configuring development environments, and dealing with operating system differences. What should be a relatively simple task can quickly turn into hours of setup and troubleshooting.</p><p>Artificial intelligence is beginning to change that experience. Tools such as ChatGPT, Gemini, and AI-powered coding assistants can now help developers write code, understand documentation, and troubleshoot problems much faster.</p><p>But AI becomes even more useful when the hardware itself is designed to be developer-friendly.</p><p>This is where <a href="https://www.bleuio.com/">BleuIO</a> offers an interesting approach to Bluetooth Low Energy development.</p><h3>Why Bluetooth Low Energy Development Can Be Complicated</h3><p>If you have worked with Bluetooth Low Energy before, you probably know that writing the application logic is only part of the job.</p><p>The challenge often starts with establishing communication between your software and the Bluetooth hardware.</p><p>Depending on the operating system, developers may need to work with different Bluetooth libraries, platform APIs, permissions, and configuration requirements. A solution developed for Windows might need modifications before it can work on macOS or Linux.</p><p>Programming language choice can also influence the development process. Python developers may use one library, while developers working with C# or JavaScript may need a completely different approach.</p><p>This adds complexity, especially when the actual goal is something relatively straightforward, such as collecting data from a wireless sensor or sending commands to a BLE device.</p><p>For engineering teams building products across multiple platforms, maintaining different Bluetooth implementations can also create additional work over time.</p><p>The ideal solution would allow developers to communicate with Bluetooth devices through a consistent interface, regardless of their preferred programming language or operating system.</p><h3>Making Bluetooth Communication Simpler with BleuIO</h3><p><a href="https://www.bleuio.com/">BleuIO</a> is a Bluetooth Low Energy USB dongle developed to make BLE integration easier for software developers and engineering teams.</p><p>Instead of requiring applications to interact directly with different operating system Bluetooth APIs, BleuIO provides a simple AT command interface through a USB serial connection.</p><p>This means developers can control supported Bluetooth operations by sending documented commands to the dongle.</p><p>For example, if an application needs to discover nearby BLE devices, the developer can send the appropriate scanning command to BleuIO and process the response.</p><p>The same approach can be used for other supported BLE operations, including connecting to devices, reading characteristics, writing data, and working with Bluetooth advertisements.</p><p>By providing a dedicated communication interface, BleuIO reduces the need to write and maintain large amounts of platform-specific Bluetooth code.</p><p>Developers can focus more on the application they are creating and less on the underlying Bluetooth implementation.</p><p>The <a href="https://www.bleuio.com/getting_started/docs/commands/">BleuIO AT command documentation</a> also provides a useful reference for understanding the available commands and integrating them into software projects.</p><h3>One Bluetooth Interface Across Windows, macOS, and Linux</h3><p>One particularly useful aspect of BleuIO is its cross-platform flexibility.</p><p>Normally, moving a Bluetooth application from one operating system to another can introduce additional development work. Different systems provide different Bluetooth APIs, and code written for one environment may not work directly in another.</p><p>BleuIO approaches this differently.</p><p>Because the dongle communicates through a serial interface, developers can use the same BleuIO AT commands across Windows, macOS, and Linux.</p><p>The serial port name, permissions, and connection setup may differ between operating systems, but the commands used to interact with the dongle remain consistent.</p><p>Imagine a developer creating a BLE-based sensor monitoring application on Windows using Python. Later, the same functionality needs to be integrated into a macOS application or deployed on a Linux computer.</p><p>Instead of rebuilding the Bluetooth communication logic around a different platform API, the developer can continue using the same BleuIO commands while adapting the serial communication layer as needed.</p><p>This consistency can simplify development, testing, and maintenance, especially for teams working on cross-platform desktop applications, IoT solutions, and industrial monitoring systems.</p><p>It also makes BleuIO an attractive option for developers who want their Bluetooth integration to remain flexible as their software evolves.</p><h3>Choose Your Programming Language Without Changing Your Bluetooth Approach</h3><p>Developers have different preferences when it comes to programming languages and frameworks.</p><p>Some prefer Python for automation and rapid prototyping. Others use JavaScript and Node.js for application development, C# for desktop software, or C++ for performance-sensitive projects.</p><p>Bluetooth integration should not force developers to abandon the tools they already know.</p><p>Since BleuIO communicates through a serial port, it can be integrated into virtually any programming language that supports serial communication.</p><p>The application code used to open and manage a serial connection may differ between languages, but the AT commands sent to BleuIO stay the same.</p><p>A developer using Python can send a BleuIO command to perform a BLE scan. Another developer using C# or Node.js can send the same command through their own serial communication implementation.</p><p>This approach makes Bluetooth integration more accessible and gives teams the freedom to choose their preferred technology stack.</p><p>It is particularly useful when adding BLE functionality to an existing application, where introducing an entirely new Bluetooth framework might otherwise require substantial changes.</p><h3>How AI Makes the Development Process Even Easier</h3><p>Now consider what happens when this simple command-based interface is combined with modern AI coding tools.</p><p>AI assistants are increasingly useful for generating application code, explaining documentation, and helping developers solve technical problems.</p><p>When a hardware device has clear documentation and a predictable communication interface, AI tools have a much easier task.</p><p>Instead of asking an AI assistant to build an entire operating system-specific Bluetooth implementation, a developer can provide the <a href="https://www.bleuio.com/getting_started/docs/commands/">BleuIO command reference</a> and explain what the application needs to accomplish.</p><p>Suppose you want to create a Python application that scans for nearby Bluetooth Low Energy devices for five seconds.</p><p>You can ask ChatGPT or Gemini to generate a Python script that opens the serial connection to BleuIO, sends the appropriate scanning commands, and displays the discovered devices.</p><p>With the documentation available as context, the AI assistant can help produce the necessary code without requiring the developer to write every part manually.</p><p>After checking the generated commands and configuring the correct serial port, the developer can run the script and test it with the actual dongle.</p><p>If changes are needed, the developer can continue working with the AI assistant to refine the code, improve error handling, or add functionality.</p><p>This does not eliminate the need to understand and test the application. AI-generated code can still contain mistakes, particularly when working with hardware and device-specific commands.</p><p>However, it can significantly reduce repetitive development work and help developers move from an idea to a working prototype more efficiently.</p><h3>Putting ChatGPT and Gemini to the Test</h3><p>To see how this works in practice, the BleuIO team created a simple demonstration using ChatGPT and Gemini.</p><p>The objective was straightforward: generate a Python script that communicates with a BleuIO USB dongle and performs a five-second Bluetooth Low Energy scan.</p><p>Both AI tools were provided with BleuIO’s AT command documentation and given instructions describing the required functionality.</p><p>The generated scripts were then tested with actual BleuIO hardware to see how they performed.</p><p>The demonstration illustrates a practical AI-assisted development workflow, starting with the documentation and continuing through code generation and testing.</p><p>Rather than manually building the entire script from the beginning, the developer can use AI to handle much of the initial coding and concentrate on validating the result.</p><p>You can watch the demonstration here:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fblue-sea-697d.quartiers047.workers.dev%3A443%2Fhttps%2Fwww.youtube.com%2Fembed%2F8wegP7O5Xls%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fblue-sea-697d.quartiers047.workers.dev%3A443%2Fhttps%2Fwww.youtube.com%2Fwatch%3Fv%3D8wegP7O5Xls&amp;image=https%3A%2F%2Fblue-sea-697d.quartiers047.workers.dev%3A443%2Fhttps%2Fi.ytimg.com%2Fvi%2F8wegP7O5Xls%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/485463388db43976e6d7dceaa5d5166a/href">https://medium.com/media/485463388db43976e6d7dceaa5d5166a/href</a></iframe><p>Although the demonstration focuses on a basic BLE scan, the same development approach can be applied to more advanced projects involving Bluetooth sensors, device configuration, wireless data collection, and automation.</p><h3>AI Is Changing Coding, but Simpler Hardware Interfaces Still Matter</h3><p>There is a growing expectation that AI will make software development easier, and in many areas it already has.</p><p>Developers can now generate functions, troubleshoot errors, understand unfamiliar libraries, and explore new technologies with much less manual effort.</p><p>However, hardware integration remains an area where the underlying interface matters enormously.</p><p>If a device requires complex platform-dependent implementations, AI still needs to work within those constraints.</p><p>A device that offers a clear, consistent, and well-documented command interface creates a much simpler starting point.</p><p>That is why the combination of BleuIO and AI is particularly useful.</p><p>BleuIO simplifies the communication between software and Bluetooth Low Energy hardware. AI helps developers build the software that communicates through that interface.</p><p>Neither replaces good engineering practices, but together they can make the development process faster, more accessible, and easier to maintain.</p><p>If you are exploring Bluetooth Low Energy development, take a look at the <a href="https://www.bleuio.com/bluetooth-low-energy-usb-ssd025.php">BleuIO USB dongle</a> and its <a href="https://www.bleuio.com/getting_started/docs/commands/">developer documentation</a>.</p><p>You can also explore the available products and development resources at <a href="https://www.bleuio.com/">BleuIO.com</a>.</p><p><strong>AI can help you write the code. BleuIO makes the Bluetooth communication simpler. The rest is up to what you want to build.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=541b90217605" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Less Setup, More Development: Simplify Bluetooth Low Energy Testing with BleuIO]]></title>
            <link>https://bleuio.medium.com/less-setup-more-development-simplify-bluetooth-low-energy-testing-with-bleuio-5504eb94e8d2?source=rss-cb8f32e6ea2a------2</link>
            <guid isPermaLink="false">https://medium.com/p/5504eb94e8d2</guid>
            <category><![CDATA[embedded-systems]]></category>
            <category><![CDATA[iot]]></category>
            <category><![CDATA[bleuio]]></category>
            <category><![CDATA[bluetooth-low-energy]]></category>
            <dc:creator><![CDATA[bleuio]]></dc:creator>
            <pubDate>Mon, 26 Oct 2026 19:38:58 GMT</pubDate>
            <atom:updated>2026-10-26T19:38:58.524Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*JoGU3jofzXHCg5s4Z8G_iw.png" /></figure><p><em>What if you could start testing Bluetooth Low Energy devices with a simple command instead of setting up an entire SDK?</em></p><p>Bluetooth Low Energy (BLE) development often involves installing SDKs, configuring libraries, and understanding platform-specific Bluetooth APIs before you can even begin testing your idea.</p><p>But what if you could skip much of that setup and focus on what really matters -<strong>building, testing, and improving your application logic?</strong></p><p>That’s where <a href="https://www.bleuio.com/">BleuIO</a> comes in.</p><h3>BLE Development Without the SDK Complexity</h3><p><strong>BleuIO is a Bluetooth Low Energy USB dongle that lets developers interact with BLE devices using simple AT commands over a serial connection.</strong></p><p>Plug it into a compatible host, open a serial terminal, and start working with BLE immediately.</p><p>For example:</p><pre>AT+GAPSCAN<br>AT+SCANTARGET<br>AT+GAPCONNECT<br>AT+FINDSCANDATA</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/0*Zrx-V4j0nGA-EwOR.gif" /></figure><p>With these commands, you can discover nearby BLE devices, target specific devices, establish connections, and inspect advertising data.</p><p>No dedicated BLE SDK is required to access the dongle’s built-in Bluetooth functions.</p><h3>Spend Less Time Setting Up, More Time Building</h3><p>Whether you’re prototyping an IoT solution, debugging a BLE sensor, or testing communication between devices, BleuIO helps simplify your development workflow.</p><ul><li><strong>Faster prototyping:</strong> Test BLE functionality without building a complete application first.</li><li><strong>Easier debugging:</strong> Send commands and inspect responses directly from your terminal.</li><li><strong>Language flexibility:</strong> Integrate with Python, JavaScript, C/C++, .NET, or any language that supports serial communication.</li><li><strong>Cross-platform development:</strong> Work with Windows, macOS, Linux, Raspberry Pi, and other compatible hosts.</li></ul><p>Instead of spending time navigating Bluetooth APIs, you can concentrate on <strong>application logic, device behavior, and the features you’re building.</strong></p><h3>Keep Bluetooth Simple</h3><p>BLE development doesn’t always need to begin with a complex software setup.</p><p>Sometimes, a serial connection and a few AT commands are all you need to move from an idea to a working BLE test.</p><p><strong>Less setup. Faster testing. More time for development.</strong></p><p>Explore <a href="https://www.bleuio.com/">BleuIO</a> or check out the <a href="https://www.bleuio.com/getting_started/docs/commands/">AT Command Reference</a> to get started.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5504eb94e8d2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Scanning HibouAir Sensors with CircuitPython, BleuIO and the Cytron MOTION 2350 Pro]]></title>
            <link>https://bleuio.medium.com/scanning-hibouair-sensors-with-circuitpython-bleuio-and-the-cytron-motion-2350-pro-3e21b7b19bd4?source=rss-cb8f32e6ea2a------2</link>
            <guid isPermaLink="false">https://medium.com/p/3e21b7b19bd4</guid>
            <category><![CDATA[air-quality-monitoring]]></category>
            <category><![CDATA[hibouair]]></category>
            <category><![CDATA[bleuio]]></category>
            <category><![CDATA[circuitpython]]></category>
            <category><![CDATA[bluetooth-low-energy]]></category>
            <dc:creator><![CDATA[bleuio]]></dc:creator>
            <pubDate>Tue, 20 Oct 2026 11:58:12 GMT</pubDate>
            <atom:updated>2026-10-20T11:58:12.259Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0bE_shJQd8rduQtjyIgNcQ.jpeg" /></figure><p>In this tutorial we will use <strong>CircuitPython</strong> to turn a Cytron MOTION 2350 Pro into a HibouAir scanner. The board’s RP2350 has no Bluetooth radio of its own. A <strong>BleuIO dongle</strong> in the board’s USB-A host port provides Bluetooth Low Energy, and a short CircuitPython program talks to it with ordinary AT commands.</p><p>The program scans for <a href="https://www.hibouair.com/"><strong>air quality monitoring device</strong></a> HibouAir advertisements, decodes them, and keeps the latest readings in global variables. One of them, the PM10 value from a <a href="https://www.hibouair.com/specifications-air-quality-monitor-pm-sensor.php"><strong>HibouAir PM sensor</strong></a>, is ready to be used by the rest of your program. As an example, the program turns a hobby servo on one of the board’s servo ports into an analog PM10 gauge.</p><p>Everything runs on the board. No computer is needed once the code is in place, and the HibouAir sensors do not need to be paired.</p><h3>Requirements</h3><h4>Hardware</h4><ul><li><a href="https://www.digikey.com/en/products/detail/cytron-technologies-sdn-bhd/MOTION-2350-PRO/25587464?s=N4IgTCBcDaILYHsAuBLBA7ABABwE4MzAGYBWABhAF0BfIA">Cytron MOTION 2350 Pro</a></li><li><a href="https://www.bleuio.com/bluetooth-low-energy-usb-ssd025.php">BleuIO USB dongle</a>. This tutorial was tested with a BleuIO Pro, firmware 1.0.7.1.</li><li>One or more <a href="https://www.hibouair.com/air-quality-monitor-hibouair-duo.php">HibouAir air quality sensors</a>. A <a href="https://www.hibouair.com/specifications-air-quality-monitor-pm-sensor.php">HibouAir PM sensor</a> is needed for the PM10 value.</li><li>A <a href="https://www.bleuio.com/accessories.php">USB-C data cable</a> between the board and your computer</li><li>Optional: a hobby servo for the PM10 gauge</li></ul><h4>Software</h4><ul><li><strong>CircuitPython 10.x</strong> for the Cytron MOTION 2350 Pro, from <a href="https://circuitpython.org/board/cytron_motion_2350_pro/">circuitpython.org</a>. The tutorial uses 10.3.1.</li><li>Two libraries from the <a href="https://circuitpython.org/libraries">Adafruit CircuitPython Library Bundle</a> for version 10.x, copied into the lib folder on the CIRCUITPY drive:</li><li>asyncio (the whole folder)</li><li>adafruit_ticks.mpy, which asyncio needs</li></ul><p>With <a href="https://github.com/adafruit/circup">circup</a> installed on your computer, one command copies both:</p><pre>circup install asyncio</pre><p>Everything else the program uses is built into CircuitPython: usb_host, usb.core, json, binascii, microcontroller, pwmio and time. The servo is driven with pwmio directly, so it needs no extra library. No boot.py is needed.</p><h3>What Does This Project Do?</h3><h4>1. The board becomes a USB host</h4><p>The MOTION 2350 Pro’s USB-A port is driven by the RP2350’s PIO. CircuitPython starts it with usb_host.Port on GPIO24 and GPIO25. The board definition has no named pins for this port, so the program uses the raw pins.</p><h4>2. CircuitPython finds BleuIO</h4><p>The program waits until a device with vendor ID 0x2DCF and product ID 0x6002 appears, which is BleuIO. It selects the dongle’s configuration and sets DTR and RTS, so that BleuIO starts sending its output.</p><h4>3. The dongle is brought into a known state</h4><p>BleuIO remembers what it was doing, so a scan from an earlier run may still be going. The program first sends Ctrl-C three times to stop it. It then throws away everything the dongle sends until it has been quiet for 0.3 seconds. After that it sends:</p><ul><li>ATE0, which turns echo off</li><li>ATV1, which turns verbose mode on, so every reply is one line of JSON</li></ul><h4>4. BleuIO scans for HibouAir only</h4><pre>AT+FINDSCANDATA=FF5B07</pre><p>This reports only advertisements that contain FF5B07. FF is the AD type for manufacturer-specific data, and 5B 07 is HibouAir’s company ID, 0x075B, as it appears in the packet. Each result arrives as a line such as:</p><pre>{&quot;SF&quot;:127,&quot;addr&quot;:&quot;D9:63:8F:8E:01:0D&quot;,&quot;type&quot;:0,&quot;data&quot;:&quot;0201061BFF5B070504220095AE009627CF00AC014200000000000000019902&quot;}</pre><h4>5. The board decodes the advertisement</h4><p>The program walks the advertisement’s AD structures until it finds the HibouAir manufacturer data. This works whether or not the flags field comes first. Counting from the company ID, the sensor beacon (beacon type 0x05) holds:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AotUp-R6Gkb5mm0FcA27vA.png" /></figure><h4>6. The readings are kept in global variables</h4><ul><li>pm10: the latest PM10 value in µg/m³, or None until a PM sensor has been heard</li><li>pm10_sensor: the ID of the sensor it came from</li><li>pm10_time: time.monotonic() when it arrived, so that a stale value can be recognised</li><li>sensors: a dictionary with everything the last beacon of every HibouAir sensor said, keyed by sensor ID</li></ul><p>If you have more than one PM sensor, set PM_SENSOR_ID to the one pm10 should follow. If nothing has been heard for 15 seconds, the program starts the scan again.</p><h3>Showing PM10 on a Servo Gauge</h3><p>The MOTION 2350 Pro has eight servo ports, on GP0 to GP7, each with a PWM channel of its own. The program drives a servo on <strong>GP0</strong> as a needle: 0 µg/m³ at 0 degrees, and 100 µg/m³ or more at 180 degrees.</p><p>With that full scale, the PM10 limits the HibouAir app uses fall at simple angles. That is where to draw the bands on a paper scale behind the servo arm:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DzN4w0P7dAjTayzCEzrInw.png" /></figure><p>The gauge is its own asyncio task, beside the reader and the command logic:</p><ul><li>It sends a 50 Hz servo signal, from 500 µs at 0 degrees to 2500 µs at 180.</li><li>It moves the needle 2 degrees every 20 ms, so the arm swings to a new reading instead of jumping.</li><li>At start it sweeps once across the whole scale. A servo that is not connected is then noticed at once, instead of being taken for clean air.</li><li>Once the needle has been still for half a second, the pulses stop. A servo told to hold a position holds it actively, and at 0 degrees, the commonest reading of all, it pushes against its end stop and hums. Without pulses an ordinary hobby servo goes quiet and stays where it is.</li><li>The pulses start again when a new reading moves the needle by at least one degree, so readings of 0.0 and 0.1 µg/m³ taking turns do not wake it.</li></ul><p>Connect the servo to the GP0 servo header, matching the servo cable to the markings next to the header. Check Cytron’s datasheet for how the servo ports are supplied before connecting a larger servo.</p><p>The settings are at the top of code.py:</p><ul><li>SERVO_PIN: the port, board.GP0 to board.GP7</li><li>PM10_FULL_SCALE: the PM10 value at 180 degrees</li><li>SERVO_MIN_US and SERVO_MAX_US: the pulse widths at the ends. Narrow them if your servo strains at its end stops.</li><li>SERVO_STEP_DEG: how fast the needle moves</li><li>SERVO_REST_S and SERVO_DEADBAND_DEG: how long the needle is still before it rests, and how far a reading must move it to wake it</li></ul><p>The board’s four DC motor drivers, on GP8 to GP15 (board.M1A to board.M4B in CircuitPython), would suit a different use of the same value, such as running a fan faster as PM10 rises.</p><h3>Why the Flush After Ctrl-C Matters</h3><p>Ctrl-C stops the scan, but whatever BleuIO had already queued still arrives afterwards. Often the last piece is a line cut off in the middle, sometimes with a byte that is not valid UTF-8.</p><p>In early versions of this program, a reader that tried to decode that line before removing it from its buffer stuck on it. Every later piece of data was appended behind the same broken line, and the program heard nothing more, in about half of all restarts.</p><p>The program now does two things:</p><ul><li>It removes each line from the buffer before decoding it, so a broken line costs that line only.</li><li>It discards everything until the dongle has been quiet before sending the next command.</li></ul><p>With both in place, the start-up worked every time in repeated tests, whether the dongle was fresh (echo on, verbose off) or left in verbose mode by an earlier run.</p><h3>How to Run the Project</h3><h4>Step 1: Install CircuitPython</h4><p>Download the CircuitPython UF2 for the Cytron MOTION 2350 Pro and put the board into its UF2 bootloader mode. On RP2350 boards this is done by holding BOOT while pressing RESET, or while connecting the USB cable. Copy the UF2 to the RP2350 drive that appears. The board restarts as a drive named CIRCUITPY.</p><h4>Step 2: Add the libraries</h4><p>Run circup install asyncio, or copy the asyncio folder and adafruit_ticks.mpy from the library bundle into CIRCUITPY/lib.</p><h4>Step 3: Copy the program</h4><p>Save the code at the end of this post as code.py on the CIRCUITPY drive. CircuitPython starts it as soon as the file is saved.</p><h4>Step 4: Connect BleuIO</h4><p>Insert the BleuIO dongle into the board’s USB-A port. Do not connect BleuIO to the computer for this setup.</p><h4>Step 5: Connect the servo (optional)</h4><p>Plug the servo into the GP0 servo header. It sweeps once from 0 to 180 degrees and back when the program starts, then follows PM10, and goes quiet whenever the needle is still.</p><h4>Step 6: Watch the serial console</h4><p>Open the board’s serial console at 115200 baud. Use Mu, Thonny or the CircuitPython web workflow, or on macOS and Linux:</p><pre>screen /dev/cu.usbmodem2101 115200</pre><p>The device name differs from computer to computer. If the console shows raw REPL; CTRL-B to exit, an editor has left it in raw REPL mode: press Ctrl-B, then Ctrl-D to start code.py.</p><h3>Expected Output</h3><pre>BleuIO dongle found! (0x2dcf:0x6002)<br>CDC Control Lines (DTR/RTS) enabled.<br>Starting background USB reader task...<br>Starting the HibouAir scan...<br>[Sending]: ATE0<br>[Sending]: ATV1<br>[Sending]: AT+FINDSCANDATA=FF5B07<br>[HibouAir 22026A] PM10 0.1 ug/m3  PM2.5 0.1  PM1 0.0  21.8 C<br>[HibouAir 22008C] board 0x04, 21.5 C, 39.8 %rh, CO2 459 ppm<br>[HibouAir 220095] board 0x04, 20.8 C, 42.9 %rh, CO2 411 ppm<br>[HibouAir 22005A] board 0x04, 19.6 C, 44.2 %rh, CO2 721 ppm<br>[HibouAir 220265] board 0x09, 19.8 C, 45.5 %rh, CO2 533 ppm</pre><p>Every HibouAir sensor in range appears with its ID. Lines from the PM sensor show the particle readings; the others show temperature, humidity and CO2. Each new PM line also updates pm10.</p><h3>The Code</h3><p>Source code is available to download from</p><p><a href="https://github.com/smart-sensor-devices-ab/hibouair-with-circuitpython">https://github.com/smart-sensor-devices-ab/hibouair-with-circuitpython</a></p><p>This project is a practical example of how BleuIO can bring Bluetooth Low Energy connectivity to development boards without built-in Bluetooth support. Using the Cytron MOTION 2350 Pro and CircuitPython, we demonstrated how to scan for HibouAir sensors, read real-time data, and use that data to control a servo motor.</p><p>The complete source code is available for developers to explore, modify, and integrate into their own projects. Whether you’re building sensor monitoring systems, automation solutions, or custom IoT applications, this example provides a starting point for using BleuIO with compatible development boards.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3e21b7b19bd4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building a BLE Application with Zig and BleuIO: Reading Sensor Data from HibouAir]]></title>
            <link>https://bleuio.medium.com/building-a-ble-application-with-zig-and-bleuio-reading-sensor-data-from-hibouair-46d2f4c3c698?source=rss-cb8f32e6ea2a------2</link>
            <guid isPermaLink="false">https://medium.com/p/46d2f4c3c698</guid>
            <category><![CDATA[zig]]></category>
            <category><![CDATA[bleuio]]></category>
            <category><![CDATA[bluetooth-low-energy]]></category>
            <dc:creator><![CDATA[bleuio]]></dc:creator>
            <pubDate>Mon, 12 Oct 2026 13:52:31 GMT</pubDate>
            <atom:updated>2026-10-12T13:52:31.192Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/929/1*DtXkLHn3Dzvm66lyTWzV_w.png" /></figure><p>In this tutorial, we will build a lightweight command-line application that interacts with Bluetooth Low Energy (BLE) devices using Zig and a BleuIO USB dongle. The application will scan for nearby BLE advertisements and decode sensor data broadcast by a HibouAir device. While HibouAir is used here as a test case, the main goal is to demonstrate how BleuIO simplifies BLE application development and how Zig can be used to build efficient, low-level tools for working with wireless data. By the end of this guide, you will have a working example of a BLE-powered CLI tool that reads, processes, and displays real-time data directly in your terminal.</p><h3>About ZipLang (Zig)</h3><p><a href="https://ziglang.org/">Zig</a> is a modern systems programming language designed with a focus on simplicity, performance, and control over hardware resources. It is particularly well-suited for applications that require direct interaction with devices, such as serial communication and embedded systems. In this project, Zig is used to communicate with the BleuIO dongle over a serial interface, process incoming BLE scan data, and decode raw payloads into meaningful values. Its minimal runtime and explicit design make it a strong choice for building reliable BLE tools without unnecessary abstraction.</p><h3>Project Requirements</h3><h3>Hardware</h3><ul><li>A <a href="https://www.bleuio.com/bluetooth-low-energy-usb-ssd025.php"><strong>BleuIO USB dongle</strong></a></li><li>A <a href="https://www.hibouair.com/specifications-air-quality-monitor-co2-sensor.php"><strong>HibouAir sensor device</strong></a></li></ul><h3>Software</h3><ul><li><a href="https://ziglang.org/">Zig</a> installed</li><li>libserialport</li><li>pkg-config</li></ul><h3>How It Works</h3><p>The application uses BleuIO as a bridge between the computer and BLE devices. When the program starts, it automatically detects the connected BleuIO dongle by matching its vendor and product ID, then opens a serial connection configured for communication. Once the connection is established, the program sends AT commands to initialize the dongle and begin scanning for BLE advertisement data that matches a specific identifier used by HibouAir devices.</p><p>As BLE data is received, the Zig application continuously reads the serial output, interprets the incoming JSON responses, and extracts the relevant payload. This payload is then decoded into human-readable sensor values such as temperature, humidity, pressure, particulate matter, and CO2 levels. The decoded information is printed directly in the terminal, allowing real-time monitoring without requiring any additional tools or manual decoding steps. When the program is stopped, it gracefully sends commands to halt scanning and reset the dongle before closing the connection.</p><h3>Source Code</h3><p>You can find the complete source code for this project on GitHub:</p><p><a href="https://github.com/smart-sensor-devices-ab/bleuio-ziglang">https://github.com/smart-sensor-devices-ab/bleuio-ziglang</a></p><h3>Install and Run the Project</h3><p>Follow the readme file inside the project to install and run. Once dependencies are installed, follow these steps:</p><h3>Build the project</h3><pre>zig build</pre><h3>Run the application</h3><pre>zig build run</pre><p>Make sure your BleuIO dongle is connected before running the program.</p><h3>Example Output</h3><p>When the application is running, it prints decoded BLE sensor data directly to the terminal. Each detected broadcast from a matching device is processed and displayed in a readable format, making it easy to observe environmental data in real time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/588/0*wfyK_xlMS38AMo46.png" /></figure><h3>About BleuIO</h3><p><a href="https://www.bleuio.com/"><strong>BleuIO</strong></a> plays a central role in this project by abstracting the complexity of BLE communication. Instead of implementing a full Bluetooth stack within the application, developers can interact with BLE devices using simple AT commands over a serial interface. This approach allows BLE functionality to be integrated into applications written in virtually any programming language and run on any major operating system. By handling scanning, filtering, and communication at the hardware level, BleuIO enables developers to focus on application logic, making BLE development faster and more accessible.</p><p>This tutorial demonstrates how Zig and BleuIO can be combined to build a practical BLE application with minimal overhead. While HibouAir is used here as a sample device for testing, the same approach can be applied to a wide range of BLE-enabled sensors and devices. The combination of a lightweight programming language and a simple BLE interface creates a powerful development workflow that is both efficient and easy to extend for real-world use cases.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=46d2f4c3c698" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Build a BLE RSSI Heatmap Visualizer Using JavaScript & BleuIO]]></title>
            <link>https://javascript.plainenglish.io/build-a-ble-rssi-heatmap-visualizer-using-bleuio-814eba147e97?source=rss-cb8f32e6ea2a------2</link>
            <guid isPermaLink="false">https://medium.com/p/814eba147e97</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[bluetooth-low-energy]]></category>
            <category><![CDATA[bleuio]]></category>
            <category><![CDATA[rssi]]></category>
            <dc:creator><![CDATA[bleuio]]></dc:creator>
            <pubDate>Mon, 12 Oct 2026 13:51:17 GMT</pubDate>
            <atom:updated>2026-10-12T13:54:46.284Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9afuMvZLqT3EfpfTE4n1sw.png" /></figure><p>Bluetooth Low Energy devices are everywhere, from smart sensors and beacons to IoT devices and proximity-based applications. When working with BLE, developers often need a quick way to scan nearby advertising devices and understand their signal strength.</p><p>In this project, we build a simple <strong>BLE RSSI Heatmap Visualizer</strong> using the <strong>BleuIO USB dongle</strong>. The application runs directly in the browser and connects to BleuIO through the serial port. It performs a BLE scan, reads nearby advertising devices, extracts their RSSI values, and displays them in a visual heatmap.</p><p>This is helpful because raw BLE scan output can be difficult to read, especially when many devices are advertising at the same time. With this visualizer, developers can quickly see which devices have strong, medium, or weak signal strength.</p><p>BleuIO makes this project simple because it handles the BLE scanning through easy AT commands. Instead of writing low-level Bluetooth code, we can send commands from JavaScript and focus on building the visualization.</p><h3>Requirements</h3><p>To try this project, you need:</p><ul><li>A <a href="https://www.bleuio.com/bluetooth-low-energy-usb-ssd025.php">BleuIO USB dongle</a></li><li>The <a href="https://github.com/smart-sensor-devices-ab/ble-rss-heatmap-visualizer">project source code from GitHub</a></li></ul><h3>How It Works</h3><p>The application connects to the BleuIO dongle using the browser’s Web Serial API. Once connected, it sends BleuIO AT commands to put the dongle into central scanning mode and start a BLE GAP scan.</p><p>The main commands used are:</p><pre>AT+CENTRAL<br>AT+SHOWRSSI=1<br>AT+GAPSCAN=5</pre><p>AT+CENTRAL prepares BleuIO for scanning. AT+SHOWRSSI=1 enables RSSI values in the scan output. AT+GAPSCAN=5 scans nearby BLE devices for 5 seconds.</p><p>The browser app then reads the serial output and looks for device information such as MAC address, RSSI value, and device name if available. Each device is grouped based on RSSI strength.</p><p>The signal categories are simple:</p><pre>Strong signal: RSSI &gt;= -50<br>Medium signal: RSSI between -51 and -70<br>Weak signal: RSSI &lt;= -71</pre><p>The heatmap places BleuIO at the center and displays nearby BLE devices around it. Stronger devices appear closer to the center, while weaker devices appear farther away. The device bubbles are also color-coded, making it easier to understand the BLE environment at a glance.</p><p>A table below the heatmap shows the detected devices with MAC address, RSSI, name, signal category, and last seen time.</p><h3>GitHub Project Code</h3><p>The full source code is available here:</p><pre>https://github.com/smart-sensor-devices-ab/ble-rss-heatmap-visualizer</pre><p>You can download or clone the project and open it in a supported browser.</p><h3>Live Testing</h3><p>You can also try the live version here:</p><pre>https://smart-sensor-devices-ab.github.io/ble-rss-heatmap-visualizer/</pre><p>To test it:</p><ol><li>Plug in the BleuIO USB dongle.</li><li>Open the live page in your browser.</li><li>Click <strong>Connect</strong>.</li><li>Select the BleuIO serial port.</li><li>Click <strong>Scan</strong>.</li><li>View the BLE RSSI heatmap and detected device table.</li></ol><h3>Output Screenshot</h3><p>Add output screenshot here.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*e2mfa88GtGzo3eqx.png" /></figure><p>This is an example project showing how BleuIO can be used with the Web Serial API to build a practical BLE scanning and visualization tool. Developers can use the source code as a starting point and modify it for their own use cases.</p><p>For example, the project can be extended to scan for a longer period of time, change the RSSI threshold values, filter specific devices, highlight known BLE sensors, or integrate the scan results into a larger web dashboard.</p><p>Because BleuIO works with simple AT commands over serial, it is easy to integrate with different programming languages, platforms, and browser-based tools like this one.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=814eba147e97" width="1" height="1" alt=""><hr><p><a href="https://javascript.plainenglish.io/build-a-ble-rssi-heatmap-visualizer-using-bleuio-814eba147e97">Build a BLE RSSI Heatmap Visualizer Using JavaScript &amp; BleuIO</a> was originally published in <a href="https://javascript.plainenglish.io">JavaScript in Plain English</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Send HibouAir Temperature and Humidity Data to openSenseMap Using BleuIO]]></title>
            <link>https://bleuio.medium.com/send-hibouair-temperature-and-humidity-data-to-opensensemap-using-bleuio-62183a832c41?source=rss-cb8f32e6ea2a------2</link>
            <guid isPermaLink="false">https://medium.com/p/62183a832c41</guid>
            <category><![CDATA[hibouair]]></category>
            <category><![CDATA[bleuio]]></category>
            <category><![CDATA[indoor-air-quality]]></category>
            <category><![CDATA[bluetooth-low-energy]]></category>
            <dc:creator><![CDATA[bleuio]]></dc:creator>
            <pubDate>Mon, 12 Oct 2026 13:39:52 GMT</pubDate>
            <atom:updated>2026-10-12T13:39:52.903Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xmsUA9ojxdtVoVicBwR4eg.png" /></figure><p>In this project, we are going to build a simple air quality data-sharing system using a BleuIO USB dongle, a HibouAir sensor, Python, and openSenseMap.</p><p>The goal of this project is to collect temperature and humidity data from a HibouAir sensor over Bluetooth Low Energy and publish the values online using openSenseMap. Once the data is uploaded to openSenseMap, it can be viewed publicly and shared with others.</p><p>This is a minimal project designed to show how BleuIO can be used as a BLE gateway for collecting environmental sensor data and sending it to an online platform. The same idea can later be expanded to include other air quality parameters such as CO2, VOC, particulate matter, pressure, or other sensor values.</p><h3>What is openSenseMap?</h3><p>openSenseMap is an open data platform for environmental sensor data. It allows users to create a virtual sensor station, called a senseBox, and upload measurements from different sensors.</p><p>By using openSenseMap, we can make our air quality data public and easy to access. This is useful for projects related to environmental monitoring, smart cities, classrooms, research, and IoT demonstrations.</p><p>In this project, we will create a senseBox on openSenseMap and add two sensors:</p><ul><li>Temperature</li><li>Relative humidity</li></ul><p>The Python script will read these values from the HibouAir BLE advertisement and upload them to the correct openSenseMap sensor IDs.</p><h3>Project Requirements</h3><p>To complete this project, we need the following hardware and software:</p><ul><li><a href="https://bleuio.com/bluetooth-low-energy-usb-ssd025.php">BleuIO USB dongle</a></li><li><a href="https://www.hibouair.com/air-quality-monitor-hibouair-duo.php">HibouAir sensor</a></li><li><a href="https://opensensemap.org/">openSenseMap account</a></li></ul><p>No extra microcontroller, BLE pairing, database, or web server is required. BleuIO connects directly to the computer through USB and is controlled using AT commands from the Python script.</p><h3>Setting Up openSenseMap</h3><p>First, create an account on openSenseMap. After logging in, create a new senseBox. This senseBox will represent the sensor station where our HibouAir measurements will be uploaded.</p><p>Inside the senseBox, create two sensors:</p><ul><li>Temperature with unit °C</li><li>Relative humidity with unit %RH</li></ul><p>After creating the senseBox and sensors, openSenseMap will provide different IDs. We need to copy and save the following values:</p><ul><li>senseBox ID</li><li>Temperature sensor ID</li><li>Humidity sensor ID</li></ul><p>These IDs are important because the Python script uses them to know where to upload each measurement. The senseBox ID identifies the box, while each sensor ID identifies the individual measurement field.</p><h3>Configuring the Project</h3><p>The project uses an info.txt file to store the required IDs and configuration values.</p><p>If info.txt does not already exist, copy the example file:</p><pre>cp info.example.txt info.txt</pre><p>Then add the openSenseMap IDs and the HibouAir board ID:</p><pre>OPENSENSEMAP_BOX_ID=your_box_id_here<br>SENSOR_ID_TEMPERATURE=your_temperature_sensor_id_here<br>SENSOR_ID_HUMIDITY=your_humidity_sensor_id_here<br>HIBOUAIR_SENSOR_ID=220069</pre><pre># Optional on macOS:<br># BLEUIO_PORT=/dev/cu.usbmodemXXXX</pre><p>The HIBOUAIR_SENSOR_ID is the board ID printed on the HibouAir sensor. The script uses this ID to filter BLE advertisements and make sure it is reading data from the correct device.</p><p>Normally, the script automatically finds the BleuIO serial port on macOS by checking /dev/cu.usbmodem* and /dev/cu.usbserial*. If needed, the port can also be added manually in info.txt.</p><p>The info.txt file is excluded from Git using .gitignore, so private box IDs and sensor IDs are not committed to the repository.</p><h3>Installing Dependencies</h3><p>Open Terminal, go to the project directory, and run:</p><pre>python3 -m venv .venv<br>source .venv/bin/activate<br>python3 -m pip install -r requirements.txt</pre><p>The project uses only two Python packages:</p><ul><li>pyserial</li><li>requests</li></ul><p>pyserial is used to communicate with the BleuIO dongle over the serial port, and requests is used to upload data to openSenseMap.</p><h3>How the Project Works</h3><p>The BleuIO USB dongle is connected directly to the Mac. The Python script opens the BleuIO serial port and sends AT commands to scan for BLE advertisements from the HibouAir sensor.</p><p>The script uses the HibouAir board ID to filter the scan result. For example:</p><pre>AT+FINDSCANDATA=220069=5</pre><p>This command asks BleuIO to search for advertised data containing the board ID 220069 for five seconds.</p><p>When the scan response is received, the script decodes the latest valid HibouAir advertisement. It extracts only two values. Temperature and Relative humidity,</p><p>After decoding the values, the script uploads them to the configured openSenseMap senseBox using the temperature and humidity sensor IDs.</p><p>The upload process repeats every 60 seconds.</p><p>Only temperature and humidity are uploaded. Bluetooth addresses, raw advertising payloads, and other sensor values are not sent to openSenseMap or saved to a file.</p><h3>Running the Script</h3><p>Connect BleuIO to the Computer and run:</p><pre>python3 main.py</pre><p>Press Ctrl+C to stop the logger.</p><p>Example output:</p><pre>## BleuIO HibouAir openSenseMap Logger</pre><pre>Using port: /dev/cu.usbmodem4048FDE52CF21<br>Checking BleuIO...<br>BleuIO responded OK</pre><pre>Scanning for HibouAir sensor ID: 220069<br>Scan command: AT+FINDSCANDATA=220069=5<br>Waiting for BleuIO scan response...</pre><pre>Decoded HibouAir data:<br>Temperature: 24.3 °C<br>Humidity: 42.8 %RH</pre><pre>Uploading to openSenseMap...<br>Temperature uploaded successfully<br>Humidity uploaded successfully</pre><pre>Waiting 60 seconds before next scan...</pre><p>The script reads the BleuIO response, decodes the temperature and humidity values, uploads them to openSenseMap, and then waits before starting the next scan.</p><h3>Outputs</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1006/0*9Ay07iv1BvJkCTFd.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ww-V9QTRuuECYLux.jpg" /></figure><h3>Source Code</h3><p>The full source code for this project is available on <a href="https://github.com/smart-sensor-devices-ab/bleuio_opensensemap"><strong>GitHub</strong></a>.</p><p>Users can download the project, configure their own openSenseMap IDs, add their HibouAir board ID, and run the script on their own system.</p><p>GitHub URL:</p><pre>https://github.com/smart-sensor-devices-ab/bleuio_opensensemap</pre><h3>Expanding the Project</h3><p>This project currently uploads only temperature and humidity, but it can be expanded easily.</p><p>Users can modify the script to decode and upload more environmental parameters, such as: CO2, VOC, Particulate matter, Air pressure, Light level etc.</p><p>Additional sensors can also be created in openSenseMap, and their sensor IDs can be added to the configuration file. This makes the project flexible for different air quality monitoring and IoT applications.</p><p>With only a BleuIO USB dongle, a HibouAir sensor, and a Python script, we can collect temperature and humidity data and make it publicly available. The project is easy to set up, requires no BLE pairing, and can be extended for more advanced air quality monitoring applications.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=62183a832c41" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>