Forum Replies Created
-
AuthorPosts
-
Jaymin DParticipant
Hello,
but first you should define the H/W because code is always made according to H/W.
which pin you connect sensor ??
Which type of M/C you used ??
all these tings matter so , please request to you that define some basic block diagram and then consider it.
Hope you get my point.
email : project [dot] student123 [at] gmail [dot] com
Best luck
Jaymin D
Jaymin DParticipantHello,
Ya its ok but we can get o/p in cm, mm, and inch by change the timer and delay setting.
So its not a perticuler type that this is for cm and this is for mm
We get o/p in form of cm, mm from any type of ultrasonics sensors…
Thanks
Regards
Jaymin D
Jaymin DParticipantHello,
First of it depend on the sensor which type you used..
mean there are two types one without analog output and one with inlcude
and most imp thing is that ultrasonice is work on timing sequence mean timing frame and delay is very much imp in sensor to activate it, start to take data conversation and get output all for these dealy must be imp.
so please can you tell me which type of sensor you used ??
then I get some idea and we can move forward..
1.HC-SR04 (point 3 is imp for us)
1. Working Voltage : 5V(DC)
2. Static current: Less than 2mA.
3. Output signal: Electric frequency signal, high level 5V, low level 0V.
4. Sensor angle: Not more than 15 degrees.
5. Detection distance: 2cm-450cm.
6. High precision: Up to 0.3cm
7. Input trigger signal: 10us TTL impulse
8. Echo signal : output TTL PWL signalI write below its working if you have this kind of sensor then,
1.Adopt IO trigger through supplying at least 10us sequence of high level signal.
2.The module automatically send eight 40khz square wave and automatically detect whether receive the returning pulse signal.
3.If there is signals returning, through outputting high level and the time of high level continuing is the time of that from the ultrasonic transmitting to receiving. Test distance = (high level time * sound velocity (340M/S) / 2.2.HC-SR05 (generally not use)
1) Voltage : DC5V
2) Static current : less than 2mA
3) level output: high-5V
4) level output: the end of 0V
5) Sensor angle: not more than 15 degrees
6) Detection distance: 2cm-450cm
7) High precision: up to 0.3cmso please provide me some detail that I can help you.
Also you buy any components at very low cost from me..I made project only for students at very very low cost..
HC-SR04 – 340 Rs
HC-SR05 – 400 Rs
If any kind of h/w or s/w related problem of 8051 u can ask me..
email : project[dot]student123[at]gmail[dot]com
just google about “DABHI ELECTRONICS”
and go to electronicsproject website..
best luck
Regards
Jaymin D
-dabhi electronics
July 15, 2014 at 5:53 am in reply to: Help on RFID Toll plaza system based on vehicle category interface with 8051 microcontroller (AT89C51) #11906Jaymin DParticipantHello,
I made this type of project by myself with completely running mode and coding and circuit by my self.
i.e. for car it deposite toll 30 Rs.
for truck / bus toll is 50 Rs.
very hevy vehicle toll is 100 Rs.
Its show these on LCD 16×2 with IC AT89S52 and EM – 18 RFID reader.
Complete project is ready with 2200 Rs. with 3 catagory vehicle..(mean 3 RFID card)
also I made project on 8051 so if you unterested in this just mail me or msg me if I can help you in this issue.
email : project[dot]student123[at]gmail[dot]com
or just google the DABHI ELECTRONICS and go to electronics project[dot]webs website..
Really it very very low cost..
Also if you want any support in h/w or s/w related of 8051 then you can ask me and also for buy any components at very very low cost.
Thanks
It may be helpful to you
Best Luck
Regards
Jaymin D
Jaymin DParticipantHello,
every one
few new thing about h/w and s/w
just try it it may be useful to all who have LCD problem
1. if u connect LCD with PORT 0 then connect 10K pull-up resistors with M/C
2. connect pin no. 5,1,16 of LCD to GND
3. connect pin n0. 2,15 to +ve 5 V
4. connect excet 10K variable resistor / pot / trimmer as middle pin with pin no. 3 of LCD
below is the sample code for display ” 16×2 character LCD ” on LCD screen
LCD is connect with PORT 2 and RS at pin 1 and EN at pin 2 of PORT 1 and RW is GND in my below code..
just assume this code and you also edit it as per your requriment..
#inclde<REG51.h>
#include<stdio.h>
#defoine lcd P2
sbit rs = P1^0;
sbit en = P1^1;
void cmd(unsigned char value)
{
lcd=value;
rs=0;
en=0;
en=1
}
void data(unsigned char value)
{
lcd=value;
rs=1;
en=0;
en=1
}
void main()
{
unsigned char a[]=”16×2 character LCD”;
unsigned int i;
cmd(0x38);
cmd(0x01);
cmd(0x06);
cmd(0x0E);
cmd(0x80);
for(i=0;a!=’