Welcome!
...
Previous Notifications
2023 3RDQ
The Analog of Things Part 3
6min
when working off a project that you found online, we are often happy with the result once we see the analog value is being read and then converted case in point in part 2 ( the analog of things part 2 docid 1o0qyrhqr9wqc64aw4cnl ), the moment we measured the 0 275mv on the sensor and then saw the 27 5 'c on the lcd display, we were happy it's working performing analog to digital conversion however is not that simple, especially when you are looking for accuracy the 8bit adc for example has a lower resolution than a 10bit or 12bit adc the higher resolution may require a more accurate way to read the input value and ensure that the minor "step" that was converted to a digital value is not actually noise in most cases when you are getting to grips with adc, you are using the single ended input there are a number of reasons for this in most cases its performance is sufficient the code required to implement the solution is simpler less wiring requirements it's cheaper you may notice that from time to time real world elements are mentioned if you are going to have a successful career in this field, understanding the factors driving the success of a design is essential the inherent issue with the single ended approach is that the moment the application is measuring a voltage differential in the mv spectrum, the noise or interference it generates automatically negates the value of its advantages basic concepts single ended and differential refer to the reference for a voltage single ended is referred to as ground while differential is referred to as a secondary input or reference voltage single ended in this application they are designed to be connected to the same ground level as the microcontroller and to provide their measurement result as an analog voltage signal on a single wire referenced to this common ground all basic adcs support single ended operation differential a differential adc measures the voltage difference between two inputs, one of which is the sensor, and the second is a reference voltage implementation there is also the consideration that you may need to dust off a maths textbook to remember of these things worked shown below is the formula used to perform the calculation and to derive the value test it out if you are starting to focus on analog systems, working with these various options would assist in determining which is the best route to follow there are a number of fixes that can be implemented to get around the noise and inherent drawbacks of a single ended system where a differential system is needed, the radix duo with a pic16f1784 included offers this feature integrated with the device you also have integrated opamps on the micro, so potentially a low part density application could be achieved references fortunately, there is help, and a reference is provided below https //ww1 microchip com/downloads/en/devicedoc/differential and single ended adc whitepaper ds00003197a pdf https //ww1 microchip com/downloads/en/devicedoc/differential and single ended adc whitepaper ds00003197a pdf