Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    16
    Views
    10,022

    Word Size Address

    Darrel, I started this mess with a word sized address without highbyte, lowbyte. I found in another thread that the high-low byte addressing worked for someone, and when it didn't work for me, I...
  2. Replies
    16
    Views
    10,022

    I'll try setting the registers

    Darrel, I've tried 1k, 2k, 4.7k and 10k. I get a more well-defined square-wave with a 1 or 2k, but I still have the same result. I don't think the 24LC256 is being written to or read.

    Jerson,...
  3. Replies
    16
    Views
    10,022

    Exactly, a no brainer

    It's the fact that this should be a "no brainer" that is so baffling. I've breadboarded much more complicated circuits, yet this simple EEPROM circuit won't work. I thought perhaps someone else had...
  4. Replies
    16
    Views
    10,022

    Simple example; still doesn't work

    I wrote a very simple program but with the same output result:

    5, 57
    5, 255



    DEFINE LOADER_USED 1
    DEFINE OSC 20
  5. Replies
    16
    Views
    10,022

    Huh, you don't know what ". . ." means?

    I don't mean to be rude but the ". . ." means that I omitted code from the post or did you want three pages of the same thing over and over?

    I also have no idea what colons have to do with...
  6. Replies
    16
    Views
    10,022

    External EEPROM can't read/write

    I am using a 16F877 with a 24LC256 in an effort to display a logo on a graphic LCD. The following code should write the logo to the 24LC256 and read 10 of the written addresses from the 24LC256. ...
  7. Replies
    20
    Views
    10,531

    Work around found

    With a terrible hiccup in the 12kHz signal, I have to test the the frequency with:

    If (Counter > 1) then

    So as long as the PIC counts anything over a 1kHz, the relay works properly. What a...
  8. Replies
    20
    Views
    10,531

    Ok on the CMCON

    I'll remember that and keep "CMCON = 7" with "ADCON1 = 7" when switching from analog to digital I/O. However, this did not solve my problem either.

    I now know that it's the 12kHz from Mach3. ...
  9. Replies
    20
    Views
    10,531

    Can someone explain this to me

    Function Generator 12.1kHz TTL 3V signal directly on B0 and the relay works great. Ditto when the Generator's signal is run through PC parallel port input and tri-state transceiver to boost to 5V...
  10. Replies
    20
    Views
    10,531

    Sorry, but I did get some CCP and interrupt study

    When I use a 12kHz TTL signal from my Function Generator, the relay works fine. However, when I use the 12kHz signal from Mach3, I get the spastic relay. I scoped the Mach3 signal after passing...
  11. Replies
    20
    Views
    10,531

    Your right

    You are right, but A2 is correct. When I first posted, I change my code for clarity. I probably should have used the exact same code all the way through. When I said A1 earlier, it should have...
  12. Replies
    20
    Views
    10,531

    The entire program

    Here is the entire program I am working with just to get the relay to operate properly:

    @ DEVICE HS_OSC, WDT_OFF, LVP_OFF, BOD_OFF, PWRT_ON, PROTECT_OFF

    Define OSC 20

    ADCON1 = 7 ...
  13. Replies
    20
    Views
    10,531

    General response

    "Boiler Plate" is a term attorneys use when drafting wrtten legal documents. It's the language included based on prior experience with similar documents. Although the exact purpose would have to be...
  14. Replies
    20
    Views
    10,531

    I forgot to answer the Watch Dog Timer question

    I have this assembler code at the start of my program:

    @ DEVICE HS_OSC, WDT_OFF, LVP_OFF, BOD_OFF, PWRT_ON, PROTECT_OFF

    The "HS_OSC" is my change because I have a 20Mhz xtal, and yes, I have...
  15. Replies
    20
    Views
    10,531

    Thanks Rob and Joe

    I was thinking that I need to test the relay circuit isolated from the rest of the PCB, but I've done that before, it works. I know I should test every circuit when components change, but they are...
  16. Replies
    20
    Views
    10,531

    16F877A won't keep relay on 100% of the time

    I have a relay with 5V on one side of the relay's coil and the collector of a darlington transistor on the other side. I have a diode reverse-biased across the coil. I am using a 16F877A with PORTB...
  17. Replies
    30
    Views
    17,587

    15MHz on 16F877A

    No need to edit your INC file. Just add a line of assembler to your program:

    @ DEVICE HS_OSC

    Then add a line of PIC Basic:

    DEFINE OSC 20

    I don't believe Pic Basic Pro can use 15MHz...
  18. Replies
    3
    Views
    4,098

    Thanks Steve

    I searched for information on Boundary Warnings, but I didn't find the message referenced in your hyperlink.

    Ken
  19. Replies
    3
    Views
    4,098

    MicroCode Studio Boundary Warning Message

    Can someone tell me the nature and importance of the following warning message? I have no idea how I introduced it. The PIC Basic Pro program still compiles and runs properly, but will this give me...
  20. Thanks Bruce

    I am not sure why you mention "PR2 is initialized to 255 on reset". I have no idea what you are trying to tell me.

    However, your explanation and advice to change my Counter trigger to 76 did the...
  21. Implement a timer without using an interrupt

    I've read the posts on using timers, but I have not been able to get one to work in my situation. I would like to use a timer to turn off a LCD backlight after approximately 5 seconds without...
  22. Replies
    7
    Views
    7,847

    Easier than I thought it would be

    I didn't realize that just designating a "CLK" pin on the 16F877A is all that was needed. I was under the impression that I had to somehow place a square wave on the "CLK" pin for the DS1802's...
  23. Replies
    7
    Views
    7,847

    Thanks Mith

    I will try using your approach when I breadboard in a few days. I appreciate your efforts and will post back with the results.

    I swear that I thoroughly read datasheets, but my brain gets...
  24. Replies
    7
    Views
    7,847

    Further research

    I see that I could set the RST pin high and, possibly, use PULOUT to send 20MHz to the CLK pin of the DS1802. Then during the pulse, I could read the WORD output on the DS1802's COUT pin. However,...
  25. Replies
    7
    Views
    7,847

    Clock connection to DS1802 from 16F877A

    I thought this would be a simple solution for someone more experienced than me before I breadboard a mess. It is not a programming question, but I need the circuit correct before I can test my...
Results 1 to 25 of 27
Page 1 of 2 1 2