Link

All things Arduino Nano 33 Bluetooth

I was able to get the Nano 33 BLE in July as I had preordered it so I got down to play with it.

Purchase ArduinoBLE on GitHub Reference


Important Differences

The board as displayed on the Website is different than what you actually get. There is actually a RGB LED on board that you don't see in the official image and the official image has an IC that isn't there in the real board.

The initial image of the board on the Arduino page was the one on the left but the board that I got is the one on the right and since then the image has been updated. Notice the RGB LED circled in red.

Offical Image Real Board

First things first

The pins that have been brought out as headers can be addressed just like you’d for say Uno and you can see them in the Tech Specs. It’s the pins that haven’t been brought out and you may need to control like the RGB pins or the 2 LEDs that might need your attention.

The official documents are not yet upto speed with Board Definitions. I made the mistake of actually opening the schematics and layout in Autocad Eagle to find out the PIN definitions. But that’s incorrect as they may or may not be the same as the internal pin definitions. I even ended up asking this on the Forum. You can read it to find out how I found the pins experimentally for the RGB LED.

The answer led me to the repository where the actual board pin definitions are written. So this is what you must use to declare pins in your sketches-

LED PIN
PIN_LED 13u
RGB LED RED 22u
RGB LED GREEN 23u
RGB LED BLUE 24u
LED_PWR 25u

Or just use the following macros -

LED MACRO LED
PIN_LED LED on pin 13 (Amber)
LEDR Red
LEDG Green
LEDB Blue
LED_PWR Power LED (Green)

Note: The 2 general LEDs are connected as usual: when the digital pin they are attached to goes high, they glow. But the RGB LED is wired in the opposite way i.e it’s connected to the power rail so you need to drive the pins they are connected with to LOW to turn them ON.

PIN-13 POWER RGB
PIN-13 POWER RGB

Following are the usual ones(header pins) as mentioned in the Tech Specs.

// Analog pins
// -----------
#define PIN_A0 (14u)
#define PIN_A1 (15u)
#define PIN_A2 (16u)
#define PIN_A3 (17u)
#define PIN_A4 (18u)
#define PIN_A5 (19u)
#define PIN_A6 (20u)
#define PIN_A7 (21u)

// Serial (EDBG)
#define PIN_SERIAL_RX (1ul)
#define PIN_SERIAL_TX (0ul)

// SPI
#define PIN_SPI_MISO  (12u)
#define PIN_SPI_MOSI  (11u)
#define PIN_SPI_SCK   (13u)
#define PIN_SPI_SS    (10u)

// Wire
#define PIN_WIRE_SDA        (18u)
#define PIN_WIRE_SCL        (19u)

#define PIN_WIRE_SDA1       (30u)
#define PIN_WIRE_SCL1       (31u)

#define PIN_ENABLE_SENSORS_3V3     (32u)
#define PIN_ENABLE_I2C_PULLUP      (33u)

#define PIN_INT_APDS (26u)

// PDM Interfaces
// ---------------
#define PIN_PDM_PWR	 (27)
#define PIN_PDM_CLK	 (28)
#define PIN_PDM_DIN	 (29)