Author |
Message |
Topic: 368 or 256 RAM? |
Joshua Lai
Replies: 4
Views: 5967
|
Forum: General CCS C Discussion Posted: Tue Nov 22, 2005 2:01 am Subject: 368 or 256 RAM? |
I browse Farnell website because there is one distributor nearby. Why you asked me to browse digi-key?
Is there really have PIC 16F877 with different RAM size? |
Topic: voltage and delay problem |
Joshua Lai
Replies: 16
Views: 16300
|
Forum: General CCS C Discussion Posted: Tue Oct 25, 2005 10:00 pm Subject: voltage and delay problem |
What I did is
delay_us(a1);
delay_us(a2);
delay_us(a3);
delay_us(a4);
I use four integer variables. I use loop to calculate a1, a2, a3, a4 from another long ... |
Topic: 368 or 256 RAM? |
Joshua Lai
Replies: 4
Views: 5967
|
Forum: General CCS C Discussion Posted: Tue Oct 25, 2005 9:46 pm Subject: 368 or 256 RAM? |
I browsed for PIC16F877 on FARNELL and found that there are PIC with 256 bytes RAM and 368 bytes RAM. The PIC number is the same PIC16F877-20/P, but order number is different. What is the difference? ... |
Topic: General i2c question... |
Joshua Lai
Replies: 8
Views: 8136
|
Forum: General CCS C Discussion Posted: Fri Oct 07, 2005 9:44 pm Subject: General i2c question... |
You may want more than one bus if you are dealing with divices that support different bus speeds (such as 100K versus 400K) and you need to talk to one at high speed.
How to do that? How to speci ... |
Topic: Pin A2 and A4 spoilt ?? |
Joshua Lai
Replies: 6
Views: 7476
|
Forum: General CCS C Discussion Posted: Fri Oct 07, 2005 9:33 pm Subject: Pin A2 and A4 spoilt ?? |
|
Topic: Pin A2 and A4 spoilt ?? |
Joshua Lai
Replies: 6
Views: 7476
|
Forum: General CCS C Discussion Posted: Wed Oct 05, 2005 10:40 pm Subject: Pin A2 and A4 spoilt ?? |
I saw the pin diagram, I used 1k pull-up resistors.
Software i2c can use any pin right? |
Topic: Pin A2 and A4 spoilt ?? |
Joshua Lai
Replies: 6
Views: 7476
|
Forum: General CCS C Discussion Posted: Wed Oct 05, 2005 10:34 pm Subject: Pin A2 and A4 spoilt ?? |
I bought a new PIC, running the same program, everything is ok. Why?
That prove my old PIC really spoilt? But other port still working fine.
I bought PIC from fanell, what difference for 1 timer ... |
Topic: Pin A2 and A4 spoilt ?? |
Joshua Lai
Replies: 6
Views: 7476
|
Forum: General CCS C Discussion Posted: Tue Oct 04, 2005 11:29 pm Subject: Pin A2 and A4 spoilt ?? |
PIC 16F876, Compiler 2.734
I spent whole night, eeprom not working. Then found SDA always low.
I tested port A pin by pin using LED, and found that A2 and A4 always low, cannot output high or fl ... |
Topic: How to do 10 channels analog output? |
Joshua Lai
Replies: 13
Views: 14586
|
Forum: General CCS C Discussion Posted: Tue Oct 04, 2005 11:20 pm Subject: How to do 10 channels analog output? |
Do I need to change to any fast switching multiplexer? Any cheap example? |
Topic: How to do 10 channels analog output? |
Joshua Lai
Replies: 13
Views: 14586
|
Forum: General CCS C Discussion Posted: Tue Oct 04, 2005 11:18 pm Subject: How to do 10 channels analog output? |
Any suggestion for what opamp? |
Topic: hex file on PC-->PIC-->eepom |
Joshua Lai
Replies: 2
Views: 4301
|
Forum: General CCS C Discussion Posted: Mon Oct 03, 2005 11:57 pm Subject: hex file on PC-->PIC-->eepom |
Convert the data in notepad into hex file using matlab. Then can program directly using ic-programmer. |
Topic: Problem to write memory |
Joshua Lai
Replies: 3
Views: 5350
|
Forum: General CCS C Discussion Posted: Mon Oct 03, 2005 11:50 pm Subject: Problem to write memory |
What memory? You didn't include the eeprom driver? |
Topic: How to do 10 channels analog output? |
Joshua Lai
Replies: 13
Views: 14586
|
Forum: General CCS C Discussion Posted: Mon Oct 03, 2005 11:46 pm Subject: How to do 10 channels analog output? |
I can make a sample hold using op-amp right? I read that just put a capacitor with a voltage follower. Then what op-amp is suitable? |
Topic: How to do 10 channels analog output? |
Joshua Lai
Replies: 13
Views: 14586
|
Forum: General CCS C Discussion Posted: Mon Oct 03, 2005 11:36 pm Subject: How to do 10 channels analog output? |
I tried multiplexer CD4015 from national semiconductor.
www.national.com/pf/CD/CD4051BC.html#Datasheet
I multiplex a sinewave and a triangular wave in my program then output on PIC. I use anothe ... |
Topic: How to do 10 channels analog output? |
Joshua Lai
Replies: 13
Views: 14586
|
Forum: General CCS C Discussion Posted: Mon Oct 03, 2005 11:23 pm Subject: How to do 10 channels analog output? |
Oh! That cute 1-bit picsound.
I already gave up about it, because his free encoder software not work on Windows XP. Then I also don't know how to copy his code into C program. For instant, ... |
|