NRF52 Boards - Arduino-FOC

Link SimpleFOCDocs Menu
  • Home
  • SimpleFOC Boards
    • SimpleFOCShield
      • Getting Started
        • Soldering pads
          • Soldering Pads v1.x
          • Soldering Pads v2.x
          • Soldering Pads v3.x
        • Connecting the hardware
        • Writing the code
      • Board Fabrication
        • Shield v1.x
        • Shield v2.x
        • Shield v3.x
    • SimpleFOCMini
      • Starting with Mini
        • Connecting the hardware
          • Mini v1
          • Mini v1.1
        • Writing the code
      • Fabrication
  • Arduino SimpleFOClibrary
    • Installation
      • Library Installation
      • PlatformIO
    • Supported Hardware
      • Motors
        • BLDC motors
        • Stepper motors
      • Drivers
        • BLDC drivers
        • Stepper drivers
      • Position Sensors
      • Microcontrollers
        • Arduino boards
        • STM32 boards
        • ESP boards
        • Teensy boards
        • SAMD21/51 boards
        • Raspberry Pi Pico boards
        • Portenta H7 boards
        • nRF52 boards
      • Setup examples
        • SimpleFOCShield
        • L6234 Breakout Board
        • Arduino Nano Matter
        • HMBGC V2.2
        • STM32 Nucelo-64
        • STM32 Bluepill
        • DRV8302
    • Writing the Code
      • Getting Started Guide
        • Test Your Sensor
        • Test Your Driver
        • Open-Loop (Motor + Driver)
        • Closing the Loop Test
        • Estimated Current Control
        • FOC Current Control
          • Current Sense Setup
          • Full FOC Current Control
      • Motor code
        • BLDC Motors
        • Stepper Motors
      • Driver code
        • BLDCDriver
          • BLDCDriver 3PWM
          • BLDCDriver 6PWM
        • StepperDriver
          • Stepper Driver 4PWM
          • Stepper Driver 2PWM
      • Position Sensors
        • Encoder
        • Hall sensors
        • Magnetic sensor
          • Magnetic sensor SPI
          • Magnetic sensor I2C
          • Magnetic sensor Analog
          • Magnetic sensor PWM
        • Generic sensor
      • Current Sensing
        • Inline Current Sense
        • Low-Side Current Sense
        • High-Side Current Sense
        • Generic Current Sense
      • Motion Control
        • Closed-Loop control
          • Current/Torque control
          • Velocity Control
          • Position Control
            • Cascade Position Control
            • Non-Cascade Position Control
        • Open-Loop control
          • Velocity Open-Loop
          • Position Open-Loop
          • Index Search loop
        • Custom control
      • Torque/FOC Control
        • Voltage Mode
        • Estimated Current Mode
        • FOC Current Mode
        • DC Current Mode
      • Monitoring
      • Communication
        • Commander Interface
          • Scalar variable
          • PID config
          • LPF config
          • Full motor config
          • Motion control
          • Custom commands
        • Step-Dir Interface
      • Debugging
    • Example projects
      • Position Control example
      • Velocity Control example
      • Gimbal Controller example
      • Reaction Wheel Pendulum
      • Position Control Nucleo-64
      • DRV8302 example
      • Haptics - Steer by wire
      • Stepper Motor Control Nucleo
      • SimpleFOCMini & UNO
      • SimpleFOCMini & Nucleo
      • Stepper Motor Control with SimpleFOCShield
      • Sensorless FOC
    • Practical guides
      • Choosing PWM pins
      • Phase resistance
      • Choosing ADC pins
      • Units in the library
      • Testing and Tuning Motor Parameters
      • Automatic Motor Characterisation
      • Real-time loop
      • Regular ADC reads during FOC
      • Tuning Current Loop
      • Tuning Velocity Loop
      • Open-Loop Efficiency Considerations
      • Ziegler-Nichols Tuning
      • Options Cheat Sheet
        • Options Reference
        • Build Flags
      • Measuring Motor KV Rating
    • Digging deeper
      • Theory corner
        • Torque Control Methods in FOC
        • Coordinate Transformations in FOC
        • PWM Modulation Strategies
        • Motor-Sensor align
        • Current Sense align
        • Hybrid Stepper Motors
      • Library Source
        • FOC workflow
        • Motion Control
        • Sensor support
        • Torque Control Implementation
        • Motor commands
        • Current sense support
        • Low-Pass Filter Implementation
        • Library Examples
        • PID Controller Implementation
    • Work roadmap
  • SimpleFOCutils
    • stm32 pinouts
    • libraries
      • SimpleDCMotor
      • SimpleFOCDrivers
    • tools
      • SimpleFOCStudio
      • SimpleFOCWebController
  • Citing SimpleFOC
  • Contact and Contributing
  • Additional Resources
    • Docs archive
    • Docs in Chinese
Search
  • Home
  • GitHub
  • Discord
  • Community
  • Shop
  • Contact
  1. Arduino SimpleFOClibrary
  2. Supported Hardware
  3. Microcontrollers
  4. nRF52 boards
nRF52 boards support
MCU 2 PWM mode 4 PWM mode 3 PWM mode 6 PWM mode pwm frequency config
nRF52 ✔️ ✔️ ✔️ ✔️ ✔️

Arduino SimpleFOClibrary recently started supporting the nRF52 devices due to a lot of effort put in by @Polyphe. These are the boards that have been tested so far:

Board Name Specifications Link Price
Arduino Nano 33 BLE ARM Cortex M4F - 3.3V logic - 12 PWMs - all pins interrupts - 8 adc pins- 64Mhz Arduino Store 18€
Adafruit Feather nRF52 Bluefruit ARM Cortex M4F - 3.3V logic - 12 PWMs - all pins interrupts - 8 adc pins- 64Mhz Adafruit Store 22€

Arduino IDE support package

In order to use the nRF52 boards in the Arduino IDE please instal the nRF52 support package using Arduino IDE board manager.

For some boards you might need to install the Adafruit nRF52 package in addition to the Arduino nRF52 package in your Board manager. Here is a quick guide how to enable Adafruit packages in the Arduino IDE.

Tag » Arduino Nrf52 Ble Example