frustrated
graffix
Posts: 389
Im frustrated with my projects and forum due to lack of help,comments,and lack of progress.
What should I do different?
What should I do different?
Comments
What problem are you having?
I think it should be just creating a PID loop using these sensors
memsic 2125
lisy300 gyro
wheel encoder
HB25 motor controllers
BS2 MCU
http://www.parallax.com/tabid/505/Default.aspx
http://find.botmag.com/051109
http://find.botmag.com/balancing-bot-code-eric-ostendorff-279.html
I have only made one balancebot using an IR sensor, which was challenging enough. That was in 3 parts in ROBOT magazine, if you want to check it out, I got into PID there and had decent results with the simplest possible configuration. That would be a good first project for you. Here's what I ended up with:
http://www.youtube.com/watch?v=R-txjHd4Kvs and http://www.youtube.com/user/ercost60#p/u/9/j-Ubi93VzHo
Sounds like you have the gyro & accelerometer, which is a better option. Sounds like you're trying to apply the Parallax PID info, which is oversimplified and barely scratches the surface of the material you need. That's a very general tutorial; you note they don't actually control anything with their program, it is far from a finished program. In your BB thread, I sent you a link to my thread which has links to tons of info on other people's balance bots. You'll need to dig DEEP and get into Kalman filters and sensor fusion to get your bot to work. It won't be easy. If it was, everyone would be doing it!
Hope this helps steer you.
Best,
erco
However if you ask a specific question about one thing, like I have this specific chip and I can't get it to communicate, then you will have a wider audience. Many more people might have that chip and may have gotten it to work. So they can simply copy and paste their working code and not spend too much time answering your question. Or could look at a short section of code you posted and not spend too much time finding a problem.
Anyway I have found that I will get more replies to specific questions. And that asking many specific questions will get many more replies than asking one big general question.
It looks like you are doing the right things. You are reading all about your project. We all get frustrated. Just take a walk around the block, then go back and keep plugging! (I have my best "Ahhh Ha!" moments when I take a break and am going for a walk or laying down and resting...)
So far as what you can and can't do with a programming language and one command... I will stop work on my project, create a new test program, then just experiment with that one command. See what I can and can't do. Or start a new thread on a forum asking about that specific command.