Search Results - MEL PICBASIC Forum


Search:

Type: Posts; User: Bill Legge; Keyword(s):

Page 1 of 4 1 2 3 4

Search: Search took 0.08 seconds.

  1. Thread: Vdrive2

    by Bill Legge
    Replies
    0
    Views
    968

    Vdrive2

    Some code to talk to the Vdrive2 device from Vinculum.
    Thought this code may be of interest to someone:

    1. DEBUG on G1/G2.
    2. Vdrive2 on portB.
    3. Vdrive2 CTS to ground, RTS not used.
  2. Replies
    31
    Views
    12,333

    Re: Pic based Wind Speed meter

    I've always wanted to have a go at a hot wire anenometer. I presume they work by the cooling effect of the wind changing the resistance of the heated wire? Gets around all the mechanical and...
  3. Replies
    3
    Views
    1,963

    Re: IMPORTING from CHINA LCDs

    Mister_e,
    Wow, that is a good price for a 4X40 blue/white. I've been digging round the Australian suppliers - I should have remembered that they are mostly over-priced, and on borrowed time....
  4. Replies
    8
    Views
    3,775

    Re: WHILE WEND and SHIFTIN

    Mister_e
    Thanks for that, I didn't know it was possible.
    Another solution to prevent the code hanging has just occured to me.
    Replace the WHILEs with fixed delays that are equal to the longest...
  5. Replies
    3
    Views
    1,963

    IMPORTING from CHINA LCDs

    I'm thinking of having a go at a small venture:

    1. Purchase im bulk about 100 4X40 blue/white LCDs from China.
    2. FOB cost ia about $18 each.
    3. Other costs would be postage and so on.
    4. Sell...
  6. Replies
    8
    Views
    3,775

    Re: WHILE WEND and SHIFTIN

    Thanks for all your replies.

    1. Mackrackit. Yes, there is a 10k pull-up on the data line.
    2. Mr_e. Yes, OSC 32 is in the code.
    3. Mr_e. OSC switchover to use a slower internal oscillator - how...
  7. Replies
    8
    Views
    3,775

    WHILE WEND and SHIFTIN

    I'm using: PBPL on a PIC18F1220 and reading data from a SHT15 temperature/humidity sensor. Two issues:

    1. I want the PIC to keep going in the main loop even if the SHT15 is not connected....
  8. USB and PC Files

    Not quite what you want but I used the VDrive2 module from FTDI (cost about $50).

    The program creates a CSV file that the PC opens with XL

    Regards Bill Legge

    The code I wrote to get the...
  9. Replies
    3
    Views
    1,296

    Software Reliability

    I've built a couple of PIC systems that run for months on end (weather station and water pump controller) and noticed that they occasionally go wrong.

    I have structured my software so that the...
  10. Replies
    14
    Views
    12,961

    Ds18b20p

    Thought the following code might interest someone?
    It's based on the code for the DS18B20 by Bruce on the Reynolds/Renton web site.

    The chip I used is the DS18B20-PAR ( the device is marked...
  11. Replies
    43
    Views
    14,021

    Stamp Plot Pro

    Jellis,

    I thought this thread was long dead! My thoughts on PIC/USB/StampPlotPro:

    1. StampPlotPro won't talk USB.
    2. I don't know enough about USB comms to know how one would 'change' an...
  12. Big Numbers

    Not an economic solution but great fun is the 'floating point co-processor' from Micromega. Costs about $20. the free IDE make developing the code a doddle.

    Regards Bill Legge
  13. Replies
    3
    Views
    2,114

    Thanks - I had not thought of that. I forgot to...

    Thanks - I had not thought of that. I forgot to set the initial states - I guess it's the sort of thing that one 'gets away with' most of the time.

    I'll give it a try. It's a pity to have such a...
  14. Replies
    3
    Views
    2,114

    Sure Electronics Dot Matrix Display

    Any one had any luck getting the Sure electronic display to work?

    I've got the 6432 display (really two 6416, one above the other. I can get LEDs to light up - but not the ones I think shoul be...
  15. Replies
    2
    Views
    3,469

    Writing to external EEPROM

    Odie52,

    Here is an example of writing 16 bytes, in one go, to external EEPROM. Some of the variables are byte sized:



    '...
  16. Thread: PBP Book

    by Bill Legge
    Replies
    81
    Views
    24,678

    PBasic book

    Bruce,

    I think you were intending to write a PIC book some time ago?

    If you are still going to do it, I'd be pleased to provide some input, not because of any technical skills on my part but I...
  17. Replies
    6
    Views
    5,145

    Driving two stepper motors

    Tanaja,

    Yes, I've seen the embedded.com article by David Austin. There is also a good application note on the ATMEL site (Application note AVR446) that has rampup/down calculation:

    Cn = Cn_1 -...
  18. Replies
    6
    Views
    5,145

    Drivin two stepper motors

    Tenaja,

    Thanks for your comment. That's a good idea - I presume toggling the drive pins will be OK as long as they stay high for the minimum time for my driver - 5uS.

    I'll give it a try.
    ...
  19. Replies
    6
    Views
    5,145

    Driving two stepper motors

    After some months, and considerable help from Bruce 'at Renton' - I've got my PBP code working to drive two stepper motors at the same time. This gives diagonal moves on an X/Y plotter.

    The basic...
  20. Blink8X

    I've only had a quick look at Blink8X, and I think:

    1. It's a PB program not PBP so you may get problems.
    2. The program does not have any of the usual 'set up' commands:
    . Xtal frequency.
    ...
  21. Pic books

    Intermediate onwards:

    "Programming & Customising the PIC Microcontroller"
    By Myke Predko

    Regards Bill Legge
  22. Thread: Pbp - icd

    by Bill Legge
    Replies
    10
    Views
    3,407

    Debug in MPLAB

    Charles,

    Yes, I've done it. Nothing difficult about it - but there are quite a number of steps and settings that if incorrect will stuff up the de-bug.

    I first tried it without paying much/any...
  23. Thread: ASM code

    by Bill Legge
    Replies
    20
    Views
    5,432

    ASM code

    Bruce,

    That all works just great - thank you.

    I notice that you:

    1. Put an underscore (_) infront of the label that PBP jumps to (_Main_ASM).
    2. Not in front of the 'identifier' names of...
  24. Thread: ASM code

    by Bill Legge
    Replies
    20
    Views
    5,432

    ASM code

    SORRY, I HIT THE WRONG BUTTON BEFORE I HAD COMPLETED THE POST
    PLEASE READ ON..........

    Charles & Bruce,

    Thanks for your help.

    Bruce: the code you provided works well and I've tested it in...
  25. Thread: ASM code

    by Bill Legge
    Replies
    20
    Views
    5,432

    ASM code

    Charles & Bruce,

    Thanks for your help.

    Bruce: the code you provided works well and I've tested it in MPLAB with a variety of inputs and it's all OK.
    I have 'glued it into PBP and still can't...
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4