CC Blog • Projects • Research & Design Hub

Blues Latest IoT Modules

Written by Brian Millier

Notecard for Skylo and Notecarrier CX

Satellite comms for IoT projects may seem the domain of enterprise customers, but new modules from Blues can bring satellites within reach even for small professional and research projects. Brian looks at the latest options here.


  • How does the Blues Notecard for Skylo combine satellite, cellular, and Wi-Fi connectivity?
  • How does the Notecard for Skylo connect to Skylo satellites?
  • What are the power consumption considerations for the Notecarrier CX?
  • How can the Notecard for Skylo interface with an STM32L433 host MCU?
  • How does Notehub route IoT data to cloud services?
  • Blues Notecard for Skylo
  • Notecarrier CX
  • STM32L433
  • Skylo satellite network
  • Quectel BG95-S5
  • Silicon Labs WFM200S
  • I2C
  • JSON
  • Arduino IDE
  • Notehub
  • Joulescope Power Analyzer
  • LiPo battery
  • Arduino |
    arduino.cc
  • Blues |
    blues.com
  • STMicroelectronics |
    st.com

Late in March, Blues announced its latest IoT communications module, the Notecard for Skylo. What sets this module apart from its earlier products is that this single module handles communication via Wi-Fi, Cellular, and Satellite, as well as providing for GPS reception. This is accomplished in an M.2 format module. It is roughly the size of its earlier modules, which handled only one or two of those communication methods. Before going into any technical details, I should mention that a strong selling point of the Notecard IoT communication modules is that they include a generous amount of data-handling, included in the purchase price (this applies to Cellular and Satellite modes).

In Circuit Cellar issue #410, I covered the Blues Notecard for LoRa. Later, in issue #416, I covered the Blues Starnote module which operates using the Skylo constellation of geosynchronous satellites. I won’t go into a lot of detail regarding the Skylo satellite constellation, as I covered that in issue #416. However, I’ll say that I had no trouble connecting to the satellite from my home in Nova Scotia, Canada. Before looking at the details of the new Notecard for Skylo module, I’d like to reacquaint the reader with how Blues handled this tri-mode capability in the recent past.

With earlier Blues modules, satellite communication (via the Skylo satellite constellation) was handled by a separate module named Starnote, which was somewhat larger than the other Notecard modules. The Starnote module contained an intelligent satellite modem, the Quectel CC660D-LS. This Quectel module does not implement the same data pump protocol that Blues had designed into its other Notecards (Wi-Fi, Cellular, and Wi-Fi+Cellular). Therefore, if you used the Starnote module, you had to pair it with one of the other Blues Notecard modules: Wi-Fi, Cellular or Wi-Fi+Cellular.

In this case, your Host MCU sends messages to the chosen Notecard. The Notecard is strictly a data pump (i.e., a slave to the Host MCU). It expects the Host MCU to communicate, using JSON packets. The Notecard then handles whatever protocol is needed to send/receive that data via Wi-Fi or Cellular network. However, if you want to send the message via satellite (either by choice or as a fallback mode, when Wi-Fi or Cellular service is absent), the Notecard module is still acting as a slave to the Host MCU (i.e., it’s still communicating with the host MCU using JSON). However, in this case, it is assembling the proper message packet and then performing whatever actions are needed to have this packet transferred to the Skylo satellite, using the Quectel CC660D-LS on the Starnote module.

This arrangement requires four discrete boards:

  • A Notecard with the desired Wi-Fi and/or Cellular modes
  • A Starnote card for Skylo communication (+ GPS)
  • A Notecarrier-XS card with two M.2 sockets, to handle both the modules.
  • A board containing your Host MCU (plus any sensors etc.)

Figure 1 shows a block diagram of the necessary board configuration, as already described. Note that the Host MCU communicates with the Notecard using I2C and the Notecard talks to the Starnote module using a UART connection. Figure 2 shows an empty Notecarrier-XS board with two M.2 sockets for the Notecard/Starnote.

Figure 1
This is a block diagram of a project from issue #416, which used the Blues Starnote satellite board.
Figure 1
This is a block diagram of a project from issue #416, which used the Blues Starnote satellite board.
Figure 2
This is the Notecarrier XS board that I used in the project from issue #416.
Figure 2
This is the Notecarrier XS board that I used in the project from issue #416.
Notecard For Skylo

Figure 3 shows the tri-mode Notecard for Skylo. This is smaller than the earlier Starnote module at only 30mm × 42mm—roughly the same size as other Notecards. I’m showing both sides of the module. You can see it’s quite densely populated. As with the Starnote module, this module contains a Quectel modem, in this case the Quectel BG95-S5. It handles the satellite, the cellular connection and the GPS reception. A Silicon Labs WFM200S modem handles the Wi-Fi connection.

Figure 3
This is the Notecard for Skylo. It is roughly the same size as other Notecards, but handles Wi-Fi, Cellular, and Skylo satellite transport mechanisms.
Figure 3
This is the Notecard for Skylo. It is roughly the same size as other Notecards, but handles Wi-Fi, Cellular, and Skylo satellite transport mechanisms.

This Notecard for Skylo is all that is needed for Satellite, Cellular, and Wi-Fi connectivity. So, if you are planning on using a Notecarrier board for development purposes, you have a wider choice than just the Notecarrier XS (shown in Figure 2). It was the only one usable with the earlier Starnote configurations. While Blues claims that the Notecard for Skylo works with any of the available Notecarrier boards, if physical size is an issue, I would recommend using either:

  • Notecarrier F. This is a small carrier board that is only slightly larger than a Notecard itself (due to the space needed for its onboard Feather socket). This Feather socket allows you to mount any Host MCU module that adheres to the Adafruit Feather specification. This might consist of the Swan or the newer Cygnet MCU modules offered by Blues. However, many other Feather-compatible MCU modules would work as well.
  • Notecarrier X. This is a bare-bones carrier board containing only pinouts for the applicable Notecard pins, a USB-C socket for power/Serial Port, a LiPo socket and charger plus QUICC (I2C/power) and ESLOV sockets.
  • Notecarrier CX. This is a new Notecarrier board, similar to the F model except that it replaces the Feather socket with an onboard STM32L433 MCU (the same MCU used in the Blues Cygnet).

Since I liked the features of the new Notecarrier CX, I requested that board be sent along with the Notecard for Skylo, and this review will cover the combination of these two products. Figure 4 shows the Notecard for Skylo mounted on a Notecarrier CX, as well as the three necessary antennas. All three antennas use tiny U.FL connectors, which are tricky to mate up with their socket and are not designed for multiple connect/disconnect cycles. Since I had to repeatedly move this setup, while testing the satellite connection, I taped everything to a wooden board, during the early investigation stage. The protoboard shown in Figure 4 contains some extra components, used in a project I will be doing with this new Notecard.

Figure 4
This is the test setup I used to try out the Notecard for Skylo. The notecard is mounted on the Notecarrier CX, which is not a lot larger than the Notecard itself, and contains an STM32L433 Host MCU.
Figure 4
This is the test setup I used to try out the Notecard for Skylo. The notecard is mounted on the Notecarrier CX, which is not a lot larger than the Notecard itself, and contains an STM32L433 Host MCU.

While it is not evident on the Blues online store, the Notecard for Skylo comes with the necessary Satellite/Cellular and GPS antennas. The Notecarrier CX comes with the Wi-Fi antenna (I’m not sure why this is the case). The supplied Satellite/Cellular antenna is a Quectel YFCA011, the same antenna supplied with the Starnote module.

