Shop OBEX P1 Docs P2 Docs Learn Events
smaller than 1 ms — Parallax Forums

smaller than 1 ms

Jayguy5000Jayguy5000 Posts: 139
edited 2005-10-09 23:59 in BASIC Stamp
when using the freqout command Id like to use a smaller number than a millisecond for an IR project. Really Im trying to replace the tv remote with my bs2. That means I need to transmit a 0 which is .6 millseconds. So how can I properly write Freqout 8, .6, 38500 ??
~Jeremy

Comments

  • NewzedNewzed Posts: 2,503
    edited 2005-10-09 21:21
    You might try

    freqout 8, 1*/$0099, 38500

    I'm not sure it will work.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Sid Weaver
    Do you have a Stamp Tester yet?
    http://hometown.aol.com/newzed/index.html

    ·
  • Jayguy5000Jayguy5000 Posts: 139
    edited 2005-10-09 22:18
    could i also try
    Freqout 4, 3/5, 38500?

    the compiler doesn't have a problem with sending that to the stamp
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2005-10-09 22:38
    Hello,

    ·· There is no way to do what you are trying to do.· The smallest unit of duration on the BS2 is 1mS.· You could try the BS2sx, Bs2p or BS2px.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com
  • Jayguy5000Jayguy5000 Posts: 139
    edited 2005-10-09 23:00
    How do you recomend I get started with either the BS2sx or BS2px? Id like to just buy the stamp and a book to teach me the extra stuff i can do with the chip rather than buying a starter kit with all the extra things i already have for $170
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2005-10-09 23:02
    You certainly don't have to buy a whole new starter kit.· You can buy any BASIC Stamp Model individually at the following page.

    http://www.parallax.com/html_pages/products/basicstamps/basic_stamps.asp

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com
  • Jayguy5000Jayguy5000 Posts: 139
    edited 2005-10-09 23:11
    now how do i learn how to use the extra features? such as using a time smaller than 1 mS
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2005-10-09 23:17
    Both the help file in the Stamp Editor, and the BASIC Stamp Manual are both good sources of the details of the extra commands/features.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com
  • allanlane5allanlane5 Posts: 3,815
    edited 2005-10-09 23:59
    IF you use a 555 timer circuit to generate the 36 Khz IR 'carrier' frequency, then you can use "PULSOUT" to generate the short pulses necessary.
Sign In or Register to comment.