Skip to content

Latest commit

 

History

History
98 lines (73 loc) · 5.65 KB

README.md

File metadata and controls

98 lines (73 loc) · 5.65 KB

Blynk.NCP integration for Arduino

Issues Downloads CI Status License Stand With Ukraine

Blynk.NCP is a solution that off-loads connectivity to a Network Co-Processor (NCP) while your application logic resides on the Primary MCU. This implies a dual-Microcontroller Unit (MCU) architecture.

Read more about Blynk.NCP

Supported Dual-MCU Boards

This example project is compatible with a set of ready-to-use Dual-MCU boards:

Board 🔄 MCU / NCP 🌐 ⚙️ 🗃️
UNO R4 WiFi unoR4wifi ✅ / ✅ WiFi 2.4 BLE 4.25 MB
Portenta C33 portentaC33 ⏳ / ✅ WiFi 2.4 BLE 512 KB
Nano RP2040 Connect rp2040connect ✅ / ❌ WiFi 2.4 BLE 384 KB
Nano 33 IoT nano33iot ✅ / ❌ WiFi 2.4 BLE 384 KB
MKR WiFi 1010 mkrwifi1010 ✅ / ❌ WiFi 2.4 BLE 384 KB
T-PicoC3 t_pico_c3 ✅ / ✅ WiFi 2.4 BLE 512 KB
RPi Pico + ESP8266 pico_esp8266 ✅ / ✅ WiFi 2.4 WiFiAP 1000 KB
Wio Terminal ✅ / ❔ WiFi 2.4/5 BLE

🔄 Over-the-Air Updates, 🌐 Connectivity, ⚙️ Provisioning, 🗃️ File System

Custom Boards

You can also add one of the supported connectivity modules to your custom board.

Getting started

  1. This is a PlatformIO project. Please install the VSCode plugin or PlatformIO CLI.

  2. Clone this repository using git or download it as a ZIP file.

  3. Flash the Blynk.NCP firmware (replace nano33iot with your board type):

    pio run -e nano33iot -t upload_ncp

Warning

This overwrites both the Main MCU and the connectivity module firmware.
You can restore the stock firmware easily.

  1. Open src/main.cpp and fill in information from your Blynk Template:

    #define BLYNK_TEMPLATE_ID           "TMPxxxxxx"
    #define BLYNK_TEMPLATE_NAME         "MyDevice"
  2. Upload the example project and run the serial monitor:

    pio run -e nano33iot -t upload -t monitor
  3. Use the Blynk iOS/Android app to configure your new device.
    Ensure that the Blynk App is installed on your smartphone.
    Open the Blynk App -> click Add New Device -> select Find Devices Nearby

Troubleshooting

If something doesn't work, try some of these solutions:

  • If your board is based on a Raspberry Pi RP2040 chip, it may fail to work on Windows. Please apply this fix
  • On TTGO T-Pico C3, you may need to connect IO9 pin to GND to flash the NCP firmware
  • Upgrade PlatformIO to the latest version. Run: pio upgrade
  • Upgrade packages to the latest version. Run: pio pkg update --no-save

Report an issue

Issues are maintained in the Blynk NCP Driver repository.

Disclaimer

The community edition of Blynk.NCP is available for personal use and evaluation.
If you're interested in using Blynk.NCP for commercial applications, feel free to contact Blynk. Thank you!