Search the Community
Showing results for tags 'counter'.
-
From time to time, threads pop up where someone tries to count very fast pulses in the hundreds of kHz or even MHz range. There is a solution for the hardcore C-coders among us, but to my surprise there was no Energia library for this simple problem. I herewith present the CounterLib for Energia Download Source code and detailed instructions are also available on GitHub: https://github.com/astuder/CounterLib-Energia Currently the library supports MSP430G2553, MSP430F5529 and MSP430FR5969. To create an instance of the counter, simply declare it as a global variable like this:
-
This is a heart beat counter, which displays the result on an LCD, it amplifies the signal by a dual op amp IC, and passes it to msp, as an interupt to count the number of pulse for 15 secs, it uses internal clock, so its not so accurate, but it will give you a good precised result... i have given all the neccassary information, including the schematic, the video link, and the code, with the header file.. here is its video... see the instructions to build it at http://www.instructables.com/id/Heart-Beat-Counter-using-MSP430/ lcd.h main.c