Posted on

How to install NuttyFi2.0 Wifi IoT Board in Arduino IDE

The NuttyFi2.0 development board has its own dedicated Arduino Board Manager package. This means you can install board support directly using a custom Board Manager JSON — no need to manually pick a generic ESP32 board.

Unlike the official ESP32 package (which installs many ESP32 board definitions and increases storage usage), NuttyFi2.0 uses an independent board package, designed exclusively for NuttyFi2.0 hardware. This keeps installation lightweight, fast, and easy to manage, without unnecessary boards. It’s perfect for developers who prefer a clean, minimal, and focused development setup.

Below are step-by-step instructions to install and start using NuttyFi2.0 in Arduino IDE.

🛠 Step 1: Install Arduino IDE

  1. Download and install the latest Arduino IDE from:
    https://www.arduino.cc/en/software

  2. Launch the Arduino IDE after installation.

🔗 Step 2: Add NuttyFi2.0 Board Manager URL

  • In Arduino IDE go to:Go to:

    • Windows / Linux: File → Preferences

    • macOS: Arduino IDE → Settings / Preferences

  • In Additional Boards Manager URLs, paste the following NuttyFi2.0 Board Manager link.
    • File → Preferences
https://raw.githubusercontent.com/itsbhupendrasingh/Nuttyfi/main/package/package_nuttyfi_index.json
  • Click OK.

Note: If you already have one or more URLs there, separate each with a comma.

If you want to install NuttyFi32 Board in your Arduino IDE, then just follow our another tutorial guide on How to install NuttyFi32 Board in Arduino IDE.

📥 Step 3: Install NuttyFi2.0 Board Package

  • Go to:

     
    Tools → Board → Boards Manager

Step 4: Open Boards Manager → Tools → Board → Boards Manager…

  • In the search bar type:

     
    NuttyFi2.0

  • When the board package appears, click →  Install.

  • Wait for installation to finish.

🧠 Step 4: Select NuttyFi2.0 Board

  1. Go to:

     
    Tools → Board
  2. Scroll down and select:

     
    NuttyFi2.0

💡 This loads NuttyFi2.0-specific settings (flash size, CPU, partition scheme).


🖥 Step 5: Connect Your Board and Select COM Port

  • Connect NuttyFi2.0 to your computer using a USB cable.

  • Go to:

     
    Tools → Port
  • Select the appropriate port:

    • Windows: COMx (e.g., COM4)

    • macOS/Linux: /dev/ttyUSBx or /dev/ttyACMx


⚠️ Note: The COM port shown in examples may differ on your computer. Always select the one that appears when NuttyFi2.0 is connected.

🧑‍💻 Step 6: USB Driver Installation (If Needed)

If your computer does not detect the board, you may need drivers depending on the USB-to-UART chip used:

Note: Still the NuttyFi2.0 board does not appear in the COM port list or you face USB driver issues, please watch this troubleshooting video below:

🧪 Step 8: Upload a Test Sketch

Let’s verify the NuttyFi2.0 board by running a simple test program.

✅ Led Blink Test Sketch (inbuilt).

Copy the code below and paste it into the Arduino IDE. Upload the sketch to the NuttyFi2.0 board.

After successful upload, the on-board LED will blink at an interval of 500 ms (half a second), confirming that the board is working correctly.

Test Sketch (Blink)

// Minimal Blink for NuttyFi2.0 inbuilt Led

#ifndef LED_BUILTIN
#define LED_BUILTIN D4 // LED is on GPIO2
#endif

void setup(){
  pinMode(LED_BUILTIN, OUTPUT);
}

void loop(){
  digitalWrite(LED_BUILTIN, !digitalRead(LED_BUILTIN));
  delay(500);
}
  

✅ LED Fade Test Sketch (inbuilt)

This example demonstrates PWM-based LED fading on the NuttyFi2.0 board.

Copy the code below and paste it into the Arduino IDE, then upload the sketch to the NuttyFi2.0 board.

After a successful upload, the on-board LED will gradually fade in and fade out, verifying PWM functionality and confirming that the board is operating correctly.

LED Fade (NuttyFi2.0 IoT Board)

// NuttyFi2.0 IoT Board onboard LED (GPIO2 / D4), active-LOW
const int LED_PIN = D4;     // or use LED_BUILTIN
const int PWM_MAX = 1023;   // Nuttyfi2.0 analogWrite range (0..1023)

void setup() {
  pinMode(LED_PIN, OUTPUT);
  analogWriteRange(PWM_MAX);
  analogWriteFreq(1000);    // 1 kHz (optional)
}

void loop() {
  // Fade IN (dim -> bright)
  for (int b = 0; b <= PWM_MAX; b += 5) {
    analogWrite(LED_PIN, PWM_MAX - b); // invert for active-LOW
    delay(5);
  }
  // Fade OUT (bright -> dim)
  for (int b = PWM_MAX; b >= 0; b -= 5) {
    analogWrite(LED_PIN, PWM_MAX - b); // invert for active-LOW
    delay(5);
  }
}
  

⭐ NuttyFi2.0 Resources

For source code, board packages, updates, and documentation, visit the official NuttyFi GitHub repository:

Posted on

How to Install the NuttyFi32 Board in Arduino IDE

The NuttyFi32 board has its own dedicated Arduino Board Package, allowing users to install board support directly using a custom Board Manager JSON—without selecting a generic ESP32 board.

