Re: PIC16F877 無法燒入...
|
||||
---|---|---|---|---|
資深會員
|
建議把 877 ic 換到正常的 DEMO board (app001.....) 去測試 一下.
有時候 icd2 接頭會接觸不良. Ic 有時候會受到損害 如: 靜電(ESD), 加錯電壓...
發表於: 2009/6/4 14:26
|
|||
|
Re: PIC 使用電壓 +5V => 3.3V
|
||||
---|---|---|---|---|
資深會員
|
找找 ldo 或 coms ldo 台灣至少有一堆 ic 公司都有
(ritchtek 沛亨 盛群.......) 5V轉3.6V,3.3V,3.0V..... 很多型號
發表於: 2009/6/4 14:15
|
|||
|
Re: 請問 16F193X sample 何時可以申請!
|
||||
---|---|---|---|---|
資深會員
|
16F1936 lcd 太少了.
我要 16F1937或939 44/40 pin 才夠用. 可以告知何時可以有樣品, 如果有我會找代理商向FAE申請.
發表於: 2009/6/4 14:02
|
|||
|
請問 16F193X sample 何時可以申請!
|
||||
---|---|---|---|---|
資深會員
|
請問 16F193X sample 何時可以申請!
原本有在試 16F914 發覺有下列狀況 1.TX,RX 和 SDA,SCL 共用腳位 2.LCD ON 耗電 50uA, (使用 cr2032 電池撐不到半年). 想更換新193x chip 設計.
發表於: 2009/6/3 11:36
|
|||
|
Re: 請問, 新光華有沒有賣類比的多工器?
|
||||
---|---|---|---|---|
資深會員
|
CMOS CD4016/4066 也許可以用,很容易取得也很便宜.
不過內阻 >500ohm, 可以試試.
發表於: 2009/6/3 11:19
|
|||
|
mplab 8.3 tools 下的新功能Segmented Display Designer 有問題?
|
||||
---|---|---|---|---|
資深會員
|
因為有使用PIC16F914 lcd driver, 嘗試使用 mplab 8.3 tools 下的新功能Segmented Display Designer
將編好的七段顯示器放入 lcd panel 中 按右鍵選擇 properties 進入 Segment To Pixel Mapping. Pixel Name 填入 A , Seg 可選 Seg 0~23,但 COM 只能選 COM0, 無法出現 COM 1~3, 很顯然有 Bug 無法正常使用 有人試過嗎?
發表於: 2009/6/1 13:55
|
|||
|
Re: PIC18F4520 與 PIC18F452 在C18 的差別
|
||||
---|---|---|---|---|
資深會員
|
犯了一個新手常見的錯誤!
兩個source file 只改了一個 #include <18f4520.h> 就出現 一卡車的錯誤! ================================= w401 有adc的範例 舊的 void InitializeAD(void) { OpenADC(ADC_FOSC_32 & ADC_RIGHT_JUST & ADC_1ANA_0REF, ADC_CH0 & ADC_INT_OFF); } 改成 void InitializeAD(void) { OpenADC( ADC_FOSC_32 & ADC_RIGHT_JUST & ADC_12_TAD, ADC_CH0 & ADC_REF_VDD_VSS & ADC_INT_OFF,12 ); } 就沒問題, 可以仔細練習! 謝謝! FAE
發表於: 2009/5/26 12:19
|
|||
|
Re: PIC18F4520 與 PIC18F452 在C18 的差別
|
||||
---|---|---|---|---|
資深會員
|
更新 C18 V3.3 就有 periph 目錄
依 ad converter 說明資料 EX3-1,EX3-2 修正 ok! ============================== w401 EX-4 有出現兩個Warning // LCD_ItoA(AD_Temp); // Show 10-bit A/D Decimal Valum on LCD itoa ( AD_Temp , ASCII_Buf ) ; //75 putsLCD(ASCII_Buf) ; //76 // LCD_Update=1000; D:\DN_2009\C\W401 Answer\Ans4\ex4.c:75:Warning [2054] suspicious pointer conversion D:\DN_2009\C\W401 Answer\Ans4\ex4.c:76:Warning [2054] suspicious pointer conversion 還有一卡車 [1109]error C:\mcc18\h\p18f4520.h:51:Error [1109] type mismatch in redeclaration of 'PORTAbits' C:\mcc18\h\p18f4520.h:84:Error [1109] type mismatch in redeclaration of 'PORTBbits' C:\mcc18\h\p18f4520.h:120:Error [1109] type mismatch in redeclaration of 'PORTCbits' C:\mcc18\h\p18f4520.h:179:Error [1109] type mismatch in redeclaration of 'PORTEbits' C:\mcc18\h\p18f4520.h:324:Error [1109] type mismatch in redeclaration of 'DDREbits' C:\mcc18\h\p18f4520.h:400:Error [1109] type mismatch in redeclaration of 'PIE2bits' C:\mcc18\h\p18f4520.h:417:Error [1109] type mismatch in redeclaration of 'PIR2bits' C:\mcc18\h\p18f4520.h:434:Error [1109] type mismatch in redeclaration of 'IPR2bits' C:\mcc18\h\p18f4520.h:465:Error [1109] type mismatch in redeclaration of 'RCSTAbits' C:\mcc18\h\p18f4520.h:476:Error [1109] type mismatch in redeclaration of 'TXSTAbits' C:\mcc18\h\p18f4520.h:597:Error [1109] type mismatch in redeclaration of 'CCP2CONbits' C:\mcc18\h\p18f4520.h:618:Error [1109] type mismatch in redeclaration of 'CCP1CONbits' C:\mcc18\h\p18f4520.h:641:Error [1109] type mismatch in redeclaration of 'ADCON1bits' C:\mcc18\h\p18f4520.h:664:Error [1109] type mismatch in redeclaration of 'ADCON0bits' C:\mcc18\h\p18f4520.h:726:Error [1109] type mismatch in redeclaration of 'SSPSTATbits' C:\mcc18\h\p18f4520.h:738:Error [1109] type mismatch in redeclaration of 'T2CONbits' C:\mcc18\h\p18f4520.h:757:Error [1109] type mismatch in redeclaration of 'T1CONbits' C:\mcc18\h\p18f4520.h:779:Error [1109] type mismatch in redeclaration of 'RCONbits' C:\mcc18\h\p18f4520.h:852:Error [1109] type mismatch in redeclaration of 'LVDCONbits' C:\mcc18\h\p18f4520.h:869:Error [1109] type mismatch in redeclaration of 'OSCCONbits' C:\mcc18\h\p18f4520.h:957:Error [1109] type mismatch in redeclaration of 'INTCON2bits' C:\mcc18\h\p18f4520.h:980:Error [1109] type mismatch in redeclaration of 'INTCONbits' C:\mcc18\h\p18f4520.h:1009:Error [1109] type mismatch in redeclaration of 'STKPTRbits' Halting build on first failure as requested. 要怎麼解決?
發表於: 2009/5/20 20:00
|
|||
|
Re: PIC18F4520 與 PIC18F452 在C18 的差別
|
||||
---|---|---|---|---|
資深會員
|
引言
到這裡找一下怎樣使用 ADC 的說明: C:\MCC18\doc\periph-lib\AD Converter.htm 注意 ADC 函數有眾多版本,PIC18F8722 式在V5 的版本。請參考V5 的函數使用說明。 2.4.3 OpenADC (ADC_V3, 4, 5, 6) For ADC_V3, ADC_V4, ADC_V5 and ADC_V6 Function: Configure the A/D convertor. Include: adc.h Prototype: void OpenADC(unsigned char config, unsigned char config2 , unsigned char portconfig); ============================================================== 我的 C:\mcc18\doc 之下只有3個html help file 及3個C18 的pdf 所以不知道ADC V1~V9 在哪裡 C18 C complier libraries.pdf p.9~ P15 有一些資料沒看懂? 我正在學C ,請版主修改w401 ex:3-1 範例為pic18f4520 void InitializeAD(void) { OpenADC( ADC_FOSC_32 & ADC_LEFT_JUST & ADC_1ANA_0REF, ADC_CH0 & ADC_INT_OFF ); } 新手 RUN C, 敬請包涵 !
發表於: 2009/5/18 21:32
|
|||
|