Search results

  1. P

    PIC 12F675 PULSE COUNTING

    Here's another possible solution. If the wheel is turning at 8rpm, then due to its inertia it is reasonable to assume that pulses will be equi-spaced. So make a 125ms timer that sets a flag as soon as that time is reached. At the start of a loop look for a pulse and then start the timer. If...
  2. P

    PIC programmer

    Thanks for your replies and I'll use a PIC-KIT-3 as Adam suggested. In the past I have used 12F629/675 and 16F676 and programmed them with a K150 based programmer. Bit it won't work with the newer PICs that have 4digit numbers.
  3. P

    PIC programmer

    What programmer would you recommend for a PIC 12F1571? I will probably use this chip only once, so I don't need one with all the bells and whistles.
  4. P

    Newbie Soldering Station

    About 2 years now.
  5. P

    Newbie Soldering Station

    If you go for the one I recommended you may find the tip supplied is a bit fine for general purpose work. I have just sent away for these. http://www.ebay.co.uk/itm/262226666756?ru=http%3A%2F%2Fwww.ebay.co.uk%2Fsch%2Fi.html%3F_from%3DR40%26_sacat%3D0%26_nkw%3D262226666756%26_rdc%3D1
  6. P

    Newbie Soldering Station

    I use one of these. It uses the same iron and bits as the Hakko. I've found it to be very good...
  7. P

    PIC 16F676 problem

    That fixed it! I had looked at the pin assignments for the comparator mode 100 (Fig 6,2 of the data sheet), and although I would have expected them to be shown (logically) in the order RA 0, 1, 2, they were in fact shown as RA 1, 0, 2. I looked at the table time after time and still missed...
  8. P

    PIC 16F676 problem

    Both bits were cleared as digital in ANSEL.
  9. P

    PIC 16F676 problem

    Is specific information available?
  10. P

    PIC 16F676 problem

    A PI metal detector fires a pulse into a damped coil. It normally measures the amplitude of a response some time after the pulse has ended to indicate the presence of metal. There is another school of thought that says the rate-of-change of voltage across the coil changes if metal is present...
  11. P

    PIC 16F676 problem

    What received signal? Surely, that was what my test program did?
  12. P

    PIC 16F676 problem

    Adam, Tried clearing PortA immediately before the test. It made no difference. This exercise is too time consuming at the moment, so I am now going to use PortC,0 with external pull-up as input from the push button. I'll try and sort the problem out later. Colin, T2 is pulsed. When it turns off...
  13. P

    PIC 16F676 problem

    The LED has not been fitted yet. I was testing the output at PortC,2 pin where the audio output would be taken from. Toggling the voltage at PortA,1 did not toggle the output at PortC,2, But when i changed the test to bit test PortA,2 then PortC,2 toggled OK. I cleared PortA in the second line...
  14. P

    PIC 16F676 problem

    I understand RAPU is bit7 of OPTION_REG, and I have cleared it.
  15. P

    PIC 16F676 problem

    It's a dual mode metal detector Ignore R6
  16. P

    PIC 16F676 problem

    I am programming a PIC 16F676 and have come across a problem. I am using a 20MHz ceramic as the oscillator, but the problem persists even if I use the internal 4MHz one. You can see from the initialisation code below that I want to set PORTA 1 & 2 as inputs with pull-ups. PORTA,2 works OK, but...
  17. P

    Text formatting

    Thanks, Steve
  18. P

    Text formatting

    How can I post a PIC assembler file and retain the indents?
  19. P

    need a BASIC flip flop, can't find one!

    You can use two 555 timers, wired as bi-stables, to accomplish what you want to do.
  20. P

    Using external xtal osc with a PIC

    Thanks to you both. It's so much easier when you know just where to look:) Just to confirm, do I use _FOSC_EC ?
Top