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: dtmf code for atmega16, wall follower code matlab, wall following robot source code for atmega8, source code wireless with atmega16, line following robot using atmega16, gsm operated robot using atmega16, maze solving robot atmega16 source code,

[-]
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,231 03-02-2018, 09:35 AM
Last Post: Nischithnash
  source code for task scheduling using genetic algorithm using java 2 8,447 11-04-2017, 08:31 PM
Last Post: Guest
Thumbs Up source code of online payment system using steganography and visual cryptography 3 8,429 06-04-2017, 09:56 AM
Last Post: jaseela123d
  code to extract brain tumor detection using matlab 2 1,062 17-10-2016, 04:32 PM
Last Post: girish123ak
  color image segmentation using jseg algorithm in matlab code 2 862 29-09-2016, 12:07 PM
Last Post: Guest
  source code in c for automatic irrigation system using 8051 2 962 03-08-2016, 10:53 AM
Last Post: seminar report asees
  code to extract brain tumor detection using matlab 2 795 21-07-2016, 10:47 AM
Last Post: jaseela123d
  smoke detector using 8051 code 2 724 15-07-2016, 03:01 PM
Last Post: jaseela123d
  source code of intrusion detection system in manet using ns2 2 816 09-07-2016, 03:18 PM
Last Post: seminar report asees
  matlab code for steganography using wavelets neural network 1 652 05-07-2016, 12:21 PM
Last Post: visalakshik

Forum Jump: