February 26, 2012 at 7:48 pm #7199kuldeepParticipant
how to measure a speed using IR sensor and interface ir sensor with controller 89c51…April 8, 2012 at 9:28 am #7398Amit kumar meenaParticipant
could you please post the ir sensor with 8051 microcontroller interfacing code.and which software should use. please give a little description. actualluy i have to send signal of ir sensor in laptop and for this i have 8051 , ir sensor and usb to serial converter rs232 .could u plz guide how i work ? actuallly i am trying to work on keil software ..is this a right option ? plz guide ……..April 9, 2012 at 1:29 pm #7404
follow the link
use the LM358 comparator circuit
shown in the linkApril 11, 2012 at 8:14 pm #7416BILAL sadiqParticipant
hi every one i have question
i am using IR led As transmitter and photo transistor as reciever
whein IR is falling on phototransistor nothing is happen (which i actually want)
but when some one passes (break the LED light from IR on to Phototransistor)
IR —> phototransistor—-> 2n2222 —-> an indicatng LED at its collector —-> which is then send to LM339 -ve (inverting) terminal—-> then +ve terminal of :LM339 is then fed (with pull up) to P1^0;
but problem comes over here…
initially the LM 339 output is generating 0V (but with my DMM it is actually showing 1.76V)
then when some one passes LM339 generates 5V (buti with my DMM it is 5.56V)
problem is controller starts incrementing automatically
where i want is that when some pass then controller increment by one
and so on till 99
PLEASE HELP TO PUT DATA FROM LM339 OUTPUT TO P1^0 TO PERFOM FUNCTION
NEED URGENT HELP
REGARDSApril 12, 2012 at 10:26 am #7422OlufemiParticipant
i happen to be working on an automatic vehicle counter as a project in my school using an infrared sensor……i donot know which particular sensor to use, which should detect the vehicle up to a distance of 10m…please helpApril 13, 2012 at 9:17 am #7431
i already uploaded a link that discribes the working of IR sensor
if you are using 8051 micro controller
to diclare the pin as input tha last thing written to the port must be “1”
if you want to make all pins of port1 as in put you need to write P1=0xff;
the sensor you showed in the link may not work properly.use the comparator circuit as shown in the following link which i already posted in previous post
the logic will be as follows
P1=0xff ; // all pins of port1 are diclared as in put
//asume that the sensor is connected to pin P0.0
// assume sensor gives high on detecting an object
if((P1 & 0x01)==0x01) // bit masking to check for only P0.0
P2=0xff; // switches on the LED connected to port2 if the sensor dectects an object
P2=0x00;// LED off
}April 13, 2012 at 9:19 am #7432
if you need a sensor that cam detect up to 10m
you need a ultrasonic sensor
that will be very………………………….. costlyApril 16, 2012 at 4:42 pm #7465shoaib ajmalParticipant
hey kunal . have you completed your project ? i have the same problem. i am making this automatic door controller using 89C51 and infrared. i want to make one pin on 8051 high and low whenever a person comes and IR is interupted .
need help guys .
i am new to this MCU thing . i keep on searching things about interfacing IR sensor with 8051 but didnt get any positive result.April 17, 2012 at 1:17 pm #7471
follow the link
donot use LDR(light dependent resistor)
it is very slow
connect the out put pin of the IR sensor shown in the link to the MCU input
by varing the variable resistor you can alter the range of sensorJanuary 17, 2013 at 3:11 am #8968SigitParticipant
I have problem with my sensor interfacing, my sensor is PIR and I use AT89S52. when I initialize the sensor pin input with high condition for being an input pin, the sensor always detect motion even there is no any acivity in front of every three second. I already used pull up resistor.
thank you,July 3, 2013 at 9:31 am #10088WhateverIOParticipantHey gus,this’s Your new friend from Morocco, latly I come acrosss very intersting project ( for me) which concern monitering number of people inside a particular room and turning the light off automaticly when the number of these peole become equal 0.I did find the circuit on the net without wiring since it cost money to have it, so I am here hoping that you guys help me,this mini electronic project very important to me I need to built in the very short time,please if You find anything to this Adress :Thank You so muchfAugust 5, 2013 at 1:22 pm #10275A.RahulParticipant
hi guys, this is Rahul
very interesting comments from all of you.
I have been working on a similar type of project
and I have stuck at one point.
actually my project is, whenever a car comes between the IR sensor and photo transistor, a message should be sent from the transmitter (which is interfaced with the controller 8051) to the receiver inside the car which has intersected the IR beam,
so to do this ,firstly I need to interface ir sensor with the ADC and then to 8051
so can any one please help me in the circuitry of this interfacing part please??
A.RahulOctober 21, 2013 at 6:42 pm #10544amanParticipant
i need a c code of multi level automatic car parking !! plzzzDecember 25, 2013 at 2:04 pm #10758darshilParticipant
i hv doubt
actly m gng to make railway gate control system
so i dnt no which stepper motor is perfect for my circuit
and which stepper motor cn b connected wid motor driver ic lm293d n my gate wud b of plastic soo which stepper motor cn easily lift it up
and how can i connect my microcontoller’s o/p to stepper motor
plz plz plz rly asap plzJuly 20, 2014 at 6:01 am #11916sandesh giriParticipant
hy i am doing project on ” An Automatic Queue Management System “. I am using ir transmitter and receiver for automatic counting purpose. 38 khz generating tshop is used. i have problem in coding that using comparater( atmega16 microcontroller)output how to increase count of 7 segment display, when to stop and when to use buzzer. Please any onw help me plzzzz. I will be very mch thankful to u.
- You must be logged in to reply to this topic.