PTELibrary
Check PH, Temperature, Electrical Conductivity at one time.
Install / Use
/learn @KiRist-code/PTELibraryREADME
PTELibrary
</p> <p align="center"> <a href="https://github.com/KiRist-code/PTELibrary/graphs/contributors" alt="Contributors"> <img src="https://img.shields.io/github/contributors/KiRist-code/PTELibrary" /></a> <a href="https://github.com/KiRist-code/PTELibrary/pulse" alt="Activity"> <img src="https://img.shields.io/github/commit-activity/t/KiRist-code/PTELibrary" /></a> </p> </p>Check PH, Temperature, Electrical Conductivity at one time. This library project use OneWire, DallasTemperature to control SKU-DFR0300, PH4502C, DS18B20. Only can use Arduino UNO.
Installation
Before the Installation, we need to download "Git" & "OneWire", "DallasTemperature" Library
Git Install
Download the appropriate program for the OS.
OneWire & DallasTemperature Install
Sketch -> Include Library -> Manage Libraries -> Search "OneWire" & "DallasTemperature" -> Install
Git clone
git clone https://github.com/KiRist-code/PTELibrary.git
Pack the Library as ZIP
- copy the all files in src folder and make folder named "PTELib"
- make "PTELib" folder as ZIP
- Back to the Arduino IDE and go to Sketch -> Include Library -> Add .ZIP Library
- include the "PTELib.zip"
Usage
Use this Library like this code.
#include "PTELib.h"
/*
PTELib function have to 4 arguments
phPin number, tempPin number, ecPin number, DS18D20Pin number
*/
PTELib PTELib(A1, 10, A2, 10);
void setup()
{
//Serial port
PTELib.begin(9600);
}
void loop()
{
//read Sensor value & print to Seiral
PTELib.sensor_read();
}
Contributing
PTELibrary Project is for all Arduino users. All participants for issues and pull request are welcome!
There is no template for issue & pull request yet. If you are interested in making these template, it would be so grateful.
Related Skills
node-connect
336.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
82.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
336.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
82.9kCommit, push, and open a PR
