You are on page 1of 3

Descriptionofrequirements/thoughtsofcircuitdesign. Inbrief:Wewilluse4inputstotriggeranoutputof24VDC.Whenanyoftheinputsareactive, outputisactive(alogicalORgate). Thecircuitwillhaveinputofwaterdetection.Whenwaterisdetected,theoutputwillalwaysbeoff. Inaddition,andaudibleandvisiblealarmwillbeset.Audiblealarmcanbeshutoffwhenpressinga button,butwillreengageafter60minutesorifthewatersensorhasbeenlowinthemeantime. DETAILS: Inouropinion,amicrocontrollerissuitableforthispurpose.Sincetheinputsmustbeelectrical isolatedfromthecircuit,andthevoltagethatshouldbesensedvaries,4optocouplersmightbethe bestsolution.2oftheinputswillbefedwith230VAC,andtheremainingtwomustbeabletohandle both12and24V.Inthedrawingwehave2resistorsforeachinput,givingusthepossibilityto connecttheinputstoeither12or24V.Noneoftheinputsneedstobesecuredviafuse.Allinputs haveasmallledtogivevisiblecontrolthatpowerisgoingintotheoptocoupler. ByusingGoogle,wehavefoundaschematicforawaterdetectorthatusesaPICmicrocontroller,but hasnoknowledgeaboutitsfunctionality.

Ifitcanreliablebeusedasdrawnthanthisisanoption, butpossiblyanamplificationwithsuitabletransistorsisnecessary. Theoutputof24VDCmustbeabletodeliver0.5A.CanaMosfetbeusedforthis?And,sincethe loadisinductive,suitableprotectionagainstbackEMFmustbeprovided,andalsoafuse. Indicationofwaterdetected,shouldbeshortbeepswith510secondsinterval,andablinkingLED. Bypressingaquietbuttontheaudiblealarmwillshutoff,butvisibleremains.Theaudiblealarm shallreactivateafter60minutes,orifthewaterdetectorhadbeenlowandthenhighagain(ie:no watersensed,andthenwatersensedagain). WhendesigningthePCB,thanpowertothecircuitandoutputcanbeexternal.Connectionsforinput canbeviascrewterminalonthepcb,thisalsoincludeswaterprobes,andoutput.Adequatedistance between230VandlowvoltageasrequiredbyEuropeansafetystandards.Quietswitchmustbe accessibleviaenclosure,buttheswitchitselfcanbeonthepcb,butwithenoughdistanceto230V connections. Forthe12/24voltinput,atreewayterminalisideal.Notethatinuse,therewillonlybeeither12or 24voltononeinput,neverbothatthesametime.Despitethattheinputwillbebytechnician, maybeaprotectionagainstwrongpolarityisnecessary. Onthedrawing: 1&2:Optocouplersfor230Vinput. 3&4:Optocouplersfor12/24Vinput 5:Microcontroller 6&7:Currentlimitingresistor,ledanddiodeforthe230VACinput 8&9:Currentlimitingresistorsforboth12and24input,withled. 10:Waterprobe(watersensingelectronicsnotdrawn) 11:Quietbutton

12:Buzzer 13:WateralarmLED 14:Outputcircuit.24VDC0.5Aoutputintoinductiveload.Fusedandprotectedagainstbackemf. 15:Powersupplyforcircuit.Input24VDCregulatedfromexternalpowersupply. NOTE:Nogroundconnectionsareshowninthedrawing.

7 Untested water detection drawing for use on PIC

15 14

IN/OUT IN/OUT IN/OUT

IN/OUT IN/OUT IN/OUT 5 IN/OUT IN/OUT IN/OUT

13

IN/OUT IN/OUT IN/OUT IN/OUT

12

4 11

10

Buy SmartDraw!- purchased copies print this document without a watermark . Visit www.smartdraw.com or call 1-800-768-3729.

You might also like