TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (405 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (133 codes)
  5. Bugz Bensce (97 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (142018 times)
  2. FAT32 Library (75251 times)
  3. Network Ethernet Library (59470 times)
  4. USB Device Library (49489 times)
  5. Network WiFi Library (45266 times)
  6. FT800 Library (44875 times)
  7. GSM click (31414 times)
  8. mikroSDK (30400 times)
  9. microSD click (27776 times)
  10. PID Library (27614 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Project

Linear Interpolation of Nonlinear Liquid Level Sensor

Rating:

0

Author: Shawon Shahryiar

Last Updated: 2016-07-29

Package Version: 1.0.0.0

Category: Measurement

Downloaded: 365 times

Not followed.

License: MIT license  

Liquid level sensors vary resistance with liquid level. Here resistance from the sensor is converted to much more understandable percentage values. However the output from these sensors can be linear or nonlinear. To overcome this issue 8 data points are taken and linear interpolation is used. The code is written with CCS PIC C compiler.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "Linear Interpolation of Nonlinear Liquid Level Sensor" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "Linear Interpolation of Nonlinear Liquid Level Sensor" changes.

Do you want to report abuse regarding "Linear Interpolation of Nonlinear Liquid Level Sensor".

  • Information
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
Other PIC Compilers
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Project Blog

Linear Interpolation of Liquid Level Sensor

Linear Interpolation of Nonlinear Liquid Level Sensor

Watch on YouTube

Measurement, Sorting and Linear Interpolation

Linear Interpolation of Nonlinear Liquid Level Sensor

Watch on YouTube
Project Setup

Project Setup

Linear Interpolation of Nonlinear Liquid Level Sensor

View full image
Resistance vs Percentage Display

Resistance vs Percentage Display

Linear Interpolation of Nonlinear Liquid Level Sensor

View full image
Linear Interpolation of Nonlinear Liquid Level Sensor

Linear Interpolation of Nonlinear Liquid Level Sensor

Linear Interpolation of Nonlinear Liquid Level Sensor

View full image
Schematic

Schematic

Linear Interpolation of Nonlinear Liquid Level Sensor

View full image

ALSO FROM THIS AUTHOR

TMP175 Digital Temperature Sensor Demo

0

TMP175 digital temperature sensor demo with AVR microcontroller.

[Learn More]

STM32 External Interrupt Example

5

STM32 External Interrupt Example. http://embedded-lab.com/blog/?p=9149

[Learn More]

DM8BA10 TM1622 16-Segment COG Display Demo

1

DM8BA10 is a TM1622 16-Segment COG LCD available in AliExpress, Amazon and other online platforms. COG displays are usually cheaper compared to GLCDs, OLEDs and other forms of displays but they lack documentation and sample code. Here I demoed a DM8BA10 COG display using an ATMega8A and DHT11 relative humidity-temperature sensor.

[Learn More]