right that does it.simplest of things to forget....
Type: Posts; User: hell_pk; Keyword(s):
right that does it.simplest of things to forget....
Following code gathers 4 bit ADC value from serial port constantly. Only 2 values are available 3265 approx (actually 3.265) and 1625approx ( actually 1.265). The program checks for first bit (rec[1]...
Does it matter......it receives chars wirelessly & sends it to hyper terminal on PC via serial port. Its just to check for chars i receive wirelessly.
Anyways I modified my design and am doing...
'Receiver side code
DEFINE OSC 8
DEFINE HSER_RCSTA 90h ' Enable serial port & continuous receive
DEFINE HSER_TXSTA 20h ' Enable transmit, BRGH = 0
DEFINE HSER_SPBRG 12 ' 9600 Baud @ 8MHz,...
I already have changed the chip & verified the code and chip on another board. It just has to receive the data from Xbee receiver on its Rx pin,do some calculations & send it through Tx pin to LCD....
Dear all,
My design is working.There was something wrong with 3.3V supply. But there is another problem now.
Pic18F1320 on transmitter board gives some data to xbee transmitter.It then sends data...
You were right,settings were incorrect.Its working now.
Dear All,
I have Noritake Itron 128x64 VFD (GU128*64D-K610A8) display.I want to use it is Async serial mode.I am struggling to display something on it.I am trying to send data using Hserout with...
I am using xbee pro with 18F1320.
A transmitter(Xbee) with 18F1320 transmits ADC value at 9600 baud.
A receiver(Xbee) with 18F1320 receives ADC value. It then sends & displays it on PC using...
Still no luck.The Analog channel pulls up before ADCIN command therefore something must be wrong with register configs.
very frustrating!
Compiler ver 2.50
Define ADC_BITS 8 ' Set number of bits in result
Define ADC_CLOCK 3 ' Set clock source (3=rc)
Define ADC_SAMPLEUS 50 ' Set sampling time in uS
OPTION_REG.7 = 0
PORTC=0
I have added the line but still no result.very strange.
i have configured all registers ANSEL,WUPA etc in program.
What am I missing!!!
I have already posted the code.Analog source is simply a pot for 1-5V range.
I have Set these bits in my program but still the port pins are pulled up.
Hi!
I am trying ADC of 16F684 with this simple code.The problem is that the analog input channels are pulled high.I have tried with different registers but all in vain.
PORTC=0
CMCON0=$07...
Capacitor has no effect,i already tried that.
I am generating Vref- = 2.5V from LM 723 and Vref+ =5 from 7805. LM723 is giving stable output but when 16F877A(@16MHz) is introduced in the circuit...
Hi!
The circuit with ADS712 works well. The only problem is while measuring current their is lot of variation between readings.e.g while measuring 1A current the PIC will display 0.88 to 1.12A on...
darrels' method is working well.I tried with 5V as Vref+ & Vss as vref- as suggested by dhouston but reading are all over the place.
Hi!
I want to interface a current sensor ADS712 with 16F877A.It outputs 2.61V with 0A and rises as 66mV/A.I am using AtoD with 10 bit res & using 2.61 as -Vref and 5 as +Vref. Now how do I scale the...
Hi!
Can you give some details about your project.Also some code will be really helpfull explaining the timings,updation of PWM and use of motion feedback procedures.
Hi
U have not included modedefs.bas in ur program.is that an issue?
I did that but to no avail.
maybe config fuses are causing something.they seem ok.they are as under when i read them using...
Hi Bruce!
I have tried ur codes on RfPIC kit. i can see the data being sent by transmitter on GP2 and received on PORTC.1 on receiver side but the LED's are not blinking. what might be the...
here is some code for 16F877A that will read the memory of TDC.its similar to reading an eeprom such with 4 address lines & 8 data lines.
I dont have TDC to test it so u can do it & then tell me if...
Hi!
A friend of mine was doing the same project with 8051 uc. he failed & then bought a development kit for it. I also read datasheet of TDC-GP1.it shows possible interfacing with a...
thanks!
can nay body covert this to pic basic pro.