resistor values for 2n2222a w/ SSR

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • evilkitty
    replied
    Re: resistor values for 2n2222a w/ SSR

    Thanks, now i know what resistor to use for my DIY smart light socket

    Now as for that dual relay setup, i want to emulate the logic of my mechanical relay (SPDT)

    PNP and NPN transistors have opposite switching characteristics

    i have access to my data pin, 3.3v, 5v, and ground and very little pcb space

    Leave a comment:


  • redwire
    replied
    Re: resistor values for 2n2222a w/ SSR

    The Omron G3MB-202P DC5 relay is an SSR, which is basically an LED and 440Ω resistor inside (for the 5V model) and roughly around 10mA load.
    With a lazy 2N2222 beta of 75, base-drive 2.6kΩ or lower would be plenty, and 1kΩ is fine. The RP2040 GPI/O's output 3.3V and typ. 4mA but note their are settings gpio_set_drive_strength can also move it from 2,4,8,12mA in software.
    You need an NPN to keep the higher SSR voltage away from the RP2040.

    Leave a comment:


  • eccerr0r
    replied
    Re: resistor values for 2n2222a w/ SSR

    It looks you're just using common ground level shifting you need NPN transistors and the PNP probably is not useful here if you can't get the shifted voltage elsewhere.

    Since the relay is only 7.5mA (and will be even less current with the 30ft wire plus transistor saturation voltage) you don't need to current limit collector, and you don't need much base current to keep the driving transistor on. A 1K base resistor should be sufficient for even weak 2n2222a's and you can do 470Ω if you want to pound the transistor even more.

    Leave a comment:


  • evilkitty
    replied
    Re: resistor values for 2n2222a w/ SSR

    The relay pulls 7.5mA when wired to my usb port, so what resistor range/value be?

    i know there is a formula, but i am not sure what values to use


    note that my final circuit will be using 5.2-5.35v, however there will be around 25-30 ft of telephone wire to the relay

    -------

    as for the second part of the question, it seems i have 2N3906 for PNP, would (would have issue with a double on for state for a moment?) this work see attachment
    maybe i need a schottky diode on the PNP base?

    again not sure what resistor value to use
    Attached Files
    Last edited by evilkitty; 11-26-2022, 10:13 AM.

    Leave a comment:


  • stj
    replied
    Re: resistor values for 2n2222a w/ SSR

    a PIR sensor on the ceiling works well btw, i have done it on a staircase once

    Leave a comment:


  • stj
    replied
    Re: resistor values for 2n2222a w/ SSR

    most ssr's use an optocoupler and can run down to 3v
    to answer the question, you need to find out how much current the ssr needs, then look at the 2n2222 hfe and then you can calculate the current.
    ir just experiment starting with 10k

    Leave a comment:


  • evilkitty
    started a topic resistor values for 2n2222a w/ SSR

    resistor values for 2n2222a w/ SSR

    So if I take a 2N2222A transistor and a G3MB-202P relay and 3.3v logic controller

    What resistor value should I be using for the base? Normally i would just take a ~1k resistor and go, but i need to work every time and not fail

    The problem I am trying to solve: my dad hates 3 way switches (he is not even the one wiring them) and insist on the only way to get through a room at night is to turn the light on, go to the other side of the room and turn that light on, go back and turn the 1st light off, then go back again and turn that light off, screw that I'll make a software light switch that uses door sensors (more reliable than a motion sensor working)

    -----------------------

    second question if i use the same logic wire can i make a double throw SSR switch by using 2 of these one on a 2N2222A and a P2N2222A or would i have issues with overlap there both are on/off at the same time (not sure if that is even a issue for my thermostat)
    Attached Files

Related Topics

Collapse

  • Kobok
    Different (lower) resistor values on PCB?
    by Kobok
    Dear Alls,
    For sure it id a stupid question, but help me to understand. I am in a Dell 2007WFP revitalizing project - searching reason why not starting. Some resistors needed to replaced is is obvious. When I have soldered some resistors the measured (with multimeter) values were sometimes rather different written on them. I supposed these are wrong units so I desoldered and made a checking measurement and voilá the values is the same is written on. This happens only in case of a few resistors, most have the same values (+/- 10%) are written on it. "strange" SMD resistors =>103...
    09-19-2022, 07:30 AM
  • jinu_j
    Dell 2209WA - power supply - Fusible Resistor replacement
    by jinu_j
    Hi

    I am trying to repair an ancient Dell 2209WA Monitor which suddenly shut off with a pop sound. On investigation found that one of the fusible resistors had blown. Further investigation identified multiple components as faulty because of which the fusible resistor blew. Please refer the attached circuit diagram showing the components that were found to be damaged.

    1. FR950 - blown fusible resistor - 0.2 Ohm 1W
    2. Q950 - shorted Q950 MOSFET - 650V 10A N Channel Mosfet
    3. R835 - Blown Resistor - 20KOhm SMD resistor
    4. D930 - Shorted Schottkey Diode...
    05-03-2025, 10:51 PM
  • madushanka 1234
    need to find RESISTOR values of mising LA-E831P
    by madushanka 1234
    need to find mising parts LA-E831P
    need to find values of this marked resistors...
    another shop mixed this marked 5 resistors...
    please check 3rd photo
    (rt3661b section/puz1)
    thank you
    02-17-2025, 07:26 AM
  • chronic519
    HP EliteBook 845 G8 (need resistor values by EC chip please)
    by chronic519
    Hello, I have an EliteBook 845 G8 motherboard sitting here. Customer knocked of 2 resistors by the EC chip. I cannot find schematics, board view or anything related to ID these 2 resistors.
    If someone has this board, could you please tell me the values of these 2 resistors?
    I hate to see this board be unusable due to something so minor....

    Thanks...
    02-14-2025, 10:36 AM
  • Crystaleyes
    Calculating resistor values in parallel with Caps
    by Crystaleyes
    Hi all.

    I recently picked up a dead car amplifier from the flea market, with the intention of learning some more in the area of audio repair.

    It has a stereo output with an added mono woofer output. The stereo channels are on one board, whilst the woofer section is on a separate board. There are also three large (ish) transformers.

    Apart from the fact that it was seriously dirty inside, it seems to be essentially complete with the only clearly damaged component being a toasted 1/4 watt resistor on the woofer board and it is this which I am wondering...
    05-21-2023, 07:35 PM
  • Loading...
  • No more items.
Working...