Skip to content

Latest commit

 

History

History
107 lines (70 loc) · 2.95 KB

Arduino_UNO_R4_Minima_with_AirLift.md

File metadata and controls

107 lines (70 loc) · 2.95 KB

Arduino UNO R4 Minima + AirLift Shield

Caution

🚧 This sample is Work-In-Progress and is not fully functional yet. 🚧

main board

Note

This board is currently not supported by MCUboot on Zephyr, so OTA firmware updates using Blynk.Air won't work out of the box.

Prerequisites

Hardware:

  • Arduino UNO R4 Minima (Renesas RA4M1)
  • Adafruit AirLift Shield (ESP32) to act as a Network Co-Processor
  • USB Type C cable

Software:

Configure and build the sample project

git clone https://github.com/Blynk-Technologies/BlynkNcpExample_Zephyr
cd BlynkNcpExample_Zephyr
git submodule update --init --recursive

Fill in the information from your Blynk Template:

cd samples/without_ota
echo 'CONFIG_BLYNK_TEMPLATE_ID="TMPxxxxxxxxx"' >> prj.conf
echo 'CONFIG_BLYNK_TEMPLATE_NAME="OurProduct"' >> prj.conf

Build:

export ZEPHYR_BASE=~/zephyrproject/zephyr
./build.sh arduino_uno_r4_minima
Expected output
...
...
[123/124] Linking C executable zephyr/zephyr.elf
Memory region         Used Size  Region Size  %age Used
           FLASH:       29708 B       240 KB     12.09%
             RAM:       16744 B        32 KB     51.10%
        IDT_LIST:          0 GB         2 KB      0.00%
Generating files from build/zephyr/zephyr.elf for board: arduino_uno_r4_minima
[124/124] cd ....../build/zephyr/zephyr.elf

Flash the board

west flash

Flash the Network Co-Processor

👉 Follow the detailed AirLift Shield flashing guide

Assemble the board and verify

Warning

When assembling the board, ensure that all USB ports are disconnected from any components, and that there is no power supply connected.

  1. Insert AirLift Shield into the Arduino board.
  2. Connect your board using the USB cable.
  3. AirLift Shield should be blinking Blue LED, indicating that the board is in Configuration mode.

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

Next steps

  • Use west build -t menuconfig to explore the available settings

Troubleshooting

Check out the troubleshooting guide

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!