63
Forum Digital Design and Programming Microcontrollers [SOLVED] 74LS74 D flip flop state changing automatically 74LS74 D flip flop state changing automatically Part & Inventory Search Welcome to EDABoard.com Threads Without Replies [ Unanswered Posts ] Why do VR's need a Load Line (LL) to power hiigh performace CPU's I was wondering ; What is the purpose for using a LL to power high performance CPU's ( i.e. as per Intel's VR12.5 Spec) , and how/why is the "Active Transient Compensator" used for in VRM's ? Posted By nebo123. Today 06:16 in Power Electronics making power bank with 18650 power bank related circuits are very less in net . decided to make one my 18650cells i bought 3year back never used ...but they showed 3.7V when tested ! I kept for 10hour charge... the... Posted By onoffman. Today 05:49 in Power Electronics Unable to establish communication with target DS89c450 I have connected my DS89c450 up and finally have begun to get somewhere! now though, I keep receiving the following error when attempting to connect with MTK2. Has anyone hit it before and how would... Posted By TheSoundMan. Today 01:43 in Microcontrollers microSD cards with more pins under hidden pad? Hello, I do not know if this is the right thread to post this but some of my microSD cards have more pins under a sticky pad at their base. These are widden under this pad, but if the pad is removed... Posted By neazoi . Today 01:30 in PC Programming and Interfacing DC Motor Speed and Direction Control Using PIC Microcontroller This is a simple circuit for controlling an 12V DC motor speed and rotation direction using PIC16F877A microcontroller. As shown on the circuit schematic diagram there are 3 buttons two for... Posted By Okba_. Yesterday 18:11 in Show your DIY User Name Password Log in Remember Me? Resend activation? Lost password? Register Activity Stream Search Help Rules Groups Albums Blogs What's New? New Posts Unanswered Posts FAQ Forum Actions Community Quick Links Advanced Search + Post New Thread Results 1 to 20 of 24 Page 1 of 2 1 2 Last LinkBack Thread Tools Search Thread 3rd April 2014, 17:27 74LS74 D flip flop state changing automatically Hello, I have a casca ded D flip flop circuit . Sche matic attach ed. I am sendin g the data and clock pulse from a PIC micro contro ller. What #1 Join Date: Location: Posts: Helped: Points: Level: Feb 2013 India 42 0/0 577 5 RohanDey Member level 2 Forum

[SOLVED] 74LS74 D Flip Flop State Changing Automatically

Embed Size (px)

DESCRIPTION

kj

