]> www.average.org Git - pulsecounter.git/blob - README.md
use unix timestamp, not seconds in query
[pulsecounter.git] / README.md
1 # Electric pulse counter on msp430 + cc2541 BLE module
2
3 Counter of circuit close events on GPIO pins, using TI MSP430
4 microcontroller (on the LaunchPad MSP430G2) and TI CC2541 Bluetooth
5 Low Energy (Bluetooth Smart) module with Emmoco firmware, based
6 on Emmoco example code.
7
8 `msp430` directory contains microcontroller code for the sensor.
9 Connect the wires from the water meters to the ground pin and
10 pins P1.4 and P1.5 for cold and hot meters respectively. Internal
11 pullup is used. To save power, modify the code to disable internal
12 pullup, and use external pullup resistor of 5 - 10 MOhm. And
13 probably disable VCLK in sleep mode.
14
15 `linux` directory contains the code to be run on Linux host. It
16 uses BlueZ infrastructure. You will need a BT 4.0 compatible
17 hardware connected to the host.