Forum Replies Created
-
AuthorPosts
-
September 1, 2014 at 12:06 pm in reply to: for a beginer, how to design programmer circuit for 8051 #12112NishantParticipant
sorry sir
Sir………………. can you please
help me in my baisc project
i have just to give a virtual look or circuit that
goonaa use 8051 and sensorr
and that sensor gives output on PC using 8051
please
give me the code and the
isis simluation…………….please give me the entire solution
NishantParticipantSir………………. can you please
help me in my baisc project
i have just to give a virtual look or circuit that
goonaa use 8051 and sensorr
and that sensor gives output on PC using 8051
please
give me the code and the
isis simluation…………….NishantParticipantSir, A M bhatt
please can you give me the Keil code for
connecting ir sensor with 8051 and making that diplay on pc…
please
its my project………….i have to use the 8051 mc…….
such howw that
sensor sense and then it display the task on pc……….computerNishantParticipantsir please give me the details that how to connect
the ir sensor with pc………
that it count every update and and show on my pc…….August 30, 2014 at 12:48 am in reply to: Bluetooth Module interfaing with 8051 microcontroller #12091NishantParticipant// Program to count the number of clap
#include<reg51.h>
#define port P1
#define dataport P2 //Data Port for LCD
#define sec 1000
sbit rs = port^0;
sbit rw = port^1;
sbit e = port^2;
sbit sensor_input=P0^0;
unsigned char str3[10]={' ',' ',' ',' ',' ',' ',' ',' ',' ',' '};
void delay(unsigned int msec) // Time delay function
{
int i,j ;
for(i=0;i<msec;i++)
for(j=0;j<1275;j++);
}
void lcd_cmd(unsigned char item) // Function to send command
{
dataport = item;
rs= 0;
rw=0;
e=1;
delay(1);
e=0;
return;
}
void lcd_data(unsigned char item) // Function to send data
{
dataport = item;
rs= 1;
rw=0;
e=1;
delay(1);
e=0;
return;
}
void lcd_data_string(unsigned char *str) // Function to send string
{
int i=0;
while(str!=' ')
{
i++;
}
while(i>=0)
{
lcd_data(str);
i--;
delay(10);
}
return;
}
void convert(int num) // Function to extract digits and send to LCD
{
int i=0;
while(num>0)
{
str3=(num%10)+48;
num=num/10;
i++;
}
str3=' ';
}
void main()
{
int count=0;
sensor_input=1;
sensor_input=0;
lcd_cmd(0x38);
lcd_cmd(0x0e);
lcd_cmd(0x01);
while(1)
{
sensor_input=0;
while(sensor_input==0);
if(sensor_input==1)
{
lcd_cmd(0x01);
count++;
convert(count);
lcd_cmd(0x82);
lcd_data_string(str3);
}
}
}August 30, 2014 at 12:27 am in reply to: for a beginer, how to design programmer circuit for 8051 #12090NishantParticipanti am begginer
can you also solve my problem
basically i am creating a project
using ir sensor
with 8051so……………….
such that my ir sensor connected to 8051 and withthat
any
so, that when when my ir sensor feel some object
we get update just like(people counter)and i want to connect that at895c1 with computer
via communication…..
please give me the code and simulation circuitNishantParticipantcan you also solve my problem
basically i am creating a project
using ir sensor
with 8051so……………….
such that my ir sensor connected to 8051 and withthat
any
so, that when when my ir sensor feel some object
we get update just like(people counter)and i want to connect that at895c1 with computer
via communication…..
please give me the code and simulation circuitNishantParticipantHEY……………………
me too having a project
stuck in ciruit diagram -
AuthorPosts