Discussion in "Project Doubts" started by    LAMBO    Apr 12, 2018.
Thu Jun 21 2018, 02:13 PM
#21
hi sir
can we change the frequency on pin no 39 of IC at89s52 in oder to get desire frequency in output
i have a link related with mine project down below

https://drive.google.com/file/d/1iA7O6iQiUbyGgJPesdhbmCXT-H-KUuod/view?usp=drivesdk

Thu Jun 21 2018, 10:49 PM
#22
The frequency of the pulses has to be the same as mains, that is 50Hz.
What you want to change is the time between the start of the new cycle
and the pulse from pin 39.

From what I see the timing is way out.
I suspect the problem is with the signal on pin 12 ( P3.2.)
Without an oscilloscope it will be hard to test.

Connect a 1K resistor in series with a small loudspeaker. (transistor radio sized)
With long leads and crocodile clips it is a useful tester.

Disconnect the mains lamp.

Connect the speaker between pin 12 and ground.
Do you hear a faint buzz ?

Then connect the speaker between pin 39 and +5volts.
You should get a similar buzz, but the volume should vary
as you change the speed.


Mon Jun 25 2018, 02:19 PM
#23
hi sir
as per circuit diagram i have checked the frequency it was about 100hz at pin no 12 and the fan was rotating only at level 8 and otherwise it remains ideal

but sir i have manually changed the frequency at 25 hz on pin no 12 its working fine

link below
https://drive.google.com/file/d/1QHlfGgxy97DJIilmBq8vQgIsXruYwCoG/view?usp=drivesdk

sir can u let me know how can i change frequency at pin no 12 by changing program or hardware if yes then how???
Tue Jun 26 2018, 06:03 AM
#24
This kind of circuit will never be able to properly
control the speed of the motor/fan you have.
Use a light bulb for now.
Please repeat your test with the original connections to pin 12.
Monitor pin 12 and pin 39 on your oscilloscope to compare input and output.
I would set both channels to DC.
I look forward to seeing the video.

Wed Jun 27 2018, 05:23 AM
#25
hi sir
i have connected circuit originally as mentioned and sir i get frequency about 136-148 hz on pin no 12

yellow line is for pin 12 and blue is for pin 39 on osilloscope
link below
https://drive.google.com/file/d/19tLYL-dLw_rJuffduzZRSkjEqPLkuiuj/view?usp=drivesdk
Wed Jun 27 2018, 10:10 PM
#26
Interesting video.
>i get frequency about 136-148 hz on pin no 12

That is very odd it should be 100Hz (or 120 HZ if your local supply is 60Hz)
Can you check that again.
What power supply are you using ?

Are you sure the signal is actually reaching pin 12, is there any chance of a dry joint
on the socket ?
From the video it seems you only get a pulsed output on the top two settings
is that correct ?

There seems to be a lot of noise on the scope display.
This circuit has poor smoothing, which could cause the misfiring.
Add a 0.1uF ceramic and a 100uF (or bigger) electrolytic capacitor to the output of the
5 volt regulator.

Attached is some very simple test code.
It just copies the input on 12 to the outputs on pin 39 and 17
so all three should be the same.


[ Edited Wed Jun 27 2018, 10:16 PM ]
Fri Jun 29 2018, 09:15 AM
#27
hi sir
i have changed the input supply finally its giving me an 100-103 hz on pin no 12
but sir waves on oscilloscope of pin 39 comes only on 7 and 8 level of bar graph led
yellow line is for pin 12 and blue is for pin 39
link below
https://drive.google.com/file/d/1QSFZ9QhzZoClIW_olhRpOmjchegsdhEt/view?usp=drivesdk
Fri Jun 29 2018, 07:49 PM
#28
>i have changed the input supply
Do you mean you have added the capacitors I asked you to ?

Try the program I posted last time.
Sat Jun 30 2018, 02:58 PM
#29
hi sir
no sir i haven't connected any kind of capacitors instead of that i have changed the input power supply its giving me perfect 100hz on pin no 12
now do u want me to added capacitor ????? yes or no??

