C caramelz New Member May 10, 2013 #1 Hi everyone. I'm using a Takamisawa RY5W-K 5V DC relay. what do i need ? and i'm using a pic18f4520 microcontroller.
Hi everyone. I'm using a Takamisawa RY5W-K 5V DC relay. what do i need ? and i'm using a pic18f4520 microcontroller.
ericgibbs Well-Known Member Most Helpful Member May 10, 2013 #2 caramelz said: Hi everyone. I'm using a Takamisawa RY5W-K 5V DC relay. what do i need ? and i'm using a pic18f4520 microcontroller. Click to expand... hi, The relay coil resistance is 165R at 5V , ie 30mA. The max current I would draw from a PIC is 20mA, so you will require a transistor driver. Do you need help with a simple circuit.? E EDIT: Optional circuit. Attachments AAesp04.gif 25.5 KB · Views: 276 AAesp05.gif 34 KB · Views: 314 Last edited: May 10, 2013
caramelz said: Hi everyone. I'm using a Takamisawa RY5W-K 5V DC relay. what do i need ? and i'm using a pic18f4520 microcontroller. Click to expand... hi, The relay coil resistance is 165R at 5V , ie 30mA. The max current I would draw from a PIC is 20mA, so you will require a transistor driver. Do you need help with a simple circuit.? E EDIT: Optional circuit.
alec_t Well-Known Member Most Helpful Member May 12, 2013 #4 You can easily do your own spice sim. If you haven't got a sim model for a relay just use a 165Ω resistor in series with ~100mH Last edited: May 12, 2013
You can easily do your own spice sim. If you haven't got a sim model for a relay just use a 165Ω resistor in series with ~100mH
C caramelz New Member May 12, 2013 #5 so Rout connect to Microcontroller chip or the MCU pin? i dunno how to differentiate which pins of the relay is the switch
so Rout connect to Microcontroller chip or the MCU pin? i dunno how to differentiate which pins of the relay is the switch
Mosaic Well-Known Member May 12, 2013 #6 Use pins 8 & 6 as a normally open switch. Can u read schematics? I don't understand the difference between microcontroller chip and Mcu pin here. The Mcu pin IS the microcontroller chip interface.
Use pins 8 & 6 as a normally open switch. Can u read schematics? I don't understand the difference between microcontroller chip and Mcu pin here. The Mcu pin IS the microcontroller chip interface.
be80be Well-Known Member May 12, 2013 #8 V2 is the 5 volt DC voltage used in place of the mcu to test the spice model.
C caramelz New Member May 12, 2013 #9 so what pins of the relay is connected to Rout and positive of the coil? Cos the main purpose of the relay is to design a battery charging system whereby i'm able to read the voltage from the each battery(total of 8).
so what pins of the relay is connected to Rout and positive of the coil? Cos the main purpose of the relay is to design a battery charging system whereby i'm able to read the voltage from the each battery(total of 8).
ericgibbs Well-Known Member Most Helpful Member May 13, 2013 #10 Mosaic said: Eric could u share that Relay spice file with me? Click to expand... hi, Sign up for the free **broken link removed** It has many libs for different devices,, look under Files/Lib E
Mosaic said: Eric could u share that Relay spice file with me? Click to expand... hi, Sign up for the free **broken link removed** It has many libs for different devices,, look under Files/Lib E