Skip to content

C code for soil moisture sensor YL-69 with raspberryPi

Notifications You must be signed in to change notification settings

mhmallek/yl69_RPi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

C code for soil moisture sensor YL-69 with raspberryPi

1-Connect:

BCM GPIO 18 to D0
5V to Vcc
0v to GND

2-Install wiringPi library on Raspbian:

3-Copy the code to the file soilhum.c

4-Compile

gcc -Wall -o soilhum soilhum.c -lwiringPi
sudo ./soilhum

About

C code for soil moisture sensor YL-69 with raspberryPi

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages