Hello! I am 14 and I'm trying to program a device that detects nutrients (NPK) in soil to see if it is healthy. Though I am okay with the wiring of the device, I'm having trouble with programming it so that the values are shown on a LCD screen. Can someone help and give some tips?
Keep it simple and stupid firstly.
Run some tutorials for the hardware selected.
If you are happy with the results of the tutorials you can merge these to your project.
Search these forums for NPK and you will find several discussions on the subject. Note that there is a flaw in the code used on various sites on the web in the way the code checks (or in this case doesn't check) for a response from the sensor.