What do you mean by adequate bypassing on the motor and PIC? I have diodes across the coils of the relays. Vern > ---------- > From: Thomas C. Sefranek > Reply To: pic microcontroller discussion list > Sent: Monday, February 14, 2000 8:51 AM > To: PICLIST@MITVMA.MIT.EDU > Subject: Re: PIC not turning off BJT > > "Bradshaw, William V" wrote: > > > I have a BJT that is switching the ground of a set of relays for a > motor. > > When I send a 5V pulse from the controller to the bjt it turns it on > but > > then my circuit goes crazy. The circuit works when I remove the motor. > > Does anyone have any suggestions. > > > > Thanks in advance, > > Vern > > I have to ask the usual questions... > > Do you have diodes across the coils fo the relays? > Do you have adequate bypassing on the motor and PIC? > > -- > * > | __O Thomas C. Sefranek tcs@cmcorp.com > |_-\<,_ Amateur Radio Operator: WA1RHP > (*)/ (*) Bicycle mobile on 145.41, 448.625 Mhz > > ARRL Instructor, Technical Specialist, VE Contact. > http://hamradio.cmcorp.com/inventory/Inventory.html > http://www.harvardrepeater.org > >