code for wall following robot using atmega16
#1

please send me the code for wall following robotic car which can avoid obstacles too which come on its way(obstacles which come on the way while following wall )

Reply
#2

PROGRAM FOR WALL FOLLOWER.
#include<avr/io.h> // For ATMega8
int main(void)
{

DDRC=0x00; // set PORTC as input port
DDRB=0x0F; // PB0, PB1, PB2, PB3 as output port for motor
int Right_sensor=0;

while(1) // infinite loop
{
Right_sensor=(PINC&0x01); //sensor status connected at PC0
if(Right_sensor==0x00) //right sensor OFF

{
PORTB=0x08; //right turn
}

else
PORTB=0x01; //left turn
}

}
Reply

Important Note..!

If you are not satisfied with above reply ,..Please

ASK HERE

So that we will collect data for you and will made reply to the request....OR try below "QUICK REPLY" box to add a reply to this page
Tagged Pages: if pinc 0x01 in at89c51,
Popular Searches: wall following robot source code for atmega8, wall follower algorithm code matlab download, voice controlled robot using atmega16 with code, avr code for grid follower robot using atmega16, wall following algorithm, how to build a wall avoiding robot using ldr, gsm operated robot using atmega16,

[-]
Quick Reply
Message
Type your reply to this message here.

Image Verification
Please enter the text contained within the image into the text box below it. This process is used to prevent automated spam bots.
Image Verification
(case insensitive)

Possibly Related Threads...
Thread Author Replies Views Last Post
  authentication schemes for session passwords using color and images project source code 2 2,238 03-02-2018, 09:35 AM
Last Post: Nischithnash
  source code for task scheduling using genetic algorithm using java 2 8,546 11-04-2017, 08:31 PM
Last Post: Guest
Thumbs Up source code of online payment system using steganography and visual cryptography 3 8,527 06-04-2017, 09:56 AM
Last Post: jaseela123d
  code to extract brain tumor detection using matlab 2 1,070 17-10-2016, 04:32 PM
Last Post: girish123ak
  color image segmentation using jseg algorithm in matlab code 2 868 29-09-2016, 12:07 PM
Last Post: Guest
  source code in c for automatic irrigation system using 8051 2 973 03-08-2016, 10:53 AM
Last Post: seminar report asees
  code to extract brain tumor detection using matlab 2 799 21-07-2016, 10:47 AM
Last Post: jaseela123d
  smoke detector using 8051 code 2 731 15-07-2016, 03:01 PM
Last Post: jaseela123d
  source code of intrusion detection system in manet using ns2 2 820 09-07-2016, 03:18 PM
Last Post: seminar report asees
  matlab code for steganography using wavelets neural network 1 670 05-07-2016, 12:21 PM
Last Post: visalakshik

Forum Jump: