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: README.md
+73-67Lines changed: 73 additions & 67 deletions
Original file line number
Diff line number
Diff line change
@@ -19,27 +19,46 @@ Therefore this is an attempt to:
19
19
- See also [@byDagor](https://github.com/byDagor)'s *fully-integrated* ESP32 based board: [Dagor Brushless Controller](https://github.com/byDagor/Dagor-Brushless-Controller)
20
20
21
21
22
-
> NEXT RELEASE 📢: <spanclass="simple">Simple<spanclass="foc">FOC</span>library</span> v2.2.2
23
-
> - GenericCurrentSense bugfix and testing
24
-
> - bugfix leonardo #170
25
-
> - bugfix - no index search after specifying natural direction
26
-
> - Odrive example code see `examples/hardware_specific/odrive_example`
27
-
> - Low level API restructuring
28
-
> - Driver API
29
-
> - Current sense API
30
-
> - New debugging interface
31
-
> - Static class SimpleFOCDebug
32
-
> - Low-side current sensing
33
-
> - ESP32 generic support for multiple motors
34
-
> - Added low-side current sensing support for stm32 - only one motor
35
-
> - f1 family
36
-
> - f4 family
37
-
> - g4 family
38
-
> - New handling of current limit using voltage
39
-
> - Support for motor KV rating - back emf estimation
<li>bugfix - no index search after specifying natural direction</li>
29
+
<li>Low level API restructuring
30
+
<ul dir="auto">
31
+
<li>Driver API</li>
32
+
<li>Current sense API</li>
33
+
</ul>
34
+
</li>
35
+
<li>New debugging interface - <a href="https://docs.simplefoc.com/debugging">see in docs</a>
36
+
<ul dir="auto">
37
+
<li>Static class SimpleFOCDebug</li>
38
+
</ul>
39
+
</li>
40
+
<li>CurrentSense API change - added method <code class="highlighter-rouge">linkDriver()</code> - <a href="https://docs.simplefoc.com/current_sense">see in docs</a></li>
41
+
<li>Low-side current sensing - <a href="https://docs.simplefoc.com/low_side_current_sense">see in docs</a>
42
+
<ul dir="auto">
43
+
<li>ESP32 generic support for multiple motors</li>
44
+
<li>Added low-side current sensing support for stm32 - only one motor
45
+
<ul dir="auto">
46
+
<li>f1 family</li>
47
+
<li>f4 family</li>
48
+
<li>g4 family</li>
49
+
</ul>
50
+
</li>
51
+
</ul>
52
+
</li>
53
+
<li>New appraoch for current estimation for torque control using voltage - <a href="https://docs.simplefoc.com/voltage_torque_mode">see in docs </a>
54
+
<ul dir="auto">
55
+
<li>Support for motor KV rating - back emf estimation</li>
56
+
<li>Using motor phase resistance</li>
57
+
</ul>
58
+
</li>
59
+
<li>KV rating and phase resistance used for open-loop current limiting as well - <a href="https://docs.simplefoc.com/open_loop_motion_control">see in docs </a> </li>
60
+
</ul>
61
+
</blockquote>
43
62
44
63
## Arduino *SimpleFOClibrary* v2.2
45
64
@@ -51,58 +70,43 @@ Therefore this is an attempt to:
51
70
52
71
This video demonstrates the *Simple**FOC**library* basic usage, electronic connections and shows its capabilities.
-**Open-Source**: Full code and documentation available on github
78
+
-**Goal**:
79
+
- Support as many [sensor](https://docs.simplefoc.com/position_sensors) + [motor](https://docs.simplefoc.com/motors) + [driver](https://docs.simplefoc.com/drivers) + [current sense](https://docs.simplefoc.com/current_sense) combination as possible.
80
+
- Provide the up-to-date and in-depth documentation with API references and the examples
60
81
-**Easy to setup and configure**:
61
-
- Easy hardware configuration
62
-
- Easy [tuning the control loops](https://docs.simplefoc.com/motion_control)
63
-
-**Modular**:
64
-
- Supports as many [sensors, BLDC motors and driver boards](https://docs.simplefoc.com/supported_hardware) as possible
Depending on if you want to use this library as the plug and play Arduino library or you want to get insight in the algorithm and make changes there are two ways to install this code.
103
107
104
108
- Full library installation [Docs](https://docs.simplefoc.com/library_download)
- Reopen Arduino IDE and you should have the library examples in `File > Examples > Simple FOC`.
127
131
128
-
### *SimpleFOClibrary* minimal project builder
132
+
## Community and contributing
133
+
134
+
For all the questions regarding the potential implementation, applications, supported hardware and similar please visit our [community forum](https://community.simplefoc.com) or our [discord server](https://discord.gg/kWBwuzY32n).
135
+
136
+
It is always helpful to hear the stories/problems/suggestions of people implementing the code and you might find a lot of answered questions there already!
137
+
138
+
### Github Issues & Pull requests
129
139
130
-
For those willing to experiment and to modify the code I suggest using the minimal project builder [minimal branch](https://github.com/simplefoc/Arduino-FOC/tree/minimal).
131
-
> This code is completely independent and you can run it as any other Arduino Sketch without the need for any libraries.
140
+
Please do not hesitate to leave an issue if you have problems/advices/suggestions regarding the code!
132
141
133
-
All you need to do is:
134
-
- Go to [minimal branch](https://github.com/simplefoc/Arduino-FOC/tree/minimal)
135
-
- Follow the tutorial in the README file and choose only the library files that are necessary for your application.
142
+
Pull requests are welcome, but let's first discuss them in [community forum](https://community.simplefoc.com)!
143
+
144
+
If you'd like to contribute to this porject but you are not very familiar with github, don't worry, let us know either by posting at the community forum , by posting a github issue or at our discord server.
136
145
137
146
## Arduino code example
138
147
This is a simple Arduino code example implementing the velocity control program of a BLDC motor with encoder.
@@ -206,9 +215,6 @@ Here are some of the *Simple**FOC**library* and *Simple**FOC**Shield* applicatio
206
215
</p>
207
216
208
217
209
-
## Documentation
210
-
Find out more information about the Arduino SimpleFOC project in [docs website](https://docs.simplefoc.com/)
0 commit comments