

BinNanoFOC
Compact All-In-One BLDC Controler featuiring ESP32-S3, TMC6300 and Magalpha sensors. Small 35x35mm footprint.
- Size
- 35.1 × 36.6 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 76
- Nets
- 72
- Pads
- 227
- Tracks, vias
- 389, 68
- Pours
- 9
- Routed
- Yes
- KiCad
- KiCad 7 (file 20221018)
- Created
- 17 Mar 2023
- Updated
- 17 Jul 2023
Overview
BinNanoFOC is an open-source printed circuit board by katbinaris, from the katbinaris/nanofoc_devkit repository on GitHub. It is a 2-layer board of 35.1 × 36.6 mm with 76 parts on 72 nets, routed with 389 tracks and 68 vias.
It is built around the ESP32-S3-WROOM-1-N8, MAQ430GQE-AEC1-P and TMC6300-LA, with the ST1L05CPU33R among its other parts. Its parts include 14 resistors, 12 capacitors, 4 ICs, 3 diodes and 2 switches. It belongs with the robots and motor control and sensors and measurement boards and the ESP32 boards of this library.
Main components
4ESP32-S3-WROOM-1-N8
SMD,25.5x18mm-40℃~+85℃ -98.2dBm 2.4GHz 20.5dBm 355mA 3V~3.6V 95mA Bluetooth5.0 ESP32-S3 Chip On-board PCB Antenna UART、SPI、I2C、I2S、USB SMD,25.5x18mm WiFi Modules ROHSEspressif SystemsWiFi ModulesMAQ430GQE-AEC1-P
QFN-16(3x3)QFN-16(3x3) Position Sensors ROHSMonolithic Power SystemsPosition SensorsTMC6300-LA
QFN-20(3x3)-40℃~+125℃ 2A 2A 2V~5.25V 3 30nA Interleaved conduction protection Three Phase Yes QFN-20(3x3) Brushless DC (BLDC) Motor Driver ROHSTRINAMIC Motion Control GmbHBrushless DC (BLDC) Motor DriverST1L05CPU33R
DFN-6(3x3)0.003%Vout 0℃~+125℃@(Tj) 1 1.3A 3.3V 5.5V 500mV@(1.3A) 650uA 65dB@(120Hz) Fixed Over Current Protection、Thermal shutdown、Enable control Positive DFN-6(3x3) Voltage Regulators - Linear, Low Drop Out (LDO) Regulators ROHSSTMicroelectronicsVoltage Regulators - Linear, Low Drop Out (LDO) Regulators
README
README.md
Product Description:
Starting your first Field Oriented Control (FOC) project might be daunting, especially if you're new to the field.
As makers, we frequently want to jump right into the action and begin writing the firmware without the hassle/need of selecting the right Microcontroller, Magnetic Sensor, and Motor Driver, then configuring and calibrating it with an abundance of cables that renders your projects too bulky to use in your creations.
The NanoFOC is little enough to attach on the back of most small BLDC gimbal motors (Even easier with Universal BLDC Motor Adapter Kit), making it an excellent choice for compact projects requiring maximum efficiency and precision.
Purchase Link: https://store.binaris.io/products/nanofoc-devkit
Features:
- Espressif ESP32 S3 Microcontroller 4MB Flash, 2MB PSRAM
- Trinamic TMC6300 low power 6PWM BLDC Driver
- MPS MagAlpha MA710 or MAQ430 rotary magnetic position sensor
- BiCMOS 3.3V LDO
- 11 Programmable GPIO's (SPI, PWM, ADC, RTC etc.)
- I2C & UART pins available
- USB Powered (Compatible with USB PD 2.0 - 5V @ 3A)
- USB OTG
- AUX Power via VIN pads
Pinout Cheat Sheet:
| Pin | Function | On GPIO Matrix? |
|---|---|---|
| GPIO 01 | I2C SCL | YES |
| GPIO 02 | I2C SDA | YES |
| GPIO 04 | SPI CS -MAGNETIC SESNOR | NO |
| GPIO 05 | SPI MOSI -MAGNETIC SESNOR | NO |
| GPIO 06 | SPI SCLK -MAGNETIC SESNOR | NO |
| GPIO 07 | SPI MISO -MAGNETIC SESNOR | NO |
| GPIO 08 | I/O | YES |
| GPIO 09 | I/O | YES |
| GPIO 10 | VL - PhaseB Low | NO |
| GPIO 11 | WL - PhaseC Low | NO |
| GPIO 12 | UL - PhaseA Low | NO |
| GPIO 13 | WH - PhaseC High | NO |
| GPIO 14 | VH - PhaseB High | NO |
| GPIO 17 | I/O | YES |
| GPIO 18 | I/O | YES |
| GPIO 19 | USB D- | NO |
| GPIO 20 | USB D+ | NO |
| GPIO 21 | UH PhaseA High | NO |
| GPIO 38 | I/O | YES |
| GPIO 39 | I/O | YES |
| GPIO 40 | I/O | YES |
| GPIO 41 | I/O | YES |
| GPIO 42 | I/O | YES |
| GPIO 43 | UART0 TX or I/O | YES |
| GPIO 44 | UART0 RX or I/O | YES |
| GPIO 43 | UART0 TX | YES |
| GPIO 44 | UART0 RX | YES |
| GPIO 47 | I/O | YES |
| GPIO 48 | I/O | YES |
Board Layout:

