Thanks the code helped me out to trying to develop a system to calculate the moisture present in a block and have several samples of seeds that I know humidity (ranging from 0 to 100%). I scan these seeds with a sensor connected to my Arduino, and I save these values in a table. Once this data is obtained, Arduino calculates me an equation of the form ax ² + bx + c which I can calculate the moisture in any seed. The trick was write a program to calculate an equation of the form ax ² + bx + c, using Taylor series and implement it in arduino. Thanks.
Thanks the code helped me out to trying to develop a system to calculate the moisture present in a block and have several samples of seeds that I know humidity (ranging from 0 to 100%). I scan these seeds with a sensor connected to my Arduino, and I save these values in a table. Once this data is obtained, Arduino calculates me an equation of the form ax ² + bx + c which I can calculate the moisture in any seed. The trick was write a program to calculate an equation of the form ax ² + bx + c, using Taylor series and implement it in arduino. Thanks.
Thank you so much!