You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/simplefoc_libraries/index.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@ In the context of the <span class="simple">Simple<span class="foc">FOC</span>pro
46
46
47
47
This is a controller interface for the <spanclass="simple">Simple<spanclass="foc">FOC</span>library</span>. It uses WebSerial to communicate with a suitable micro-controller using serial port communications and the [Commander](commander_interface) interface. [Read more ... ](webcontroller)
-### <spanclass="simple">Simple<spanclass="foc">FOC</span>Generator</span> by [@stijnsprojects](https://github.com/stijnsprojects)
51
51
52
52
A web application which helps you generate <spanclass="simple">Simple<spanclass="foc">FOC</span>library</span> arduino sketches based on the hardware that you are using.
Copy file name to clipboardExpand all lines: docs/simplefoc_libraries/tools/index.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ In the context of the <span class="simple">Simple<span class="foc">FOC</span>pro
26
26
27
27
This is a controller interface for the <spanclass="simple">Simple<spanclass="foc">FOC</span>library</span>. It uses WebSerial to communicate with a suitable micro-controller using serial port communications and the [Commander](commander_interface) interface. [Read more ... ](webcontroller)
Copy file name to clipboardExpand all lines: docs/simplefoc_libraries/tools/webcontroller.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,15 +14,15 @@ This is a controller interface for the <span class="simple">Simple<span class="f
14
14
Most of the code for this application was provided by [@geekuillaume](https://github.com/geekuillaume), his github repository can be found [here](https://github.com/geekuillaume/simplefoc-webcontroller) and his application can be found [here](https://simplefoc.besson.co/).
15
15
Our app is a fork of his code, that has been further extended to support more devices and configuration parameters, as well as to ease the monitoring visualisation.
This project is still in its early stage, we are counting on your patience and looking forward to hear your feedback. As there are many people in the community with far more knowledge about these kinds of apps than we do, don't hesitate to leve the issues and do the pull requests.
25
+
This project is still in its early stage, we are counting on your patience and looking forward to hear your feedback. As there are many people in the community with far more knowledge about these kinds of apps than we do, don't hesitate to leave the issues and do the pull requests.
26
26
</blockquote>
27
27
28
28
### Features:
@@ -34,7 +34,7 @@ This project is still in its early stage, we are counting on your patience and l
34
34
35
35
## Using the *Simple**FOC**WebController*
36
36
37
-
<ahref ="https://docs.simplefoc.com/simplefoc-webcontroller/"class="btn btn-primary"><iclass="fa fa-github"></i> Open <spanclass="simple">Simple<spanclass="foc">FOC</span>webcontroller</span></a>
37
+
<ahref ="https://webcontroller.simplefoc.com/"class="btn btn-primary"><iclass="fa fa-github"></i> Open <spanclass="simple">Simple<spanclass="foc">FOC</span>webcontroller</span></a>
38
38
39
39
*Simple**FOC**WebController* does not require any installation, its only requirement is that your browser has `WebSerial` support. Check the supportedd browsers [here](https://caniuse.com/web-serial).
Stm32 devices have full compatibility using the <spanclass="simple">Simple<spanclass="foc">FOC</span>library</span> and will work with all driver types.
20
33
21
34
Arduino <spanclass="simple">Simple<spanclass="foc">FOC</span>library</span> will support most of the stm32 boards out there. Stm32 boards are very powerful and they are the most common choice for implementing motion control applications. Here are two most commonly used families of boards with this library.
Copy file name to clipboardExpand all lines: index.md
+29-39Lines changed: 29 additions & 39 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,54 +21,44 @@ We live in very exciting times 😃! BLDC motors are entering the hobby communit
21
21
The solutions that can be found on-line are almost exclusively very specific for certain hardware configuration and the microcontroller architecture used.
22
22
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. <br>
23
23
Therefore this is an attempt to:
24
-
- 🎯 Demystify FOC algorithm and make a robust but simple Arduino library: [Arduino <spanclass="simple">Simple<spanclass="foc">FOC</span>library</span> ](#arduino-simplefoclibrary-v160)
24
+
- 🎯 Demystify FOC algorithm and make a robust but simple Arduino library: [Arduino <spanclass="simple">Simple<spanclass="foc">FOC</span>library</span> ](arduino_simplefoc_library_showcase)
25
25
- <i>Support as many <b>motor + sensor + current sense + driver + mcu</b> combinations out there</i>
26
26
- 🎯 Develop a modular FOC supporting BLDC driver boards:
- See also [@byDagor](https://github.com/byDagor)'s *fully-integrated* ESP32 based board: [Dagor Brushless Controller](https://github.com/byDagor/Dagor-Brushless-Controller)
31
-
32
-
33
-
<blockquoteclass="success">
34
-
<pclass="heading">NEWS 📢: <spanclass="simple">Simple<spanclass="foc">FOC</span>library</span> has been published in the Journal of Open Source Software <ahref="citing">read more</a></p>
35
-
36
-
SimpleFOC: A Field Oriented Control (FOC) Library for Controlling Brushless Direct Current (BLDC) and Stepper Motors.<br>
37
-
A. Skuric, HS. Bank, R. Unger, O. Williams, D. González-Reyes<br>
-magnetic sensor direction finding more robust [#173](https://github.com/simplefoc/Arduino-FOC/issues/173), [#164](https://github.com/simplefoc/Arduino-FOC/pull/164)
-`getVelocity` can now be called as many times as necessary - [see in docs](encoder#standalone-sensor)
63
-
- it recalculates the velocity if the time between calls is longer then `min_elapsed_time` - default 0.1ms
64
-
-`HallSensor` velocity calculation outlier removal using max expected velocity `velocity_max` - [see in docs](hall_sensors#step-21-velocity-outlier-removal)
65
-
- BG431 board can be used only with `LowsideCurrentSense` class! - [see in docs](current_sense#current-sensing-support-per-mcu-architecture)
66
-
-`initFOC` fails if current sense not initialised - [see in docs](bldcdriver3pwm#step-23-initialisation)
67
-
- driver and current sense have to be well initialised for `initFOC`to start - [see in docs](bldcmotor#step-6-align-motor-and-all-the-sensors---field-oriented-control-init)
68
-
-`cs.init()` and `driver.init()` return `1` if well initialised and `0` if failed
- Arduino boards - frequency change support either 32kHz or 4kHz
35
+
- Arduino Uno - synched timers in 3pwm and 6pwm mode [#71](https://github.com/simplefoc/Arduino-FOC/issues/71)
36
+
- Teensy 3.x initial support for 6pwm
37
+
- Teensy 4.x initial support for 6pwm
38
+
- Example for v3.1 SimpleFOCShield
39
+
- RP2040 compatibility for earlehillpower core [#234](https://github.com/simplefoc/Arduino-FOC/pull/234)[#236](https://github.com/simplefoc/Arduino-FOC/pull/236)
40
+
- More flexible monitoring API
41
+
-start, end and separator characters
42
+
-decimal places (settable through commander)
43
+
- Added machine readable verbose mode in `Commander`[#233](https://github.com/simplefoc/Arduino-FOC/pull/233)
44
+
-*Simple**FOC**WebController* - Web based user interface for SimpleFOC by [@geekuillaume](https://github.com/geekuillaume) - [webcontroller.simplefoc.com](webcontroller.simplefoc.com)
- bugfix - current sense align - added offset exchange when exchanging pins
47
+
- bugfix - trapezoid 150 fixed
48
+
- bugfix - 4pwm on ESP8266[#224](https://github.com/simplefoc/Arduino-FOC/pull/224)
49
+
- Additional `InlineCurrentSense` and `LowsideCurrentSense` constructor using milliVolts per Amp [#253](https://github.com/simplefoc/Arduino-FOC/pull/253)
50
+
- STM32L4xx current sense support by [@Triple6](https://github.com/Triple6) (discord) [#257](https://github.com/simplefoc/Arduino-FOC/pull/257)
51
+
- phase disable in 6pwm mode
52
+
-stm32 - software and hardware 6pwm
53
+
- atmega328
54
+
-atmega2560
55
+
- Lag compensation using motor inductance [#246](https://github.com/simplefoc/Arduino-FOC/issues/246)
56
+
- current control through voltage torque mode enhancement
57
+
- extended `BLDCMotor`and `StepperMotor` constructors to receive the inductance paramerer
58
+
- can also be set using `motor.phase_inductance` or through `Commander`
0 commit comments