Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 4 1 2 3 4

Search: Search took 0.00 seconds.

  1. Replies
    8
    Views
    19,864

    Re: Program 3 PICs using one PICKIT 3. Possible?

    Thank you all for the replies.
    This is an industrial product, so not worth taking the risk.
    I admit I had not thought about the verify part of programming.

    Regards
    Bob.
  2. Replies
    8
    Views
    19,864

    Program 3 PICs using one PICKIT 3. Possible?

    Hi All,

    I have a project where there are 3 818's on the same PCB, and with the same software.
    Has anyone tried programming multiple devices, at the same time using a Pickit 3?

    Regards
    Bob.
  3. Replies
    3
    Views
    2,398

    Re: A/D compiler issues

    Hi,

    Issue solved. Many thanks to Henrik. The old assembler (PM) was not case sensitive, MPASM is.
    Changed define adc_bits 10, and all of the other config parts to capital letters, and all is...
  4. Replies
    4
    Views
    4,001

    Re: A/D, and compiler issues.

    Henrik,

    Thank you very much, issue solved by changing to capital letters.
    It's always the simplest things that cause the issues.

    Sorry about the dual post, no one was viewing PBP 3 section, &...
  5. Replies
    3
    Views
    2,398

    Re: A/D compiler issues

    Hi Alain,
    Here is the code. PIC16F870 by the way.

    define OSC 20
    define adc_bits 10
    define adc_sampleus 50
    trisa = 255
    adcon0 = 129 'Internal clock, channel 0, switched on
    adcon1 = 142 'Right...
  6. Replies
    4
    Views
    4,001

    Re: A/D, and compiler issues.

    Here is the code. PIC16F870 by the way.

    define OSC 20
    define adc_bits 10
    define adc_sampleus 50
    trisa = 255
    adcon0 = 129 'Internal clock, channel 0, switched on
    adcon1 = 142 'Right justified...
  7. Replies
    3
    Views
    2,398

    A/D compiler issues

    Hi,

    Ever since I have been using PBP I have had the same problem. If using MPASMWIN the A/D converter module does not work, and just reads zero. In the past this was not a problem as I had the...
  8. Replies
    4
    Views
    4,001

    A/D, and compiler issues.

    Hi,

    Ever since I have been using PBP I have had the same problem. If using MPASMWIN the A/D converter module does not work, and just reads zero. In the past this was not a problem as I had the...
  9. Re: 3 Phase bridge rectifier, made from 3 single phase rectifiers.

    Thanks for the replies.
    Good to know paralleling the inputs is not a problem.
    We buy the 35A rectifiers in bulk for less than £1 each, so using 3 is no problem.
    Very relieved to know There is no...
  10. 3 Phase bridge rectifier, made from 3 single phase rectifiers.

    Hi,

    I need a 3 phase bridge rectifier that can handle around 15A / Phase.
    The limit for fairly inexpensive ones seems to be 35A, higher than this and the price is just not viable for the product....
  11. Replies
    3
    Views
    2,043

    Re: IF... THEN question.

    Hi,

    The conditions would be in brackets i.e.

    if (a = 1) or (a = 2) then

    I think the number is only limited by memory. I tried 10 no problem.

    Regards
    Bob
  12. Replies
    3
    Views
    20,131

    Re: USB hid maker help please.

    Hi Gaston,

    Yes I did have some success. Unfortunately I lost the files for the completed project when a computer crashed. I do still have a basic version which as far as I remember works. The...
  13. Re: Many problems with programs that used to work

    Hi,

    Thanks for your replies. I have now solved the problem, but still cant explain why it was behaving as it was.
    Turns out that I had added some code that had not been tested, before being...
  14. Re: Many problems with programs that used to work

    Hi,

    Thank you for your help. I will post the full code.



    #config
    __config _HS_OSC & _WDT_ON & _PWRTE_ON & _BOREN_ON & _CP_ON & _LVP_OFF
    #ENDCONFIG
  15. Many problems with programs that used to work

    Hi,

    I am having troubles recently. Programs that used to work ok are now behaving strangely, like certain lines of code being ignored, or so it seems. I may have only changed a pause time or...
  16. Replies
    1
    Views
    2,338

    Re: PORTB.3 Input not working as expected.

    Hi,

    As usual after trawling the net, and data sheets for many hours, I have found the answer only 10 mins after posting.
    When programming disable low voltage programming mode, and something...
  17. Replies
    1
    Views
    2,338

    PORTB.3 Input not working as expected.

    Hi,

    I am having a problem with using port B as inputs. The inputs are inverted. Here is the code.


    #config
    __config _HS_OSC & _WDT_ON & _PWRTE_ON & _BOREN_ON & _CP_ON
    #ENDCONFIG
    define OSC...
  18. Replies
    1
    Views
    5,334

    Digital input chips, I am looking for any.

    Hi,

    In the past I have used the good old 2803 octal driver as inputs to a pic where space was too tight for using opto isolators.
    This proved to be problematic, interference wise, due to the...
  19. Replies
    31
    Views
    22,722

    Re: Pic based Wind Speed meter

    Hi Bobbo,

    Did you download the PIC timer calculator linked above?
    Using this we can see what is happening much more easily.

    Lets take a look, you have a 4MHz osc, and the timer uses fosc / 4,...
  20. Replies
    8
    Views
    4,959

    Re: I2C Timings and Mains Disco Lighting Control

    Hi Mark,

    Yes EasyHiID works with PBP2.5, and Micro Code Studio

    Bob
  21. Replies
    55
    Views
    38,984

    Re: Scrolling thermo

    Hi,

    Just ran a simulation in isis. First thing I notice is that porta.4 does not seem to be working. Don't know if that is just the simulator though.

    Will take a closer look at your code :)
  22. Replies
    5
    Views
    7,645

    Re: Using ASM with PBP variables.

    Ahh I see what I was doing wrong. I thought the asm part saw all pbp names as _CAPITALS.

    Thanks.
  23. Replies
    5
    Views
    7,645

    Re: Using ASM with PBP variables.

    Ok, I have been doing a little more delving into asm. So I now have a specific question.
    How do I use a macro?
    I have tried using it in PBP, and inbetween the ASM, ENDASM commands, but I can't...
  24. Replies
    5
    Views
    7,645

    Re: Using ASM with PBP variables.

    Thank's for that. I had no idea about the .lib files. Very interesting stuff.

    Will also check out the piclist website.

    Regards
    Bob...
  25. Replies
    5
    Views
    7,645

    Using ASM with PBP variables.

    Hi,

    Does anyone out there have any examples of using PBP variables in asm?

    In particular I was thinking of reading TMR1H, & TMR1L into a 16 bit PBP variable, or setting up registers, doing A to...
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4