This is my calibration but I am not getting accurate result.
float sensorvalue = (map(samplse, 0, 1023, -3500, 3500) / 100.0);
This is my calibration but I am not getting accurate result.
float sensorvalue = (map(samplse, 0, 1023, -3500, 3500) / 100.0);
Hi,
@manoj_maniyan has another thread going about instability of the readings.
NOTE: The OP is feeding 12V into Vin of a Nano.
Tom...
![]()
@manoj_maniyan asking for help about the sensor on this thread would be considered cross-posting, which is against forum rules. But it would be ok to paste a link here to that other thread and ask for help, because we would then respond on that other thread, if we can help.
I guess that might ok because the TPIC chips don't require much current at 5V, and the LEDs are powered from the 12V supply. However, we don't know what current the sensor or other components draw at 5V. If it is not a small current, the Nano's 5V regulator could overheat and shut down or be damaged.
@TomGeorge there are now 7 cups of coffee in your signature. Maybe avoid operating any machinery!
Hi,'
Note the number of cups to the level of frustration...lol
Tom...
![]()
PS.. I feel better know...
Hi,
What was it, do tell......
Tom....
![]()
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.