Search Results - MEL PICBASIC Forum


Search:

Type: Posts; User: manxman; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    3,793

    Sharing RS232

    Jerson,

    Thanks for that advice. My problem is solved!
  2. Replies
    10
    Views
    12,346

    PCB design packages

    I can strongly recommend DIPtrace. It has excellent linked schematic and PCB layout functions. My only criticism would be that library function and designing custom components is over-complicated....
  3. Replies
    2
    Views
    3,793

    RS232 into 2 PC ports

    I have a serial connection from a MAX232 on my PIC board to an RS232 port on my PC. The data are used in a PC graphics and PIC-control application, using both the TX and RX lines.

    Is there any...
  4. Replies
    8
    Views
    5,276

    Synchronising Timer0 and Timer1

    Thanks for the response folks! I need to determine the EXACT frequency difference between the 2 channels, with frequencies in the 2MHz range. Both frequencies are changing continuously and are close...
  5. Replies
    8
    Views
    5,276

    Synchronising Timer0 and Timer1

    I am using an 18F252 to count pulses into Timer0 and Timer1. The following is that part of the program for pulse counting into Timer0 for 100ms. Similar bits of code are used to control Timer1, as...
  6. Replies
    9
    Views
    4,877

    16F688 Port puzzle

    A big thanks again Mister_e. Indeed PortC.3 is analogue too. Sorry I missed that! The datasheet could be much clearer on issues like this or, as Nomad says, such pearls of port configuration wisdom...
  7. Replies
    9
    Views
    4,877

    16F688 Port puzzle

    Yes, I also did a search for ANSEL in the datsheet and found nothing of much use.

    Although it works in this example, I am still unclear why ANSEL has any effect on the behaviour of LEDs on PortC.3...
  8. Replies
    9
    Views
    4,877

    16F688 port puzzle - solved

    Yup, that solved the problem!

    Now I realy must try to understand what ANSEL actually does ....

    A BIG thanks again to Mister_E!
  9. Replies
    9
    Views
    4,877

    16F688 port puzzle

    I am using a 16F688, with internal clock enabled and only 2 port connections: to LED1 and LED2 on PortC.

    This trivial program shows a problem I have found with the Port addressing:

    ...
  10. Replies
    4
    Views
    5,552

    Thanks for the speedy reply. I'll set the clock...

    Thanks for the speedy reply. I'll set the clock as you suggest.

    With the MeLABS programmer the options are MCLR Pin Function = Reset or =Input Pin. Do you mean that the programmer should be...
  11. Replies
    4
    Views
    5,552

    16F688 Internal clock and MCLR

    Using tips from this forum my 16F188 program starts with the following code:

    CMCON0=%0000111 'Comparators off. (NOTE: CMCON=7 does not work!)
    OSCCON.3=1 'Use internal clock. NOTE: PIC...
  12. Replies
    9
    Views
    5,562

    Error progamming 16F688

    I have had brilliant help from David Barker (Mecanique) and Charles Leo (MElabs) about this problem.

    The solution is: In MicroCode Studio, click View - Compile And Program Options, then on the...
  13. Replies
    9
    Views
    5,562

    Error programming 16F688

    Yes, it is in the Microcode Studio combo box! I select this processor but the error appears!
  14. Replies
    9
    Views
    5,562

    Error in programming 16F688

    Downloading this patch from Melabs and running it produces the same "Nothing to do" error message. I have had no problem compiling for other 16F*** and 18F*** PIC devices.
  15. Replies
    9
    Views
    5,562

    Error programming 16F688

    Thanks for the idea. I downloaded the patch program and ran it. However, the program replies:

    "Nothing to do! The files are already updated."

    So no solution I'm afraid!
  16. Replies
    9
    Views
    5,562

    Error programming 16F688

    I am using PBP V2.45 with Microcode Studio V2.45A. When I try to compile a program for the 16F688, Microcode Studio gives the error message:

    Error in parameter "16F688"

    This happens even when...
  17. Thread: Unused pins

    by manxman
    Replies
    13
    Views
    9,181

    Unused PIC pins

    So it seems the average answer is YES XOR NO! Yup, if I accidentally re-assign an unused grounded pin as output and make it high then we have a problem. To be safe I'll tie all unused pins low via...
  18. Thread: Unused pins

    by manxman
    Replies
    13
    Views
    9,181

    Unused pins

    Sorry to go over old ground but I would appreciate some clarification. Various threads on this forum advise that all unused PIC pins should be configured as inputs and tied to ground to improve...
  19. Replies
    5
    Views
    4,162

    PIC not starting

    Yes, the program has a header line defining this oscillator frequency. The problem is solved as described before.
  20. Replies
    5
    Views
    4,162

    PIC 18F 242 not starting

    Thanks Melanie and Mister E for your kind advice - that was extremely helpful, as I will explain:

    The crystal capacitors were actually 33 pF (!) but I changed them to 22pF and this improved the...
  21. Replies
    5
    Views
    4,162

    PIC 18F242 not starting

    My circuit uses an 18F252 with 20MHz low profile crystal and 33nF capacitors for the clock. Power comes from a 7V bench supply, through a standard 7805 regulator and a MAX232 is used for serial to a...
  22. Replies
    8
    Views
    6,962

    PIC Program size

    Many thanks Sayzer and Charles for the final WORD (!). All clear now. I can now program a device until it (almost) bursts.
  23. Replies
    8
    Views
    6,962

    Matching PIC memory and program size

    Thanks for the clues, Charles.

    However, I am still a little bit confused. For example, suppose I change to a 16F676, which the data sheet says has "1024 Flash Words" of program space. Do these...
  24. Replies
    8
    Views
    6,962

    Matching PIC memory and program size?

    I need help in understanding how to select a PIC with the flash program memory size to accommodate my PBP-compiled programs.

    For example, Microcode Studio tells me that one of my small programs...
  25. Replies
    8
    Views
    5,293

    HSEROUT problem at 20MHz

    Problem has been completely solved, as you suggested, by putting 0.1uF ceramic caps spanning the power supply lines to the PIC and the MAX232 on my breadboard. Thanks for the solution.
    ...
Results 1 to 25 of 32
Page 1 of 2 1 2