LOGIN
Narendran Ashok
12
Top Contributor
Engineer (Project Leader)
 · ChennaiIndia
Share
Report
Get Link
STATUS

Need help on applying PID for ADXL330

Abhi Verma Harsha Alva

guys can u people help me out on making a self-balancing robot… i wanted to make one and prepare tutorials for those

Contributions
Jibin Lukose

I am on it and once get the PID setup will post the codes Good effort wish you good luck

3 likes 
Like
Award Contribution
Electronics and Communication Engineering Student
 · New DelhiIndia
Share
Report
Get Link

Where exactly to you need help?

Like
1 like 
Award Contribution
Abhi Verma
38
Community Expert
ROBOToTHON 2017 Mentor, Electronics Engineer
 · DelhiIndia
Share
Report
Get Link

U mean those having two wheels only?

Like
1 like 
Award Contribution
Narendran Ashok
12
Top Contributor
Engineer (Project Leader)
 · ChennaiIndia
Share
Report
Get Link

Rite now the project is not yet started. Will make the chassis design by today…!! and start tomo… but i am unsure how to use the PID…!!

I followed some tutorial to read the data using I2c

Like
1 like 
Award Contribution
Abhi Verma
38
Community Expert
ROBOToTHON 2017 Mentor, Electronics Engineer
 · DelhiIndia
Share
Report
Get Link

well PID is used with a feedback system. e.g. you have a drone flying and need it to keep in level. here gyro and accelerometer will provide the feedback signal to PID. now your drone right side down. ideally sensors should output all zeros in level condition but this tilt will produce an error and that error from the ideal value is them amplified by PID and a correcting signal is calculated. this signal is added to the motors power and drone came back to level position.
these corrections are so fast and accurate that drone oscillations are minimized and it becomes stable.
in a ordinary drone PID applies corrections 250 times in a second. same can be used in a two wheel robot. there you only need one axis

Like
0 like 
Award Contribution
Narendran Ashok
12
Top Contributor
Engineer (Project Leader)
 · ChennaiIndia
Share
Report
Get Link

on tat case i will tend to develop a algorithm with mpu6050 as it has both accelerometer and gyro

Like
0 like 
Award Contribution
Harsha Alva
88
Community Expert
Mechanical Engineer + Software Developer
 · MangaluruIndia
Share
Report
Get Link

Narendran Guess what? Claran Martis John Rodrigues and I are already making one. Will post pics soon.

Contribution
Like
2 likes 
Award Contribution
Leave a reply...
DISCOVER
CHAT
HIRE
ACTIVITY
FEED
New Post
Help
Start Project
Online Users
Share Link