Skip to content

Latest commit

 

History

History

Self Balncing Robot

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Arduino

  1. Open the code in Arduino
  2. Add the libraries mentioned
  3. Now, set the originalSetpoint with python
  4. Change the PID values if required.
  5. Upload the code and enjoy the Robot getting balanced.

Python

  1. Open the python code file and run it while the code is running i.e Robot is switched on.
  2. You should wait until it takes 200 values of gyroscope readings and produce the mean.
  3. This mean is taken as the originalSetpoint which is an experimental result.