test interruptIn feature with 555 timer

Dependencies:   ClockControl PowerControl mbed

Fork of Frequency_counter by Satoru Yoshida

Test interruptIn function with using LMC555 timer IC

LPC 1768 自身が持つタイマー割り込み機能を使わずに、 あえて外部のタイマー IC 555 からの信号で周期的に割り込みするテスト。

下記の回路例では、555 の output 端子が 約 10 秒周期のうち、0.3 秒間 Low になるはず。 ただし、コンデンサーおよび抵抗の誤差の影響があり、実測値は約7秒周期

C を 47μ から 330 μ に変えると約1分前後で周期的に割り込みがかかります。

/media/uploads/strysd/int555_10s.png

なるべく配線が交差しないように部品配置してみた例

/media/uploads/strysd/555test.jpg

History

test interrupt by 555 default tip

2014-05-11, by strysd [Sun, 11 May 2014 07:29:02 +0000] rev 8

test interrupt by 555


sync libraries

2013-11-06, by strysd [Wed, 06 Nov 2013 07:38:20 +0000] rev 7

sync libraries


separate defines

2013-08-11, by strysd [Sun, 11 Aug 2013 08:34:00 +0000] rev 6

separate defines


change interrupt mode and wait time

2013-06-04, by strysd [Tue, 04 Jun 2013 06:14:19 +0000] rev 5

change interrupt mode and wait time


define constants

2013-06-03, by strysd [Mon, 03 Jun 2013 15:04:08 +0000] rev 4

define constants


define range of not ready

2013-06-03, by strysd [Mon, 03 Jun 2013 12:36:37 +0000] rev 3

define range of not ready


remove unneeded pulldown

2013-06-01, by strysd [Sat, 01 Jun 2013 07:49:57 +0000] rev 2

remove unneeded pulldown


first commit

2013-06-01, by strysd [Sat, 01 Jun 2013 05:44:10 +0000] rev 1

first commit


Can read pulses on the pin and convert them into frequency count

2013-02-03, by Neel [Sun, 03 Feb 2013 21:06:02 +0000] rev 0

Can read pulses on the pin and convert them into frequency count