Originally posted by dbanner
View Post
Announcement
Collapse
No announcement yet.
VDI-RODERICO
Collapse
X
-
-
Hello, the threshold value is limited from -90 to 0 in v1.4 but this is easy to fix by changing line 159 in menu.c to, for example, +90. Unfortunately my demo license of the xc8 compiler expired a long time ago and in the free mode the firmware does not fit in the pic memory. I'll see if I can port the code for using a free c compiler as the http://sdcc.sourceforge.net/ or else maybe someone has a license for the xc8 to enable the optimizations in the code...
Comment
-
then you can set the VDI threshold to -60 and the VDI interval to [-90,90] which will give you only readings in the interval [-60,90]. I'm not sure if adding an additional feature without the xc8 license for optimizing space will fit in the pic16f88/690...
Comment
-
I don't fully understand the problem, you set the VDI interval to [-90,90] and then the lower limit to -60 (VDI threshold) for not to show VDI values from ground signals, and what you would like to have is an additional threshold for the upper limit, i.e. to to exclude the region [60,90]?
Comment
-
when you get a VDI value between +60 and +90 in many cases indicates a good thing what are those magnetic stones you are referring to? What I could do is to compile a test firmware with the free version of xc8 since my demo license expired, but to add this new threshold I will have to remove other features, maybe the vdi names if you don't use them...
Comment
-
the changes in the code are simple, however I tried to rebuild the firmware with the free version of the compiler and it does not fit in the P16F88 even removing metal names and other features. I also tried with the sdcc compiler and has the same problem. You could use a pic with more memory as Sacchetti (post #40) or else I could post the changes in the code and someone else with a valid license could rebuild the firmware...
Comment
-
if you are going to buy a PIC16F876 then it would be better if you can get a PIC16F886 which has an internal oscillator, I can recompile the firmware for PIC16F886 with the free version of the compiler without any problem since it has double program memory and modify Sacchetti's pcb scheme accordingly, although the last option would have been better...
Comment
Comment