Pages: [1]   Go Down
Author Topic: Best arduino with 3 pins interupts.  (Read 435 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Jr. Member
**
Karma: 0
Posts: 77
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,
I try to find a little arduino with 3 pins where I could use interrupts.
I made a code with mega and it work.  But I only use 3 input so mega is too big for my application.

Maybe there is a other arduino with 3 input whit interrupts.

Thanks
Max
Logged

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 200
Posts: 12773
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset


I believe one (or more) of the Teensy boards have three external interrupts...
http://www.pjrc.com/store/teensy.html
http://www.pjrc.com/store/teensypp.html
Logged

Offline Offline
Jr. Member
**
Karma: 0
Posts: 77
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I never use that I have to make many modification in my code?

I forgot to speak about usb connection with mega I use it to communicate with my .net appz.

Thanks
Max
Logged

United Kingdom
Offline Offline
Tesla Member
***
Karma: 224
Posts: 6593
Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Have you looked at pin change interrupts? You can use them to get interrupts on lots of input pins even on an Arduino Uno.
Logged

Formal verification of safety-critical software, software development, and electronic design and prototyping. See http://www.eschertech.com. Please do not ask for unpaid help via PM, use the forum.

Offline Offline
Jr. Member
**
Karma: 0
Posts: 77
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

never it could be great :-)
Logged

SF Bay Area (USA)
Offline Offline
Tesla Member
***
Karma: 124
Posts: 6652
Strongly opinionated, but not official!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Pin change interrupts would normally require extra work to figure out which pin they're on, but if you only need three interrupts, you have the two 'external' interrupts and could configure exactly one pin-change interrupt, and it would be relatively easy!
Logged

Offline Offline
Jr. Member
**
Karma: 0
Posts: 77
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I tried that on leonardo.  I tried the example with lib but serial only show "...."
Logged

Pages: [1]   Go Up
Jump to: