Firefly larvae V1

Learn the mechanisms of a self balancing device with this module

Makers
Updates
1 month, 2 weeks ago
1 month, 2 weeks ago
1 month, 2 weeks ago
14 Insights
[resource] PID Library - How to write a PID library
posted 1 month, 3 weeks ago by Alex JV Leave a comment |

http://brettbeauregard.com/blog/2011/04/improving-the-beginners-pid-introduction/ - Awesome blog on how to write a PID algorithm

[observation] Reducing motor noise
posted 1 month, 3 weeks ago by Alex JV Leave a comment |

MCU crashing was a major issue. Sorted that out by putting a bunch of capacitors across the ...

read more
Setpoint
posted 1 month, 3 weeks ago by Alex JV Leave a comment |

Increasing setpoint/targetAngle makes the bot move in that direction.

[observation] MPU6050 crashes when motor powered on
posted 1 month, 3 weeks ago by Alex JV Leave a comment |

The MPU6050 crashes or gives erratic readings when the motor is powered on. The motor might be ...

read more
[issue] program crashing reason found
posted 1 month, 3 weeks ago by Alex JV Leave a comment |

The program is crashing because of the MPU screwing up with the whole system. Partly because of ...

read more
[issue][resolved] arduino cant be programmed with bluetooth module connected
posted 1 month, 4 weeks ago by Alex JV Leave a comment |

If d0 pin is connected to anything else, arduino cannot be programmed. The bluetooth module will have ...

read more
[issue] The program crashes after some time
posted 1 month, 4 weeks ago by Alex JV Leave a comment |

Reason unknown. It seems to be happening on every code that is accessing the MPU. Again could ...

read more
[issue] MPU starts giving random readings
posted 1 month, 4 weeks ago by Alex JV Leave a comment |

Sometimes MPU6050 starts giving really sporadic readings. Cause unknown. Typically it happens when there is a sudden ...

read more
Gyro offsets for the first sensor
posted 2 months ago by Alex JV Leave a comment |

accelgyro.setXGyroOffset(82);
accelgyro.setYGyroOffset(-59);
accelgyro.setZGyroOffset(30);

Code used for testing motor driver and the motors
posted 2 months ago by Alex JV Leave a comment |


int val=255;
void setup() {
pinMode(13, OUTPUT);
pinMode(12, OUTPUT);
Serial.begin(9600);
// pinMode(11, OUTPUT ...

read more
PWM
posted 2 months ago by Alex JV Leave a comment |

PWM works between 0 to 255. This motors stops moving at values below PWM value of 95.

Arduino sketch used for testing the encoders on each motor
posted 2 months, 1 week ago by Alex JV Leave a comment |

#include <elapsedMillis.h>

elapsedMillis timeElapsed;
int val=0;
int sensorPin = A0;
int interval = 1000;
int count=0 ...

read more
Tackling anticipated issues in the least time possible
posted 2 months, 2 weeks ago by Alex JV Leave a comment |

Since time is our biggest constraint, to see how much can we work with backlash, we buy ...

read more
Anticipated issues
posted 2 months, 2 weeks ago by Alex JV Leave a comment |

1) Backlash from motors
2) Lack of sensitivity of rotary encoders

0 Discussions
2 Files
MPU6050_calibration.ino
uploaded 1 month, 4 weeks ago by Alex JV Download File
Code for calibrating the MPU 6050 sensor
self_balance3.ino
uploaded 1 month, 2 weeks ago by Alex JV Download File
Self balancing code used for robot for the workshop
0 Images
2 Videos
0 Documentations