Thanks
Duncan
Type: Posts; User: dmairspotter; Keyword(s):
Thanks
Duncan
Has anybody used any OEM style gps modules with PIC. I'd prefer to stay away from USB interface. Any info/recommendations appreciated.
Have you got your oscillator mode set right? I think it is HS for crystal..don't have my documaentation in front of me but I have had trouble with forgetting this.
Thanks for all the input. I did try some small (.1-.2 mF) caps at the in and out of the reg. On the in side, seemed to help. On the out, seemed to aggravate the problem. I will check the LV...
Hi all
I have a project using the PIC 16F876A. I'm having a problem with that appears to be the program memory resetting or erasing randomly on power up.
I'm using a wall wart at 12 vdc to...
VB.net or whatever you want to call it is no doubt the next generation, but VB6 is still around and is very robust.I do quite a bit of work with it and I find it has very few shortcomings for what I...
Index usually gives a pulse at one particular point in each turn of the encoder, like a "home" signal.
2) I don't think the encoders in the picture are direction sensing (Quadrature). You need an encoder with two output signals, out of phase with each other.
1) With a quadrature signal (phase a and...
Could you make PULSIN work?
If I understand your desired function correctly, maybe this idea?
counter var byte ' a counter for the alarm condition
mainloop:
gosub getA ' get the range value
'display the...
You should drop out of the While...wend loop when the button is pushed or if the x variable exceeds 300. AH HA! In your code, X is a byte so never exceeds 255. Either change
(x<300) to (x<253) or...
How about
Confirmation:
confirm_flag=0
x=0
WHILE (x<300) and (confirm_flag=0)
Pause 10 'check for button every 10ms
Not sure I understand your circuit. One end of 47k resistor at GND, other end at Portb.x. One end of switch to portb.x, other end to +5. If this is it, it would seem that you could get floating...
Could you explain what problem you are having with your code?
PAUSE is limited to 65535 milliseconds (65.534) seconds
DEFINE SHIFT_PAUSEUS xx where xx is some number will slow down the SDI transmission. Looking at the data sheet, it shouldn't be necessary but maybe worth a try? No harm in trying to make up one 16...
but it would seem like you could implement this on one PIC chip, like the 16F876A
PORTA analog inputs
PORTB 8 digital out
PORTC 8 digital out
either use a mux chip to select the cells to be...
Try mode 5?
DEFINE SHIFT_PAUSEUS xx?
a long time ago in a PC. I basically took an amp reading every second and added 1/3600th of the reading to a register. Basically integrating the amps to get amp hours. Seems like you could do...
now I can save a word!
Apparently, you must use a word variable to generate the 32 bit result
add to my original code
a VAR WORD
b VAR WORD
a=500
b=1000
Heres my code, (values taken from the PBPro manual to try and make it work)
s_const VAR WORD
v_raw VAR WORD
.
.
.
s_const = 500*1000 's_const should equal 500000 internally
v_raw =...
Mecanique has confirmed that the PICkit 2 is not compatible with MCS at this time. No mention of any plans to make it so.
Thanks Mike. I use the EPIC and have designed my circuit boards with the 10 pin header for programming.
If I maintain this setup, I understand that the bootlader is not required.
Thanks for...
Express PCB has a schematic program you can download for free. It seems to be pretty good, but I'm no expert. Has a large library of parts. Way better than Paint.
Can be linked to their PCB...