Saturday, April 18, 2015

Line Following robot

This was my first project which I did after I entered college. It was done by me and my friend Raamakrishnan for our college tech fest. We used PID algorithm for the bot. We had our bot working perfectly but the track had small turns and our bot's length was bigger than the turn. We were unable to do anything so we withdrew from the competition. But I am proud to say that I competed with seniors. I don't have any photos or videos to share with you. One thing I learned is that things would seem simple when you look from outside but when you go into it you have to face a lot of difficulties but I still hope that things are always easy.

Tuesday, April 14, 2015

Bluetooth Controlled Bot

Hello Hi ! This is a simple "Bluetooth controlled bot" done by me and three other members as a part of selection to our college club. This one actually my second project but actually the first one I am posting. It is one of the best projects for those who wanted to get started with Robotics.

Components Used:

  1. Arduino
  2. L293D Motor Driver
  3. Bluetooth Module
  4. Castor Wheel
  5. 2x Motors
  6. Jumper Cables
  7. Battery

How Its Done ?

    1. L293D

            Refer to the pin configuration of L293D and connect accordingly. Input pins decide the control of your motor. 4 motors can be connected in a single L293D but but when you want your motor to turn in reverse direction only 2 motors can be controlled. Give the output pins to the motors and the input pins to the Arduino. Here I have connected the input pins to the 3,5,9,11 of arduino digital pins.

    2. Bluetooth Module

                 The Bluetooth module has four pins VCC, GND, TX, RX.
  • Connect The Vcc pin to 5V of arduino and connect the Ground pin to GND of arduino these pins provide the power to the Bluetooth module
  • Connect the TX pin of module to RX pin of arduino .
  • Connect the RX pin of module to TX pin of arduino

     3. Arduino

                  In case you want to assign some other pins as RX and TX pin you can do it as follows :  
               SoftwareSerial Bluetooth(rx,tx);
                  And use this Bluetooth normally as you use Serial communication. 

In this case you can use Bluetooth module to receive data in terms of characters. This can be seen in code posted below.