Skip to main content

New answers tagged

1 vote

Cycle off a voltage at a specific amplitude height [revised]

You could detect a change in direction of the input sinusoid, using a differentiator. The derivative of \$sin(x)\$ is zero when it changes direction, at its peak and valley points, and it becomes ...
Simon Fitch's user avatar
  • 42.2k
1 vote

Using one momentary switch for multiple IC's at different pull-up voltage levels

I strongly suggest that you consider adding full isolation circuitry in the form of A / B selection analogue mux switches so that the particular switches that you want to assign dual mode ...
Michael Karas's user avatar
12 votes
Accepted

Using ON-ON switch instead of ON-OFF switch?

An ordinary ON-OFF switch (known as a single-pole single-throw, or SPST) has two terminals. Call them A and B. In one position A is connected to B; in the other position there's no connection between ...
Pete Becker's user avatar
  • 1,535
4 votes
Accepted

What is the purpose of R1, D1 in this gate driver? How they can control the turn on/off time?

R1 is there to control the turn ON time of the FET. This could be because of EMC issues if you have too abrupt current spikes or simply to limit the inrush peak current. The diode is there to ...
Tyassin's user avatar
  • 424
1 vote
Accepted

Add Raspberry Pi GPIO to existing 12V application

There are several ways to approach this. The most straightforward is to find some DC supply that is always present when your "device" is powered. Then connect your R1 to that rather than the ...
Spehro 'speff' Pefhany's user avatar
1 vote

DY-SV5W Voice Playback Module

Pulling down two lines with one button will require some diodes. simulate this circuit – Schematic created using CircuitLab When drawn as a square matrix like this, you can see that you can ...
Dave Tweed's user avatar
  • 176k
1 vote

DY-SV5W Voice Playback Module

You don't appear to have any pull-up resistors on the chip inputs that connect to the control switches. It's quite likely that they will be needed. There may be other problems but, you haven't posted ...
Andy aka's user avatar
  • 467k
0 votes

Dual Float Switches for a Boat's Bilge Pump

The system you show has a latching function and mostly does what you want. There is a problem, though: the pump startup current is taken up by the HIGH level switch, since there's a delay between that ...
Kuba hasn't forgotten Monica's user avatar
3 votes
Accepted

Can I wire the PnP wire to ground?

No, you can't ground the black wire, it will damage the output. If you don't need the black wire, leave it unconnected.
Justme's user avatar
  • 164k
2 votes

Electronic bilge pump switch

I wouldn't do it with transistors. A relay will do this job rather nicely: simulate this circuit – Schematic created using CircuitLab With bilge empty, LOW and HIGH are open, A is at off (0V), ...
Kuba hasn't forgotten Monica's user avatar
0 votes

Power circuit with a push button

I created a breakout board for this exact problem that uses a "smart on/off controller" IC, the ST6601. It's basically a little microcontroller that can get to a deep sleep current of .6uA. ...
braden_sun's user avatar
1 vote

Switch for switching between and/or gate

Table 1. Logic truth table. ...
Transistor's user avatar
  • 178k
0 votes

Switch for switching between and/or gate

I agree with Transistor's truth table. Based on that, an all-mechanical solution takes one DPDT and two SPST switches per LED. The S1 input always goes to the source, and the S2 output always goes to ...
AnalogKid's user avatar
  • 22k
0 votes

Can a switch be put on the collector side of npn BC547 rather than the base side?

Can I put the switch at the load side of the transistor rather than the base side? Will the circuit works the same as the first one? What difference will be there between these two configurations? ...
Rohat Kılıç's user avatar
0 votes

Can a switch be put on the collector side of npn BC547 rather than the base side?

Your two designs will have identical behaviour. The only reason you'd use a transistor at all is if you want to control the relay using a low power signal, such as the output from a microcontroller. ...
Simon Fitch's user avatar
  • 42.2k
0 votes

Can a switch be put on the collector side of npn BC547 rather than the base side?

In the first circuit the relay is turned on by the transistor when base current flows. In the second circuit the relay is turned on by the transistor only when the switch is also turned on. The switch ...
vu2nan's user avatar
  • 19k
1 vote

Can a switch be put on the collector side of npn BC547 rather than the base side?

The two circuits are not the same. They achieve the same function in different ways. A significant difference between the two circuits is that in the right circuit, both the transistor and the switch ...
AnalogKid's user avatar
  • 22k
0 votes

How to emulate a momentary push button with a SPST slide switch

You can replace push-button with Spst according schematic: Edit: For pin3 be delayed a little after pin1 use this schematic: So for pin1 use first schematic and for pin3 use second one. Both are ...
Michal Podmanický's user avatar
2 votes

Debouncing schematic vs the placement

If the switch input will be used by firmware on the MCU, then debouncing in hardware is not necessary at all - it's more robust to have it debounced in firmware, and more flexible too. So it would ...
Kuba hasn't forgotten Monica's user avatar
4 votes
Accepted

Debouncing schematic vs the placement

The placement does not matter much. The largest stress on the system will be pushing the button, which causes the capacitor to discharge with an initial 33mA cuŕrent.
Justme's user avatar
  • 164k

Top 50 recent answers are included