Linkit One Object Avoiding Robot

by Aditya Tripathi in Circuits > Microcontrollers

966 Views, 5 Favorites, 0 Comments

Linkit One Object Avoiding Robot

1448633383993.jpg
IMG_20151127_193637.jpg
IMG_20151122_180252.jpg

This i'ble deals with object avoiding techniques of linkit one.

Its simple to make a object avoiding robot using linkit one. First connect HC-SR04 to linkit one than connect relay to linkit one and finally connect both the motors to relay and battery respectively.

Now program linkit one and leave it free. It will start avoiding obstacle and will find its path.

Parts and Tools

IMG_20151122_155453.jpg
IMG_20151122_152101.jpg
IMG_20151122_152057.jpg
IMG_20151122_175503.jpg
IMG_20151122_171633.jpg
IMG_20151122_152242.jpg
IMG_20151122_152123.jpg
IMG_20151127_184617.jpg
IMG_20151127_184625.jpg
IMG_20151127_184640.jpg
Parts :
  • Linkit one board( +installed SDK)
  • HC-SR04
  • Motors Geared( 4v-12v)
  • Caster Wheel
  • Relay ( 3v )
  • BC547 Transistor
  • 1k
  • Cardboard Box
  • Wheels
  • Battery


Tools :
• Wire Stripper or Scissors
• Tape
• Soldering Iron
• Solder Wire

Preparing the Body

IMG_20151122_180250.jpg
IMG_20151122_154526.jpg
IMG_20151122_154729.jpg
IMG_20151122_154745.jpg
IMG_20151122_180151.jpg
IMG_20151122_175505.jpg
IMG_20151122_180214.jpg
IMG_20151122_152415.jpg
IMG_20151122_180106.jpg

For the body I have used a cardboard box of my PSP . You can use any other size box too . First you need to make space for your HC-SR04 ultrasonic sensor . Than attach your sensor with tape in the box and then plug in you female wires to the sensor . Now we just need to plugin wires in Linkit One .

We also need to attach geared motors to the box . Make space for them and then open the screw of motors attach them and then tighten the screw . Attach male wires to the motors .

Caster wheel is still left to attach it open the screws of it then fit the Caster wheel and then tighten the screw .

Relay

IMG_20151122_171633.jpg
IMG_20151122_171644.jpg
FA29IF4IGP0IPHQ.LARGE.jpg

We have seen that the output Current of Linkit One is very less . Therefore it is necessary to amplify it using BC547 Transistor .

The circuit :

  1. Connect first terminal of 1k resistor to Linkit one's output pin (D4) & second to base of BC547.
  2. Connect the collector pin of BC547 to Relay's +.
  3. & connect Relay's - to + 5V of Linkit One.
  4. Connect emitter of BC547 to GND.
  5. First terminal of one motor will be connected to Normally closed pin of relay.
  6. Second terminal will be connected relay's common pin.

Now when relay will be triggered HIGH motor will turn of.

Code

Upload the following code to Linkit One and join the connections as told in the code.

Completion

IMG_20151127_193556.jpg
IMG_20151127_193336.jpg
IMG_20151127_193546.jpg
IMG_20151127_193522.jpg
IMG_20151127_193330.jpg
IMG_20151127_193448.jpg

Connect the Battery of Linkit One to it.

Join the 8V Battery to Motor and relay.

Power your Linkit One and leave it Free. It will start avoiding objects.

THANK YOU