Search found 31 matches

by flyboy74
Fri Sep 18, 2020 11:35 am
Forum: STM32F4 based boards
Topic: F407VET6 minimal dev board
Replies: 8
Views: 9214

Re: F407VET6 minimal dev board

You can also get that board with larger flash if you need it and also if you shop around you will find it cheaper too see both variants here https://www.aliexpress.com/item/4001004816900.html?spm=a2g0o.productlist.0.0.53125aaft5Hh9r&algo_pvid=4d9d01c7-1c72-402b-bd7b-78cadfb3f61f&algo_expid=4...
by flyboy74
Sun Aug 16, 2020 3:51 am
Forum: Off topic
Topic: dead reckoning on onmi directional robot
Replies: 3
Views: 2683

Re: dead reckoning on onmi directional robot

Awesome video. Is the return to the "marker" completely by coordinates, or does the bot get very close and then use optical to seek the tape marker? Either way, still great rtesults. The return is purely from counting pulses of each stepper motor. The robot always knows where it is in x,y...
by flyboy74
Sat Aug 15, 2020 10:26 am
Forum: Off topic
Topic: dead reckoning on onmi directional robot
Replies: 3
Views: 2683

dead reckoning on onmi directional robot

I have build an omni directional robot that can move with 3 DOF (x linear, y linear and w rotation). I do have another video (on my youtube channel) where I explain how I work out what speed to drive which motor to give me the desired x, y, w speeds. I have now worked out how to keep an accurate dea...
by flyboy74
Sun May 31, 2020 10:38 pm
Forum: Projects
Topic: Help with cascade PID for self balancing bike
Replies: 14
Views: 13609

Re: Help with cascade PID for self balancing bike

wow very nice and educational :) it seemed to also show why these systems can fail even if a PID controller is driving it, as it is unstable. If you watch the whole series you will be surprised at what can be mathematically worked out. They mathematically calculate the values needed for the control...
by flyboy74
Sun May 31, 2020 1:04 pm
Forum: Projects
Topic: Help with cascade PID for self balancing bike
Replies: 14
Views: 13609

Re: Help with cascade PID for self balancing bike

I am slowly getting filling in the gap in my math knowledge and starting to understand most of the needed math. If your interested in watching the lecture on how to linearize a non linear system this is the video https://www.youtube.com/watch?v=1YMTkELi3tE It seems what they do is instead of conside...
by flyboy74
Fri May 29, 2020 9:27 pm
Forum: Projects
Topic: Help with cascade PID for self balancing bike
Replies: 14
Views: 13609

Re: Help with cascade PID for self balancing bike

i'm trying to pickup these stuff as well, but that some PID things tend to be *non-linear*, getting the right model isn't the easiest thing to do. If you watch the whole series then they cover how to linearize a non linear system. Do be prepared for some complex math though . They even cover how to...
by flyboy74
Fri May 29, 2020 6:43 am
Forum: Projects
Topic: Help with cascade PID for self balancing bike
Replies: 14
Views: 13609

Re: Help with cascade PID for self balancing bike

ag123 wrote: Fri May 29, 2020 6:24 amnice video
It is just the first video of the first lesson in a series of videos that completes the whole course. I am currently wathcing soem other math videos to fill in some of my missing understanding
by flyboy74
Thu May 28, 2020 9:16 pm
Forum: Projects
Topic: Help with cascade PID for self balancing bike
Replies: 14
Views: 13609

Re: Help with cascade PID for self balancing bike

FYI I have been researching it a lot because I would like to make this project work. It does seem inverted pendulum is the hello world of control theory. I have been quite impressed by what they have worked out in control theory. For anyone interested here is a series of university lectures put on Y...
by flyboy74
Sun May 24, 2020 11:57 am
Forum: Projects
Topic: Help with cascade PID for self balancing bike
Replies: 14
Views: 13609

Help with cascade PID for self balancing bike

I have had a crazy idea to build a self balancing bike. See work so far https://www.youtube.com/watch?v=qjyuvFqgm_8&feature=youtu.be It is built with the Mackblock platform and have a Mega2560 at it's heart and also has an onboard MPU6050 as well as a number of other builtin sensors. It can be p...
by flyboy74
Wed May 13, 2020 6:40 am
Forum: Projects
Topic: [F4] Neopixel driver using hardware timers
Replies: 50
Views: 30677

Re: [F4] Neopixel driver using hardware timers

I can see you are not a fan of using SPI for this task. The granularity of the available timing is an issue, but 1/3 2/3 pulses does suit a lot of these type of LEDs, even if you also need to mess with the clock configuration to get the overall period within spec. As for the increase ram usage - th...

Go to advanced search