Are I/O pins on the Stamp treated differently in terms of timing?
Zoot
Posts: 2,227
I ran across this little tidbit while checking out some products by Devantech. What's the deal? Is this accurate? Would this explain the occasional anomalies I've seen (and others have had) with the Ping))) and some other devices?
As many of you may know, the SRF04 is similar to the Ping))) -- high pulse trigger, measure return pulse for distance on the echo.
When the going gets weird, the weird turn pro. -- HST
1uffakind.com/robots/povBitMapBuilder.php
1uffakind.com/robots/resistorLadder.php
As many of you may know, the SRF04 is similar to the Ping))) -- high pulse trigger, measure return pulse for distance on the echo.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔Devantech website said...
On the SRF04, the users host processor is required to time the returning echo. This has been an issue when using the Stamp, as it does not treat all I/O lines equally. This is an internal problem with the Stamp and was discovered by Jim Fry of Lynxmotion.
When the going gets weird, the weird turn pro. -- HST
1uffakind.com/robots/povBitMapBuilder.php
1uffakind.com/robots/resistorLadder.php
Comments
As far as I know, the problems with the PING))) that people have had were in the PING))) itself, not the Stamp (or Propeller).
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
That above may or may not apply to the SRF04. In general it does help to keep in mind that the Stamp has a more compact way to store the powers of two, for pins or numbers in general, and referencing powers of two judiciously leads to slightly more compact and effcient code.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tracy Allen
www.emesystems.com
Post Edited (Tracy Allen) : 4/21/2008 6:56:43 AM GMT
That makes sense -- after Mike's post I spent more time last night searching the web for more mentions of this, only because I didn't think that Gerald Coe at Devantech and Jim Frye at Lynxmotion were just pulling this out of thin air (though I found no details anywhere). And I found one mention of comparsions between PIN 1 and PIN 6. Certainly I don't think this would affect Ping usage.
Tracy -- would the same apply to mapped pins on the AUX bank of a BS2p40 (i.e. pins 16, 17, 18, 20, 24)? And how do *you* know this fascinating little piece of ephemera?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
When the going gets weird, the weird turn pro. -- HST
1uffakind.com/robots/povBitMapBuilder.php
1uffakind.com/robots/resistorLadder.php
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tracy Allen
www.emesystems.com