Author |
Message |
Topic: Convert Hexadecimal to Decimal |
John Ilicitean
Replies: 2
Views: 11096
|
Forum: General CCS C Discussion Posted: Thu Mar 09, 2006 11:15 am Subject: Convert Hexadecimal to Decimal |
Thank's!! Now, I see in display a decimal number.
But I want to manipulate this data. I'm doing a digital thermometer using a PTR.
I simulate the PTR with a potentiometer. When I change of value ... |
Topic: Convert Hexadecimal to Decimal |
John Ilicitean
Replies: 2
Views: 11096
|
Forum: General CCS C Discussion Posted: Thu Mar 09, 2006 6:25 am Subject: Convert Hexadecimal to Decimal |
Hello!!!
I 'm connect a AD7788 of 16 bits to PIC16F877. The AD7788 send the output register with the data of conversion. I keep the data with a variable "long" call result.
result=make32(spi_r ... |
Topic: SPI comunication problem |
John Ilicitean
Replies: 6
Views: 11859
|
Forum: General CCS C Discussion Posted: Fri Feb 24, 2006 6:13 am Subject: SPI comunication problem |
Hello!!!
Ttelmah thank's for to help me .I proved your code. In the SCLK line I see the pulses of CLK ,four trains of pulses of 8 bits,like in the figure 16.
In the first train of pulses I se ... |
Topic: SPI comunication problem |
John Ilicitean
Replies: 6
Views: 11859
|
Forum: General CCS C Discussion Posted: Wed Feb 22, 2006 9:51 am Subject: SPI comunication problem |
I went to buy the converter that you said to me, and they said that I send
to me in a month.I cannot wait for as much time. For this reason I buy the AD7789.
Single I need aid, like everybody. |
Topic: SPI comunication problem |
John Ilicitean
Replies: 6
Views: 11859
|
Forum: General CCS C Discussion Posted: Wed Feb 22, 2006 6:08 am Subject: SPI comunication problem |
Hi!!
The AD is the AD7789. In the datasheet show in the "Continuous Read Mode" if I send the "0x3c" for DIN , in DOUT is put the data register.
I have a digital storage oscilloscope to be able ... |
Topic: SPI comunication problem |
John Ilicitean
Replies: 6
Views: 11859
|
Forum: General CCS C Discussion Posted: Wed Feb 22, 2006 4:42 am Subject: SPI comunication problem |
Hello to EveryONE!
I connect a PIC16f877 to AD with the bus SPI. This is my first code of SPI. For the line DOUT I want to send the data "3c". The AD have a CS active a "0".
I connect: the DIN of ... |
Topic: Show the temperature in LCD 16X2 |
John Ilicitean
Replies: 0
Views: 3564
|
Forum: General CCS C Discussion Posted: Thu Feb 16, 2006 4:26 am Subject: Show the temperature in LCD 16X2 |
Hi!!!!!!!
I am designing a digital thermometer with a PIC16F877.The circuit of measurement ,measures the difference of voltage between the LDR. This difference of voltage I send to conversor AD and ... |
Topic: Looking for a new AD!!!!!!!! |
John Ilicitean
Replies: 5
Views: 9623
|
Forum: General CCS C Discussion Posted: Tue Feb 14, 2006 12:25 pm Subject: Looking for a new AD!!!!!!!! |
Thank's for help me!!!
|
Topic: Looking for a new AD!!!!!!!! |
John Ilicitean
Replies: 5
Views: 9623
|
Forum: General CCS C Discussion Posted: Mon Feb 06, 2006 2:13 pm Subject: Looking for a new AD!!!!!!!! |
You are right!!
I have seen the characteristics of LTC2420 and it seems to me a good AD!!
I use a PIC16F877, my question is , I need a driver for to comunicate the PIC with LTC2420??? |
Topic: Looking for a new AD!!!!!!!! |
John Ilicitean
Replies: 5
Views: 9623
|
Forum: General CCS C Discussion Posted: Mon Feb 06, 2006 10:05 am Subject: Looking for a new AD!!!!!!!! |
Hello!!!
After my failure to work a PIC with a conversor ADS1100. I look for a conversor A/D of 13 bits or more, with a bus SPI or I2C.
If somebody has worked with a PIC and a conversor of this ... |
Topic: ACK or not ACK??this is the question. |
John Ilicitean
Replies: 15
Views: 23788
|
Forum: General CCS C Discussion Posted: Thu Feb 02, 2006 10:41 am Subject: ACK or not ACK??this is the question. |
Hi everyone!!!
rwyoung wrote:
And your PIC code timing EXACTLY matches that of the PC program's?
The timings of the PC program's is more slow.For example :
Tstart=120usg ------------------ ... |
Topic: ACK or not ACK??this is the question. |
John Ilicitean
Replies: 15
Views: 23788
|
Forum: General CCS C Discussion Posted: Thu Feb 02, 2006 6:07 am Subject: ACK or not ACK??this is the question. |
Hello!!!
I tested the power pins. The Pin 5 Vdd=5.1V and the Pin 2 GND=0.00V.
I'm sure what the pins of SDA and SCL are corretly connected.
I have three ADS1100 , two AD2 and one AD0 (the AD ... |
Topic: ACK or not ACK??this is the question. |
John Ilicitean
Replies: 15
Views: 23788
|
Forum: General CCS C Discussion Posted: Wed Feb 01, 2006 11:46 am Subject: ACK or not ACK??this is the question. |
Hi!!!
First, thank you very much!!!
I have programmed your code and the Pin_A1 has been put '1'.
1) You have both an AD0 and AD2 chip. Did you perform this last test with the AD2 chip? ... |
Topic: ACK or not ACK??this is the question. |
John Ilicitean
Replies: 15
Views: 23788
|
Forum: General CCS C Discussion Posted: Wed Feb 01, 2006 5:29 am Subject: ACK or not ACK??this is the question. |
Hi!!!
I programed the PIC with this code:
#include <16F877.h>
#use delay(clock=20000000)
#fuses HS,NOWDT,NOPROTECT,NOLVP,NOCPD,NOWRT
#use i2c(Master,fast,sda=PIN_C4,scl ... |
Topic: ACK or not ACK??this is the question. |
John Ilicitean
Replies: 15
Views: 23788
|
Forum: General CCS C Discussion Posted: Tue Jan 31, 2006 10:39 am Subject: ACK or not ACK??this is the question. |
I have proven the sequences to READ and WRITE,so and as they indicate the manual to me
First, I followed the datasheet, and don't work the ADS1100.
After, I proved another one secuence, as si ... |
|