![]() Sincethis happens almost instantaneously the relay is under constant pressure fromthe reverse voltage generated by the motor due to sudden seize of power ontothe main winding. If the system is halfwaythrough closing the gate and receives the command from the receiver to open thegate, the relay is activated to reroute power to the secondary winding. This Relay is operatedthrough pin 9 of the Arduino. Once the rerouting is complete the relay switches off and power issupplied to the motor to turn in the opposite direction. The main purpose of thesecond relay is to give the system enough time to reroute the system to powerthe motor without instantly changing the direction at which the motor isturning. Once a command is issuedthe Arduino reroutes power to the motor in order for it to close or open thegate. The Arduino constantlychecks the receiver if it has received any command. This Relay( R2 ) is operatedthrough pin 8 of the Arduino.Ī second relay( R1 ) is used tobreak the circuit in order for the motor to stop if the Arduino receives thecommand from the receiver while the gate is moving. This can be done by sending a 5V signal from the Arduino as the relays used are operating under 5V.īy using two paths topower the motor ensures that power is not provided simultaneously to the Mainand Secondary windings of the motor. The normally open path is closed when the coil inside the relay is energized. The Normally open path isused to power the Secondary winding of the motor. This was chosen to ensure thatwhen the system was reset or if something went wrong in the system, the motorwould ensure that the gate was kept closed at all times. The Normally closed pathis used to power the Main winding of the motor. ![]() The relay has two contactpoints Normally open and Normally closed. Step 3 : Using relays to control the motor As soon as the gate reaches oneend the limiter switch is triggered which opens the circuit and stops the main’s from supplyingpower to the motor. The mains power isprovided to the motor through a limiter switch. This ensures that the motor has adequate starting torque. Note: Make sure that the starter capacitor is connected properly and functioning. This indicated that I supplied power to Main Winding of the Motor. Next, I connected the Live terminal to the red wire, which made the motor turn in the forward direction. I was able to identify the Neutral wire easily as it was blue in color which is a standard color used to indicate the Neutral terminal. In my case, I was working with a 220~240VAC motor. ![]() Usually the wires are not labelled and this can be identified with trial and error by supplying AC power to the wire. It is necessary to identify which wire corresponds to which winding. In order for the motor tomove in the opposite(open) direction, the Secondary winding should be connected tothe main’s power. In order for the motor to move the gate in theforward(close) direction, the Main winding should be connected to the main’s power. The configuration to powerthe motor is shown below. Once this ID is recieved by the 433MHz reciever, it sends a signal to the Arduino which controls the Relays to power the motor. The transmitter operates on two channels, where each channel has its on unique ID. The Arduino constantly listens to a set response from the transmitter, in this case it is the remote used to open or close the gate. The system creates a method of powering the gate's motor when required and to decide whether to open or close the gate. The main aim of this project is to utilize a dead sliding gate with a functioning AC motor and automate the system using an Arduino, a couple of relays, a 433MHz reciever, a 433MHz transmitter and some crafty electrical skills. In this project I utilize the power of Arduino to create a circuit to power a sliding gate.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |