author4
4Instructables11,832Views26CommentsIndiaJoined October 10th, 2016
I am a hobbyist. I love building stuffs and robots. Things I like - You, Wireless, Arduino, Servos, Jesus Things I hate - Wires, Batteries, Satan Things I wish - Roam around the world, meet different people and culture, have a small cute house in United States and share happiness without racism. :)

Achievements

10K+ Views Earned a bronze medal
  • Suman_Shashi commented on Suman_Shashi's instructable Self Balancing Robot4 months ago
    Self Balancing Robot

    Yes you can use it though you must use a high torque motor.

    View Instructable »
  • Suman_Shashi commented on Suman_Shashi's instructable Self Balancing Arduino Robot_PID 4 months ago
    Self Balancing Arduino Robot_PID

    yes, you can use L298N motor driver

    View Instructable »
  • Suman_Shashi commented on Suman_Shashi's instructable Self Balancing Robot8 months ago
    Self Balancing Robot

    Hello,Indeed you can use Arduino Nano. However, a small change is required. Nano outputs 5v whereas Bluetooth Module uses 3.3v logic level. So TX of Nano would go to a voltage divider. The Voltage divider will divide the voltage and provide 3.3v logic for RX of Bluetooth. TX of Bluetooth can straight go RX of Nano as TX of Bluetooth will be at 3.3v level which is acceptable for Nano.The Bluetooth I used is HC 05. If you can get a 5V logic level Bluetooth, no divider is required. This is the reason I used Pro Mini.I have used Bluetooth module to wirelessly upload the code from Arduino IDE (PC or Mac) to my bot without messing with wires. I can even use it as a wireless serial monitor. Capacitors are used here to provide a delay output. Whenever HC05 is connected to a device, it's state p...

    see more »

    Hello,Indeed you can use Arduino Nano. However, a small change is required. Nano outputs 5v whereas Bluetooth Module uses 3.3v logic level. So TX of Nano would go to a voltage divider. The Voltage divider will divide the voltage and provide 3.3v logic for RX of Bluetooth. TX of Bluetooth can straight go RX of Nano as TX of Bluetooth will be at 3.3v level which is acceptable for Nano.The Bluetooth I used is HC 05. If you can get a 5V logic level Bluetooth, no divider is required. This is the reason I used Pro Mini.I have used Bluetooth module to wirelessly upload the code from Arduino IDE (PC or Mac) to my bot without messing with wires. I can even use it as a wireless serial monitor. Capacitors are used here to provide a delay output. Whenever HC05 is connected to a device, it's state pin will go high otherwise low. So when my PC is connected to HC05 to upload code, the pin goes high which in turn charges the capacitor. This capacitor then discharges to reset the Arduino.Reset is required here to upload the code to Arduino,State pin of HC05 will go to one end of Capacitor. The other end of the capacitor will go to the reset pin of Arduino.Regards

    View Instructable »
  • Suman_Shashi commented on Suman_Shashi's instructable Arduino Programming With Bluetooth9 months ago
    Arduino Programming With Bluetooth

    Yep of course! you can control. No configuration changes required. You will wireless serial monitor too.Just use Serial.begin(xxxxx); Replace xxxxx with the correct baud rate of your Arduino Board.

    Yep of course! you can control with the same. No configuration changes required. You can use it as wireless serial monitor too.Just use Serial.begin(xxxxx); in setup. Replace xxxxx with the correct baud rate (same as the bootloader baudrate) of your Arduino Board and you are done

    View Instructable »
  • Suman_Shashi entered Self Balancing Robot in the Wheels Contest 2017 contest 10 months ago
  • Suman_Shashi entered Self Balancing Robot in the Arduino Contest 2017 contest 10 months ago
  • Suman_Shashi's instructable Arduino Programming With Bluetooth's weekly stats: 1 year ago
    • Arduino Programming With Bluetooth
      122 views
      5 favorites
      0 comments
  • Self Balancing Arduino Robot_PID

    I faced a similar situation.Whta you did wrong is that one of the motor pins from L293d to Aruduino have been plugged wrong.For ex. if D0 and D1 is for motor 1 but you may have plugged it as D1 and D2 (D2 hasn't been used hence remember it will remain always low)so when D2 is low(always low) and D1 is high it rotates on one side however when it falls on other side D1 will be low. Correctly D0 will be high and D1 will be low but you have plugged D1 and D2. Since D2 is already low means both D1 and D2 are now low hence it won't rotate.Have a look on you coding pins for motorHappy Balacing

    View Instructable »
  • Self Balancing Arduino Robot_PID

    D i have taken it as 0; hence not used in the codeP is pwm_on variableI is m and m1 ; Both change at same rate 'here' by 0.7I have applied PID concept by a different algo.

    its because you are choosing wrong baud rate.its 9600

    updated to a more 'stable' code and baud rate is 115200.re run and post if any problems faced

    have you modified the code?check SCA and SDA pins on arduino once //this solved my problem

    View Instructable »
  • Self Balancing Arduino Robot_PID

    Vcc goes to 5V arduinoGND goes tio GND arduinoSDA goes to A4 arduinoSCL goes to A5 arduinoMPU should be connected at bottom of bot alligned with wheels

    View Instructable »
  • Self Balancing Arduino Robot_PID

    Updated video have a look

    View Instructable »
  • Suman_Shashi made the instructable Self Balancing Arduino Robot_PID 1 year ago
    Self Balancing Arduino Robot_PID

    my code doesn't require potentio's coz I just need to find my penpendicular angle(neither left tilt nor right tilt) and set different pwm_on values for a different angle range. All Ihave to do is adjust pwm_on values which varies with size of bot

    View Instructable »
  • Self Balancing Arduino Robot_PID

    Yes It WorksBest part is that L298N handles large currents to motors easily#Ambika :)

    Yes It Works Best part is that L298N handles large currents to motors easily

    Yes It WorksBest part is that L298N handles large currents to motors easily#Ambika :)

    View Instructable »
  • Self Balancing Arduino Robot_PID

    no connection is required for enable pins. I played with value of "pwm_on" and "pwm_off" and perpendicular angle to balance without even any jerks. :)Happy New Year

    View Instructable »
  • Self Balancing Arduino Robot_PID

    Nice!It would be great if you put some background music like that of Conjuring 2 spooky one (i.e VALAK) :D

    Since your bot is speaker enabled! ;)

    View Instructable »
  • Self Balancing Arduino Robot_PID

    Is your bot balancing ? What problem are you facing ?P.S I used the same link you provided however I noticed that by using complementary I was getting less torque thus making my bot to fall to either side hence I switched to Kalman. P.P.S Balancing can even work without Kalman or complementary!

    Import correct header fileCorrect MPU6050 code link is thishttps://github.com/vu2aeo/Ard-Class/blob/master/MPU_6050/mpu6050.h

    error 0 is for successful working however it means that gyro module is working and giving you raw values but these raw values haven't been converted to something meaningful. Its just raw values.

    View Instructable »
  • Suman_Shashi commented on Suman_Shashi's instructable Two Wheel Balanced Robot_PID 1 year ago
    Two Wheel Balanced Robot_PID

    Cool !!

    Check the new link and let me know if it works.I hope you have imported I2C and main code together. Savvy ??

    View Instructable »
  • Suman_Shashi's instructable Two Wheel Balanced Robot_PID 's weekly stats: 1 year ago
    • Two Wheel Balanced Robot_PID
      858 views
      31 favorites
      9 comments
  • Suman_Shashi commented on Suman_Shashi's instructable Two Wheel Balanced Robot_PID 2 years ago
    Two Wheel Balanced Robot_PID

    First of all try to balance ur bot on carpet or or some soft surface. If it does you are near about.First set P,I,D to zero then select a P value like 2,3 or 4 whatever. Your bot will either move to fastly to overcome the tip or it will fall on the tipping side. if former is your case increase P else decrease P.Once your bot balances even for few seconds Increase I slowly. Afterwards it should balance for a minute or so. Then to remove jerks increase D. If found the magic value great else start with a new P.However I have worked in a different way here. My bot perpendicular is 0 deg. So for -25 to +25 deg I send 15ms pulse to motor. I angle goes beyond +25 or less than -25 then 55ms pulse for faster comeback. However after a certain angle the motor stops so it doesn't runaway. I play wi...

    see more »

    First of all try to balance ur bot on carpet or or some soft surface. If it does you are near about.First set P,I,D to zero then select a P value like 2,3 or 4 whatever. Your bot will either move to fastly to overcome the tip or it will fall on the tipping side. if former is your case increase P else decrease P.Once your bot balances even for few seconds Increase I slowly. Afterwards it should balance for a minute or so. Then to remove jerks increase D. If found the magic value great else start with a new P.However I have worked in a different way here. My bot perpendicular is 0 deg. So for -25 to +25 deg I send 15ms pulse to motor. I angle goes beyond +25 or less than -25 then 55ms pulse for faster comeback. However after a certain angle the motor stops so it doesn't runaway. I play with the pulses to get a stable way. At zero motors are disconnected. Hence my bot finds 0 closely and stop there without any movement. Enjoy

    Thanx :)Amazing height !! . A Halloween balance bot. Awesome. Are those speakers on the top ?

    Finding accurate PID is tough. I even thought to hammer my bot cause of frustation Regards #Ambika :)

    Finding accurate PID is tough. I even thought to hammer my bot cause of frustation

    View Instructable »