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

Thu Dec 12 2019, 02:07 AM
Robertedism
UK Nike Online Salomon UK
Thu Nov 21 2019, 12:30 PM
raj2555
how to interface 8051 microcontroller with NRF24L01+ module
ExperimenterUK
Sat Oct 12 2019, 10:23 PM
Log in.. then post your code in the 8051 forum
Sat Oct 12 2019, 10:18 AM
Bhadra Sajikumar
i am doing a countdown timer with 8051 for my project, unfortunately our professor had to take a leave of absence before he could teach us most of it.. can someone explain the .asm code of it for me?
Mon Sep 23 2019, 07:37 AM
Nathaniel
I am doing a project for my schools wireless security system with cameras,sensors and spot lights using 8051 micro controller, could you help me out with the design and its source code.
Wed Sep 18 2019, 08:48 PM
Caryn Kover
Thank you for your time,
ExperimenterUK
Mon Aug 05 2019, 07:09 PM
@Ismail ..post in forum, give details
Mon Aug 05 2019, 04:33 PM
Ismail balghmi
Hello. Please I won't download
ExperimenterUK
Wed Jul 24 2019, 12:47 AM
@BUSTER123 Please post in the forum
Tue Jul 23 2019, 06:13 PM
BUSTER123
hello! newbie here. i am kind of a guy who hates using ready - made existing libraries, so this helped a lot as i was trying to control and write to a character lcd display. however, i can't figure out how to set the cursor position. for example, i want to set it to the 5th column in the first row, so position 5. so according to the table, i am sending 10000101 on the 8 data lines of the lcd (register select pulled low). the cursor does not move there however. and i cant move the cursor left or right too. is it something wrong that i am doing? thank you.

Downloads

Comments

nabiha_anaya
Sun Dec 08 2019, 09:16 AM
ananyagupta
Tue Dec 03 2019, 07:53 AM
wells
Mon Nov 25 2019, 08:25 PM
auwal
Tue Nov 19 2019, 03:13 PM
ANKITPATEL
Mon Nov 18 2019, 11:00 AM
Casmir
Wed Nov 13 2019, 06:25 AM
DeepakBGattani
Mon Nov 11 2019, 01:31 PM
Jeanbusatta
Sun Nov 10 2019, 04:42 AM

Online

Guests: 29, Members: 0 ...

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

Members: 38108
Newest member: nabiha_anaya
Forum Activity
ExperimenterUK Avatar
Posted By ExperimenterUK
Tue Dec 10 2019, 04:49 PM
ilylily07 Avatar
Posted By ilylily07
Sun Dec 08 2019, 01:24 PM
Hi .im humbly ask for your advice as i wrongly pur...
nabiha_anaya Avatar
Posted By nabiha_anaya
Sun Dec 08 2019, 09:19 AM
My teacher assign me a project on "voice control h...
ExperimenterUK Avatar
Posted By ExperimenterUK
Fri Nov 29 2019, 04:24 AM
" Is it possible to interface a fingerprint scanne...
ilylily07 Avatar
Posted By ilylily07
Thu Nov 28 2019, 03:50 PM
You will not find any code for an 8051 as no one w...
ExperimenterUK Avatar
Posted By ExperimenterUK
Tue Nov 26 2019, 05:44 PM
You will not find any code for an 8051 as no one w...
ilylily07 Avatar
Posted By ilylily07
Tue Nov 26 2019, 04:13 AM
I tracked down a OV7670 data sheet.The OV7670 puts...
ExperimenterUK Avatar
Posted By ExperimenterUK
Tue Nov 26 2019, 12:08 AM
I tracked down a OV7670 data sheet.The OV7670 puts...
ilylily07 Avatar
Posted By ilylily07
Mon Nov 25 2019, 04:38 PM
The 8051 has too little memory to do anything us...
ExperimenterUK Avatar
Posted By ExperimenterUK
Tue Nov 19 2019, 10:44 PM
The 8051 has too little memory to do anything us...