Activity for Daniel Cioba

  • Daniel Cioba Daniel Cioba posted a comment on discussion Great Cow Graphical BASIC Problems

    Now is working , good job Anobius !!! What was the problem , if you want to share it with us ? And one more question , what is the ADC speed since these PIC's have many more clocking options than High , Medium and Low ?

  • Daniel Cioba Daniel Cioba posted a comment on discussion Great Cow Graphical BASIC Problems

    Ok

  • Daniel Cioba Daniel Cioba modified a comment on discussion Great Cow Graphical BASIC Problems

    Sorry , not changing , same value for ADFVR_OFF , 4x , 2x , 1x , still using Vdd as Vref , the library is from the archive you uploaded , it was made ( last time modified ) in 16-07-2017 . These microcontrollers are for sure very closed related like many more that use FVR register , but are not identical ... since don't share the same datasheet .

  • Daniel Cioba Daniel Cioba modified a comment on discussion Great Cow Graphical BASIC Problems

    Sorry , not changing , exactly as before , the library is from the archive you uploaded , it was made ( last time modified ) in 16-07-2017 . These microcontrollers are for sure very closed related like many more that use FVR register , but are not identical ... since don't share the same datasheet .

  • Daniel Cioba Daniel Cioba modified a comment on discussion Great Cow Graphical BASIC Problems

    Sorry , not changing , exactly as before , the library is from the archive you uploaded , it was made ( last time modified ) in 16-07-2017 . These microcontrollers are for sure very closed related like many more that use FVR registers , but are not identical ... since don't share the same datasheet .

  • Daniel Cioba Daniel Cioba posted a comment on discussion Great Cow Graphical BASIC Problems

    Sorry , not changing , exactly as before , the library is from the archive you uploaded before , it was made ( last time modified ) in 16-07-2017 . These microcontrollers are for sure very closed related like many more that use FVR registers , but are not identical ... since don't share the same datasheet .

  • Daniel Cioba Daniel Cioba modified a comment on discussion Great Cow Graphical BASIC Problems

    Here you have both test programs , just adapted for my setup . In this case it seems that simulation is far far away from reality . Edit: Sorry , I made myself a mistake , Vref non selectable was allways at Vdd not 4V , but i only have 4,6V power supply and Vref = 4,096 is in fact allmost 4,4V on this chip , they are pretty close. So internal reference can't be selected at all with GC instructions .

  • Daniel Cioba Daniel Cioba modified a comment on discussion Great Cow Graphical BASIC Problems

    Here you have both test programs , just adapted for my setup . In this case it seems that simulation is far far away from reality . Edit: Sorry , I made myself a mistake , Vref non selectable was allways at Vdd not 4V , but i only have 4,6V power supply and Vref = 4,096 is in fact allmost 4,4V on this chip , so they are pretty close. So internal reference can't be selected at all with GC instructions .

  • Daniel Cioba Daniel Cioba modified a comment on discussion Great Cow Graphical BASIC Problems

    Here you have both test programs , just adapted for my setup . In this case it seems that simulation is far far away from reality . Edit: Sorry , I made myself a mistake , Vref non selectable was allways at Vdd not 4V , but i only have 4,6V power supply and Vref = 4,096 is in fact allmost 4,4V on this chip , so they are pretty close.

  • Daniel Cioba Daniel Cioba modified a comment on discussion Great Cow Graphical BASIC Problems

    Here you have both test programs , just adapted for my setup . In this case it seems that simulation is far far away from reality . Edit: Sorry , I made myself a mistake , Vref non selectable was allways at Vdd not 4V , but i only have 4,6V power supply and Vref = 4,096 is in fact allmost 4,4V , so they are pretty close.

  • Daniel Cioba Daniel Cioba modified a comment on discussion Great Cow Graphical BASIC Problems

    Here you have both test programs , just adapted for my setup . In this case it seems that simulation is far far away from reality .

  • Daniel Cioba Daniel Cioba modified a comment on discussion Great Cow Graphical BASIC Problems

    Here you have both test programs , just adapted for my setup . It seems in this case that simulation is far far away from reality .

  • Daniel Cioba Daniel Cioba posted a comment on discussion Great Cow Graphical BASIC Problems

    Here you have both test programs , just adapted for my setup .

  • Daniel Cioba Daniel Cioba modified a comment on discussion Great Cow Graphical BASIC Problems

    Ok , I tested , FVR001 is changing Vref and is working ok , FVR002 is not , the reading is good for Vref = 4V but not changing

  • Daniel Cioba Daniel Cioba posted a comment on discussion Great Cow Graphical BASIC Problems

    Ok , I tested , FVR001 is changing Vref and is working ok , FVR002 is not , just shows the same reading only for Vref = 4V.

  • Daniel Cioba Daniel Cioba modified a comment on discussion Great Cow Graphical BASIC Problems

    OK , with William's program ( setting registers manualy ) I can change Vref 1 , 2 , 4V , and is working as it should be . But Anobium , using #define ADReadPreReadCommand ADCON0 = ADCON0 or b'01111100' and ADFVR_Initialize ( ADFVR_2x ) I just got one "garbage" value around 450 which won't change even if the input is grounded , ADC is not working properly .

  • Daniel Cioba Daniel Cioba modified a comment on discussion Great Cow Graphical BASIC Problems

    OK , with William's program ( writing registers manualy )I can change Vref 1 , 2 , 4V , and is working as it should be . But Anobium , using #define ADReadPreReadCommand ADCON0 = ADCON0 or b'01111100' and ADFVR_Initialize ( ADFVR_2x ) I just got one "garbage" value around 450 which won't change even if the input is grounded , ADC is not working properly .

  • Daniel Cioba Daniel Cioba modified a comment on discussion Great Cow Graphical BASIC Problems

    OK , with William's program ( writing registers manualy )I can change Vref 1 , 2 , 4V , and is working as it should be . But Anobium , using #define ADReadPreReadCommand ADCON0 = ADCON0 or b'01111100' and ADFVR_Initialize ( ADFVR_2x ) , or 1x , 4x , I just got one "garbage" value around 450 which won't change even if the input is grounded , ADC is not working properly .

  • Daniel Cioba Daniel Cioba modified a comment on discussion Great Cow Graphical BASIC Problems

    OK , with William's program ( writing registers manualy )I can change Vref 1 , 2 , 4V , and is working as it should be . But Anobium , using #define ADReadPreReadCommand ADCON0 = ADCON0 or b'01111100' and ADFVR_Initialize ( ADFVR_2x ) , or 1x , 4x , I just got one "garbage" value around 450 which won't change , ADC is not working properly .

  • Daniel Cioba Daniel Cioba modified a comment on discussion Great Cow Graphical BASIC Problems

    OK , with William's program ( writing registers manualy )I can change Vref 1 , 2 , 4V , and is working as it should be . But Anobium , using #define ADReadPreReadCommand ADCON0 = ADCON0 or b'01111100' and ADFVR_Initialize ( ADFVR_2x ) , or 1x , 4x , I just got one "garbage" value allmost full range 900+ , ADC is not working properly

  • Daniel Cioba Daniel Cioba modified a comment on discussion Great Cow Graphical BASIC Problems

    OK , with William's program I can change Vref 1 , 2 , 4V , and is working as it should be . But Anobium , using #define ADReadPreReadCommand ADCON0 = ADCON0 or b'01111100' and ADFVR_Initialize ( ADFVR_2x ) , or 1x , 4x , I just got one "garbage" value allmost full range 900+ , ADC is not working properly

  • Daniel Cioba Daniel Cioba modified a comment on discussion Great Cow Graphical BASIC Problems

    OK , with William's program I can change Vref 1 , 2 , 4V , and is working as it should be . But Anobium , using #define ADReadPreReadCommand ADCON0 = ADCON0 or b'01111100' and ADFVR_Initialize ( ADFVR_2x ) , or 1x , 4x , I just got one "garbage" value allmost full range 900+ and ADC is not working properly

  • Daniel Cioba Daniel Cioba modified a comment on discussion Great Cow Graphical BASIC Problems

    OK , with William's program I can change Vref 1 , 2 , 4V , and is working as it should be . But Anobium , using #define ADReadPreReadCommand ADCON0 = ADCON0 or b'01111100' and ADFVR_Initialize ( ADFVR_2x ) , or 1x , 4x , I just get one "garbage" value allmost full range and ADC is not working properly

  • Daniel Cioba Daniel Cioba posted a comment on discussion Great Cow Graphical BASIC Problems

    OK , with William's program I can change Vref 1 , 2 , 4V , and is working as it should be . But Anobium , using #define ADReadPreReadCommand ADCON0 = ADCON0 or b'01111100' and ADFVR_Initialize ( ADFVR_2x ) I get just some "garbage" readings . ADC is not working properly .

  • Daniel Cioba Daniel Cioba modified a comment on discussion Great Cow Graphical BASIC Problems

    You are right , but for one project ( not mass production ) it is simple to measure exactly the Vref for that chip ( in this case indirect measurement of input voltage at which we have full scale reading 1023 ), and adjust the software .

  • Daniel Cioba Daniel Cioba modified a comment on discussion Great Cow Graphical BASIC Problems

    You are right , but for one project ( not mass production ) it is simple to measure exactly the Vref for that chip ( in this case indirect measurement of input voltage at which we have full scale riding 1023 ), and adjust the software .

  • Daniel Cioba Daniel Cioba posted a comment on discussion Great Cow Graphical BASIC Problems

    The issue is simple ... non selectable Vref with GC ADC library . Why is not working and how to resolve , of course i don't know yet .

  • Daniel Cioba Daniel Cioba modified a comment on discussion Great Cow Graphical BASIC Problems

    You are right , but for one project ( not mass production ) it is simple to measure exactly the Vref for that chip , and adjust the software .

  • Daniel Cioba Daniel Cioba posted a comment on discussion Great Cow Graphical BASIC Problems

    You are right , but if you can't use an input multiturn pot , for one project ( not mass production ) it is simple to measure exactly the Vref for that chip , and adjust the software .

  • Daniel Cioba Daniel Cioba posted a comment on discussion Great Cow Graphical BASIC Problems

    Hi , the same as before ... have you discovered something ? Is working ok in simulation or practical ?

  • Daniel Cioba Daniel Cioba modified a comment on discussion Great Cow Graphical BASIC Problems

    In datasheet at Electrical Specifications "For proper operation, the minimum value of the ADC positive voltage reference must be 1.8V or greater. When selecting the FVR or the VREF+ pin as the source of the ADC positive voltage reference, be aware that the voltage must be 1.8V or greater" But thats a separate issue , ADC will work anyway with degraded performance ( analog part ) . May be still usefull for some applications . Every ADC with external Ref has a minimum voltage , you can't go under 1V...

  • Daniel Cioba Daniel Cioba modified a comment on discussion Great Cow Graphical BASIC Problems

    In datasheet at Electrical Specifications "For proper operation, the minimum value of the ADC positive voltage reference must be 1.8V or greater. When selecting the FVR or the VREF+ pin as the source of the ADC positive voltage reference, be aware that the voltage must be 1.8V or greater" But thats a separate issue , ADC will work anyway with degraded performance ( analog part ) . May be still usefull for some applications .

  • Daniel Cioba Daniel Cioba modified a comment on discussion Great Cow Graphical BASIC Problems

    In datasheet at Electrical Specifications "For proper operation, the minimum value of the ADC positive voltage reference must be 1.8V or greater. When selecting the FVR or the VREF+ pin as the source of the ADC positive voltage reference, be aware that the voltage must be 1.8V or greater" But thats a separate issue , ADC will work anyway but with degraded performance ( analog part ) . May be still usefull for some applications .

  • Daniel Cioba Daniel Cioba modified a comment on discussion Great Cow Graphical BASIC Problems

    In datasheet at Electrical Specifications "For proper operation, the minimum value of the ADC positive voltage reference must be 1.8V or greater. When selecting the FVR or the VREF+ pin as the source of the ADC positive voltage reference, be aware that the voltage must be 1.8V or greater" But thats a separate issue , ADC will work anyway but with degraded performance . May be still usefull for some applications .

  • Daniel Cioba Daniel Cioba modified a comment on discussion Great Cow Graphical BASIC Problems

    In datasheet at Electrical Specifications "For proper operation, the minimum value of the ADC positive voltage reference must be 1.8V or greater. When selecting the FVR or the VREF+ pin as the source of the ADC positive voltage reference, be aware that the voltage must be 1.8V or greater" But thats a separate issue , ADC will work anyway but with degraded performance . May be still usefull for some applications .

  • Daniel Cioba Daniel Cioba modified a comment on discussion Great Cow Graphical BASIC Problems

    In datasheet at Electrical Specifications "For proper operation, the minimum value of the ADC positive voltage reference must be 1.8V or greater. When selecting the FVR or the VREF+ pin as the source of the ADC positive voltage reference, be aware that the voltage must be 1.8V or greater But thats a separate issue , ADC will work anyway but with degraded performance . May be still usefull for some applications .

  • Daniel Cioba Daniel Cioba posted a comment on discussion Great Cow Graphical BASIC Problems

    I datasheet at Electrical Specifications "For proper operation, the minimum value of the ADC positive voltage reference must be 1.8V or greater. When selecting the FVR or the VREF+ pin as the source of the ADC positive voltage reference, be aware that the voltage must be 1.8V or greater But thats a separate issue , ADC will work anyway but with degraded performance . May be still usefull for some applications .

  • Daniel Cioba Daniel Cioba posted a comment on discussion Great Cow Graphical BASIC Problems

    http://microchipdeveloper.com/8bit:fvr I will see if ADC works well ( full range , liniarity , etc ) at 1V REF after I can select that ... thats my problem now . Anyway I can't select neither 1V nor 2V .

  • Daniel Cioba Daniel Cioba posted a comment on discussion Great Cow Graphical BASIC Problems

    I will try to look at your code , but i'm not very familiar with it , also i got PIC16F1936 , 1938 with the same reference register , I will check if with this microcontroller works .

  • Daniel Cioba Daniel Cioba modified a comment on discussion Great Cow Graphical BASIC Problems

    Ok , the schematic is here ... of course for testing the circuit is simplified , I have one input as IN1 and I can jump over the resistive divider if I want ... not the circuit is the issue . If an ADC input is fixed at 1V , lets say ( aprox 0,8V in my case ) , if you change the refference at 1V will read aprox 1023 , with 2V 512 and with 4V aprox 250 . Very easy to see if refference is changing or not . So I got 175 all the time I change ADFVR_Initialize ... and 0 if i use ADSpeed High I worked...

  • Daniel Cioba Daniel Cioba modified a comment on discussion Great Cow Graphical BASIC Problems

    Ok , the schematic is here ... of course for testing the circuit is simplified , I have one input as IN1 and I can jump over the resistive divider if I want ... not the circuit is the issue . If an ADC input is fixed at 1V , lets say ( aprox 0,8V in my case ) , if you change the refference at 1V will read aprox 1023 , with 2V 512 and with 4V aprox 250 . Very easy to see if refference is changing or not . So I got 175 all the time I change ADFVR_Initialize ... I worked with ADC in many projects ,...

  • Daniel Cioba Daniel Cioba modified a comment on discussion Great Cow Graphical BASIC Problems

    Ok , the schematic is here ... of course for testing the circuit is simplified , I have one input as IN1 and I can jump over the resistive divider if I want ... not the circuit is the issue . If an ADC input is fixed at 1V , lets say ( aprox 0,8V in my case ) , if you change the refference at 1V will read aprox 1023 , with 2V 512 and with 4V aprox 250 . Very easy to see if refference is changing or not . So I got 170 all the time I change ADFVR_Initialize ... I worked with ADC in many projects ,...

  • Daniel Cioba Daniel Cioba modified a comment on discussion Great Cow Graphical BASIC Problems

    Ok , the schematic is here ... of course for testing the circuit is simplified , I have one input as IN1 and I can jump over the resistive divider if I want ... not the circuit is the issue . If an ADC input is fixed at 1V , lets say ( aprox 0,8V in my case ) , if you change the refference at 1V will read aprox 1023 , with 2V 512 and with 4V aprox 200 . Very easy to see if refference is changing or not . So I got 170 all the time I change ADFVR_Initialize ... I worked with ADC in many projects ,...

  • Daniel Cioba Daniel Cioba modified a comment on discussion Great Cow Graphical BASIC Problems

    Ok , the schematic is here ... of course for testing the circuit is simplified , I have one input as IN1 and I can jump over the resistive divider if I want ... not the circuit is the issue . If an ADC input is fixed at 1V , lets say ( aprox 0,8V in my case ) , if you change the refference at 1V will read aprox 1023 , with 2V 512 and with 4V aprox 200 . Very easy to see if refference is changing or not . So I got 170 all the time I change ADFVR_Initialize ... I worked with ADC in many projects ,...

  • Daniel Cioba Daniel Cioba posted a comment on discussion Great Cow Graphical BASIC Problems

    Ok , the schematic is here ... of course for testing the circuit is simplified , I have one input as IN1 and I can jump if I want over the resistive divider ... not the circuit is the issue , if an ADC input is fixed at 1V , lets say ( aprox 0,8V in my case ) , if you change the refference at 1V will read aprox 1023 , with 2V 512 and with 4V aprox 200 . Very easy to see if refference is changing or not . So I got 170 all the time I change ADFVR_Initialize ... I worked with ADC in many projects ,...

  • Daniel Cioba Daniel Cioba posted a comment on discussion Great Cow Graphical BASIC Problems

    It is the same with no optimisation ... only 4V Vref and "0" reading with HighSpeed .

  • Daniel Cioba Daniel Cioba posted a comment on discussion Great Cow Graphical BASIC Problems

    I checked again , ADC work normally , the PIC16F1828 is new ( i have many ) . With Normal ( I asume this is anyway the default value used in library ) and Low is full range 0 - 4V , with High is allways 0. This issue was present from the start , with the original library , but i didn't mentioned it before .

  • Daniel Cioba Daniel Cioba posted a comment on discussion Great Cow Graphical BASIC Problems

    OK , here is the very basic code i'm using for testing

  • Daniel Cioba Daniel Cioba posted a comment on discussion Great Cow Graphical BASIC Problems

    I tried again but is not working yet . Same as before , I can't change Vref . Also , if i use#define ADSpeed HighSpeed the reading is "0" . Medium and low give normal readings , not sure if the ADC speed is actually changing .

  • Daniel Cioba Daniel Cioba posted a comment on discussion Great Cow Graphical BASIC Problems

    So far the result is exactly the same as with the old library . ADC of course is working , but Vref is "stuck" at 4,096V. Even with , ADFVR_Initialize (ADFVR_OFF) the readings are the same . I didn't use the FVR test yet , so i don't know if that is working . The hardware is simple , I use the PIC and an LCD display to measure a DC voltage . The program is displaying the ADC value read ( 0 - 1023 ) , so i can easily see if the value is changing.

  • Daniel Cioba Daniel Cioba modified a comment on discussion Great Cow Graphical BASIC Problems

    THX for the update , i read the help but i cant find so far how to use the updated functionality . Just to add in program #define ADFVR_Initialize ( ADFVR_2x ) if i want 2,048V Ref ?

  • Daniel Cioba Daniel Cioba posted a comment on discussion Great Cow Graphical BASIC Problems

    THX for the update , i red the help but i cant find so far how to use the updated functionality . Just to add in program #define ADFVR_Initialize ( ADFVR_2x ) if i want 2,048V Ref ?

  • Daniel Cioba Daniel Cioba posted a comment on discussion Great Cow Graphical BASIC Problems

    Thx , I asked because I thought it was possible somehow to change it simple and still using GC instructions readad10 , etc . Probably not implemented yet .

  • Daniel Cioba Daniel Cioba posted a comment on discussion Great Cow Graphical BASIC Problems

    Hi , how can i change internal reference between 1V , 2V , 4V when using ADC ?

  • Daniel Cioba Daniel Cioba modified a comment on discussion Help

    Sorry , i made a mistake , Timer4 is working fine , only Timer6 is not Compiler error...

  • Daniel Cioba Daniel Cioba posted a comment on discussion Help

    Sorry , i made a mistake , Timer4 is working fine , only Timer6 is not Compiler error...

  • Daniel Cioba Daniel Cioba modified a comment on discussion Help

    Hi , i use last GCB stable release ,i think, that i downloaded from official site...

  • Daniel Cioba Daniel Cioba posted a comment on discussion Help

    Hi , i use last GCB release ,i think, that i downloaded from official site http://gcbasic.sourceforge.net/...

  • Daniel Cioba Daniel Cioba posted a comment on discussion Help

    I use PIC16F1936 as in my post title. It has Timer0 , 1 , 2 , 4 and 6. Only Timer0...

  • Daniel Cioba Daniel Cioba posted a comment on discussion Help

    Hi , how can i use timer 4/6 and their interrupts ? It doesn't seems to be implemented...

1