richard,
you are true, problem was in config fuses.
Default configuration is: OSC = XT, after change to: OSC = HS is OK:)
richard, thank for your help :)
Type: Posts; User: Kuba230; Keyword(s):
richard,
you are true, problem was in config fuses.
Default configuration is: OSC = XT, after change to: OSC = HS is OK:)
richard, thank for your help :)
config setting:
DEFINE OSC 20
Ok,
I directly saving the ADRESL and ADRESH register which is used to store the end results of an analog-to-digital conversion (ADC) to results adval and sending LCD. My problem is, the code is...
Hello richard,
I configured my code for 12 Bit AD, now I get 12 Bits results, but it is working only with 4MHz external oscillator.
When I replace extenal oscillator wit 20MHz and DEFINE OSC 20,...
Hello,
I have code for 10 bit ADC which is normally working with PIC18F2455 and I want to use this code for 12 bit ADC with PIC18F2523.
I changed Define ADC_BITS 10 to ADC_BITS 12, but...
I atached photo of my wrong LCD. I do not know, what is the problem with LCD.:confused:
Display is marked as MC10621E8-SYL, *W 4034
But after changing, everything is OK.
8230
Problem is solved, I changed LCD display, it is OK. :)
Thanks for your help.
Source is pressure sensor (output 0 - 1V), wchich is normaly working with 10-bit A/D - PIC16F877 conection.
I built conection with PIC18F2455, but not working properly. :confused:
I changed
ADCON2 = %10000000
to
ADCON2 = %10000011
it is still the same :confused:
Hello,
I have written code for 10-bit A/D conversion with PIC18F2455, but not working properly, value on LCD display is not correct.
I used sample code from melbas written for 10-bit A/D conversion...
Thanks loannis for your answer
Kuba
Hi loannis,
now I understand you explanation.
Exist other method, how to send all array elements to LCD, after the completion loop, except my 1. Example?
Thanks
Kuba
Sorry for my english
Hi loannis,
I tried your metod, it does not work.
Method of EarlyBird2 really works, Im surprise.
Thanks
Kuba
Working, great :)
Thanks EarlyBird2
Kuba
Hi,
I have code for 10 Bit AD converter with array storage four samples.
If I send results from array separately, I see all numbers of array results on LCD, (Example 1.)
But If I send all results...
Thanks for your help.
Kuba
I will use osc. 20MHz
Kuba
I think, 20 samples is enough.
How can I obtain this 20 samples and storage as numbers for calculation?
Thanks Kuba
Hi, all, please I need help
I need record analog signal (10Bit) to PIC with length 60us, storage as reference (red line) and compare with next one incoming (blue line). My question is, how to...
Hi Mr. Taylor,
Everything is working very well.
Thank you very much for your help.
Kuba230
Hi Mr. Taylor,
I did those changes to display 10 Bits value in Visual Basic program for USBDemo, it works perfectly, but only for one channel, AN0. What I have to change in picbasic USBDemo program...
Hi Mr. Taylor,
I made changes of USBDemo picbasic code according your advice and after compilation I obtain error messages:
Error[113 ] c:\pbp_prog\usbdemo.asm 61 : Symbol not previously defined...
Hi Mr. Taylor,
I did not tray still your advice for modification of USBDemo program, because I take my holiday. When I com back, then I will try.
Thanks,
Kuba230
If you show me how to change it on the PIC side, it's enough. For Visual Basic I will find way to change it.
Thanks,
Kuba230
USBDemo
' =======
' File name : USBDemo.pbp
...
Hi all,
I’m beginner and I tried modified A/D converter of USBDemo from 8 to 10 Bits, but does not work. I insert definition for 10 Bits resolution, but output value is still 8 Bits.
How can I...