Search Results - MEL PICBASIC Forum


Search:

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

Search: Search took 0.00 seconds.

  1. Replies
    0
    Views
    1,843

    UV EPROM programmer

    I had a requirement to program 2764 eproms. I have written a program to do this using 'TeraTerm', a terminal program similar to HyperTerminal. The EPROM is programmed by sending an intel hex file via...
  2. Replies
    5
    Views
    5,016

    AD9833 Example

    I have been working on a program to run an AD9833 module by inputting the frequency in kHz and Hz in decimal. It is a work in progress and will end up being driven by a rotary encoder and/or a...
  3. Replies
    8
    Views
    4,905

    Re: Binary to BCD conversion

    Dave,

    Interesting approach, seems like I got too bogged down in shifting and adding multiple times rather than using the more obvious arithmetic capabilities of PICBASIC.

    George,

    Thanks...
  4. Replies
    8
    Views
    4,905

    Re: Binary to BCD conversion

    Dave,

    Thank you for sharing this, your method does seem a lot simpler. I don't have LONGS available but imagine this could be worked around. I would be interested in having a go with something...
  5. Replies
    8
    Views
    4,905

    Re: Binary to BCD conversion

    Dave,

    I would be interested to see how you would implement the binary/BCD conversion. The code I posted is my take on the shift and add 3/double dabble routine.

    The original data will come from...
  6. Replies
    8
    Views
    4,905

    Binary to BCD conversion

    Hi all,

    I was recently in need of a program to convert binary to BCD to display the result of a binary counter on a MAX7219 7 segment LED display module. Couldn't find anything suitable on the...
  7. Replies
    15
    Views
    22,365

    Re: AD9850 DDS code

    I now have the circuit working. I dont quite understand why the first attempt didnt work, but the following works for me. Thankyou for taking the time to solve my problem.

    DEFINE OSC 4 ;WE ARE...
  8. Replies
    15
    Views
    22,365

    Re: AD9850 DDS code

    This is the latest code. Gave up on the SEROUT command and tryed the following so that i could slow down the sequence and see LEDs representing the signals. Cannot get anything out of the AD9850...
  9. Replies
    15
    Views
    22,365

    Re: AD9850 DDS code

    Thanks for the replies on the matter.

    Im using a 16F628, I thought the SHIFTOUT command automatically made the named ports digital outputs, but will insert a line of code as you suggest.


    ...
  10. Replies
    15
    Views
    22,365

    AD9850 DDS code

    I have bought a cheap DDS module from CHina and want to start by producing a fixed output of 500kHz, there is no LCD or rotary encoder as yet; This is my code:

    include "modedefs.bas"
    pause 1000;...
  11. Replies
    7
    Views
    10,114

    Thanks again for the replies on this subject....

    Thanks again for the replies on this subject. 'Derryck', i agree with your comments that it is a useful learning aid but nothing more. It would be easy enough to make a clock which was manually set...
  12. Replies
    7
    Views
    10,114

    Thanks Bob. I am pretty sure the clock is for...

    Thanks Bob. I am pretty sure the clock is for Rugby/now Anthorn. So far I have got the pic to decode the minute information, and I have an LED flashing once per minute. I have 2 other LEDs flashing...
  13. Replies
    7
    Views
    10,114

    Thanks for the quick response derryck. I have...

    Thanks for the quick response derryck. I have since found a pdf on the MSF data format from a link from: http://www.timstyles.me.uk/projects/clock/clock_page.html

    The site gives a design for a...
  14. Replies
    7
    Views
    10,114

    MSF clock module

    I bought a radio controlled clock yesterday from Argos for 8.99GBP and was pleased to see that it has an easily detatchable MSF receiver module. (ferrite rod antenna and small PCB with 5...
  15. Replies
    8
    Views
    5,069

    The receiver is simply the LCD display example in...

    The receiver is simply the LCD display example in the picbasic pro manual, with a 4MHz crystal and uses 4 data lines to the LCD. The serial input is on pin 10. The transmitter is a 16F84 with 4MHz...
  16. Replies
    8
    Views
    5,069

    Ok I now have a working prototype, thanks to all...

    Ok I now have a working prototype, thanks to all that contributed.
    Transmitter:

    INCLUDE "modedefs.bas"
    N VAR BYTE
    FOR N=0 TO 255
    serout PORTB.0,N300,[N]
    TOGGLE PORTB.1
    PAUSE 100
    NEXT N
  17. Replies
    8
    Views
    5,069

    Thanks to everyone for the quick replies. I...

    Thanks to everyone for the quick replies. I havent had chance to try the corrected code as yet, Ill post back when I get chance.

    Regards, John
  18. Replies
    8
    Views
    5,069

    serial data to LCD

    I am trying out an experiment where one pic16f84 sends out serial data, whilst another receives the data on an LCD. I can only get the LCD to display a 0 for the received data with my code. Any...
  19. Replies
    5
    Views
    4,414

    Thanks for your help so far dave, I have sorted...

    Thanks for your help so far dave, I have sorted the problem out now. I have 2 hard drives installed on my computer, and ended up with the mecanique folder on D: and mpasm on C: or something, so I...
  20. Replies
    5
    Views
    4,414

    Thanks for the quick reply Dave. The first error...

    Thanks for the quick reply Dave. The first error is 'cannot open file (include file P16f84.inc not found)
    The rest of the errors are 'symbol not previously defined........'
    Am I correct in...
  21. Replies
    5
    Views
    4,414

    getting started

    I need some help getting started with picbasic pro, my copy arrived in the post today. I open microcode studio, and the example blink.bas. When I try to compile it I get a long list of errors. How do...
Results 1 to 21 of 21