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 davidgrm

  1. D

    Interfacing of Rotary_Encoder with LPC2148

    Hi Take a look at this page: https://www.dghacks.com/micro-controller/quadrature_encoders/ It explains how to avoid those false readings etc.
  2. D

    [ARM] Rotary encoder interfacing with lpc2148

    Hi How are you reading the data pattern from the encoder? Are you just using a multimeter? Take a look at this page it might be of assistance: https://www.dghacks.com/micro-controller/quadrature_encoders/
  3. D

    Problem with LCD using 8051 controller

    reset function in 8051 I have had these problems in the past and solved it by putting the LCD init code in a function and then calling the function 3 times at start up. Some makes of display seem to take a while at power up before they are ready to accept data/commands. I hope this helps:D
  4. D

    integer division in VHDL synthesis

    division en vhdl U2 / 2 is the same as doing 1 right shift to U2
  5. D

    please comment on this oscilloscope GDS-820S 150Mhz DSO

    uni-t - ut-2152c - oscilloscope, dso, 150mhz, col Take a look at Rigol scopes. They are good, I have one and am very happy with it. Do not purchase one with the built in Logic Analyser, they have a design problem that Rigol have admitted to.
  6. D

    How can i measure distance using ultrasonic (only analog)

    You do not need sonar. You set the ultrasonic above the water in the tank and then simply measure the distance to the water. Of course this would be much easier to do with a MCU
  7. D

    1Gs/s Digital scope project. Anyone interested?

    good will digital scope take a look at this - slow (100Ms/s) but interesting https://www.fpga4fun.com/digitalscope.html
  8. D

    Difference between soft/hard reset in a microcontroller

    Re: 89c51 A 'soft reset' is best done by using the watch dog timer (if the MCU has one) to do a real hard reset. I say this because simply forcing the program to start at address 0000 does not clear interrupt flags etc. For example if RI is set and not cleared it can cause problems after your...
  9. D

    Matrix keypad - confusion with the keys

    Re: Matrix keypad On each timer interrupt, scan the next row of your matrix. After scanning all rows set a variable with the value of the key pressed or to zero if none pressed. Your main loop can check this variable to see if it is non zero which means that a key was pressed. If your main loop...
  10. D

    Problem with Keil C51 serial interrupt as it slows down the program

    serial c51 gets Be careful of using functions like printf in the interrupt. Not all of the library functions are re-entrant so they will cause problems in interrupts. Try do the formating with your own code and try avoid using the library code. Then at least you will know exactly what the code...
  11. D

    Problem with Keil C51 serial interrupt as it slows down the program

    keil 8051 serial interrupt programming depending on how often data arrives the way to do it is to create a FIFO that gets written to by the interrupt and read by your main loop. You should always declare variables used in this way as "volatile" You need to make sure that your data in the FIFO...
  12. D

    Problem with Keil C51 serial interrupt as it slows down the program

    c51 global variable It been a long time since I worked with 8051 but I think that you must set TI = 0 & RI = 0 in your interrupt routine even if you choose to ignore the data. Disable the WD. Also make sure that your stack is not overflowing. If this does not help perhaps you should show your...
  13. D

    Problem with Keil C51 serial interrupt as it slows down the program

    keil watchdog interrupt WD should olny take the cycles that you spend updating it. Apart from that it should not have any affect unless it is timing out and reseting your processor. What language are you using?
  14. D

    Problem with Keil C51 serial interrupt as it slows down the program

    keil c51 interrupt Program running slow could be one of the following: Your interrupt happens too frequently Your interrupt routine is trying to do too much and therefore using 80% of processing time. Delays in the prog should make no difference watchdog might be resetting the processor?? Try...
  15. D

    [HELP] ITU CCIR 656 generator??

    itu 656 generator Take a look at this link - There is enough info here to create a simple Color Bar. If you are using an FPGA you can store the data in Ram. **broken link removed**

Part and Inventory Search

Back
Top