Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    30
    Views
    21,815

    To each his own.

    Darrel,

    I guess that I just never got into the habit of using includes. I almost always have an assembly language ISR at the begining of my programs and I could probably make different ones up...
  2. Replies
    30
    Views
    21,815

    Magic numbers and aliases.

    I write a bit of software and I very seldom use includes. I follow a routine similar to Melanie's in that I tend to structure all of my programs the same way, pretty much as Melanie described. One...
  3. Replies
    12
    Views
    21,664

    Sorry I can't post the artwork.

    I still use this board in commercial projects and I can't make the artwork freely available. I can tell you that it is a breeze to layout. I have posted the silkscreen images and I can sell the...
  4. Replies
    12
    Views
    21,664

    Sorry for the delay in replying.

    Art,

    The resistor network on A5 can be used to monitor the input voltage.

    Sorry for the small error. You are correct the schematic has D5 mislabeled.

    As for why I used two pins of port C to...
  5. Replies
    5
    Views
    6,044

    Well now. You need two serial ports on a pic...

    Well now. You need two serial ports on a pic that only has one hardware uart. I recently overcame this same problem by using a triple dual channel analog mux/demux (CD4053) between the pic and the...
  6. Replies
    17
    Views
    11,224

    What program are you using to program your PIC? ...

    What program are you using to program your PIC? Is it a bootloader?

    If you are programming your pic onboard thru a serial cable using a bootloader then you need to load the bootloader software...
  7. Replies
    17
    Views
    11,224

    If you use in circuit serial programming then you...

    If you use in circuit serial programming then you need to load the bootloader file for the 16F877A -20 as well as selecting the 16F877A.

    Hope this helps.

    Joe
  8. Replies
    23
    Views
    33,638

    Good info!

    Thanks for the links Luciano. Very good information.

    Regards,

    Joe.
  9. Replies
    23
    Views
    33,638

    Thats not quite what I mean. A pic has a few...

    Thats not quite what I mean. A pic has a few different interrupts. Things like timer0, received character, and portb.0 are all things that can interrupt the processor. Portb.0 is an external...
  10. Replies
    23
    Views
    33,638

    hardware UART is the way to go.

    Some advice. Always use a hardware UART when you can.

    I do bullet proof comms using an asm routine and a harware UART. However, if I had a small program and I didn't want to write an assembly...
  11. Bank option and clarification.

    I use the BANK option when declaring variables to ensure that the entire variable is in a known bank. Here is a sample.



    'Variables
    aflag var byte 'individual bits are used...
  12. I just had another thought...

    If you are uncomfortable with assembly and don't want to or don't have the time to try and learn it you could try to handle the interrupt from inside your basic program.

    To do this you turn the...
  13. Wouldn't recommend jumping in and out of ISR.

    Hi,

    I write assembly interrupts often and the main reason that I do this is for timing. I would not recommend jumping into, out of, back into and finally out of the ISR just to increment some...
  14. Replies
    4
    Views
    5,251

    I know that this isn't going to be very helpful...

    I know that this isn't going to be very helpful but I use ASM interrupts with an LCD alot and I don't have any problems. I would check you're context saving as Melanie suggested. Also try writting...
  15. Replies
    18
    Views
    28,942

    Are you sure that the problem is on the load side of the relay?

    Cocacolakid,

    Are you driving these relays with your PIC? If so how?

    I guess what I am asking is: Are you sure that the noise isn't coming from the coil of the relay? Can you hook a relay up...
  16. Ok more on the pot.

    Tom,

    The value of the pot doesn't really matter as long as its over say 5k. You see you are going to set up a voltage divider across Vcc and ground with the wiper going to the A/D pin. Then I...
  17. I use a pot hooked to an analog port for scrolling.

    That's right my secrets out. I have done a few projects that involve user interfaces and I like to use a pot to scroll through menu items. I also use a single button and assign it different...
  18. Replies
    4
    Views
    10,139

    16F877 schematics posted

    Eric,

    I posted the schematics for my 877mCu PCB and an I/O module that interfaces with it. It is located in the schematics forum. Here is the link.
    ...
  19. Replies
    12
    Views
    21,664

    877 I/O module silkscreen

    Here's the last one. This is the silkscreen for the I/O module.




    Regards,

    Joe Kupcha
  20. Replies
    12
    Views
    21,664

    877 I/O module schematic

    Here is the schematic for the I/O module.

    Regards,

    Joe Kupcha.
  21. Replies
    12
    Views
    21,664

    877mCu silkscreen

    Heres the silkscreen for the above schematic.

    Regards,

    Joe Kupcha
  22. Replies
    12
    Views
    21,664

    16F877 universal PCB with I/O module

    I am reposting my 877mCu schematic and silk screen images along with the schematic and silkscreen of an I/O module that interfaces to it. I am reposting so that all of the image links will be in one...
  23. Replies
    4
    Views
    10,139

    schematics

    Eric,

    I figured you new the basics about PLCs and PICs.

    I have posted a universal 877 PCB in the schematics forum. I can also post a generic I/O PCB if you are interested. The I/O board...
  24. Replies
    4
    Views
    10,139

    PLC vs PIC or apple vs apple seed

    Eric,

    I develop industrial machines for the food industry. I use both PLCs and PICs. I will attempt to answer your questions / observation.

    I believe that you aren't comparing apples to...
  25. Replies
    31
    Views
    24,379

    dremel or scroll saw

    I have used a dremel tool (high speed rotary tool) with an abrasive cutting disc. Some care needs to be used as an abrasive disc can burn the board if left in one place too long. Also you need a...
Results 1 to 25 of 30
Page 1 of 2 1 2