Bill Of Materials
Power Options:
Device is designed to run of 5V @ 1.5A Max. There are two ways you can power the board
-
USB Type C - Power delivery is capped at 5V3A with usage of 5.1K resistors on CC1 and CC2 pads. It is recommended to use USB that is PD2.0 compatible. It is possible to power device off 500mA capable USB port - however this is not recommended.
-
External VIN - This connection bypass L1 and D4 connecting directly to Driver and LDO VS pin. The recommended input voltage is 5V and maximum allowed is 6V - which is restricted by max VIN of ST1L05C LDO.
First Time Setup
Development Kit comes with no Firmware. Since ESP32-S3 comes with USB-OTG/USB-Serial integrated into MCU the assumption is that this would be a preferred method of code upload. If you are connecting your device to computer for the first time it is critical to put device into DFU mode.
In order to do that you need to:
- Connect Development Board to USB port - On windows machines you may notice that USB detection sound goes on and off in loop - Please ignore that for now
- Press and hold BOOT switch
- While holding BOOT press and hold RESET switch for about 2 seconds
- Release RESET
- Release BOOT
- You are now in DFU mode and you can use Arduino IDE or PlatformIO to upload your first sketch.
Alternatively you may use UART pins which are available on GPIO Matrix to upload your code the legacy way. In order to do that you need external TTL Converter.
Projects using NanoFOC:
SmartKnob by Scott Bezek -> https://github.com/scottbez1/smartknob#nanofoc-3rd-party
Parts
76| Qty | Value | Footprint | References |
|---|---|---|---|
| 23 | , , , , , , , , , , , , , , , +7 | ||
| 6 | 100K | Resistor_SMD:R_0603_1608Metric | R1, R2, R3, R4, R5, R6 |
| 5 | 100nF | Capacitor_SMD:C_0603_1608Metric | C1, C2, C4, C8, C12 |
| 2 | 1uF | Capacitor_SMD:C_0603_1608Metric | C7, C13 |
| 2 | 300M | Resistor_SMD:R_0603_1608Metric | R9, R10 |
| 2 | 300R | Resistor_SMD:R_0603_1608Metric | R7, R8 |
| 2 | 4.7uF | Capacitor_SMD:C_0805_2012Metric | C5, C6 |
| 2 | 5.1K | Resistor_SMD:R_0603_1608Metric | R13, R13 |
| 2 | SW_MEC_5E | Button_Switch_SMD:SKTDLDE010 | SW1, SW2 |
| 1 | 100Mhz 40Ohm 1.5A | Inductor_SMD:L_0805_2012Metric | L1 |
| 1 | 10K | Resistor_SMD:R_0603_1608Metric | R15 |
| 1 | 10uF | Capacitor_SMD:C_0603_1608Metric | C3 |
| 1 | 22uF | Capacitor_SMD:C_0603_1608Metric | C11 |
| 1 | 22uF | Capacitor_SMD:C_0805_2012Metric | C9 |
| 1 | 350R | Resistor_SMD:R_0603_1608Metric | R14 |
| 1 | D | Diode_SMD:D_SOD-323 | D4 |
| 1 | DRIVER | LED_SMD:LED_0603_1608Metric | DRV |
| 1 | ERROR | LED_SMD:LED_0603_1608Metric | DIAG |
| 1 | ESP32-S3-WROOM-1 | Espressif:ESP32-S3-WROOM-1U | U1 |
| 1 | LED | LED_SMD:LED_0603_1608Metric | D5 |
| 1 | MAQ430GQE-AEC1-P | MAQ430:MAQ430GQE-AEC1-P | U3 |
| 1 | NUF2042XV6T1G | Package_TO_SOT_SMD:SOT-563 | D3 |
| 1 | ST1L05CPU33R | ST1L05 LDO:SON95P300X300X100-7N-D | IC1 |
| 1 | TMC6300-LA | TMC6300-LA:TMC6300-LA | U2 |
| 1 | USB_C_Plug | Connector_USB:USB_C_Receptacle_G-Switch_GT-USB-7010ASV | P1 |
The 62 most common of 76 parts.
Questions
How big is the BinNanoFOC PCB?
It measures 35.1 × 36.6 mm and has 2 copper layers, 1.6 mm thick.
What parts does the BinNanoFOC use?
76 parts, built around the ESP32-S3-WROOM-1-N8, MAQ430GQE-AEC1-P, TMC6300-LA and ST1L05CPU33R. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
Where can I download the BinNanoFOC KiCad files?
From the katbinaris/nanofoc_devkit repository on GitHub, at the commit this page was made from: the board is KiCAD PCB/BinNanoFOC.kicad_pcb and its schematic KiCAD PCB/BinNanoFOC.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the BinNanoFOC design in my own project?
Its repository states no licence, so its author keeps all rights: ask katbinaris before reusing the design.
Similar boards
- 4 layers55.9 × 30.5 mm

- 4 layers70 × 95 mm

- 4 layers72 × 47 mm

Mini motor go V1 rev3
Every-Flavor-Robotics/motorgo-mini-hardware
hardware files for motorgo mini
97 parts12 - 4 layers81.2 × 81.2 mm

- 4 layers100 × 100 mm

PCB Motor
SaralTayal123/PCB_Motors
Code & Firmware to generate continuous coil PCB motor designs
33 parts10 - 2 layers54 × 54 mm

EncoderDaughterboard
DylanFranz/Teensy-Synth
A portable digital audio workstation and synthesizer
50 parts2 - 4 layers92.5 × 85 mm

- 4 layers71 × 71 mm

SmartKnob Bachelorarbeit
LucasCanete/GermanSmartknob
On the front side there is a ring of RGB Leds for user feedback and at its center a magnetic encoder. The magnetic encoder is key to detect the rotation's direction of the BLDC Motor, that in this project is used as an…
111 parts