Fixed it :D
#!/usr/bin/env python
# PIN: 23 == GPIO4 (pin 16)
#imports
import time
import RPi.GPIO as GPIO
import json
import urllib2
import base64
#vars
GET_URL = 'http://192.168.1.205:8080/json.htm?type=command¶m=getuservariable&idx=1'
SET_URL = 'http://192.168.1.205:8080/json.htm?type ...
Search found 2 matches
- Monday 16 February 2015 15:18
- Forum: Raspberry Pi GPIO ( WiringPi )
- Topic: GPIO Interrupt for water meter
- Replies: 29
- Views: 10436
- Monday 09 February 2015 19:22
- Forum: Raspberry Pi GPIO ( WiringPi )
- Topic: GPIO Interrupt for water meter
- Replies: 29
- Views: 10436
GPIO Interrupt for water meter
Hello,
I'm trying to hook up my analog water meter to my Domoticz.
So i bought a metal Detector: http://www.dx.com/p/k1208065-metal-detection-sensor-module-for-arduino-robot-kit-silver-black-151198
(using WiringPi)
-It now Pulls pin 40 to 3.3v
-set the pin internal to pull down
-set the ...
I'm trying to hook up my analog water meter to my Domoticz.
So i bought a metal Detector: http://www.dx.com/p/k1208065-metal-detection-sensor-module-for-arduino-robot-kit-silver-black-151198
(using WiringPi)
-It now Pulls pin 40 to 3.3v
-set the pin internal to pull down
-set the ...