Discussion in "Project Doubts" started by    LAMBO    Apr 12, 2018.
Mon Jul 02 2018, 08:22 AM
#31
hi sir
as u mentioned in the program i have checked the pin output on pin 12,17,and 39 the waves is all the same and sir i have applied capaictors on output of 7805 as well
link below
https://drive.google.com/file/d/1DgynvYdqbpuDR1c0lYrfjwpV37LLKOs6/view?usp=drivesdk

now what changes should i do ??? to control mine motor perfectly

and sir i have connected transformer its giving perfect 100hz on pin 12
the output voltage of transformer is 12.10 v
i dont have perfect 9v transformer is it ok to work on 12.10 v
Mon Jul 02 2018, 06:20 PM
#32
>is it ok to work on 12.10 v
Yes, that is ok.

>now what changes should i do ??? to control mine motor perfectly

Try the original code again.
You can not control that kind of motor.
Use a light bulb.
Fri Jul 06 2018, 01:33 PM
#33
hi sir
as u told
>Try the original code again
i have tried using mixer motor link below

https://drive.google.com/file/d/1J8khUV37XSPSMA0ylFEOAhb7sW8B-SaV/view?usp=drivesdk

and i have tried using 200 watt bulb as well link below

https://drive.google.com/file/d/1fU5_SDEB-EaofEYV45zcjsLls_iQsaZC/view?usp=drivesdk

sir what should i do ??
can change in the program can control the bulb if yes ?? then what changes should i do
Fri Jul 06 2018, 11:58 PM
#34
Okay..
That motor creates a lot of sparks which might confuse any micro,
It also looks dangerous

Better to use a light bulb. 50- 100 watts should be okay.
Here is a test program.
It uses no timers, buttons or interrupts, so is as simple as possible.
It does still need the input on pin 12.

It should light the bulb in 4 second steps from low to high power,
lighting the led display as it goes , then repeat.

If it does not work ,can you use the scope on the output (pin 39)
and make a video.





Mon Jul 09 2018, 08:14 AM
#35
hi sir
as u mentioned above program i have tried
yellow pin 12 and blue pin 39 link below

https://drive.google.com/file/d/11CFf408hAB90kKPZH4eDKBrbNagpc3ca/view?usp=drivesdk

but sir there is no effect on bulb here i haved used 60 watt bulb but sir its showing waves on pin 39 on oscillscope as it increases as mentioned in video
Mon Jul 09 2018, 06:55 PM
#36
Okay that is very interesting.

I have attached two screenshots.
One shows my Proteus simulation of what the display should look like.

You see one blue pulse (pin 39) for each yellow pulse (pin 12).
On your oscilloscope display, there is one pin 39 for every 3 pulses on pin 12.
We need to find out way.
It looks as if your clock speed is wrong.

What crystal are you using ?

Which micro are you using ?

The pulses on pin 39 should be 1 millisecond wide,what are they ?

There is still a lot of noise on pin 39, I have circled this in red.
So much noise will cause problems.
Please check the 5 volt supply with your oscilloscope to see if it
is noisy.

Do you have Proteus ?


Tue Jul 10 2018, 06:06 AM
#37
hi sir
i have checked now much of the distortion in waves on pin 39 is being removed and bulb is also working fine
but sir i have to control it manually by switches can u send me asm file

>Attachment
motor_speed_control.zip

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

IC:-AT86S52
CRYSTAL:-12MHz
yes i have proteus

and sir i have to desing this for fan what should i do???
Tue Jul 10 2018, 07:20 PM
#38
I assume you meant a AT89S52.

It seems to me that the micro is running at the wrong speed (about 6 MHz)
Check the crystal with your scope.

The pulses on pin 39 should be 1 millisecond wide, how wide are they ?

I would replace the crystal and its capacitors.


>and sir i have to desing this for fan what should i do??
I don't think this controller will make a good speed controller for a fan.
In any case we can't work on that until we have it working.


[ Edited Tue Jul 10 2018, 09:44 PM ]
Thu Jul 12 2018, 06:51 AM
#39
hi sir
as u mentioned above to change crystal and capacitors finally its working fine
and i have burnerd the original program its also working as well
link below
https://drive.google.com/file/d/1-lXDVgWiRw6H0u9Vntb5nAR2RxORBFbP/view?usp=drivesdk

