Author |
Message |
Topic: ADS1115 problem |
art
Replies: 16
Views: 46462
|
Forum: General CCS C Discussion Posted: Mon Mar 16, 2020 1:53 am Subject: ADS1115 problem |
Dear Ttelmah
Almost 'classic' for a chip that is not actually genuine. Where did you
buy it from?
I bought it from SHOPEE for only USD1.50. Maybe it is not genuine. I'm thinking of replacing t ... |
Topic: ADS1115 problem |
art
Replies: 16
Views: 46462
|
Forum: General CCS C Discussion Posted: Mon Mar 16, 2020 1:22 am Subject: ADS1115 problem |
Dear PCM programmer
I connect a 60V DC power supply to a series of resistor. Output of 4.096V connect to AN1 and AN3 of ADS1115. |
Topic: ADS1115 problem |
art
Replies: 16
Views: 46462
|
Forum: General CCS C Discussion Posted: Sun Mar 15, 2020 7:53 pm Subject: ADS1115 problem |
Dear Ttelmah
I've just test your code and it gives the same result as mine, when i increase input voltage from 0V onwards. Result as below:
VALUE 0
VALUE 16
VALUE 32
VALUE 48
VALUE 64
..... ... |
Topic: ADS1115 problem |
art
Replies: 16
Views: 46462
|
Forum: General CCS C Discussion Posted: Sat Mar 14, 2020 9:53 pm Subject: ADS1115 problem |
Dear Ttelmah
Your pause for conversion only needs to be 8mSec.
I did not see, where you put this 8mSec in your code ? |
Topic: ADS1115 problem |
art
Replies: 16
Views: 46462
|
Forum: General CCS C Discussion Posted: Fri Mar 13, 2020 1:31 am Subject: ADS1115 problem |
Hi,
i've build an ADC project using ADS1115 module (16bit ADC) and connect to PIC18F4550. My code below works, however the lsb output increase by 16. Why it increase by 16? It should increase by 1 f ... |
Topic: EX_ADMM10.C example |
art
Replies: 1
Views: 8328
|
Forum: General CCS C Discussion Posted: Wed Jan 15, 2020 2:50 am Subject: EX_ADMM10.C example |
Hi,
I would like to know, what does " #device ADC=16 " mean ?
In EX_ADMM10.C example it shows that for PCM and PCH, both use this setting. Is it referring to 16 Bit ADC ? if YES, does it ... |
Topic: 16 bits ADC driver (TC500 microchip) |
art
Replies: 6
Views: 14866
|
Forum: General CCS C Discussion Posted: Mon Jan 13, 2020 12:03 am Subject: 16 bits ADC driver (TC500 microchip) |
Hi,
I've decided to used MAX1416 as 16 bit ADC. If I refer to EX_AD12.C example, it used 12 bit ADC MCP3208.
Both IC have almost identical pin out, which have CLK,DOUT,DIN and CS. However I don't ... |
Topic: 16 bits ADC driver (TC500 microchip) |
art
Replies: 6
Views: 14866
|
Forum: General CCS C Discussion Posted: Sun Jan 12, 2020 11:18 pm Subject: 16 bits ADC driver (TC500 microchip) |
Actually i do not know what kind of16 bits ADC ic that i can use with EX_AD12.C example. Could you give a suggestion? I would prefer to use a DIL package. |
Topic: 16 bits ADC driver (TC500 microchip) |
art
Replies: 6
Views: 14866
|
Forum: General CCS C Discussion Posted: Sun Jan 12, 2020 8:40 pm Subject: 16 bits ADC driver (TC500 microchip) |
Hi
I would like to know , where can i get 16 bits ADC driver for Microchip TC500.
I'm using PIC18F4550. Based on example EX_AD12.C it use 12bit ADC IC. How to change it to 16 bit ADC ? Is there an ... |
Topic: Reset PIC Method |
art
Replies: 3
Views: 12335
|
Forum: General CCS C Discussion Posted: Mon Jul 15, 2019 6:00 am Subject: Reset PIC Method |
Thank you mike,
I'm using pic18f4550. I really hope reset_cpu() works. |
Topic: Reset PIC Method |
art
Replies: 3
Views: 12335
|
Forum: General CCS C Discussion Posted: Sun Jul 14, 2019 8:09 am Subject: Reset PIC Method |
Hi,
I would like to know is there is any method to reset PIC by coding ?
Normally people will connect MCLR pin of PIC to ground.
Hope someone can share their ideas or codes.
Thank you |
Topic: ex_usb_keyboard |
art
Replies: 3
Views: 10838
|
Forum: General CCS C Discussion Posted: Wed May 01, 2019 2:21 am Subject: ex_usb_keyboard |
Oooo..i see. I'm going to use PIC18F4550 to test this example.
Thank you Ttelmah. |
Topic: ex_usb_keyboard |
art
Replies: 3
Views: 10838
|
Forum: General CCS C Discussion Posted: Tue Apr 30, 2019 7:38 pm Subject: ex_usb_keyboard |
Hi,
I'm trying to learn about ex_usb_keyboard example. My problem is I do not have National 960x hardware. Is there is any other way that I can learn it without using National 960x hardware ?
Ac ... |
Topic: Convert Binary to Decimal number |
art
Replies: 2
Views: 9432
|
Forum: General CCS C Discussion Posted: Wed Mar 06, 2019 2:07 am Subject: Convert Binary to Decimal number |
Dear Ttelmah,
Thank you very much....it works ! |
Topic: Convert Binary to Decimal number |
art
Replies: 2
Views: 9432
|
Forum: General CCS C Discussion Posted: Wed Mar 06, 2019 12:39 am Subject: Convert Binary to Decimal number |
Hi,
I'm trying to convert 16 digit Binary number to a Decimal number. My code can only convert a 5 digit binary number. If the input is more than 5 digits, it will not convert to decimal number cor ... |
|