Skip to content

Latest commit

 

History

History
50 lines (39 loc) · 1.51 KB

Arduino_UNO_R4_WiFi.md

File metadata and controls

50 lines (39 loc) · 1.51 KB

Arduino UNO R4 WiFi

Note: we're not responsible for any possible board damage, etc. Proceed at your own risk!

1. Switch the UNO R4 WiFi into ESP mode, upload Blynk.NCP firmware

  1. Disconnect the UNO R4 WiFi from your PC
  2. Short the pins highlighted in the image using a jumper wire:

ESP32-S3 mode selection jumper

  1. Connect the UNO R4 WiFi to your PC
  2. Upload ESP32 firmware:
pio run -e unoR4wifi -t upload_ncp

2. Upload the main MCU (Renesas) firmware

  1. Disconnect the UNO R4 WiFi from your PC
  2. Unplug the jumper wire
  3. Connect the board again
  4. Edit src/main.cpp to include your Blynk Template info, then run:
pio run -e unoR4wifi -t upload -t monitor
  1. The expected Serial Monitor output:
[105] Main firmware: 0.1.0
[107] Build: Jul 11 2023 14:29:58
[215] NCP responding (baud 115200, 2363 us)
[245] NCP responding (baud 460800, 1285 us)
[250] Blynk.NCP firmware: 0.6.1
[316] State: Configuring

3. Use the Blynk iOS/Android app to configure your new device

  1. Ensure that the Blynk App is installed on your smartphone and scan this QR code:

Add New Device QR

Note: Alternatively, open the Blynk App -> click Add New Device -> select Find Devices Nearby

  1. Follow the configuration wizard
  2. The expected Serial Monitor output:
[23299] State: Connecting Cloud
[23360] State: Connected
[23362] Connected to Blynk 🙌