While the official ESP32 board package installs support for multiple ESP32 boards, increasing storage usage and IDE complexity, NuttyFi32 uses an independent and board-specific package.

This keeps the installation lightweight, fast, and easy to manage, making NuttyFi32 ideal for developers who prefer a clean and focused Arduino development environment.

Follow the below steps

✅ Step 1: Install Arduino IDE

  1. Download and install the latest Arduino IDE:
    👉 https://www.arduino.cc/en/software

  2. Launch the Arduino IDE.

✅ Step 2: Add the NuttyFi32 Board Manager URL
  1. In Arduino IDE go to:

     
    File → Preferences

Note: If you are using MacOS: Arduino IDE, Then: Settings

2. Find the field labeled:
Additional Boards Manager URLs

3. Add this URL:

https://raw.githubusercontent.com/itsbhupendrasingh/nuttyfi32/Master/package_nuttyfi32_index.json

Tip: Arduino IDE supports multiple Additional URLs. Put each on a new line (IDE 2.x) or separate with commas (IDE 1.8.x).

Like- https://raw.githubusercontent.com/itsbhupendrasingh/Nuttyfi/main/package/package_nuttyfi_index.json, https://raw.githubusercontent.com/itsbhupendrasingh/nuttyfi32/Master/package_nuttyfi32_index.json,

  1. Click OK.

If you want to install NuttyFi2.0 Board in your Arduino IDE, then just follow our another tutorial guide on How to install NuttyFi2.0 Board in Arduino IDE.

✅ Step 3: Install NuttyFi32 Board Package

  • Go to:

    Tools → Board → Boards Manager
  • In the search bar type:

    nuttyfi32
  • When the NuttyFi32 board package appears, click:

    install
  • Wait for the installation to complete.

✅ Step 4: Select NuttyFi32 Board

  1. Go to: 

    Tools → Board
  2. Scroll down the list and choose:

     
    NuttyFi32

This ensures all board-specific configurations (flash size, CPU settings, partitions, etc.) are correct.

🪛 Step 5: Select COM Port

  1. Connect your NuttyFi32 board via USB-C cable.

  2. Go to:

     
    Tools → Port
  3. Select the port assigned to the board
    (e.g., COM5 on Windows or /dev/ttyUSB0 on Linux/macOS).

Note: The COM port shown in the example image may be different on your system. Always select the port that appears when the NuttyFi32 board is connected.

🧑‍💻 Step 6: USB Driver Installation (If Needed)

If your computer does not detect the board, you may need to install NuttyFi32 USB-to-UART drivers. 

Note: Still the NuttyFi32 board does not appear in the COM port list or you face USB driver issues, please watch this troubleshooting video below:

🧪 Step 8: Upload a Test Sketch

Let’s verify the NuttyFi32 board by running a simple test program.

✅ Led Blink Test Sketch (inbuilt).

Copy the code below and paste it into the Arduino IDE. Upload the sketch to the NuttyFi32 board.

After successful upload, the on-board LED will blink at an interval of 1000ms (1 second), confirming that the board is working correctly.

✅  Open the Serial Monitor at 115200 baud to view the LED status messages.

Test Sketch (Blink)

// Minimal Blink for NuttyFi32 inbuilt Led

#const int LED_PIN = 13;   // NuttyFi32 built-in LED

void setup() {
  Serial.begin(115200);
  delay(50);
  Serial.println("Simple blink start on NuttyFi32");
  pinMode(LED_PIN, OUTPUT);
}

void loop() {
  digitalWrite(LED_PIN, HIGH);   // LED ON
  Serial.println("LED ON");
  delay(1000);

  digitalWrite(LED_PIN, LOW);    // LED OFF
  Serial.println("LED OFF");
  delay(1000);
}

  

✅ LED Fade Test Sketch (inbuilt)

This example demonstrates PWM-based LED fading on the NuttyFi32 board using the ESP32 LEDC (LED Control) peripheral.

Copy the code below and paste it into the Arduino IDE, then upload the sketch to the NuttyFi32 board.

After a successful upload, the on-board LED connected to GPIO 13 will gradually fade in and fade out, verifying PWM functionality and confirming that the NuttyFi32 board is operating correctly.

✅  Open the Serial Monitor at 115200 baud to view the LED status messages.

LED Fade (NuttyFi IoT Board)

// NuttyFi32 IoT Board onboard LED (GPIO13), active-LOW

const int LED_PIN = 13;      // Built-in LED on NuttyFi32
const int PWM_CH = 0;        // Channel 0–15
const int PWM_FREQ = 5000;   // 5 kHz
const int PWM_RES = 8;       // 8-bit (0–255)

int brightness = 0;
int fadeAmount = 5;

void setup() {
  Serial.begin(115200);
  delay(200);   // small delay for serial monitor

  Serial.println("NuttyFi32 LED Fade Example Started");

  ledcSetup(PWM_CH, PWM_FREQ, PWM_RES);
  ledcAttachPin(LED_PIN, PWM_CH);
}

void loop() {
  ledcWrite(PWM_CH, brightness);

  // print current brightness
  Serial.print("Brightness: ");
  Serial.println(brightness);

  brightness += fadeAmount;

  if (brightness <= 0 || brightness >= 255) {
    fadeAmount = -fadeAmount;
  }

  delay(30);
}


  

⭐ NuttyFi2.0 Resources

For source code, board packages, updates, and documentation, visit the official NuttyFi GitHub repository: