Code Monkey home page Code Monkey logo

blynk-ncp-example-arduino's Introduction

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!

blynk-ncp-example-arduino's People

Contributors

blynkkk avatar maxgerhardt avatar vshymanskyy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.