Sei sulla pagina 1di 5

Sms Controlled Multipurpose Isolated I/O board 8 output / 4 input

Project code:-E65 Project Cost:- I !:- !s"#$%%%/- &S':- $$%(

With the advancement in technologies in wireless communication many products are available in the market to make the human life more comfortable. One of my friend asked me to design a project for him .His only requirement was to switch ON/O his irrigation pump !which is two km away from his house. " could not find the radio module which could cover this distance #o " decided to design sms controlled project. " used sim$%% gsm module which is readily available in the electronic market. His only requirement was to switch ON/O single pump! and feedback via sms whether the pump has actually switched ON or not. Sms Controlled Multipurpose Isolated I/O board 8 output / 4 input )loc* 'ia+ram

" designed a relay circuit using &'c() microcontroller Which could be switched on by single mis call to the device and can also be switched off by another miscall. "t saves my talktime and money. " used to get the sms from the moter starter contactor panel when it actullay becomes on! that gives me confirmation that the motor is on. *hen it gave me a thought to design the present project which could be used in various application areas depends upon the individual requirement in the field of agriculture !lighting!security!telecommunication!access and safety both industrial!commercial and in residential area. +esigned for control and sensing applications! this project provides & relay outputs and , optically isolated inputs. "t can be used in various applications including load contact closure and e-ternal voltage sensing. .onnection to the isolated inputs and relay outputs is via /pluggable type0 screw terminal blocks *he project presented here is based on world1s most powerful intel1s mcs2() family of microcontroller atmel at&'c()."n this project we are using 3* &'.4%() microcontroller!since this controller has two ports are more than enough for our project 3pplication area5 the project can be used for various application wherever you require control using pc. ) hotel power management 4.street light management $.home automation ,.load shedding (. High voltage grid control 6. "ndustrial automation 7.electro!hydrolic and pneumatic valve control &. 8obotic control and many more 3ll the above operation are possile from the any mobile phone by sms *he circuit is connected to gsm modem through rs4$4 cable to +shall ' pin connectror connected on both sides. ic ma- 4$4 is a level conver ter ic to convert ttl level data to 9)4v and :)4v level for complete details on this ic! refer to manufacturer1s data sheet ;ort $.% is r-d pin to receive data serially and port$.) is to transmit data serially .ircuit is driven by 'v ) 3<; transformer connected to pcon) +iode d)2d, forms bridge circuit c) !c4!c$ and c, are filter capacitors "c) 7&%( is (v regulator ic to give stablised supply to microcontroller=+) =>+ is a power indication led. .rystal gives the necessary clock to micro2controller. diodes d) to d, are power recifire diodes connected in bridge circuit c) is a filter capacitor .input to the bridge rectifire is 'v ) ampere transformer. Out put of the bridge rectifire and capacitor is )4v dc. 3ll our relays are operated by )4v dc. 8elay output can be connected to any 4(%v 7 ampere load.please donot cross this limit other wise you will damage the relay circuit. "c4 is atmel at &'c4%() microcontroller. "t has two ports port) pin number )4 to )' and port $ pin number 4!$!6!7!&!' and )). *his controller has inbuilt uart?universal synchronous!asynchronous receiver transmitter! and pin no 4 is r- pin and pin number $ is t- pin of the uart. *hrough these two pins micro2controller is able to communicate with the ibm pc comport. .ommunication boud rate is '6%% bits per second.

