is it possible to connect with cr1000 more than 2 pulse sensors (tiping bucket) ?
All Com ports (C1-C8) can do pulse counting.
is it possible to get some sample programs ?
It is very easy to create a program with 'Short Cut'. You can add the sensors you wish to connect to your CR1000 and also see the wiring diagram that should follow your setup.
If you already worked with 'CRBasic Editor' just add a 'PulseCount' instruction and use C1 Through C8 instead of P1 or P2 (11-18 in the PChan paramter in the instruction).
This is what a simple 3 tipping buckets program looks like:
'CR1000
'Created by Short Cut (3.1)
'Declare Variables and Units
Public BattV
Public PTemp_C
Public Rain_mm
Public Rain_mm_2
Public Rain_mm_3
Units BattV=Volts
Units PTemp_C=Deg C
Units Rain_mm=mm
Units Rain_mm_2=mm
Units Rain_mm_3=mm
'Define Data Tables
DataTable(Rain,True,-1)
DataInterval(0,10,Min,10)
Minimum(1,BattV,FP2,False,False)
Average(1,PTemp_C,FP2,False)
Totalize(1,Rain_mm,FP2,False)
Totalize(1,Rain_mm_2,FP2,False)
Totalize(1,Rain_mm_3,FP2,False)
EndTable
'Main Program
BeginProg
'Main Scan
Scan(10,Sec,1,0)
'Default Datalogger Battery Voltage measurement 'BattV'
Battery(BattV)
'Default Wiring Panel Temperature measurement 'PTemp_C'
PanelTemp(PTemp_C,_50Hz)
'Generic Tipping Bucket Rain Gauge measurement 'Rain_mm'
PulseCount(Rain_mm,1,1,2,0,0,0)
'Generic Tipping Bucket Rain Gauge measurement 'Rain_mm_2'
PulseCount(Rain_mm_2,1,2,2,0,0,0)
'Generic Tipping Bucket Rain Gauge measurement 'Rain_mm_3'
PulseCount(Rain_mm_3,1,11,2,0,0,0)
'Call Data Tables and Store Data
CallTable Rain
NextScan
EndProg
pulse port P2 is working but control port C1(11) do not count , what seems to be the problem ?
'CR1000
'Created by Short Cut (3.1)
'Declare Variables and Units
Public BattV
Public PTemp_C
Public Pulse
Public Pulse_2
Units BattV=Volts
Units PTemp_C=Deg C
Units Pulse=Counts/Hz
Units Pulse_2=Counts/Hz
'Define Data Tables
DataTable(Table2,True,-1)
DataInterval(0,1440,Min,10)
Minimum(1,BattV,FP2,False,False)
EndTable
'Main Program
BeginProg
'Main Scan
Scan(5,Sec,1,0)
'Default Datalogger Battery Voltage measurement 'BattV'
Battery(BattV)
'Default Wiring Panel Temperature measurement 'PTemp_C'
PanelTemp(PTemp_C,_50Hz)
'Generic Pulse measurement 'Pulse'
PulseCount(Pulse,1,11,2,0,1,0)
'Generic Pulse measurement 'Pulse_2'
PulseCount(Pulse_2,1,2,2,0,1,0)
'Call Data Tables and Store Data
CallTable Table2
NextScan
EndProg
mistake was that control port count`s voltage not ground..
mistake was that control port count`s voltage not ground..
https://www.campbellsci.com/sdm-sw8a