[Logo] Anarduino and HopeRF Community Forum
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics     [Groups] Back to home page 
[Register] Register / 
[Login] Login 
D5, Flash Slave Select and Input capture  XML
Forum Index » Anarduino
Author Message
SadE



Joined: 18/07/2014 06:51:14
Messages: 15
Offline

I have to use interrupt capture for timer 1 (0 is used by arduino core functions). The problem is that D5 is already used
as the slave select pin for flash memory. I think it could be a nice idea to remap the slave select on D4 . The alternate function s
of D4 are related to timer 0, so it will obviously be used as a standard digital out/in.
And then the timer 1 input capture , for frequency measurement for example, would be available.
PaulStoffregen



Joined: 27/07/2014 15:45:39
Messages: 2
Offline

I believe input capture (ICP) is pin 8 on the Arduino Uno pinout. If you're measuring a fairly slow signal, under a few kHz (or 10000 RPM motor), pin 8 with a library like FreqMeasure probably makes more sense. For full disclosure, I'm the author of FreqMeasure....

But for higher frequency, you probably do need pin 5, the external clock input for timer1, and perhaps my FreqCount library?
SadE



Joined: 18/07/2014 06:51:14
Messages: 15
Offline

Yeah I m using your library for high frequency so pin 5.
Rick



Joined: 30/05/2014 22:08:56
Messages: 93
Offline

Interesting and informative. Thank you for your feedback in this regard.
 
Forum Index » Anarduino
Go to:   
Powered by JForum 2.1.9 © JForum Team