;ort ) controlls all our relays.out put of this port is pulled high through pullup resistors sil arrays?single in line resistor array@ hense the outout of pin no )4 to )' are by default high? at (v logic@ 3== relays stays off on power up. 3ll the relay driver circuits are similar " will e-plain one of then here . A) to q)6 all are npn general purpose transisters. Npn transister will become on when base is high. "f you refer circuit diagram q) base is driven by r$ connected to pin no )4 of the ic4 as this pin is at logic high ! q) is on?conducting@ and it1s collector remains at low logic?transister acts as switch!very low resistance between emitter and collector@!resulting base of the transister is low and transister q4 is in off state?non2conducting@. *o switch on A4! we have to switch off q). *o switch off the q) the program inside the micro2controller must bring the logic at pin number )4 to low logic. q) will become off and q4 base will get high logic through r, and will become ON. relay coil of rl) will get energised as the current will pass through coil ! q4 transister collector and emitter to ground. Normally open contact will close the connection. =oad should be connected to the out put of the contacts on .ON).diode d( connected across the relay coil is to proctect the circuit from the induced emf generated by the relay coil during on/off operation.ld4 ic relay ON indication led r( is a voltage dropping resistor. 3ll the relay circuit works in the same manner. "c$ ma- 4$4 ic is a level converter ic. "B< pc com port is designed for telephone network which works on )4v dc where as our controller logic is at (v we need to convert this data to 9)4 C2)4 logic before it is sent to pc this ic has transreceiver level converter. *ransmitter part convert the **= logic to com port logic and receiver part convert the signals coming from pc to **= level before it is given to micro2controller. 3ll the components connected around this ic is as per the application notes given in the datasheet by the manufacturer.. .apacitor c( and r) gives the required reset pulse to microcontroller..rystal -) along with capacitor c6 and c7 gives the required clock pulse to microcontroller. 8esistances connected to indication leds are current limiting resistors. our isolated inputs are connected through opto couplers ic, to ic7. output of the opto2coupter are connected to p$.4!p$.$!p$., and p$.7 respectively. "n) to in, are connected to the normally open contact of the device?sensor controller@ you want to monitor . when ever contact is made led inside the opto coupler will glow and collector inside will pull the microcontroller pin to logic low! this is the active state of the device. Dou can test this by shorting in) to in, pins by a piece of wire and give command from your computer you will get the proper response as mentioned in the command section. OPE!,-IO *o switch on devices! Dou can send sms to the device as ON)!ON4!ON$ and so on .*% switch off

devices send sms as O or Edevice4 is off 1 etc.

)!O

4!O

$ and so on . to get the response from the actuating device

if connected to the input terminals you will receive sms on your mobile phone like Edevice) is on1 .ommnication between #"<$%% modem and microcontroller takes place via serial port Fsing #im$%% 3* command set. Which can be downloaded from the official #"<.O< site. #ome are given here !can be tried on pc using hyperterminal. #"<$%% 3* .ommand #et #<# commands +emonstration #ynta- >-pect 8esult #et #<# system into te-t mode! as opposed to ;+F mode. 3*9.<G H) OI #end an #<# to myself. 3*9.<G#H09&6)$') &)&----0 J*his is a test 9.<G#5$, OI Fnsolicited notification of the #<# arriving 9.<*"50#<0!) 8ead #<# message that has just arrived. Note5 the number should be the same as that given in the 9.<*" notification. 3*9.<G8H) 9.<G85 /8>. FN8>3+0! /9&6)$')&)&6%&'0! !0%4 /%)/$%!4%5,%5$)9%%0 *his is a test OI 8eading the message again changes the status to /8>3+0 from 0FN8>3+0 3*9.<G8H) 9.<G85 /8>. 8>3+0! /9&6)$')&)&6%&'0! ! /%4/%)/$%!4%5,%5$)9%%0 *his is a test OI

#end another #<# to myself. 3*9.<G#H09&6)$') &)&----0 J*est again 9.<G#5$( OI Fnsolicited notification of the #<# arriving 9.<*"50#<0!4 =isting all #<# messages. Note503==0 must be in uppercase. 3*9.<G=H03==0 9.<G=5 )!08>. 8>3+0!09&6)$')&)&6%&'0! ! /%4/%)/$%!4%5,%5$)9%%0 *his is a test 9.<G=5 4!08>. FN8>3+0!0 0!09&6)$')&)& 6%&'0! ! /%4/%)/$%!4%5,(5)49%%0 *est again OI +elete an #<# message. 3*9.<G+H) OI =ist all #<# messages to show message has been deleted. 3*9.<G=H03==0 9.<G=5 4!08>. 8>3+0! /9&6)$')&)&6 %&'0!0%4/%)/$%!4%5,(5)49%% 0 *est again OI

Potrebbero piacerti anche