Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
I am trying to understand how IRF450 MOSFET work. I looked into this datasheet https://datasheetspdf.com/pdf/1322660/STMicroelectronics/IRF450/1 but I don't understand how MOSFET work? When does it turn ON and OFF?
I am asking this question just for study purposes. Most i2c devices automatically increment the register address like DS1307. Is there any i2c device in which this doesn't happen? I can't find type of i2c device on google
There are three action
1) Button pressed
2) Button Held down
3) button release
check button action every 10ms
if button pressed count up
if Button Held down count up
accept button state valid when get same states 10 times
if count == 10, turn on led
when next pressed happen turn off led
I need to write code for following but I clearly don't have any idea so first I am trying to write pseudo code
When button pressed and released, Turn On led. When button pressed and released again, Turn Off led. Continue process
My work : I check button every 10 ms (timer interrupt) When I...
Everyone writes code in his own style. How do you write code to make it easier for others to understand?
Do you write comments for each line of your code?
If not then when do you think you should write comments
Do you write code in self commenting code style?
Please share your c code...
Switch button is input device always connect to the input side of microcontroller. I don't have any idea why need output pin for switch ?
exactly my first question was that, How one switch would connect to MCU ? What would be logic to read switch as you explained two pins ?
yes I know but I'm trying to understand how does keypad work. I assume only one switch is in keypad. I need to understand circuit diagram for single switch
one pin is connected to RD0 and where i need to connect second pin ?
hi,
I'm not getting idea how the single switches works in matrix keypad. I assume switch is connected with pull up resistor
how to to wire the 1x1 Matrix keypad and MCU pic16f877a ?
if the idea for single switch make sense then my next plan is to make keypad with two switches
I am not fully confident in the basics right now. I see there are the two case, pressed and released. I think When we press or release the button both the time switch will debounce for few millisecond.
I will check the push-button value every 10 mS: I will accept a change only if the new value...
I am trying to understand switch bounce technique. I have seen tutorials and I have come up with some idea and I have created one flow chart
Set periodic timer for 10ms
read the button state at every 10ms and store into variable CurrentState
Save the state of button into variable...
Hi
I usually use software delay for switch debouncing. I just add a 50ms delay after the first bounce. I want to use hardware timer in place of software delay. Assume hardware timer start and stop at every 1ms
What I want is, Whenever I press switch, pin of PIC microcontroller should be...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.