Author Topic: No balancing  (Read 6725 times)

Jimmy

  • Newbie
  • *
  • Posts: 32
    • View Profile
Re: No balancing
« Reply #15 on: July 13, 2014, 10:41:03 PM »
Got the PS3 controller work as well!  :)

Lauszus

  • Administrator
  • Full Member
  • *****
  • Posts: 132
    • View Profile
Re: No balancing
« Reply #16 on: July 14, 2014, 12:48:12 AM »
Awesome! :D

Regards
Lauszus

Jimmy

  • Newbie
  • *
  • Posts: 32
    • View Profile
Re: No balancing
« Reply #17 on: July 14, 2014, 12:52:39 AM »
Here's my Balanduino bot!



Lauszus

  • Administrator
  • Full Member
  • *****
  • Posts: 132
    • View Profile
Re: No balancing
« Reply #18 on: July 14, 2014, 12:54:23 AM »
Looking good ;)

Jimmy

  • Newbie
  • *
  • Posts: 32
    • View Profile
Re: No balancing
« Reply #19 on: July 14, 2014, 01:11:13 AM »
@Lauszus, any plan to add ultrasonic sensor code for autonomous bot? I really enjoy what you have created hope more people buying your product, will spread the words!!!  :)

Jimmy 

Lauszus

  • Administrator
  • Full Member
  • *****
  • Posts: 132
    • View Profile
Re: No balancing
« Reply #20 on: July 14, 2014, 02:23:23 AM »
@Jimmy
No not at the moment, but I might add it later ;) It would be nice if it supported line sensors as well.

Regards
Lauszus

Jimmy

  • Newbie
  • *
  • Posts: 32
    • View Profile
Re: No balancing
« Reply #21 on: July 14, 2014, 10:56:02 PM »
Awesome, can't wait!

Jimmy

  • Newbie
  • *
  • Posts: 32
    • View Profile
Re: No balancing
« Reply #22 on: July 16, 2014, 08:47:10 AM »
Lauszus,
My Balanduino bot is working great except when it is not moving the right wheel kind of rocking back and forth as you can see it in the video. Can you tell me where I can make this adjustment?



Thanks,

Jimmy


Lauszus

  • Administrator
  • Full Member
  • *****
  • Posts: 132
    • View Profile
Re: No balancing
« Reply #23 on: July 17, 2014, 07:53:49 AM »
Please try to adjust the PID values using your prefered method (Android app etc.).
Also try to adjust the "positionScaleD" and "velocityScaleStop" both can be found inside: https://github.com/TKJElectronics/Balanduino/blob/master/Firmware/Balanduino/Balanduino.h.

Regards
Lauszus

Jimmy

  • Newbie
  • *
  • Posts: 32
    • View Profile
Re: No balancing
« Reply #24 on: April 05, 2015, 11:26:22 PM »
Hi Lauszus, my Balanduino bot seems to going very slow, using PS3 controller when moving forward or backward it goes for a short distance and it slow down. How do I adjust this in your code?

Thanks,

Jimmy

Lauszus

  • Administrator
  • Full Member
  • *****
  • Posts: 132
    • View Profile
Re: No balancing
« Reply #25 on: April 05, 2015, 11:29:34 PM »
@Jimmy
This can be done by adjusting the maximum controller angle. It can be done by sending:
Code: [Select]
SA,angle;

Via the serial monitor - see: https://github.com/TKJElectronics/Balanduino/blob/master/Firmware/Balanduino/Tools.ino#L83. You should see the full list of commands when you open it.

It can also be adjusted in the different apps provided, like the Android app etc.

Regards
Lauszus

Jimmy

  • Newbie
  • *
  • Posts: 32
    • View Profile
Re: No balancing
« Reply #26 on: April 06, 2015, 12:01:47 AM »
how do I get an existing angle value? I made some changes and now the it won't move, tried restore the default value but still not moving. :(

Jimmy

  • Newbie
  • *
  • Posts: 32
    • View Profile
Re: No balancing
« Reply #27 on: April 06, 2015, 01:45:14 AM »
Never mind, I figured it out!

Thanks,
Jimmy

Jimmy

  • Newbie
  • *
  • Posts: 32
    • View Profile
Re: No balancing
« Reply #28 on: October 07, 2015, 06:50:12 PM »
Hi, Lauzsus, How are you doing?
What parameters do I need to change if I give my bot a bigger wheels like 120mm (off road wheels)?
Any enhancements to the software in a near future (autonomous)?

Thanks, 

Lauszus

  • Administrator
  • Full Member
  • *****
  • Posts: 132
    • View Profile
Re: No balancing
« Reply #29 on: October 13, 2015, 04:03:13 PM »
I'm doing fine thanks :)

You should change the following values: https://github.com/TKJElectronics/Balanduino/blob/master/Firmware/Balanduino/Balanduino.h#L210-L232. You can just adjust them based on the ratio between the new and old wheels.

What kind of wheels are you using? Please also keep me updated if they improve the performance or not.

No not currently. Most my work is currently asking peoples questions and support in general. If you have any specific in mind you are more than welcome to add it yourself and send a pull request :D

Regards
Kristian Sloth Lauszus