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
@@ -11,7 +11,39 @@ Therefore this is an attempt to:
11
11
- Develop a modular BLDC driver board: [Arduino *SimpleFOCShield*](https://docs.simplefoc.com/arduino_simplefoc_shield_showcase).
12
12
-***New 📢:** Develop a modular Stepper motor board for FOC control:* <b>Arduino <spanclass="simple">Stepper<spanclass="foc">FOC</span>Shield</span></b>
13
13
14
-
<blockquote class="info"><p> <b>NEW RELEASE 📢:</b> <i>Simple<b>FOC</b>library v1.6.0</i><br></p><ul><li><strong>Stepper motor FOC support 🎨🎉 🎊 <a href="https://docs.simplefoc.com/motors">See in docs!</a></strong><ul><li>No losing steps</li><li>Backdrivable</li><li>Better dynamics than open-loop, Smoother than open-loop</li><li>short demo <a href="https://youtu.be/w_yIY0eXM5E">youtube video</a></li></ul></li><li>Teensy support by <em>Christopher Parrott</em> <br></li><li>Pull requests by <a href="https://github.com/cousinitt">@cousinitt</a><ul><li>refactoring and c++11 improvements</li><li>pid + low pass filter refactoring</li></ul></li><li>Extended configurability of the sensor classes by <a href="https://github.com/owennewo">@owennewo</a> <b><a href="https://docs.simplefoc.com/magnetic_sensor">See in docs!</a></b></li><li>configurable pwm frequency <b><a href="https://docs.simplefoc.com/motor_initialization#step-33-pwm-frequency-configuration-optional">See in docs!</a></b><ul><li>stm32,teensy,eps32 - not for Arduino</li><li>stm32 added 12bit pwm resolution by <em>Jürgen Frisch</em></li></ul></li><li>Huge refactoring done in the library 😄</li></ul></blockquote>
@@ -46,7 +78,7 @@ Therefore this is an attempt to:
46
78
</a>
47
79
</p>
48
80
49
-
This video demonstrates the SimpleFOClibrary basic usage, electronic connections and shows its capabilities.
81
+
This video demonstrates the *Simple**FOC**library* basic usage, electronic connections and shows its capabilities.
50
82
51
83
52
84
### Features
@@ -72,46 +104,37 @@ This video demonstrates the Simple FOC library basic usage, electronic connectio
72
104
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.
73
105
74
106
- 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`.
97
129
98
-
### SimpleFOC library minimal sketch example
130
+
### *SimpleFOClibrary*minimal project builder
99
131
100
-
For those willing to experiment and to modify the code I suggest using the [minimal version](https://github.com/askuric/Arduino-FOC/tree/minimal) of the code.
132
+
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).
101
133
> This code is completely independent and you can run it as any other Arduino Sketch without the need for any libraries.
102
134
103
-
#### Github website download
104
-
- Go to [minimal branch](https://github.com/askuric/Arduino-FOC/tree/minimal)
105
-
- Download the code by clicking on the `Clone or Download > Download ZIP`.
// monitoring function outputting motor variables to the serial terminal
164
-
motor.monitor();
165
189
}
166
190
```
167
191
You can find more details in the [SimpleFOC documentation](https://docs.simplefoc.com/).
168
192
169
193
## Example projects
170
-
Here are some of the SimpleFOC application examples.
171
-
### Arduino Field Oriented Controlled Reaction Wheel Inverted Pendulum
172
-
This is a very cool open-source project of one of the simplest setups of the Reaction wheel inverted pendulum. Check out all the components and projects notes in the [github repository](https://github.com/askuric/Arduino-FOC-reaction-wheel-inverted-pendulum).
173
-
<palign="">
194
+
Here are some of the *Simple**FOC**library* and *Simple**FOC**Shield* application examples.
**The main benefits of using the BLDC motor in this project are:**
180
-
- High torque to weight ratio
181
-
- The lighter the better
182
-
- Lots of torque for low angular velocities
183
-
- No need to spin the motor to very high PRM to achieve high torques
184
-
- No gearboxes and backlash
185
-
- Very smooth operation = very stable pendulum
186
-
187
210
188
211
## Documentation
189
212
Find out more information about the Arduino SimpleFOC project in [docs website](https://docs.simplefoc.com/)
@@ -192,6 +215,6 @@ Find out more information about the Arduino SimpleFOC project in [docs website](
192
215
## Arduino FOC repo structure
193
216
Branch | Description | Status
194
217
------------ | ------------- | ------------
195
-
[master](https://github.com/askuric/Arduino-FOC) | Stable and tested library version | 
196
-
[dev](https://github.com/askuric/Arduino-FOC/tree/dev) | Development library version | 
197
-
[minimal](https://github.com/askuric/Arduino-FOC/tree/minimal) | Minimal Arduino example with integrated library | 
218
+
[master](https://github.com/simplefoc/Arduino-FOC) | Stable and tested library version | 
219
+
[dev](https://github.com/simplefoc/Arduino-FOC/tree/dev) | Development library version | 
220
+
[minimal](https://github.com/simplefoc/Arduino-FOC/tree/minimal) | Minimal Arduino example with integrated library | 
Copy file name to clipboardExpand all lines: examples/hardware_specific_examples/Bluepill_examples/encoder/bluepill_position_control/bluepill_position_control.ino
+12-4Lines changed: 12 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -7,8 +7,12 @@
7
7
*/
8
8
#include<SimpleFOC.h>
9
9
10
-
// motor instance
11
-
BLDCMotor motor = BLDCMotor(PB6, PB7, PB8, 11, PB5);
Copy file name to clipboardExpand all lines: examples/hardware_specific_examples/Bluepill_examples/magnetic_sensor/bluepill_position_control/bluepill_position_control.ino
Copy file name to clipboardExpand all lines: examples/hardware_specific_examples/DRV8302_driver/3pwm_example/encoder/full_control_serial/full_control_serial.ino
+13-5Lines changed: 13 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -18,13 +18,15 @@
18
18
#defineINH_A9
19
19
#defineINH_B10
20
20
#defineINH_C11
21
+
21
22
#defineEN_GATE7
22
23
#defineM_PWM A1
23
24
#defineM_OC A2
24
25
#defineOC_ADJ A3
25
26
26
-
// motor instance
27
-
BLDCMotor motor = BLDCMotor(INH_A, INH_B, INH_C, 11, EN_GATE);
0 commit comments