sir i have some query about mine project( ac motor controller)
we can control our ac motor through regulator so whats difference between this project and regulator and advantages ????
Thu Jul 12 2018, 08:27 PM
#40
I'm glad we got there in the end

>whats difference between this project and regulator and advantages ????
Really this project is the same kind of regulator.
One difference is that you made it yourself.. more or less

With a normal regulator you have to be there to turn the dial,
with this project you can control motors or lights remotely
or by computer




Get Social

Information

Powered by e107 Forum System

Conversation

ExperimenterUK
Fri Mar 15 2019, 01:44 AM
We don't send code,but you can ask for help in the 8051 forum
Thu Mar 14 2019, 04:00 PM
Jui Sanjay Kapare
Hello sir, I want code of interfacing DS18B20 with 8051.plz send the code as early as possible
ExperimenterUK
Mon Jan 07 2019, 08:31 AM
@REVOCATUS please post in the AVR forum
Mon Dec 24 2018, 02:25 PM
REVOCATUS MATEMU
sorry I mean referee boards for player substitution
Mon Dec 24 2018, 02:24 PM
REVOCATUS MATEMU
hi am.looking how to build referee by using Atmega 328 and its codes
Sat Dec 15 2018, 06:45 PM
Arslan ayoub
Hii ,, can I get the simulation of numeric keypad lock on proteus
ExperimenterUK
Mon Dec 03 2018, 10:17 PM
Please post questions in the forum. The chat box is for chat
Mon Dec 03 2018, 11:43 AM
help!me!
help! I don't understand busy flag!
Mon Dec 03 2018, 01:01 AM
ile
hello
Mon Nov 12 2018, 10:58 AM
Pavan_user
i have seen your replica of I2C programming using AT89C51 but i am unable to understand the "ack_bit" variable usage ...looks like it is always 1...can you elaborate how acknowledgment is working....

Downloads

Comments

tutu10
Tue Mar 12 2019, 07:11 AM
Raj243
Fri Mar 08 2019, 02:08 AM
bharatsb
Thu Mar 07 2019, 04:34 PM
Yass7
Thu Mar 07 2019, 03:55 PM
mashabed
Mon Mar 04 2019, 11:08 PM
AccelMotion
Tue Feb 26 2019, 06:06 PM
turbovps
Mon Feb 25 2019, 06:26 AM
the_Doker
Thu Feb 14 2019, 02:21 PM

Online

Guests: 46, Members: 0 ...

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

Members: 38052
Newest member: tutu10
Forum Activity
ExperimenterUK Avatar
Posted By ExperimenterUK
Wed Mar 13 2019, 02:32 AM
HiI looked at" Atmel AVR042: AVR Design Considera...
tutu10 Avatar
Posted By tutu10
Tue Mar 12 2019, 07:13 AM
Hi...My firmware upgradable code lock seems to be ...
Yass7 Avatar
Posted By Yass7
Sat Mar 09 2019, 12:52 AM
It's exactly that ! it's my teacher who asked me t...
ExperimenterUK Avatar
Posted By ExperimenterUK
Sat Mar 09 2019, 12:27 AM
As I understand it, you want to use a P89LPC952 /...
ExperimenterUK Avatar
Posted By ExperimenterUK
Sat Mar 09 2019, 12:21 AM
After you get the string what do you want to do wi...
bharatsb Avatar
Posted By bharatsb
Thu Mar 07 2019, 04:40 PM
help me to write code for 8051 to receive string ...
Yass7 Avatar
Posted By Yass7
Thu Mar 07 2019, 03:59 PM
Hello everyone,here I made a 3-axis CNC with 3 ste...
ExperimenterUK Avatar
Posted By ExperimenterUK
Sat Jan 26 2019, 07:19 PM
Yes that helps a lot.At first sight I can't see th...
Rizz Avatar
Posted By Rizz
Sat Jan 26 2019, 06:43 AM
@ExperimenterUK I have updated the post with more ...
ExperimenterUK Avatar
Posted By ExperimenterUK
Sat Jan 26 2019, 02:30 AM
What is your definition of a Palindrome ?The ones ...