Citation preview

  • 6/13/2015 [SOLVED]74LS74Dflipflopstatechangingautomatically

    http://www.edaboard.com/thread313125.html 1/63

    Forum DigitalDesignandProgramming Microcontrollers[SOLVED]74LS74Dflipflopstatechangingautomatically

    74LS74Dflipflopstatechangingautomatically

    Part&InventorySearch

    WelcometoEDABoard.com

    ThreadsWithoutReplies

    [UnansweredPosts]WhydoVR'sneedaLoadLine(LL)topowerhiighperformaceCPU'sIwaswonderingWhatisthepurposeforusingaLLtopowerhighperformanceCPU's(i.e.asperIntel'sVR12.5Spec),andhow/whyisthe"ActiveTransientCompensator"usedforinVRM's?PostedBynebo123.Today06:16inPowerElectronics

    makingpowerbankwith18650powerbankrelatedcircuitsareverylessinnet.decidedtomakeonemy18650cellsibought3yearbackneverused...buttheyshowed3.7Vwhentested!Ikeptfor10hourcharge...the...PostedByonoffman.Today05:49inPowerElectronics

    UnabletoestablishcommunicationwithtargetDS89c450IhaveconnectedmyDS89c450upandfinallyhavebeguntogetsomewhere!nowthough,IkeepreceivingthefollowingerrorwhenattemptingtoconnectwithMTK2.Hasanyonehititbeforeandhowwould...PostedByTheSoundMan.Today01:43inMicrocontrollers

    microSDcardswithmorepinsunderhiddenpad?Hello,IdonotknowifthisistherightthreadtopostthisbutsomeofmymicroSDcardshavemorepinsunderastickypadattheirbase.Thesearewiddenunderthispad,butifthepadisremoved...PostedByneazoi.Today01:30inPCProgrammingandInterfacing

    DCMotorSpeedandDirectionControlUsingPICMicrocontrollerThisisasimplecircuitforcontrollingan12VDCmotorspeedandrotationdirectionusingPIC16F877Amicrocontroller.Asshownonthecircuitschematicdiagramthereare3buttonstwofor...PostedByOkba_.Yesterday18:11inShowyourDIY

    UserName Password Login

    RememberMe?

    Resendactivation?Lostpassword?Register

    ActivityStream Search Help Rules Groups Albums

    Blogs What'sNew?NewPosts UnansweredPosts FAQ ForumActions Community QuickLinks AdvancedSearch

    +PostNewThread

    Results1to20of24

    Page1of2 1 2Last

    LinkBack ThreadTools SearchThread

    3rdApril2014,17:27

    74LS74Dflipflopstatechangingautomatically

    Hello,

    IhaveacascadedDflipflopcircuit.Schematicattached.IamsendingthedataandclockpulsefromaPICmicrocontroller.

    What

    #1

    JoinDate:Location:Posts:Helped:Points:Level:

    Feb2013India420/05775

    RohanDeyMemberlevel2

    Forum

  • 6/13/2015 [SOLVED]74LS74Dflipflopstatechangingautomatically

    http://www.edaboard.com/thread313125.html 2/63

    Sponsor

    NewReplies

    EENews,TipsandResources

    RecentlyUpdatedGroups

    ModulatingRMSvaluewithPWM(16)convertfrombitstreamtovhdl(5)RFIDbandwidthat6.8GHz?(6)ThermalAnalysisOfPottedElectronics(1)BGAPackageReballingGuidance(2)howtomakepositiveandnegativevoltageandhighcurrent(2)Drivingvaricapwithhighvoltagegeneratesharmonics.(7)HowToshare.hand.cppfiles?(2)FullydifferentialFoldedCascodeopampbiaswithPMOSInputs(5)[AVR/ARM]Requestinghelpinwritingcodetoenablesingle,doubleclick&hold.(4)Ringingintheedgesofaquarewave(29)TransformerlessInverterDesignDiscussion(11)selectiveRextractionwithCalibre(1)Lookingfor434MHzreceivercircuit(1)MyClapSwitchisnotworking(2)helpmewithavirtualgroundcircuitdesignforlargecurrent(22)PIC10F220RCfilterfirstorderbynumericalsimulationinthemicrocontroller(61)ClassEandClassFAmplifier(6)CANprotocolcommunicationtypequery(2)Delaybetweentwopulses(3)singlephaseinverter(4)DifferenceinupdatingoutputvalueofanFFandalatchinverilog(2)Singlelcdusagenotcountingcorrectly(7)DemonstrationofFerrantiEffectintransmissionline(5)HFSSphasereference(1)

    SynchronousSRAMFamilysportsOnChipErrorCorrectingCod5/28/2015NucleusRTOSaimstowearIoTwell5/19/2015Digitalsignalcontrollersaddresspowersupplychallenges5/19/2015

    happensis,whenthedataandclockpulsesaresenttheledsglowproperlyasexpected.Butafteraminuteortwo,theflipflopstatesgetchangedautomaticallyandtheledsalsoglowsaccordingly.

    Iamnotsendinganydataclockpulseafterthefirstone.Butstilltheflipflopsgetschang

  • 6/13/2015 [SOLVED]74LS74Dflipflopstatechangingautomatically

    http://www.edaboard.com/thread313125.html 3/63

    Sponsor

    TopHelped/Month

    TopPosters

    TopExperiencePoints

    DFT,RFDesignSolutions,VLSIJobsWorldWide,VLSI&DESIGNTECHNOLOGY,PVTVariationsinICDesign,RFcircuitsandsystemsdesign,IndiaVLSIGroup,VLSI,VLSIPDdiscussion,VLSIOpenings,India

    FvM(60),betwixt(26),KlausST(24),Warpspeed(19),milan.rajik(16)

    FvM(31228),alexan_e(11479),keith1200rs(10885),bigdogguru(8919),IanP(7943)

    FvM(187488),IanP(160151),bigdogguru(59679),tpetar(54409),tsb_nph(53644)

    ed.

    Pleasehelp!

    ReplyWithQuote

    3rdApril2014,18:05

    Re:74LS74Dflipflopstatechangingautomatically

    Noisepulses(egESD)onlongwiresontheoutputorgroundcanfeedbackinternally.Decouplingcapsonchipsareessential,sometimesabuffer,althoughthetransistoroughttoactasabuffer.SoMy

    #2

    JoinDate:Location:

    Posts:Helped:Points:Level:BlogEntries:

    Sep2007RichmondHill,ON,

    Canada4,4871100/110022,852367

    SendamessageviaSkypetoSunnySkyguy

    SunnySkyguySuperModerator

    Achievements:

  • 6/13/2015 [SOLVED]74LS74Dflipflopstatechangingautomatically

    http://www.edaboard.com/thread313125.html 4/63

    guessisconductedorradiatednoiseonlongwires.

    Thebest

    questiondeserves

    abetteranswer.

    Toshow

    appreciationuse

    helpedme&

    [solved]Ifyoudon't,whatdoesthatsay

    aboutyou?

    ...TonyStewart

    EEsince1975

    ReplyWithQuote

    3rdApril2014,19:15

    Re:74LS74Dflipflopstatechangingautomatically

    #3

    JoinDate:Location:Posts:Helped:Points:Level:

    Feb2013India420/05775

    RohanDeyMemberlevel2

  • 6/13/2015 [SOLVED]74LS74Dflipflopstatechangingautomatically

    http://www.edaboard.com/thread313125.html 5/63

    Yes,Iamusinglongwires,about4incheslong,fordataandclock.ActuallymyPICisonanEVKandtheflipflopsareonabreadboard.

    SodoyousuggestthatIputallthethingsonaPCBandthentry?Whataboutdecouplingcaps?ShouldIusethem?WhereshouldIconnectthem?

    Thanks

  • 6/13/2015 [SOLVED]74LS74Dflipflopstatechangingautomatically

    http://www.edaboard.com/thread313125.html 6/63

    ReplyWithQuote

    3rdApril2014,19:22

    Re:74LS74Dflipflopstatechangingautomatically

    atleastoneceramic0.01to0.1uFistypical.closetochipsfromacleansupply,thenbewareoftransientenvironmentalnoiselikeweldersorlinenoiseortriacdimmers.IFthereisradiatednoise,twistedpairhelpsreduc

    #4

    JoinDate:Location:

    Posts:Helped:Points:Level:BlogEntries:

    Sep2007RichmondHill,ON,

    Canada4,4871100/110022,852367

    SendamessageviaSkypetoSunnySkyguy

    SunnySkyguySuperModerator

    Achievements:

  • 6/13/2015 [SOLVED]74LS74Dflipflopstatechangingautomatically

    http://www.edaboard.com/thread313125.html 7/63

    edifferentialnoise,but4"isfairlyshort.ISthisbatteryoperated?

    Whenindoubt,alogicprobeorscopeprobewithashortgroundleadandmanualtriggerissometimesneededtofindthesourceofspuriousnoise.Bewareofsourceimpedancesandstraycouplingofmagneticorelectricfieldimpulsesordyna

  • 6/13/2015 [SOLVED]74LS74Dflipflopstatechangingautomatically

    http://www.edaboard.com/thread313125.html 8/63

    micloads.

    Thebest

    questiondeserves

    abetteranswer.

    Toshow

    appreciationuse

    helpedme&

    [solved]Ifyoudon't,whatdoesthatsay

    aboutyou?

    ...TonyStewart

    EEsince1975

    ReplyWithQuote

    3rdApril2014,19:22

    3rdApril2014,19:40

    Re:74LS74Dflipflop

    #5

    JoinDate:Location:

    Feb2013India

    RohanDeyMemberlevel2

  • 6/13/2015 [SOLVED]74LS74Dflipflopstatechangingautomatically

    http://www.edaboard.com/thread313125.html 9/63

    statechangingautomatically

    Noitisnotbatteryoperated.Iamusingatransformerbasedlinearpowersupply.Iwilladdthecapsandcheckwhathappens.

    Posts:Helped:Points:Level:

    420/05775

    ReplyWithQuote

    4thApril2014,11:45

    Re:74LS74Dflipflopstatechangingautomatically

    HelloSunnySkyguy,

    Itriedwithceramiccapsof0.1uF.Iconne

    #6

    JoinDate:Location:Posts:Helped:Points:Level:

    Feb2013India420/05775

    RohanDeyMemberlevel2

  • 6/13/2015 [SOLVED]74LS74Dflipflopstatechangingautomatically

    http://www.edaboard.com/thread313125.html 10/63

    ctedthecapsbetweenVCCandGNDlinesandtoeachflipflop'sdatagnd,andclockgndpins.Buttheproblemstillexists.

    WheneverIswitchONorOFFanelectricalconnection(FanorLight)inmyroom,theflipflopchangesstates.Anyideahowtofixthis?

    Thanks

    ReplyWithQuote

  • 6/13/2015 [SOLVED]74LS74Dflipflopstatechangingautomatically

    http://www.edaboard.com/thread313125.html 11/63

    4thApril2014,19:01

    Re:74LS74Dflipflopstatechangingautomatically

    PerhapstheLEDsaretheantennapickinguplargeelectricfieldtransient.

    Withoutbigpictureofyourlayoutandconnections,Icanonlyguesshowtobestprotectit.

    Ifeverythingisfloatingwithrespecttoground,addingaground

    #7

    JoinDate:Location:

    Posts:Helped:Points:Level:BlogEntries:

    Sep2007RichmondHill,ON,

    Canada4,4871100/110022,852367

    SendamessageviaSkypetoSunnySkyguy

    SunnySkyguySuperModerator

    Achievements:

  • 6/13/2015 [SOLVED]74LS74Dflipflopstatechangingautomatically

    http://www.edaboard.com/thread313125.html 12/63

    connectioncanoftensuppressstraynoise.ALsousingatorroidalcommonmodechokewiththelongwirestoLEDswrappedwithafewturnsaroundthetorroidorsomeCMchoke.

    Atleastyouhaverulesoutconductednoiseandidentifiedthesourceasradiatednoise.

    Anothertrick

  • 6/13/2015 [SOLVED]74LS74Dflipflopstatechangingautomatically

    http://www.edaboard.com/thread313125.html 13/63

    istoputasmallcaponoutputQtoidentifyifthenoiseisgettinginthere,(Qhasinternalinputconnections)

    Thebest

    questiondeserves

    abetteranswer.

    Toshow

    appreciationuse

    helpedme&

    [solved]Ifyoudon't,whatdoesthatsay

    aboutyou?

    ...TonyStewart

    EEsince1975

    ReplyWithQuote

    5thApril2014,05:10 #8

  • 6/13/2015 [SOLVED]74LS74Dflipflopstatechangingautomatically

    http://www.edaboard.com/thread313125.html 14/63

    Re:74LS74Dflipflopstatechangingautomatically

    Maybethisisnotrelatedwiththeanomalyyoudescribe,buttakeintoaccountthattheQouputsoftheflipflopsareseriouslyloadedinyourcircuit.CurrentcapabilityofLSTTL'sinHighstateislowandvoltagecanbebad,then"H"levelcanbe

    JoinDate:Location:Posts:Helped:Points:Level:

    Sep2001Argentina1,074336/3369,58323

    zorroAdvancedMemberlevel4

  • 6/13/2015 [SOLVED]74LS74Dflipflopstatechangingautomatically

    http://www.edaboard.com/thread313125.html 15/63

    insufficientfortheDinput.IwouldchangetheoutputcircuitthatlightstheLED.AneasypossibilityisputtheLEDinthecolectorcircuitandincreasetheRsfrom100ohmsto10k.Betterwouldbetousethe/QoutputandaPNPtransistor.Regards

    Z

    ReplyWithQuote

    5thApril2014,05:10

  • 6/13/2015 [SOLVED]74LS74Dflipflopstatechangingautomatically

    http://www.edaboard.com/thread313125.html 16/63

    5thApril2014,17:27

    Re:74LS74Dflipflopstatechangingautomatically

    Iconsideredtheloadtobemarginal.

    Ifitisa74LS,[email protected]

    ConsiderVf=2.0VonRedorYellowLED@20mAandassumeVbe=0.7,

    #9

    JoinDate:Location:

    Posts:Helped:Points:Level:BlogEntries:

    Sep2007RichmondHill,ON,

    Canada4,4871100/110022,852367

    SendamessageviaSkypetoSunnySkyguy

    SunnySkyguySuperModerator

    Achievements:

  • 6/13/2015 [SOLVED]74LS74Dflipflopstatechangingautomatically

    http://www.edaboard.com/thread313125.html 17/63

    withhFE=100theloadcurrentwillbelimitedbythebasedrivecurrentwithEmitterfollowertransistor.

    AlsotheemitterloadcurrentwillriserapidlyaboveVf=2Vorbasevoltage>2.7V,butthedriverimpedanceofLS74risesrapidlyabove2.7VasitsoutputisaDarlington,emitterfollowerfor

  • 6/13/2015 [SOLVED]74LS74Dflipflopstatechangingautomatically

    http://www.edaboard.com/thread313125.html 18/63

    Voh,whichhas100Rcollectorcurrentlimiting,internally.

    AssuminghFEof100forthe2N2222,ifVoh=2.7Vitcansupply400uAx100=40mAtotheemitter,andthebaseresistanceof100Ronlydrops0.1k*0.4mA=0.04V.Whichisnotmuch...toworryabout,soloadingisnotexcessive.

    LED

  • 6/13/2015 [SOLVED]74LS74Dflipflopstatechangingautomatically

    http://www.edaboard.com/thread313125.html 19/63

    currentcouldbeanythingfrom5to40mA,duetoVfjunctionvoltagetolerances.

    20xmorecurrentonlowstatetheninvertwithCommonemitterlowsidedrivetoLEDcathodewithcurrentlimitingRoncollector.

    Thereisanoisesusceptibilityissuehereandoneneedstoidentifyif

  • 6/13/2015 [SOLVED]74LS74Dflipflopstatechangingautomatically

    http://www.edaboard.com/thread313125.html 20/63

    interferenceisconductedorradiatedthendeterminewherethemarginisleastforingressandfixthat.Sofarthereisinsufficientinformationtotrackthisdown.

    Mylastguesswasradiatednoisefromsomewherepickedupmylong(?)LEDlinesthanconductedbackintoQtotogglestateevery

  • 6/13/2015 [SOLVED]74LS74Dflipflopstatechangingautomatically

    http://www.edaboard.com/thread313125.html 21/63

    fewminutes,butwedon'tknowhowinterferencestarts.

    LasteditedbySunnySkyguy5thApril2014at17:32.

    Thebest

    questiondeserves

    abetteranswer.

    Toshow

    appreciationuse

    helpedme&

    [solved]Ifyoudon't,whatdoesthatsay

    aboutyou?

    ...TonyStewart

    EEsince1975

    ReplyWithQuote

    14thJune2014,14:07

    Re:

    #10

    RohanDeyMemberlevel2

  • 6/13/2015 [SOLVED]74LS74Dflipflopstatechangingautomatically

    http://www.edaboard.com/thread313125.html 22/63

    74LS74Dflipflopstatechangingautomatically

    Sorryforsuchalatereply.Iwasstuckupwithadifferentproject.

    Ihavesetuptheentirecircuitonavero/stripboard.Mynewcircuitisattached.

    NowIhavearelayattheoutputoftheDflipflop.Ialsohaveasmalldelaycircuitinbetweentherelayand

    JoinDate:Location:Posts:Helped:Points:Level:

    Feb2013India420/05775

  • 6/13/2015 [SOLVED]74LS74Dflipflopstatechangingautomatically

    http://www.edaboard.com/thread313125.html 23/63

    theDFFoutput.Itisjustarequirementofmyapplication.AttheoutputoftherelayIhaveconnecteda230V,60Wattlightbulb.

    Normallyeverythinghappensasexpected.WhenIgivenecessarypulsetotheDFF,therelayturnsON/OFFineffectturningthelightbulbON/OFF.Butsometimeswhentherelayisturnedoff,

  • 6/13/2015 [SOLVED]74LS74Dflipflopstatechangingautomatically

    http://www.edaboard.com/thread313125.html 24/63

    theDFF(74LS74)turnsONautomaticallyjustafterbeingturnedOFF,i.e.itstaysOFFmomentarilyandthentheflipflopoutput'Q'togglesitsstate.

    IhaveseenontheoscilloscopethatwhentherelayisgettingturnedOFF,anoisespikeisgeneratedontheDCside.Ihaveattachedaphotoofit.Herethe

  • 6/13/2015 [SOLVED]74LS74Dflipflopstatechangingautomatically

    http://www.edaboard.com/thread313125.html 25/63

    redlineistheVCCandtheyellowlineistheGND.ThisnoiseisseenonallthepinsoftheDFF(i.e.data,clockandQ).Thisspikeisreachingvoltagesupto30Vsometimes,anditlastsaboutmax.100to150us.

    WhatIunderstandisbecauseofthisnoisespiketheflipflopischangingstate.

  • 6/13/2015 [SOLVED]74LS74Dflipflopstatechangingautomatically

    http://www.edaboard.com/thread313125.html 26/63

    Iwanttoknow,whatarethepossiblemethods/circuits,whichIshouldaddtoeliminatethisnoisespike,sothattheflipflopdoesnotchangestate?

    ThisnoiseisalsoreachingmyPICmicrocontroller'sVCC,GNDanddatapins.CanitdamagetheIC?

    Thanksforreading..pleasehelp!

  • 6/13/2015 [SOLVED]74LS74Dflipflopstatechangingautomatically

    http://www.edaboard.com/thread313125.html 27/63

    ReplyWithQuote

    14thJune2014,14:07

    14thJune2014,15:57

    Re:74LS74Dflipflopstatechangingautomatically

    Thefirstthingyoushoulddoistoaddaresistorfrombasetoemitter(Vcc)ontherelaydriverPNPtransistor.Thisdrivergetamarginalbasecurrent(voltage)andno

    #11

    JoinDate:Location:Posts:Helped:Points:Level:

    Nov2005Norway27759/593,15613

    GorgonFullMemberlevel5

  • 6/13/2015 [SOLVED]74LS74Dflipflopstatechangingautomatically

    http://www.edaboard.com/thread313125.html 28/63

    definedoffsignal,onlyafloatingoff.ThismaycauserelaybouncebothatONandOFF.The'delaycircuit'andthezenerdiodeintheemittercircuitisveryiffy.Ithinkthisisdonetomakeanincreaseddelayontheoutput,buttheresultisassaidiffyatthebest.Whydoyouneedthisdelay?Togetthebestperfor

  • 6/13/2015 [SOLVED]74LS74Dflipflopstatechangingautomatically

    http://www.edaboard.com/thread313125.html 29/63

    manceoftherelayyoushoulddriveitproperly.SinceyoudrivethePNPtransistorwithonly1.5Vanda10kbaseresistor,thebleederresistortoemitterneedtoberelativehighinvalue.

    TorectifythisIwouldhavereducedthebaseresistor(R13)to680ohm,andaddeda1kbleederresistorfrom

  • 6/13/2015 [SOLVED]74LS74Dflipflopstatechangingautomatically

    http://www.edaboard.com/thread313125.html 30/63

    theNPNs(Q4)collectortoVCC.ThisresistorwillturnthePNPtransistor(Q5)OFFproperly.

    IsupposeyouunderstandthatyourdelaycircuitisworkingbothatON,andOFF,makingtheflanksiffy.

    ReplyWithQuote

    14thJune2014,17:19

    Re:74LS74Dflipflopstatechangingautomatically

    Ineedthedelay

    #12

    JoinDate:Location:Posts:Helped:Points:Level:

    Feb2013India420/05775

    RohanDeyMemberlevel2

  • 6/13/2015 [SOLVED]74LS74Dflipflopstatechangingautomatically

    http://www.edaboard.com/thread313125.html 31/63

    circuitbecauseIamcascadingmanyoftheseflipflopstogetheranddrivingthemfromonesource,i.e.dataandclocksignal.HereifIdonotaddthedelaytheoutputofeachflipflopwillflickerifIwanttochangeonlythenthflipflopstate.

    IrequirethedelaytohappeninbothON

  • 6/13/2015 [SOLVED]74LS74Dflipflopstatechangingautomatically

    http://www.edaboard.com/thread313125.html 32/63

    andOFFstate.

    IwillchangetheR13andadda1KfromtheNPN'scollectortoVCCandtryasyousay.Whatabouthenoise?

    ReplyWithQuote

    14thJune2014,17:43

    Re:74LS74Dflipflopstatechangingautomatically

    Ifthisismadeasabreadboardwithmanylongwires,youmayhaveaproblemanywa

    #13

    JoinDate:Location:Posts:Helped:Points:Level:

    Nov2005Norway27759/593,15613

    GorgonFullMemberlevel5

  • 6/13/2015 [SOLVED]74LS74Dflipflopstatechangingautomatically

    http://www.edaboard.com/thread313125.html 33/63

    y.

    But,howisyouractualcircuitasyouhavebuiltit?Describethedecouplingcapacitorsyouhaveused,andwhereyouhaveplacedtheminthecircuit.

    Normallythenoiseiscomingfromwiresactingasantennas,and/orcapacitivecouplingbetweenelements,likeinsidetherelay.Thenoise

  • 6/13/2015 [SOLVED]74LS74Dflipflopstatechangingautomatically

    http://www.edaboard.com/thread313125.html 34/63

    willcomefromthesparksgeneratedintherelaycontacts,andtheinductivespikesfromtherelaycoil.

    Thatiswhyitisimportanttomakethepowersupplyasstiffaspossible,orwithaslowimpedanceaspossible,usingcapacitors,oftherighttypeandvalue,placedattheoptimalplacesinthecircuit.

  • 6/13/2015 [SOLVED]74LS74Dflipflopstatechangingautomatically

    http://www.edaboard.com/thread313125.html 35/63

    ReplyWithQuote

    16thJune2014,14:37

    Re:74LS74Dflipflopstatechangingautomatically

    Hi,

    Ihavemadethechangeinmycircuit.Insteadofthe680ohmIhaveputa1kasIdidn'thavethe680ohmwithme.AndIhavealsoaddeda1kbleederresistorfromtheNPNs(Q4)collectortoVCC.

    #14

    JoinDate:Location:Posts:Helped:Points:Level:

    Feb2013India420/05775

    RohanDeyMemberlevel2

  • 6/13/2015 [SOLVED]74LS74Dflipflopstatechangingautomatically

    http://www.edaboard.com/thread313125.html 36/63

    Myentiresetupisonveroboard.Ihavethreedifferentveroboardseachhavingthesameflipflopsandrelaycircuit.Theflipflopsarecascadedandtheveroboardsareconnectedviaconnectors.IsendthedataandclockpulsefromaPIC.

    Ihaveput0.1uFceramiccapsonthevccgndterminalsof

  • 6/13/2015 [SOLVED]74LS74Dflipflopstatechangingautomatically

    http://www.edaboard.com/thread313125.html 37/63

    eachflipflops.Ihaveconnecteda230V,60Wlightbulbonlytothefirstboard.

    Whathappensnowis,whentherelaywithlightbulbisturnedOFFittogglesthestateoftheotherflipflopscascadedtoit.Thisdoesnothappeneverytime.Also,thishappensonlywhenthe230Vlightbulbisconnected,when

  • 6/13/2015 [SOLVED]74LS74Dflipflopstatechangingautomatically

    http://www.edaboard.com/thread313125.html 38/63

    Iremovethebulb,everythingworksfine.

    Iamsuremypowersupplyisprettystable.

    Soitseemsthatitisthenoisefromtherelaythatismakingtheproblem.CanyoupleasetellwhatotheroptionsshouldItryout?Isitaveroboardlayoutissue?ShouldIusesomeadditionalcircuitrytohandlethe

  • 6/13/2015 [SOLVED]74LS74Dflipflopstatechangingautomatically

    http://www.edaboard.com/thread313125.html 39/63

    noise?

    Thanks..

    ReplyWithQuote

    16thJune2014,15:44

    Re:74LS74Dflipflopstatechangingautomatically

    Couldyoumakeacompleteschematicsofthecircuityouareusing,exactlyasyouhavebuiltit,andifpossibleaddapictureofthemockupcircuittoo.Itisimportanttoincludeallcomponentsyou

    #15

    JoinDate:Location:Posts:Helped:Points:Level:

    Nov2005Norway27759/593,15613

    GorgonFullMemberlevel5

  • 6/13/2015 [SOLVED]74LS74Dflipflopstatechangingautomatically

    http://www.edaboard.com/thread313125.html 40/63

    use.

    HowdoyoucontroltheFFs,fromamicrocontrollerormanually?

    ReplyWithQuote

    17thJune2014,00:03

    Re:74LS74Dflipflopstatechangingautomatically

    Yes,anupdateofyourschematicwouldbenice.Aftersomanyposts,yourcircuitshouldlookverydifferentfromwhenitgotstarted.

    #16

    JoinDate:Location:Posts:Helped:Points:Level:

    Nov2008BorneoIsland10632/321,7469

    Allen6502FullMemberlevel1

  • 6/13/2015 [SOLVED]74LS74Dflipflopstatechangingautomatically

    http://www.edaboard.com/thread313125.html 41/63

    Allen

    ReplyWithQuote

    17thJune2014,18:15

    Re:74LS74Dflipflopstatechangingautomatically

    EMIissuesarebasedonphysicsofinductionandcapacitivecouplingandconductionnoisespikes.

    Averoboardcangetprettymessywithinductivegrounds,signalsandcouplingtothehighcurrentbulb,

    #17

    JoinDate:Location:

    Posts:Helped:Points:Level:BlogEntries:

    Sep2007RichmondHill,ON,

    Canada4,4871100/110022,852367

    SendamessageviaSkypetoSunnySkyguy

    SunnySkyguySuperModerator

    Achievements:

  • 6/13/2015 [SOLVED]74LS74Dflipflopstatechangingautomatically

    http://www.edaboard.com/thread313125.html 42/63

    whicharcswhencontactsareopenedcausingmanyMHzofresonantspikes,whichcoupleeasythrustraycapacitanceorinducelargeinductivevoltagesacrossleadsandpower.

    Twomethods.

    1.eliminatethenoise.Useazerocrossingswitchtriac,andsnubberRCfilter.Routeallspike

  • 6/13/2015 [SOLVED]74LS74Dflipflopstatechangingautomatically

    http://www.edaboard.com/thread313125.html 43/63

    currentswithtwistedpairstoreduceunintentionalradiation,suchas6twistsperinchwithcareonline&neutral.ApplysmallbuthighVratedfilmcapsacrossrelaycontacts.orshieldtherelayorremoveitfarenoughawayfromtheoffendingcircuit.(asincarsinthecornerunderthe

  • 6/13/2015 [SOLVED]74LS74Dflipflopstatechangingautomatically

    http://www.edaboard.com/thread313125.html 44/63

    hood)

    2.Improvethetargetimmunityfornoiseonpower,groundsandsignalsBeefupwires,uselowimpedancebatteryorpowersources,shieldtheboard,useCOmmonmodechokesonthecontrolsignals(ferrite2holebeads,torroid,clamshellcoreetc)addfeedthrucapacitive

  • 6/13/2015 [SOLVED]74LS74Dflipflopstatechangingautomatically

    http://www.edaboard.com/thread313125.html 45/63

    filtersforin/outsignalsinthebox.

    3.Measuretransientsmoreaccuratelywithzerolengthprobegroundusingthebarrelandtip.OrusetwoprobesinAminusBforremotesignalandgroundandwrapbothidenticalprobesastwistedpairswithidenticalshortgroundclips.Whenindoubt

  • 6/13/2015 [SOLVED]74LS74Dflipflopstatechangingautomatically

    http://www.edaboard.com/thread313125.html 46/63

    connectprobetiptogroundtoensureflatline,samewith2probesinABconnectedtosamesignal,thennostraynoiseshouldbeobservedifdoneright.

    Thebest

    questiondeserves

    abetteranswer.

    Toshow

    appreciationuse

    helpedme&

    [solved]Ifyoudon't,whatdoesthatsay

    aboutyou?

    ...TonyStewart

  • 6/13/2015 [SOLVED]74LS74Dflipflopstatechangingautomatically

    http://www.edaboard.com/thread313125.html 47/63

    EEsince1975

    ReplyWithQuote

    19thJune2014,12:22

    Re:74LS74Dflipflopstatechangingautomatically

    Ihaveattachedmyschematicandphotooftheveroboard.Thephotoscontaintheassemblycircuitalsowhere2RelayFFboardsareconnectedtogetherwiththecontrollerboard.

    Iamusingthesamepower(vcc)

    #18

    JoinDate:Location:Posts:Helped:Points:Level:

    Feb2013India420/05775

    RohanDeyMemberlevel2

  • 6/13/2015 [SOLVED]74LS74Dflipflopstatechangingautomatically

    http://www.edaboard.com/thread313125.html 48/63

    andgndlinefortherelayandtheothercircuit.HereVCC=5V.Couldthisbeaproblem?Pleasecheckandcomment.

    Updated

    OriginallyPostedbySunnySkyguy

    1.el

  • 6/13/2015 [SOLVED]74LS74Dflipflopstatechangingautomatically

    http://www.edaboard.com/thread313125.html 49/63

    iminatethenoise.Useazerocrossingswitchtriac,andsnubberRCfi

  • 6/13/2015 [SOLVED]74LS74Dflipflopstatechangingautomatically

    http://www.edaboard.com/thread313125.html 50/63

    lter.Routeallspikecurrentswithtwistedpairstoreduceunintent

  • 6/13/2015 [SOLVED]74LS74Dflipflopstatechangingautomatically

    http://www.edaboard.com/thread313125.html 51/63

    ionalradiation,suchas6twistsperinchwithcareonline&neutral.

  • 6/13/2015 [SOLVED]74LS74Dflipflopstatechangingautomatically

    http://www.edaboard.com/thread313125.html 52/63

    ApplysmallbuthighVratedfilmcapsacrossrelaycontacts.orshiel

  • 6/13/2015 [SOLVED]74LS74Dflipflopstatechangingautomatically

    http://www.edaboard.com/thread313125.html 53/63

    dtherelayorremoveitfarenoughawayfromtheoffendingcircuit.(a

  • 6/13/2015 [SOLVED]74LS74Dflipflopstatechangingautomatically

    http://www.edaboard.com/thread313125.html 54/63

    Yourcommentsareveryinformative,butsometimesgetsdifficultformetounderstand.Itmaysoundsillybut,canyoupleaseexplainhow

    sincarsinthecornerunderthehood)

  • 6/13/2015 [SOLVED]74LS74Dflipflopstatechangingautomatically

    http://www.edaboard.com/thread313125.html 55/63

    willazerocrossingtriacandaRCsnubberwillhelptoremovenoisespikes?Ihaveverybasicknowledgeabouttriacsanduseditonlyindimmerapplication.

    Also,aboutthefilmcaps,Ihave104K400polyestercap.CanIputthisvalueacrosstherelayterminals?

    Thanks..

  • 6/13/2015 [SOLVED]74LS74Dflipflopstatechangingautomatically

    http://www.edaboard.com/thread313125.html 56/63

    ReplyWithQuote

    19thJune2014,12:45

    Re:74LS74Dflipflopstatechangingautomatically

    Hi,

    cascadingtheSPIoverseveralPCBisnotagoodidea.Atleastyouneedaverysolid(lowohmicandlowinductance)GNDconnection.BestbyGNDplaneonthepcbandmultiplewiresfromboardtoboard.

    Theremay

    #19

    JoinDate:Posts:Helped:Points:Level:

    Apr20141,828470/4709,06722

    KlausSTAdvancedMemberlevel5

  • 6/13/2015 [SOLVED]74LS74Dflipflopstatechangingautomatically

    http://www.edaboard.com/thread313125.html 57/63

    benoiseontheGNDthatcausesyourproblem.

    Myhint:Trytousea20kseriesresistorfromcommonCLKlinetoFFCLKinputandadditionallyconnectan1nFcapacitorfromtheCLKinputtoGND.This"cleans"theclkline.

    MindtoconnectallUNUSEDinputsofyourFFtoavalidlogical

  • 6/13/2015 [SOLVED]74LS74Dflipflopstatechangingautomatically

    http://www.edaboard.com/thread313125.html 58/63

    state.

    Hopethishelps.

    Klaus

    ReplyWithQuote

    19thJune2014,13:13

    Re:74LS74Dflipflopstatechangingautomatically

    Sinceyouaredaisychainingseveralmodules,youneedtodecoupleeachboardforitself.

    Sinceyouareusingthe5Vfortherelaytoo,youneedtoaddaelectrolytic

    #20

    JoinDate:Location:Posts:Helped:Points:Level:

    Nov2005Norway27759/593,15613

    GorgonFullMemberlevel5

  • 6/13/2015 [SOLVED]74LS74Dflipflopstatechangingautomatically

    http://www.edaboard.com/thread313125.html 59/63

    capacitoroneachboard,Iwouldthink2247uFisok.

    Inadditionyouneedtoadd0.1uFcapacitorstoeachboard.AruleofthumbisoneforeachIC,directlyoverthesupplypins,orascloseaspossible,andatleastoneextra.Ifyouareexperiencinghighfrequencynoise,youcouldalsoadda0.01uFtothemix.

  • 6/13/2015 [SOLVED]74LS74Dflipflopstatechangingautomatically

    http://www.edaboard.com/thread313125.html 60/63

    Runningthesupplylineasyoudowith5V,youneedaverygoodconnection,withlargeenoughareaofthewire.

    Apracticalthingtodo,istomaketheinputandtheoutputconnectorsforyour'bus'asclosetogetherasyoucanoneachPCB.Thiswillreducetheeffectofthenoisegeneratedon

  • 6/13/2015 [SOLVED]74LS74Dflipflopstatechangingautomatically

    http://www.edaboard.com/thread313125.html 61/63

    othermodules,andthesizeofthe'loop'foryourpowerlines.

    Iwouldpersonallyhaveatleasttwoleadsinyour'bus'fortheGNDconnection,tomakethegroundstiffer.

    RegardingtheRCsnubbermentioned,youcanuseahighvoltagecapacitorinserieswithalowvalueresist

  • 6/13/2015 [SOLVED]74LS74Dflipflopstatechangingautomatically

    http://www.edaboard.com/thread313125.html 62/63

    EdaboardClassic

    Whatisthedifferencebetweenthetwoofthem?IARandKEIL|problemonreceiving

    messagefromGSM

    ContactUs ForumforElectronics PrivacyStatement TermsofService Top

    AlltimesareGMT+1.Thetimenowis06:35.

    PoweredbyvBulletinCopyright2010vBulletinSolutions,Inc.Allrightsreserved.

    SEObyvBSEO2011,Crawlability,Inc.

    or,like0.1uF/47ohm,overtherelaycontact.RemembertouseanX2ratedcapacitorswithhighenoughpeakvoltage.

    ReplyWithQuote

    Pleaselogin+PostNewThreadPage1of2 1 2 Last

    Dflipflopcellthatchangestateonclockpulse(3)SetupTimeofpulsetriggeredflipflopMaser/slaveorSRflipflop(1)74LS74quadoroctalflipflopequivalent?(1)ToggleorJKflipflopwhichretainsstatewithpowerloss.(2)SpartanII:Buscontentioncausesflipflopstatecorruption(2)

    SimilarThreads

  • 6/13/2015 [SOLVED]74LS74Dflipflopstatechangingautomatically

    http://www.edaboard.com/thread313125.html 63/63