docs.simplefoc.com
Open in
urlscan Pro
185.199.111.153
Public Scan
Submitted URL: http://docs.simplefoc.com/
Effective URL: https://docs.simplefoc.com/
Submission: On November 16 via api from US — Scanned from DE
Effective URL: https://docs.simplefoc.com/
Submission: On November 16 via api from US — Scanned from DE
Form analysis
0 forms found in the DOMText Content
Link SimpleFOCDocs Menu * Home * SimpleFOC Boards * SimpleFOCShield * Getting Started * Soldering pads * v1.3.3 * v2.0.2 * Connecting the hardware * Writing the code * Board Fabrication * v1.3.3 * v2.0.4 * SimpleFOCMini * Starting with Mini * Connecting the hardware * Writing the code * Fabrication * Arduino SimpleFOClibrary * Installation * Library Installation * PlatformIO * Minimal Code Version * 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 * HMBGC V2.2 * STM32 Nucelo-64 * STM32 Bluepill * DRV8302 * Writing the Code * Getting started * Motor code * BLDCMotor * StepperMotor * 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 * Motion Control * Closed-Loop control * Torque Control * Voltage Mode * DC Current Mode * FOC Current Mode * Velocity Control * Position Control * Open-Loop control * Velocity Open-Loop * Position Open-Loop * Index Search loop * Monitoring * Communication * Commander Interface * Scalar variable * PID config * LPF config * Full motor config * Motion control * Custom commands * Step-Dir Interface * Debugging * Digging deeper * Theory corner * Torque control * Field Oriented Control * PID controller theory * Low Pass Filter * Library Source * FOC Algorithm * Motion Control * Sensor support * Motor commands * Library Examples * 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 * Work roadmap * Options Cheat Sheet * Options Reference * Build Flags * SimpleFOCutils * libraries * SimpleDCMotor * SimpleFOCDrivers * tools * SimpleFOCStudio * SimpleFOCWebController * Citing SimpleFOC * Contact and Contributing * Docs archive * Docs in Chinese * Github * Community Search * Home * GitHub * Discord * Community * Shop * Contact ARDUINO SIMPLE FIELD ORIENTED CONTROL (FOC) PROJECT We live in very exciting times 😃! BLDC motors are entering the hobby community more and more and many great projects have already emerged leveraging their far superior dynamics and power capabilities. BLDC motors have numerous advantages over regular DC motors but they have one big disadvantage, the complexity of control. Even though it has become relatively easy to design and manufacture PCBs and create our own hardware solutions for driving BLDC motors the proper low-cost solutions are yet to come. One of the reasons for this is the apparent complexity of writing the BLDC driving algorithms, Field oriented control (FOC) being an example of one of the most efficient ones. The solutions that can be found on-line are almost exclusively very specific for certain hardware configuration and the microcontroller architecture used. Additionally, most of the efforts at this moment are still channeled towards the high-power applications of the BLDC motors and proper low-cost and low-power FOC supporting boards are very hard to find today and even may not exist. Therefore this is an attempt to: * 🎯 Demystify FOC algorithm and make a robust but simple Arduino library: Arduino SimpleFOClibrary * Support as many motor + sensor + current sense + driver + mcu combinations out there * 🎯 Develop a modular FOC supporting BLDC driver boards: * NEW 📢: Minimalistic BLDC driver (<3Amps) : SimpleFOCMini . * Low-power gimbal driver (<5Amps) : Arduino SimpleFOCShield . * Medium-power BLDC driver (<30Amps): Arduino SimpleFOCPowerShield . > NEW RELEASE 📢: SimpleFOClibrary v2.3.1 see release > > * Support for Arduino UNO R4 Minima (Renesas R7FA4M1 MCU - note UNO R4 WiFi > is not yet supported) > * Support setting PWM polarity on ESP32 (thanks to @mcells) > * Expose I2C errors in MagneticSensorI2C (thanks to @padok) > * Improved default trig functions (sine, cosine) - faster, smaller > * Overridable trig functions - plug in your own optimized versions > * Bugfix: microseconds overflow in velocity mode #287 > * Bugfix: KV initialization (5fc3128) > * And more bugfixes - see the complete list of 2.3.1 fixes here > * Change: simplify initFOC() API (d57d32d. 5231e5e, 10c5b87) > * Change: check for linked driver in currentsense and exit gracefully > (5ef4d9d) > * Compatibility with newest versions of Arduino framework for STM32, Renesas, > ESP32, Atmel SAM, Atmel AVR, nRF52 and RP2040 ARDUINO SIMPLEFOCLIBRARY V2.3.1 This video demonstrates the Simple FOC library basic usage, electronic connections and shows its capabilities. FEATURES * Easy install: * Arduino IDE: Arduino Library Manager integration * PlatformIO * Open-Source: Full code and documentation available on github * Goal: * Support as many sensor + motor + driver + current sense combination as possible. * Provide the up-to-date and in-depth documentation with API references and the examples * Easy to setup and configure: * Easy hardware configuration * Each hardware component is a C++ object (easy to understand) * Easy tuning the control loops * SimpleFOCStudio configuration GUI tool * Built-in communication and monitoring * Cross-platform: * Seamless code transfer from one microcontroller family to another * Supports multiple MCU architectures: * Arduino: UNO, MEGA, DUE, Leonardo, Nano, UNO R4, MKR …. * STM32 * ESP32 * Teensy * many more … ARDUINO SIMPLEFOCSHIELD V2.0.4 FEATURES * Plug & play: In combination with Arduino SimpleFOClibrary - github * Low-cost: Price of €15 - Check the pricing * In-line current sensing: Up to 3Amps/5Amps bidirectional * configurable: 3.3Amps - 3.3V adc, 5Amps - 5V adc * Integrated 8V regulator: * Enable/disable by soldering pads * Max power 120W - max current 5A, power-supply 12-35V * Designed for Gimbal motors with the internal resistance >10 Ωs. * Stackable: running 2 motors in the same time * Encoder/Hall sensors interface: Integrated 3.3kΩ pullups (configurable) * I2C interface: Integrated 4.7kΩ pullups (configurable) * Configurable pinout: Hardware configuration - soldering connections * Arduino headers: Arduino UNO, Arduino MEGA, STM32 Nucleo boards… * Open Source: Fully available fabrication files - how to make it yourself IF YOU ARE INTERESTED IN THIS BOARD AS A PRODUCT, FIND MORE INFORMATION ON THIS LINK: ARDUINO SIMPLEFOCSHIELD ALTERNATIVE FOC SUPPORTING PROJECTS These are just a few of the alternative FOC supporting projects which provide hardware and software solutions. OdriveTrinamicInfineonFOC-Arduino-Brushless✔️ Open Source❌ Open Source✔️ Open Source(recently)✔️ Open Source✔️Simple to use✔️ Simple to use✔️Simple to use❌ Simple to use❌ Low cost ($100)❌ Low cost ($100)✔️Low cost ($40)✔️ Low cost❌ Low power (>50A)✔️ Low power✔️ Low power✔️ Low power❌ Stepper support❌ Stepper support❌ Stepper support❌ Stepper support -------------------------------------------------------------------------------- Copyright © 2020. Distributed by an MIT license.