Shop OBEX P1 Docs P2 Docs Learn Events
BS1 IR Detection? — Parallax Forums

BS1 IR Detection?

TEIBTEIB Posts: 2
edited 2007-03-12 22:29 in BASIC Stamp
Does the BS1 have the ability to output a specific frequency, like the BS2 freqout command, for use with infrared object detection? I have a simple project in mind that I hope I could save some money with getting the BS1 instead of the BS2, but I am not sure since there is no freqout command.·

Any help would be much appreciated.

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2007-03-12 22:29
    The BS1 has only limited capability to generate frequencies (with the SOUND statement), not enough for IR use. Best would be to use a 555 timer to generate the IR pulses. If you really need a "zone"-like distance value, you could probably vary the IR frequency using a digital pot.

    Maxim has a lot of digital pots at under $1 in quantity that use two control lines. One steps up and the other steps down. They start in the middle on power up.

    Post Edited (Mike Green) : 3/12/2007 10:36:50 PM GMT
Sign In or Register to comment.