and sir i haven't tried the program yet now
Sat Jun 30 2018, 09:00 PM
#30
Yes, add a 0.1uF ceramic and a 100uF (or bigger) electrolytic capacitor to the output of the
5 volt regulator.

Get Social

Information

Powered by e107 Forum System

Conversation

shshistiem
Thu Sep 13 2018, 04:28 AM
hii!! some1 please let me know how i ll get rfid code to 8051 by WEIGAND mode
DrNossberg
Wed Sep 12 2018, 01:39 AM
is there anyone here?
Mon Aug 27 2018, 01:00 PM
bun
Hello everyone´╝ü
Sat Jul 21 2018, 11:51 AM
Dibakar Bhanja Chowdhury
By using a 555 timer how can I expand the range of the mobile phone jammer? Please reply me asap
Sun May 20 2018, 03:31 PM
justinb
how to write and execute a program that read the keypad button and display the number on 7 segment on intel8051 at89s52 in assembly language?
Thu May 17 2018, 12:06 PM
HAMZA TAJ
sir iwant to ask about controller of three phase supply by using back to back thyristor instead of triac....will u give me some guideline?
Sat Apr 28 2018, 06:24 PM
ashutosh jain
IR Remote Switch using TV remote (RC5 Protocol) is not working properly. opp1 & opp2 is in problem.plz help
ExperimenterUK
Sat Apr 28 2018, 01:39 AM
@kaiserslautern Post in forum
Wed Apr 25 2018, 12:39 PM
kaiserslautern
Hello everyone, using software uart is a very good idea for a second serial port. Thank you so much. I would kindly like to know how to connect this port to the PC?
ExperimenterUK
Sun Apr 22 2018, 01:20 AM
This is a community site. Feel free to help anyone needing advice

Downloads

Comments

PCBindex
Fri Sep 14 2018, 02:45 AM
sirkit
Thu Sep 13 2018, 04:46 AM
shshistiem
Wed Sep 12 2018, 10:36 PM
DrNossberg
Tue Sep 11 2018, 03:25 PM
ranjanvh
Thu Sep 06 2018, 02:28 PM
rbbhamre
Tue Sep 04 2018, 06:15 PM
Tressie
Sun Sep 02 2018, 02:20 PM
Sudhansudeep
Fri Aug 31 2018, 08:26 AM

Online

Guests: 46, Members: 0 ...

most ever online: 182184
(Members: , Guests: 182184) on 06 Aug 2010: 05:37 AM

Members: 38006
Newest member: PCBindex
Forum Activity
ExperimenterUK Avatar
Posted By ExperimenterUK
Thu Sep 13 2018, 08:39 PM
First of all, by reading your reply, I abandoned m...
DrNossberg Avatar
Posted By DrNossberg
Thu Sep 13 2018, 03:49 PM
Hi, thanks you for your reply ^^ First of all, by ...
ExperimenterUK Avatar
Posted By ExperimenterUK
Wed Sep 12 2018, 12:12 AM
HiThere are several issues here.The original 8051 ...
DrNossberg Avatar
Posted By DrNossberg
Tue Sep 11 2018, 08:08 PM
Hello everybody!First of all let me explain some s...
ExperimenterUK Avatar
Posted By ExperimenterUK
Fri Sep 07 2018, 05:08 AM
The compiler thinks the micro doesn't have enough...
Sudhansudeep Avatar
Posted By Sudhansudeep
Fri Sep 07 2018, 02:59 AM
this is the build output message
Sudhansudeep Avatar
Posted By Sudhansudeep
Fri Sep 07 2018, 01:38 AM
Change the mobile number as [number removed] in t...
ExperimenterUK Avatar
Posted By ExperimenterUK
Thu Sep 06 2018, 08:56 PM
I don't know what the problem is, I get no errors....
Sudhansudeep Avatar
Posted By Sudhansudeep
Thu Sep 06 2018, 01:12 PM
the code is Attachment ...
Sudhansudeep Avatar
Posted By Sudhansudeep
Thu Sep 06 2018, 12:48 PM
the code is same as u sent me for 16 chars