Search found 5 matches
- Sun Mar 01, 2015 5:24 pm
- Forum: Automation, sensing and robotics
- Topic: Python Based Self-Balancing Robot using MPU6050
- Replies: 15
- Views: 27301
Re: Python Based Self-Balancing Robot using MPU6050
When implementing a servomotor, which is what a PID loop controlling a motor is, you are wise to avoid using slow decay mode, and ensuring the PWM frequency is high enough. The best set up is to use synchronous rectification (like fast decay except the bridge is always driven, PWM reverses the dire...
- Sat Feb 28, 2015 6:36 pm
- Forum: Automation, sensing and robotics
- Topic: Python Based Self-Balancing Robot using MPU6050
- Replies: 15
- Views: 27301
Re: Python Based Self-Balancing Robot using MPU6050
Well in GPIO.BCM mode the Pin 19 and 18 have this function . And for 2 Dc motor going back and forth i guess i need 4 pins with hardware (DMA) timed PWM . And the code/library you included is in C any thing i can do with Pythion GPIO library . I am already using Python GPIO.PWM() And any comment on ...
- Sat Feb 28, 2015 5:56 pm
- Forum: Automation, sensing and robotics
- Topic: Python Based Self-Balancing Robot using MPU6050
- Replies: 15
- Views: 27301
Re: Python Based Self-Balancing Robot using MPU6050
So anything i can do with Python and for DC motor for PWM ?
- Sat Feb 28, 2015 5:28 pm
- Forum: Automation, sensing and robotics
- Topic: Python Based Self-Balancing Robot using MPU6050
- Replies: 15
- Views: 27301
Re: Python Based Self-Balancing Robot using MPU6050
Here is the Current Structure/Frame of this Robot
http://postimg.org/image/rvf45zvsp/
Also note that i am not using Battery at this moment but using 12v DC power Supply for Motor
http://postimg.org/image/rvf45zvsp/
Also note that i am not using Battery at this moment but using 12v DC power Supply for Motor
- Sat Feb 28, 2015 5:04 pm
- Forum: Automation, sensing and robotics
- Topic: Python Based Self-Balancing Robot using MPU6050
- Replies: 15
- Views: 27301
Python Based Self-Balancing Robot using MPU6050
Hello Everybody, I am trying to build a Self-Balancing Robot ( nothing new ) but i am trying to build this Robot with Python Code . I am half way gone , i think . My robot is moving back and forth but it fails to maintain the balance . I am doing some wrong calculation on the PID and Accelerometer A...