Discussion in "Project Doubts" started by    LAMBO    Apr 12, 2018.
Thu Apr 12 2018, 06:51 PM
#1
hii sir,
I am working on ac motor controller .I have connected circuit as per given circuit diagram but sir instead of this
sbit led1 = p3^7;
sbit led2 = p3^6;
rest all led are glowing
and sir i don't get output on optocoupler as well
and sir innstead of 9v transformer I have used 9 volt battery as input.
plz help me out
is something wrong with program code..
Fri Apr 13 2018, 02:09 AM
#2
I assume you are doing this project.
http://www.8051projects.net/download-d238-single-phase-ac-motor-speed-controller-project-report.html

In that case it will not work if you replace the 9v transformer with a battery.
The transformer provides a timing signal.

The LEDs should still change when you press the buttons.
Have you got a serial connection to your PC ?
Mon Apr 16 2018, 06:39 AM
#3
Hi sir
i haven't connected any serial connection to pcb to pc i am controlling my speed of motor by means of switch sw2 and sw3
sir isn't any problem if i control my speed of motor by means of switch sw2 and sw3 ?? and sir how a transformer can provide a timing signal ?

Mon Apr 16 2018, 08:49 PM
#4
On the diagram, a diode feeds a rectified sine wave to R1.
The circuit feeds a signal to P3.2 (INT 0) at the low point.
This pulse is needed to time the output on P0.0

Using a battery you will not get an output on P0.0
but you should still see the LEDs on port 2 change
as you press buttons SW2 and SW3

>Sir isn't any problem if i control my speed of motor
>by means of switch sw2 and sw3 ??
No problem, I ask because a serial link can be useful for testing.
It is easy to add with a USB/Serial adapter.

The 240 volt circuit seems close to the low voltage side.
240 volts can kill.

Move the 240 volt circuit and MOC3011 to a separate board.


[ Edited Mon Apr 16 2018, 10:25 PM ]
Fri Apr 27 2018, 05:33 PM
#5
Hi sir

       I have connected circuit as per given circuit diagram every thing is working fine and mine optocoupler is showing ouptut as well but sir mine fan is not showing any response even though i am pressing increment and decrement switch and i am using exhaust fan and in snubber circuit i have kept  R value as 390 ohm and C value is 103/1kw and sir i have also connected 200 watt bulb in place of exhaust fan but its same it also not showing any response
Fri Apr 27 2018, 08:03 PM
#6
Using a light bulb is a good idea.

Disconnect the mains side of things while testing.

Fit an LED in place of the control side of the MOC3011.
That is.
Disconnect the MOC3011 and put an LED between the 220ohm
resistor and the 8051 pin 39. (port 0.0)


It should turn on and off and vary in response to to buttons.

Do the indicator LEDs change as expected ?




[ Edited Fri Apr 27 2018, 08:08 PM ]
Sat Apr 28 2018, 08:00 AM
#7
Hi sir
as u told i have connected led between 220 ohm resistor and pin 39 and the led turn on and off and vary in response to buttons as expected
Sat Apr 28 2018, 08:33 PM
#8
If the LED is turning on and off and varying, then the fault is
on the mains side.
Does the light turn on and off when connected to the micro ?
If it is always on, you have a faulty triac, or your wiring
is wrong.
Mon Apr 30 2018, 10:33 AM
#9
Since we are in india working output is 240VAC and 50HZ. I tried moc2021 with BT136 as following connections. Fan is getting on without any firing of triac. Also the 460 Ohms resistance heats up.

Mon Apr 30 2018, 06:48 PM
#10
You say you used a MOC2021, I can't find a data sheet , is it a MOC2021 ?

Okay.. so current is flowing to the motor ,we need to find out how.
First change the motor to a light bulb, say 100Watts. it will give a better idea of how
much current is flowing.

Is it full brightness ?
Next remove the opto-isolator.
Any change ?
Remove 360 ohm resistor and 0.05Uf cap
Any change ?
Remove BT136.
Report back.

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: 34, 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...