Skip to main content

Questions tagged [switch]

In electrical engineering, a switch is an electrical component that can break an electrical circuit, interrupting the current or diverting it from one conductor to another

1 vote
0 answers
65 views

I’m trying to control the direction of a stepper motor using a toggle switch with my Arduino. While the LED indicates that the switch is working correctly (i.e., it changes state as expected), the ...
ghwnsrla's user avatar
1 vote
1 answer
176 views

I'm using a water level sensor with two outputs, a 5V fan and a water pump. Here's the wiring . What I want to do with this project is: When the water reaches 2 cm, then the water pump is on while ...
jeonsann's user avatar
0 votes
1 answer
146 views

Context: I have an off-grid cabin with PV powered 12V DC. I want to cut power to an inverter (12V DC ->220V AC) when I leave by pressing a button as it draws too much in standby. Most relays I have ...
oligofren's user avatar
  • 111
-1 votes
1 answer
86 views

I've built a switch key matrix (thus the diode, contextually useful schematics below) and me being me, I realised after that I misunderstood a few things about how button really works, to say the ...
O'Schell's user avatar
4 votes
2 answers
547 views

I'm using an arduino connected to 2 DC motors through L298N. the arduino is powered by a 9V battery, and the L298N is powered by 4 AA batteries. there's also a switch that starts the movement. I've ...
young marx's user avatar
0 votes
3 answers
2k views

I'm working on Arduino Kit book's Project 8: the digital hourglass. I've got the picture and the circuit diagram below. My question is a fundamental one, and I really don't know how others figured it ...
AndrewGreen's user avatar
1 vote
0 answers
42 views

I have made a USB game controller using the Arduino Micro and Omron microswitches (VX-01-1A3) for the buttons. The switch is wired with one end connected to a digital pin and the other end connected ...
gon weigang's user avatar
0 votes
1 answer
143 views

I have a circuit which consists of a pushbutton and 2 relays. The power supply is driven either over USB, where the circuit seems to work fine, or powered by a linear regulator board I've knocked ...
XtrmJosh's user avatar
  • 117
3 votes
1 answer
714 views

I'm trying to read an input from a switch but instead of getting 0 and 1 for closed/open, I'm getting 0 and a rapid series of 1s and 0s. Originally I tried (and failed) to simply read a rotary encoder ...
WillM's user avatar
  • 39
2 votes
1 answer
185 views

I have a Digispark Rev.3 Kickstarter with ATTiny85 (see pinout below) and a three pin slide switch (see example below). I want to use the slide switch to control a task running on the Digispark, with ...
emma.makes's user avatar
6 votes
2 answers
289 views

Years ago, I encountered a fairly long debate at AVRfreaks.net about whether or not it's OK to directly connect AVR pins that are configured as inputs with internal pullup enabled directly to ground ...
Bitbang3r's user avatar
  • 561
0 votes
2 answers
539 views

I want to control a fan with an arduino from 0 rpm to full rpm. Using a (modified) pwm signal from the arduino I can control the speed w/ the pwm signal, but it cannot go all the way to 0 rpm. So I ...
user1908460's user avatar
1 vote
1 answer
2k views

I understand how pullup and pulldown resistors work with push buttons and I also understand that an analogous idea can be applied to slide switches. Furthermore, I know that some versions of Arduino ...
user3347814's user avatar
0 votes
1 answer
505 views

My Arduino Pro Micro can source 500mA from 3.3V VCC, when it is USB powered. The chip itself, is rated for 200mA, though, and its output pins for 20mA recommended, 40mA max. I am looking to have 3 PWM ...
Bram's user avatar
  • 219
4 votes
2 answers
5k views

Hello i want to switch electric door lock (12V, 170mA) with esp32(3.3V). If is it possible I want use tranzistor. I tried to use IRF520, but it only worked with 5V. My sugestion is use 2 tranzistors ...
Noobie's user avatar
  • 43

15 30 50 per page
1
2 3 4 5
10