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.
Type: Posts; User: Bill Legge; Keyword(s):
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.
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...
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....
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...
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...
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...
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....
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...
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...
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...
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...
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
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...
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...
Odie52,
Here is an example of writing 16 bytes, in one go, to external EEPROM. Some of the variables are byte sized:
'...
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...
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 -...
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.
...
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...
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.
...
Intermediate onwards:
"Programming & Customising the PIC Microcontroller"
By Myke Predko
Regards Bill Legge
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...
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...
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...
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...