man this is a simple project you have to put all your effort towards achieving this . this would help you get more experience to programming and design. anyways i will help you since i have done this before.Can you give a sample code how to program a motor to open and close using PIC microcontroller after getting input from LM35 temperature sensor(too hot and too cold)?and also a sample motor circuit to be connected to the PIC?
hi,nagufever welcome to the forum.
You need to state al least the following:
How big is the dc motor that you intend to use?
1) How much current it will need?
2) Which is the working voltages?
This is the minimum information required before giving you any suggestion.
Alberto
hi,man this is a simple project you have to put all your effort towards achieving this . this would help you get more experience to programming and design. anyways i will help you since i have done this before.
since you want to automate the curtain system. for a prototype just use a stepper motor that runs at 5V connected to Darlington pair transistors that would turn a relay forward and reverse.
a simple micro controller that you can need to use is the 16f876 since it has the ADC converter. what you can do here is that you set the votages to be under stand as temperature that would then turn the motor to open if it is hot else close.
having any problems i will give you my code for my temperature incubator project i did sometime back.
lihle
" every thing is worth a try"
hi,Could you please explain how you would drive a stepper motor using relays?
Alberto
The reason i cave chosen a stepper motor is because some of the curtains has to be opened in steps as in open up for few centimeters to allow little light intensity. its true you can use the DC motor if you want to fully open it when it is cold and fully closed when cold.hi,
doesn't stepper motor is more expensive than DC motor? and below is the block diagram of my project.Can you suggest what improvement i need to make if i use PIC16F876 as the microcontroler?
what you can do you just connect the out put to four drivers whereby you can use Darlignton pair to drive the motor. also you can try to find datasheet for the steeper motor.Could you please explain how you would drive a stepper motor using relays?
Alberto
what the receiver for since you didnot mention it before. if you are using the PIC 16f84 i will give you the code since one of the guys i am with is re-doing that using stepper motor and the pic16f84hi,
doesn't stepper motor is more expensive than DC motor? and below is the block diagram of my project.Can you suggest what improvement i need to make if i use PIC16F876 as the microcontroler?
sorry man i made a mistake you have to use darlignton pair transistor to drive the stepper motor without relays. i got confused with the DC motor that you can use just one transistor to turn the relay which will then turn on the motor.Could you please explain how you would drive a stepper motor using relays?
Alberto
the bluetooh receiver is to open and close curtain in emergency time.does anyone have the cluetooth receiver and transmitter circuit?I tried googled and searching in the net, but it is hopeless.what the receiver for since you didnot mention it before. if you are using the PIC 16f84.
can you give the code and your curtain system circuit?It is because i need to make some minor adjustments to the block diagram.i might be using either PIC16F877,PIC16F628,or PIC16F2550.if you are using the PIC 16f84 i will give you the code since one of the guys i am with is re-doing that using stepper motor and the pic16f84
okay man i will get it for you. but my advice is that if you want to build up an reciever and transmitter. for simple purposes you can use the transmitter from a wireless door chime and the receiver.can you give the code and your curtain system circuit?It is because i need to make some minor adjustments to the block diagram.i might be using either PIC16F877,PIC16F628,or PIC16F2550.
here is the code from one of my friends trying to redo the project i once did. i am doing this since it seems you its urgent. here my friend use a keypad to punch and digit from 1-9 and move the stepper motor in steps.can you give the code and your curtain system circuit?It is because i need to make some minor adjustments to the block diagram.i might be using either PIC16F877,PIC16F628,or PIC16F2550.
can you attach the schematic diagram for your curtain project?i want to compare with mine.here is the code from one of my friends trying to redo the project i once did. i am doing this since it seems you its urgent. here my friend use a keypad to punch and digit from 1-9 and move the stepper motor in steps.
the one file is for transmit- what you can do you can burn the program and the attach a transmitter to remotely send the data.
the othe file is for the receive but currently he is connecting direct wires since he does not have a receiver but the whole system works fine. he is able to open the curtain in four steps.
sorryb there are no comments i didnt have time to put them.
further details you can ask some one to read it for you.
lihle
'trying is what make us who we are'
sorry man i dont keep schematics or picture but what i can do is to explain. one side there is a stepper motor and on th other side a wheel. when the motor is energised it pulls a string that goes through the wheel of the motor and the wheel at the back.the curtains are two and they meet at the center. the string is attached to the curtain using hooks.can you attach the schematic diagram for your curtain project?i want to compare with mine.
nagufever
by Aaron Carman
by Aaron Carman
by Duane Benson
by Jake Hertz