If possible use a scope to test your programming voltage on VPP while programming, it must be at least 14 volt, if that is so then your chip might be damaged
Type: Posts; User: ChrisMicro; Keyword(s):
If possible use a scope to test your programming voltage on VPP while programming, it must be at least 14 volt, if that is so then your chip might be damaged
Just Brilliant
Hi mat I see you are using ASM to set up your config word, it is a greate idea, but I get a compiler error when I do it. I always edit the device include file 16F628.INC:
NOLIST
...
Sub Zero, It seems like nobody understands your problem, here is my way to solve the problem. First you will need two strong stepper motors one to turn your bobben and the other to guide the wire,...
Did you try the bar graph code that I have posted at the beginning of this thread? it is standalone and no include files to worry about, no need to download just copy the code and paste it.
And I like yours, cncmachineguy no it is both I always use porta for AD conversion but I never tried it with only 2 ports as AD and the rest output see the lower down in the data sheet.
Can I use port a 0-1 as analog inputs and the rest as digital output on the PIC16F62x? and how do I do it?
You can try the following:
Create some word long variables eg
B0 var WORD
B1 var WORD
B2 var WORD
B3 var WORD
SerIn porta.3, N1200,,, B0,...
The serin command is used as folow:
Transmitter code: SerOut GPIO.1,N1200,["A","work"]
Receiver code: SerIn porta.3,N1200,["A"],B0,B1,B2,B3 received data will be: B0=w, B1=o, B2=r, B3=k
Note the...
Here is my code for monitoring the sensors in a car. Note: this method is more accurate than ADCIN
'****************************************************************
'* Name :...
You can even draw little 5X7 sprites, like a walking man or any 5X7 picture. I have a small basic compiler with some handy tools, where you can create the picture and get the data for your picture....
You have to use a chip with AD channels like the 16F818/819 then say for 1 volt you send your 5th character and for 1.4 volt you will send the 5th and the second character for 2.2 volt you will send...
This is my version of the bar graph.
'****************************************************************
'* Name : Bargraph.BAS *
'* Author : Chris...
A Brushless DC Motor is a 3 phase AC motor with an inverter to convert the DC to 3 phase AC so you have to generate a 3 phase signal with the PIC, you can use a R2R resistor pack to generate a sine...
There is no other way to handle strings in PBP
To use arrays, first you have to declare the array variable
Sample VAR BYTE[16]
X VAR BYTE
then if you want to write this array to eeprom you have to...
No problem it works perfect, have a look at your ini file and see if its up to date any problems contact me, I'm using Picall for 5 years now and I think it's good. If you are using PBP then try this...
I am instaling Picall on Windows Exstra Problems now for the first time, it was working well on Windows My Edition(ME) without any problems I will let you know if the problem is only with XP.
Hi smeet
What chip are you using? I believe you are doing an a/d conversion and try to send the conversion.
How many bites are you trying to send at a time? you can put your bites in an array var....
Hi Mario, check your digital output on your receiver with a scope, if there is an output and if the polarity is the same as the input of the transmitter, if I had your E-mail addy then I can send you...
Mario
If you still get garbage try the following
Transmitter:
SerOut PORTA.6,N1400,["A",data,data,.....]
Receiver:
SerIn PORTA.5,T1400,["A"],B0,B1,B2,.... '
Check on your scope if the output of...
Yes Steve I agree with you, where there is modulation, FM or AM but at 1400 baud who is worried about QRM or frequency drift and with a solid state antenna (PCB loop) that $50,000 spectrum analyzer...
It is that simple and it works every time (klokslag) here is one of those learning opportunities, keep your leads short!
Why using SerOut2 and SerIn2?
The following code works perfect in RF applications, I construct my own transmitter with a BFR92A with a saw resonator and a RR3 receiver module with a range of up to...
#12 Of Steve will do the trick