Arduino with moteus for brushless motor control

  Рет қаралды 8,159

Josh Pieper

Josh Pieper

Күн бұрын

Get moteus: mjbots.com
moteus intro video: • moteus developer kit g...
Read more: jpieper.com/20...
7C8KDRWAOCCRGWKJ
#bldc #arduino #mjbots

Пікірлер: 28
@JohnLauerGplus
@JohnLauerGplus 11 ай бұрын
I'd love to see a similar demo for ESP32!
@awesjosh
@awesjosh 11 ай бұрын
Maybe someday!
@rudisoft
@rudisoft 11 ай бұрын
Lots of greetings from Germany, Josh!
@awesjosh
@awesjosh 11 ай бұрын
Greetings back at you!
@maurizionaletto583
@maurizionaletto583 11 ай бұрын
I love your awesome work
@Ender_Wiggin
@Ender_Wiggin 11 ай бұрын
Lets goo! Love you stuff.
@wgm-en2gx
@wgm-en2gx 11 ай бұрын
Awesome, I have an moteus controller and haven't done much with it because the API was daunting. This seems to greatly lower the barrier. Although for me, I'd love to see a .NET core nuget package equivalent.
@PhG1961
@PhG1961 11 ай бұрын
Awesome and impressive!
@imad-eddinenaciri6238
@imad-eddinenaciri6238 2 ай бұрын
Great work
@남호창-p5x
@남호창-p5x 9 ай бұрын
Hello, I'm a university student in Korea, majoring in robotics. I became interested after seeing the development process of your robotic dog. I'd like to create a brushless servo similar to the QDD100 using the MJ5208 brushless motor and Moteus R4.11 controller. However, I want to make it slightly smaller, which seems to require changes to the planetary gear section and the outer casing. Could you advise how to obtain related machined parts? Is it possible to purchase these components?
@awesjosh
@awesjosh 9 ай бұрын
Unfortunately, nothing can be purchased off the shelf. You can look at historical posts at jpieper.com to get an idea of some of the steps, but it I have to warn you that it will be a challenging endeavor.
@톱니바퀴-p7h
@톱니바퀴-p7h 2 ай бұрын
Hello! I am a university student majoring in robotics in Korea. I am trying to control a motor in torque mode using Arduino IDE. I successfully created torque mode by applying feedforward torque through Python TView, but I am not sure how to set up torque mode and apply a constant torque using Arduino IDE. Could you please advise me on how to achieve this?
@awesjosh
@awesjosh Ай бұрын
Before doing so with Arduino, I would recommend practicing with tview and the `d pos` commands and the reference: github.com/mjbots/moteus/blob/main/docs/reference.md#torque-control The principal is to set the kp and kd gains to 0, so in tview that would look like: d pos nan 0 nan p0 d0 f0.1 Where f0.1 is applying 0.1Nm of torque. In the C++ library, you have to accomplish the same thing, but need to configure it to send the kp and kd gain overrides. It will look like: ``` mjbots::moteus::PositionMode::Format pos_fmt; pos_fmt.kp_scale = moteus::kFloat; pos_fmt.kd_scale = moteus::kFloat; mjbots::moteus::PositionMode::Command pos_cmd; pos_cmd.kp_scale = 0.0; pos_cmd.kd_scale = 0.0; Moteus moteus; moteus.SetPosition(pos_cmd, &pos_fmt); ```
@awesjosh
@awesjosh Ай бұрын
Also, the mjbots Discord is a lot easier place to ask questions than KZbin comments, and will get a much faster response: discord.gg/W4hUpBb
@GavinRemme
@GavinRemme 8 ай бұрын
I want to build a steer by wire steering rack for a go kart and am considering this. Can it monitor and send output torque back to the Arduino?
@awesjosh
@awesjosh 8 ай бұрын
Yep, you can.
@mattanimation
@mattanimation 11 ай бұрын
nice!
@4jaymoper441
@4jaymoper441 4 ай бұрын
How do I control multiple motors with one arduino
@awesjosh
@awesjosh 4 ай бұрын
First change the `id.id` configuration for each servo using tview. Following the procedure here: github.com/mjbots/moteus/blob/main/docs/reference.md#idid you first change it, then immediately restart tview with the new id in order to issue the `conf write`. Note, this must be done with a CAN-FD interface that is compatible with tview, just like for calibration. Then, in your Arduino script, just assign unique IDs to each of the devices like in the BasicControl example: github.com/mjbots/moteus-arduino/blob/121db53dd9ff38d493652082b6ad0dd8edc963aa/examples/BasicControl/BasicControl.ino#L33
@tomcypher3864
@tomcypher3864 2 ай бұрын
Hi! Will there be code to use for STM32?
@awesjosh
@awesjosh 2 ай бұрын
There is unlikely to be a high level library ready made, although you can use parts of this library. There is a worked CubeMX example here: github.com/mjbots/moteus-fdcantest
@sangvominh7622
@sangvominh7622 7 ай бұрын
I want to export the motor current graph, what should I do?
@awesjosh
@awesjosh 7 ай бұрын
Are you using an Arduino? If so, just print the current value to the serial console!
@AntotaboQC
@AntotaboQC 11 ай бұрын
Moteus, see you soon on a teensy 4.0 ;) I need to send 2 more Christmas card this year. One for you, one for @PaulStoffregen.
@하지훈-s9z
@하지훈-s9z 6 ай бұрын
Do I have to have a CAN controller like MCP2517FD to control the moteus in teensy 4.1? Can't we just do this since teensy 4.1 supports CANFD?
@awesjosh
@awesjosh 6 ай бұрын
You may be able to use the CAN-FD controller built in to the teensy, but it still requires an external transceiver as the system in the teensy only operates at logic levels. Also, the moteus Arduino library will only work currently with the MCP2517FD and you would have to modify it to work with the teensy's built in controller.
@하지훈-s9z
@하지훈-s9z 6 ай бұрын
@@awesjosh It was very helpful!! Thank you.
@julieta203
@julieta203 4 ай бұрын
ah the good old Cyanoacrylate Gel but if you dont have that at hand just use super glue :D
FOC Driver Controller PCB - Slow Brushless Control
14:19
Electronoobs
Рет қаралды 122 М.
9.5 encoder strategies for open source bldc control
38:16
Josh Pieper
Рет қаралды 11 М.
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН
Правильный подход к детям
00:18
Beatrise
Рет қаралды 11 МЛН
moteus velocity mode improvements
5:16
Josh Pieper
Рет қаралды 1,7 М.
moteus developer kit getting started guide (2023 edition)
7:25
Josh Pieper
Рет қаралды 8 М.
Inside Look: PCB Functional Test Fixture for Weight Scale PCBs,Test Solution for Mass Production.
8:38
MICROHUB :PCBA ICT FCT JIGS & FIXTURE MANUFACTURER
Рет қаралды 480
hoverbot - hoverboard motor balancing robot
12:21
Josh Pieper
Рет қаралды 12 М.
DIY Five Side PCB Test Fixture
4:55
Josh Pieper
Рет қаралды 6 М.
moteus-c1 from mjbots
2:31
Josh Pieper
Рет қаралды 7 М.
This Component solves "All" Motor Problems?! (Motor Encoder) EB#58
11:34
Why the brushless controllers are awesome for robotics
20:25
Skyentific
Рет қаралды 139 М.
Brushless Motor Controller from MJBots (Moteus)
20:01
Skyentific
Рет қаралды 45 М.