good to know that works well, the pictures would help to have a better idea...
For a 10-bit ADC you have 3.3V/2^10 = 3mV of resolution vs 5V/2^10 = 5mV, however you can only have signals of 3.3V peak-to-peak after the MCP602, so you might need to adjust the gain or it would saturate very quickly. Signals of 5mV could be considered as noise (3mV in your case).
it is for calibrating the VDI values, if vdi values do not change when adjusting the pot then you need to change the pot, in your case it seems you don't need any.
This is something expected, since iron quickly saturates the mcp602, if one channel saturates then the vdi cannot be reliable because it is extracted from the amplitude ratios of both channels and one is always constant (e.g. Vdd), you can see it in the scope view or XY view (graph edges).
The more stable the pic power supply is the better the ADC readings, since it uses Vdd and Vdd/2 as references. If Vdd or Vdd/2 fluctuates then ADC values fluctuates and so does the vdi. Using two linear regulators as in the IDX, i.e. +8V to the 78l05 instead of the battery should be more stable, it would be better to change it back or to improve the pic power supply e.g. using a zener diode for Vdd/2 or using external Vref+ and Vref-. PIC18F25K22 can also use an internal voltage reference of 1, 2 or 4V for the ADC.
Originally posted by waltr
View Post
For a 10-bit ADC you have 3.3V/2^10 = 3mV of resolution vs 5V/2^10 = 5mV, however you can only have signals of 3.3V peak-to-peak after the MCP602, so you might need to adjust the gain or it would saturate very quickly. Signals of 5mV could be considered as noise (3mV in your case).
Originally posted by waltr
View Post
it is for calibrating the VDI values, if vdi values do not change when adjusting the pot then you need to change the pot, in your case it seems you don't need any.
Originally posted by waltr
View Post
This is something expected, since iron quickly saturates the mcp602, if one channel saturates then the vdi cannot be reliable because it is extracted from the amplitude ratios of both channels and one is always constant (e.g. Vdd), you can see it in the scope view or XY view (graph edges).
The more stable the pic power supply is the better the ADC readings, since it uses Vdd and Vdd/2 as references. If Vdd or Vdd/2 fluctuates then ADC values fluctuates and so does the vdi. Using two linear regulators as in the IDX, i.e. +8V to the 78l05 instead of the battery should be more stable, it would be better to change it back or to improve the pic power supply e.g. using a zener diode for Vdd/2 or using external Vref+ and Vref-. PIC18F25K22 can also use an internal voltage reference of 1, 2 or 4V for the ADC.
Comment