When I reviewed the Starnote module (in issue #416), neither Blues nor any other distributor carried the YFCA011 antenna in stock. I noticed that you can purchase the YFCA011 antenna from DigiKey (2958-YFCA011AA-ND) or Mouser (PN 277-YFCA011AA).

Power Consumption

Before covering the operation of the Notecard for Skylo/Notecarrier CX pairing, I’ll outline some of the power consumption tests that I performed. These are not fully comprehensive for the following reasons:

  • My Joulescope Power Analyzer operates in conjunction with a PC, via its USB-C port. I can’t move it and the computer anywhere where the Notecard for Skylo can “see” the satellite well enough to contact it. So, I can’t measure the power needed while contacting the satellite.
  • The current drawn when making a cellular connection is quite high, but the amount of time it takes to negotiate a connection with a cell tower will vary greatly, depending, of course, on how far away you are from the tower.

So instead, I focused on measuring the quiescent current drawn by the Notecard for Skylo and the Notecarrier CX combination. This measurement is taken in various combinations of the Notecard state as well as the state of the STM32L433 MCU present on the Notecarrier CX.

To place the STM32L433 on the Notecarrier CX board into deep sleep, you need the STM32LowPower library, which can be obtained using the Arduino Library Manager. That library contains several examples, but the easiest way to test deep sleep is to use the TimedWakeup example.

Next, I removed the Notecard for Skylo from the Notecarrier CX and measured the current consumption of the Notecarrier CX alone. With the STM32L433 MCU executing code, the Notecarrier CX’s current consumption was 7.3mA. When I placed the STM32L433 MCU into deep-sleep mode, that current dropped to 0.95mA. Note that the datasheet for the STM32L433 MCU calls for a deep-sleep current of 23µa to 72µA. Therefore, virtually all of the 0.95mA current that I measured must be drawn by other components on the Notecarrier CX module. Currently, there is no schematic available for the Notecarrier CX, so I don’t know where all that extra current is going. On the Blues forum, the staff said that a schematic would be available when the CX board is out of the Beta phase.

When I re-mounted the Notecard for Skylo to the Notecarrier CX, and did a Wi-Fi hub sync, the current consumption averaged 44mA, with short current spikes of 145mA, for about 23 seconds. This occurred during the time the Notecard for Skylo was connecting to my Wi-Fi access point. This can be seen in the purple area, in Figure 5.

Figure 5
This is a screen capture of the Joulescope  PC app, while monitoring power consumption of the Notecard/Notecarrier CX pair. The current consumption details are in the text.
Figure 5
This is a screen capture of the Joulescope PC app, while monitoring power consumption of the Notecard/Notecarrier CX pair. The current consumption details are in the text.

The Notecard for Skylo module goes into a deep-sleep mode when it is not being called upon to communicate with a satellite, cellular tower, or Wi-Fi access point. However, I had to first issue a command to the Notecard for Skylo to put it into Periodic mode. Otherwise, it tries to stay connected continuously. Also, it will never go into low power mode if power is being supplied by the USB-C port. Therefore, for this test, I used a LiPo cell.

While the Notecard for Skylo was in this deep-sleep state, I measured the current draw of the Notecarrier CX + Notecard for Skylo, at 0.95mA (while the STM32L433 was in deep sleep) and 7.3mA when the STM32L433 was executing code. These figures are identical to what I measured with the Notecarrier CX alone. This shows that the Notecard for Skylo is drawing an insignificant amount of power, while it is in sleep mode. The green marker in Figure 5 shows a current of 7.06mA: the Notecard is sleeping and the STM32L433 on the Notecarrier is executing code. The Blue marker shows a current of 0.95mA—both the Notecard and the STM32L433 are in sleep mode.

Given these figures, I don’t think that battery operation over a long term is feasible, using the Notecard for Skylo/Notecarrier CX pair. The Notecards have a pin labeled ATTN, which you can trigger in various ways by issuing card.attn commands to the Notecard. That signal could be used to place a Host MCU into a deep-sleep mode. However, I don’t see any way of reducing the Notecarrier CX’s current draw to any less than 0.95mA—which occurs when the STM32L433 is in deep-sleep mode. I may be mistaken on this since I don’t have access to the Notecarrier CX board’s schematic to investigate further.

The Notecarrier F board draws only 0.083mA on its own. It’s Feather socket allows you to mount any of the Feather MCU boards. The Notecarrier F board connects the EN pin of the Feather MCU board to the ATTN pin of the Notecard. This allows the Notecard to control the power to the Feather MCU, by pulling the ATTN pin low, when the card.attn (with sleep mode) request is issued. It seems that the Notecarrier F would be a better choice for extended battery life.

Getting started

If you have experience with either Cellular or Satellite modems, you’ve likely encountered a fairly complicated procedure in which your modem board must be authenticated in some way with either the nearby cell phone tower, or the satellite. Also, you would have to establish your board’s credentials with whatever cloud service you were connecting to. Having used Cellular boards from Particle, I was aware that this can be a complicated procedure. For Particle devices, the authorization token(s) are stored in Flash memory on the same MCU where your program resides. Should your program misbehave, this authorization token array might get corrupted, resulting in the need for a non-trivial re-building of the MCUs OS.

I’m happy to report that commissioning the Notecard for Skylo in either Cellular or Satellite modes is a very painless procedure. Only when you are using Wi-Fi connectivity do you have to provide any personal information (i.e., your Wi-Fi access point’s SSID and Passphrase). All other authentication and encryption codes are pre-installed on the Notecard itself, by the factory. Since all Blues Notecards are merely “Data-pumps,” fed with JSON commands, none of your Host MCU custom program code is ever stored in the Notecard’s flash. Therefore, there is no way you can corrupt these authentication tables caused by the erratic operation of your Host MCU program.

The process of commissioning your Notecard to the cellular network or Skylo satellite is reasonably consistent, regardless of what Notecard (or Starnote) module you are using. As such, I had already been through it a few times, when writing the two articles about Blues modules. There are separate Quickstart Guides for each of the various Notecards, and they are customized to reflect the communication mode: Wi-Fi, Cellular or Satellite.

To simplify this procedure even further, Blues provides a very nice utility. As you are navigating through the web-based QuickStart Guide, to the right of your browser screen is a web-based Terminal program. Regardless of your Notecard/Notecarrier combination, there is a USB-C port available, which allows you to connect the Notecard to your PC, via USB-C. This USB-C connection also provides power to the Notecard/Notecarrier. Once your Notecard is plugged into the PC, opening this Terminal program will automatically connect to the Notecard—no fooling around guessing COM port numbers. However, please check out Figure 9 to ensure that you’ve set the switch shown in that figure, to the correct position. This is easy to overlook!

The Quickstart Guide describes any necessary commands that must be sent to the Notecard, in preparation for a Wi-Fi/Cellular or Satellite connection. This information also appears as prompts in the Terminal window. In fact, most instructions described here are contained within windows with a button labelled “TRY IT” that sends the proper command(s) to the Notecard when pressed. Figure 6 shows a screen capture detailing part of the Quickstart Guide as well as the imbedded Terminal utility on the right. There is also a small window where you can ask a Blues technical staff member a question, but I’ve not needed to do that yet.

Figure 6
This shows a small section of the online Quickstart Guide for this Notecard. To the right, in black, is the web-based Serial Terminal, provided by Blues. This interacts with the Notecard itself (via USB), while performing the initial setup procedure.
Figure 6
This shows a small section of the online Quickstart Guide for this Notecard. To the right, in black, is the web-based Serial Terminal, provided by Blues. This interacts with the Notecard itself (via USB), while performing the initial setup procedure.

It should be noted that the Serial Terminal utility will only work on a browser that supports the web-USB facility. This includes MS Edge and the Chrome browser, but not Firefox or Safari.

As account signups go, the Blues signup procedure is very simple and doesn’t involve a credit card, as the initial data plans are included in the cost of the module itself. You must also provide an identifying name for each of your Notecard modules, but this, too, is easy, since you choose the name yourself and it can be one that is meaningful to you. The only long, cryptic number that must be provided is the ID number that is printed on the Notecard module itself. That consists of 15 numbers with no upper/lower case letters, which might be confused. As seen in Figure 4, Blues also provides a label, which could be affixed to an enclosure, for example. This includes a QR code for automated reading.

In an earlier version of the Quickstart Guide, was a detailed explanation of the differences between the data structures (Notes) used with the terrestrial Notecards (Wi-Fi and Cellular) and that of the Notecard for Skylo (when using the satellite transport mode). I don’t see it there now, but you should look it up in their other documents.

Although both exchange data using JSON structures, when using the satellite transport method (Non-Terrestrial Network or NTN), it is a bit more complicated. Due to the much higher cost per byte of any data transferred via Skylo, Blues has decided that for any data that is being transferred, you must define a template, in advance. After the user has defined this Template, its structure must be registered with the Notehub cloud server via Wi-Fi or Cellular transport methods. Only after that has been done can data, structured in that Template format, be transferred via the Skylo satellite. Figure 7 shows a typical Template. Note that Blues has provided three tabs here, showing:

  • JSON structure
  • C/C++ code needed to produce this structure
  • Python code needed to produce this structure
Figure 7
This is a JSON-formatted command to define a template. Note the two other tabs, C/C++ and Python. These tabs provide the actual code to implement this command, in each of the two languages.
Figure 7
This is a JSON-formatted command to define a template. Note the two other tabs, C/C++ and Python. These tabs provide the actual code to implement this command, in each of the two languages.

Why is this Template necessary? A required part of the Template definition is a parameter labelled “port.” Each template has its own unique “port” number in the 1-99 range. When a data structure (Note) is transferred via satellite, that single byte port number is used to identify to the Notehub cloud server, the format of the data structure for that Note. That explains why you must first register these templates with the Notehub cloud server—that port number identifies the data structure of the data being sent, by satellite, to Notehub. Using this method results in the lengthy, descriptive JSON data structure being replaced by:

  • A single byte port number
  • A series of data variables that are sent in a compact binary format defined by the variable type (i.e., integer, float, Boolean, etc.)

Therefore, a much smaller data packet is transferred via satellite than would normally occur, when using the full JSON structure used for Wi-Fi or Cellular transfers.

To put this in context, the Notecard for Skylo (and other Blues Cellular modules) comes bundled with 500MB of Cellular data (valid for 10 years) but only 10KB of Skylo satellite data. However, if your data requirements are not too intense, the compact packet structure inherent in the Template format can still allow for a useful amount of data to be sent via satellite. Also, in most cases, the satellite transport mode (NTN) will only be invoked as a fallback method, when Cellular and/or Wi-Fi are unavailable. When your 10KB of satellite data has been depleted, additional data costs $0.00075 per byte. This is billed monthly, in arrears, so assuming your credit card is active, you should not experience data loss after the bundled 10KB data allocation has been depleted.

Prior to connecting the Notecard for Skylo to your chosen Host MCU, you can easily set up templates, configure JSON data structures and transfer data to and from the Notehub cloud server, using nothing other than the web-based Serial Terminal utility, available in the on-line Quickstart Guides (as well as other Blues on-line documents). Your Notecard must have a serial port connection to your PC via USB, to accomplish this. When I was testing the ability of the Notecard for Skylo to connect to the Skylo satellite, I initially tried it outdoors with a clear view of the southern sky. I have a Serial Terminal app on my Lenovo tablet. Connecting the Notecard module to that tablet, using a USB-C cable, allowed me to monitor the connection process and verify success. While the tablet can power the Notecard for Skylo over USB-C, the Notecard’s satellite transmitter needs more power than the USB-C port provides, so I used a LiPo cell to power the Notecard for Skylo/Notecarrier CX.

I found the Quickstart Guides for all three of the Notecards that I have tested to be some of the best documentation that I have encountered. The built-in Serial Terminal utility is quite unique. Also, when a factory-fresh Notecard is connected to your PC, it sends out very useful prompts via its serial port, advising you what to do to get started.

Connecting to the Skylo satellite

Skylo does not own any satellites but instead use the services of several satellite operators, such as Inmarstat and Terrestar, for example. On its website it provides a coverage map that shows which countries/continents are covered. All of North Amercia has coverage apart from northern Canada. While the satellites’ signals should cover all South America, only a few countries there have coverage. Most of Europe is covered except for parts of the Scandinavian countries that are too far north. Asia is not covered except for Japan. Africa is not covered.

I am in Canada at a latitude of 45˚N so I am within range, but the satellites are relatively low in the sky for me. Therefore, I must consider the trees on my property that partially block my view of the southern sky. However, having tested the Blues Starnote module in issue #316, I expected the Notecard for Skylo to be able to communicate with the Skylo satellite constellation from my location, with no trouble.

In the Quickstart Guide, you are instructed to provide the Notecard for Skylo with your geographic location. This is needed to provide the module with information regarding which satellite in the Skylo constellation, to use. While this can be accomplished using the onboard GPS receiver, it is recommended that you initially provide this manually. Also note that you must issue a command to place the Notecard in the NTN mode—otherwise the module will try to connect to the Notehub using Wi-Fi and/or Cellular while you are trying to test out the satellite connection.

If you merely Google your co-ordinates, you will get latitude using North, South designation and longitude in East, West designation. Initially, I entered the numeric part of my longitude without accounting for the East, West designation. This didn’t work because longitudes west of the prime meridian (in the UK) must be expressed as negative numbers. So, all of North America, where I live, have negative longitude values. I was fine with latitude as the northern hemisphere is designated as positive latitudes.

After several unsuccessful attempts at connecting to the satellite, I discovered my error. After supplying proper co-ordinates, the Notecard for Skylo connected successfully to the satellite. I had enabled the Trace function, so all the steps of the connection procedure were displayed on my tablet (via the USB-C serial link). After a whole screen of status messages went by, the end result indicated a successful connection. When I visited the Notehub webpage, it indicated that a connection had just occurred, which was further proof. Note that when you are waiting for a connection to appear on the Notehub’s dashboard, you should periodically refresh the webpage, in your browser.

Having tested the Starnote module last year, I knew that it was possible to reach the satellite indoors, from a south-facing window in my bedroom. I expected the Notecard for Skylo to have similar RF capabilities as the Starnote module I had reviewed last year. From that same location, I was able to connect to the Skylo satellite using the Notecard for Skylo, as readily as I done last year with the Starnote module.

Connecting the Notecard to a Host MCU

As explained earlier, the Blues Notecards are data pumps, acting as a slave to your host MCU. That isn’t to say that Notecards do not perform periodic tasks in the background, but basically what data is transferred is controlled by your host MCU. In issue #416, I used a Starnote/Wi-Fi Notecard pair, both mounted on a Notecarrier XS board. My host MCU was an Espressif ESP32C3, which handled several environmental sensors (see Figure 1).

The Notecard for Skylo can perform the same functions that I described in issue #416, using fewer modules—while also providing Cellular connectivity.

Figure 8 shows a block diagram of a project using the Notecard for Skylo module. That Notecard is plugged into the much smaller Notecarrier CX board. The CX board contains a STM32L433 MCU, which acts as the host MCU. It communicates with the Notecard via I2C. In this case, I am also using I2C to interface to a Sensirion SENS63C environmental sensor, as well as an I2C display.

Figure 8
This is a block diagram of a project using the Notecard for Skylo/Notecarrier CX pair. The new Notecard for Skylo/Notecarrier CX  pair allowed me to reduce the size and complexity of a project, compared to the Starnote +Notecard WiFi +NoteCarrier XS + ESP32 Host MCU card used in the project described in my article in issue #416.
Figure 8
This is a block diagram of a project using the Notecard for Skylo/Notecarrier CX pair. The new Notecard for Skylo/Notecarrier CX pair allowed me to reduce the size and complexity of a project, compared to the Starnote +Notecard WiFi +NoteCarrier XS + ESP32 Host MCU card used in the project described in my article in issue #416.

As I mentioned earlier, Blues also sells the Notecarrier F board containing a Feather socket. This allows you to choose among numerous Feather boards, containing various MCUs. Blues provides official firmware libraries for the following languages/IDEs:

— ADVERTISMENT—

—Advertise Here—

  • Arduino (C++)
  • C and C++ (generic C/C++ library)
  • Espressif ESP-IDF (ESP32 MCUs)
  • Python (SBCs such as Raspberry Pi or MCUs running CircuitPython or MicroPython)
  • Zephyr (RTOS for various MCUs)
  • Go

This support allows you to choose among many different MCUs. However, let’s look at the STMicroelectronics STM32L433 MCU contained on the Notecarrier CX.

The STM32L433

The STM32L433 is an ARM 32-bit Cortex-M4 CPU with FPU, running at 80MHz. It contains 256KB of flash and 64KB of SRAM. Some of its advanced peripheral features may not be usable, given the limited pinout of the Notecarrier CX module, but here are some of the common features:

  • Numerous Timers—16-bit, 32-bit, two watchdogs, SysTick counter.
  • 12-bit 5MSPS ADC
  • 2 x 12-bit DACs
  • 3 x I2C , 4 x USART (with ISO 7816, LIN, IrDA)
  • Capacitive sensing channels

This MCU can be operated in numerous low-power modes, all the way down to 8nA in shutdown mode (with five wake-up pins). However, as I stated in the Power Consumption section, the circuitry contained on the Notecarrier CX draws 0.95mA, with the STM32L433 in deep-sleep, so most of the available low-power modes are not useful, in this scenario.

Because I frequently use numerous MCU families, I have settled on the Arduino IDE. I like that it uses the C++ programming language and supports most of the MCUs that I design with. The STM32L433 is one of many STM32 MCUs that are supported by the Arduino IDE. This support is provided by the official STM32duino Arduino Core. Note that this Arduino Core board support package (BSP) is only available for Arduino IDE v2.x.x. I won’t discuss how this support is added to the Arduino IDE, as it is readily available by Googling “STM32 support in Arduino” where you’ll see either an AI Overview or at least a Github link.

With this board support package installed, you then define your Target board using the Tools-Board menu. Select STM32 MCU based boards. Within that category, choose Blues boards. You’re not quite finished yet—you must go to the Board Part Number category and choose Cygnet. Cygnet is a Feather board that Blues sells, which you can mount on the Notecarrier F. The Cygnet contains the same STM32L433 MCU that is present on the Notecarrier CX board.

Next, you need to add a Blues library to the Arduino IDE. Using the Arduino Library Manager, type in “Blues” and you’ll see the following list:

  • Blues Wireless Notecard 1.8.5
  • Blues Notecard Environment 1.02 (optional)
  • Blues Wireless Notecard Aux Wi-Fi (optional)
  • Blues Wireless Notecard Pseudo sensor (optional)

Choose the first library shown above. This library provides JSON formatting routines and simplifies configuring the connection between the STM32L433 and the Notecard (which can be either UART or I2C based). Using the Arduino IDE’s Example selector, scroll down to the “Examples from Custom Libraries” section and choose the Blues Wireless Notecard category. Blues provides several examples that you can easily modify to suit your particular needs.

I would suggest that you choose I2C as the connection method between the STM32L433 and the Notecard for Skylo, as it just works without any fiddling. As Notecards are often used for tracking purposes, an accelerometer is included on the Notecard for Skylo module. Its datasheet states that this is an LIS2DTW. However, when I did an I2C scan of this module, it returned two devices, at the following addresses:

  • 0x17—the defined slave I2C address of the MCU contained on the Notecard for Skylo;
  • 0x6A—the most-used I2C address for many IMU devices, such as the LSM6DSOX and LSM6DS33 but not the LIS2DTW said to be on the board.

I don’t think that this device ambiguity is too meaningful, since the Notecard for Skylo reports movement at a higher level. In use, the Notecard for Skylo monitors this accelerometer and doesn’t access the GPS receiver, for position information, unless the accelerometer indicates motion has occurred.

Flashing the STM32L433

The Arduino IDE maintains a consistent environment for writing C++ code, for many different MCU families. However, the method of flashing that code to the target MCU varies depending upon the MCU family. I have, in the past, dealt with STM32 MCUs using the STM32Cube IDE. Although I don’t actively use the STM32Cube IDE, the STM32Cube Programmer application is still installed on my PC. You must install this to flash the STM32L433 on the Notecarrier CX.

Blues provides a good description of this flashing process in the Quickstart Guide for their Cygnet Feather MCU. This procedure applies equally to the STM32L433, contained on the Notecarrier CX board. The Notecarrier CX board contains a 10-pin header to which you can connect an ST-LINK Debugger/programmer. I don’t have a stand-alone ST-Link module, since that ST-Link functionality was contained on any STM32 boards that I have used in the past.

However, you don’t need the ST-Link module to flash the STM32L433. In the Arduino Tools menu, for the Upload Method, choose STM32CubeProgrammer(DFU). Note that you must manually place the STM32L433 in the DFU boot mode, prior to flashing. That is accomplished by holding the black Boot button down while clicking the white RST button. Assuming the flashing process goes well, you’ll see a status message in the Output window, as shown in Figure 10.

Although Blues mentions this in its documents, I’ll mention it again, as it’s easy to forget. Referring to Figure 9, notice a tiny switch circled in yellow. This is the Host/Notecard switch. This connects the USB-C socket on the Notecarrier CX board to the STM32L433, in Host position or to the Notecard’s serial port, in the NC position. This must be in the Host position to flash code to the STM32L433.

Figure 9
On the Notecarrier CX, this tiny switch, located between the USB-C port and QWIIC port, is used to switch the USB port between the STM32L433 Host MCU and the Notecard.
Figure 9
On the Notecarrier CX, this tiny switch, located between the USB-C port and QWIIC port, is used to switch the USB port between the STM32L433 Host MCU and the Notecard.
Figure 10
This is the status message you’ll see after successfully programming the STM32L433 MCU, in the Arduino IDE.
Figure 10
This is the status message you’ll see after successfully programming the STM32L433 MCU, in the Arduino IDE.

Also noted in the Notecard CX documentation is an erratum noting that the board’s SPI pins (MOSI and MISO) are mislabeled.

The Blues Notehub Cloud

All the messages (Notes) that Notecards send/receive ultimately go to the Notehub cloud server. Before you register your notecard(s), you must set up an account on this server (at no cost). At least for small accounts, there is no charge to use this cloud service, and I didn’t check to see if there would be at enterprise scale.

When you login to Notehub you’ll see a screen like the one shown in Figure 11. In my case I have three projects—one for each Blues Notecard review that I have done. For your new Notecard, you will have to create a project, using the button at the right. After creating your project, you’ll see a screen as shown in Figure 12.

Figure 11
When you login to the Blues Notehub, you are presented with a display of your various devices, grouped by  Project Name.
Figure 11
When you login to the Blues Notehub, you are presented with a display of your various devices, grouped by Project Name.
Figure 12
After selecting a specific project, you will see the last time/location that each device, in that project group, performed a Hub Sync (or sent some data).
Figure 12
After selecting a specific project, you will see the last time/location that each device, in that project group, performed a Hub Sync (or sent some data).

Assuming you have performed an initial hub sync, it will display the last time that your Notecard performed a hub sync. The transport column will show which transport modes the Notecard is capable of. If you click on the Events tab, to the left, you’ll see a log of all the recent Notecard events—each event is time and location stamped and within the Body column both the variable’s name and its value will be shown. In the past, using the Starnote card (Skylo satellite), I found that variables with a value of zero are not sent, unless you make special provisions for this (see Blues documentation). This is a bit confusing, until you know about this.

The Notehub itself does nothing with these messages (notes) apart from storing them for a while and displaying them in a list, as mentioned above. It doesn’t provide the data in any graphical form. Instead, you must set up whatever endpoint you wish to associate with this event stream. This is done in the Routes tab on the Notehub screen.

In defining a Route, you are telling Notehub where you want that data to be sent. Blues provides instructions on Routes in the Guides and Tutorials section, under “Routing Data to Cloud.” You might miss this, but near the beginning of this guide is the sentence:

“Get started with General HTTP/HTTPS”. It’s not particularly noticeable, but the small down-arrow after HTTPS, when clicked, will link to specific guides for many cloud services (besides the General HTTP/HTTPS category): AWS, Azure, Blynk, Datacake, Google Cloud, MQTT, Qubitro, Snowflake, ThingSpeak, ThingWorx and Ubidots. These are hands-on guides that show you exactly how to route to each of those services. I am not involved in enterprise cloud platforms, but in the General HTTP/HTTPS category, Blues describes how to use the Webhook.site—a website that is a free utility allowing you to test out a Notehub Route to a webhook service. I tried this and it worked exactly as described. Even though I have been retired from Dalhousie University for some time now, I am still able to use my academic ThingSpeak account. I was able to define a route to ThingSpeak, which, at the very least, can provide charts for the data that your Notecard is sending. However, as my ThingSpeak account was part of the university’s Matlab license, I would be able to do complex analysis on that data, using Matlab, if I wanted.

The Notehub can also send data to the Notecard(s). In the case of the three Notecards that I reviewed, I only tested them as data providers. However, it’s possible to define Routes that take commands/triggers from external cloud services and pass them along to a specific Notecard (or group of Notecards). As with their documentation in general, the explanation of the Routes function was very well documented.

— ADVERTISMENT—

—Advertise Here—

The Difference is Radios

Throughout the full line of Notecards, Blues has tried to maintain a consistent command structure and programming API. The only significant differences come into play when you are dealing with the two satellite products (Notecard for Skylo and the earlier Starnote), or the notecard for LoRa. Transferring data via the Skylo satellites is much more costly than either Cellular or Wi-Fi.

The LoRa protocol is a low-speed, small data packet mode of transport. Therefore, in both cases it is important to minimize the size of the data that is transferred. That is handled (and enforced) by the Template function, which is not necessary for the Cellular and Wi-Fi notecards.

Author’s Note: I discussed in detail both the Starnote and the Notecard for LoRa in my articles in issues #410 and #416. Much of the information in those previous articles applies to the Notecard for Skylo as well.

I’d also like to thank Tré Clay at Blues for his help and Blues for providing the samples covered in this article.

RESOURCES
Arduino | https://www.arduino.cc
Blues | https://blues.com
STMicroelectronics | https://www.st.com

63: The Future of the Ultimate User Experience – Signal-to-Noise Ratio for Voice Activity Detection Devices -How to Design in VADl, By Emil Garnell and Bruno Flament

RESOURCES
TDK | www.tdk.com

PUBLISHED IN CIRCUIT CELLAR MAGAZINE • JULY 2026 #432 – Get a PDF of the issue

Keep up-to-date with our FREE Weekly Newsletter!

Don't miss out on upcoming issues of Circuit Cellar.


Note: We’ve made the Dec 2022 issue of Circuit Cellar available as a free sample issue. In it, you’ll find a rich variety of the kinds of articles and information that exemplify a typical issue of the current magazine.

Would you like to write for Circuit Cellar? We are always accepting articles/posts from the technical community. Get in touch with us and let's discuss your ideas.

Sponsor this Article
+ posts

Brian Millier runs Computer Interface Consultants. He was an instrumentation engineer in the Department of Chemistry at Dalhousie University (Halifax, NS, Canada) for 29 years.

Supporting Companies

Upcoming Events


Copyright © KCK Media Corp.
All Rights Reserved

Copyright © 2026 KCK Media Corp.

Blues Latest IoT Modules

by Brian Millier time to read: 26 min