Continue to Site

Welcome to EDAboard.com

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.

Recent content by ansh11

  1. A

    IRF450 MoSFET

    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?
  2. A

    Slave Device (without automatic address)

    Thanks FvM Can you name more devices I want to read the datasheet for further knowledge?
  3. A

    Slave Device (without automatic address)

    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
  4. A

    Push button to toggle led issue

    What's wrong with my previous flowchart ? Where it's going wrong ?
  5. A

    Push button to toggle led issue

    I drawn flowchart but there is problem with this. I don't have any idea how to add logic to toggle led with button PIC MCU & c language
  6. A

    Push button to toggle led issue

    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
  7. A

    Push button to toggle led issue

    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...
  8. A

    How do you write code to make it easier for others to understand?

    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...
  9. A

    1x1 Matrix keypad

    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 ?
  10. A

    1x1 Matrix keypad

    okay does it makes sense now ? I need to understand how do we read four switches in matrix keypad
  11. A

    1x1 Matrix keypad

    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 ?
  12. A

    1x1 Matrix keypad

    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
  13. A

    Flowchart for Pushbutton

    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...
  14. A

    Flowchart for Pushbutton

    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...
  15. A

    Timer for switch debouncing

    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...

Part and Inventory Search

Back
Top