Shop OBEX P1 Docs P2 Docs Learn Events
Two frequencies? — Parallax Forums

Two frequencies?

ctdrum1124ctdrum1124 Posts: 5
edited 2009-11-30 01:30 in BASIC Stamp
Is there a way to have multiple piezos going at once with different frequencies?

Comments

  • $WMc%$WMc% Posts: 1,884
    edited 2009-11-30 00:23
    ctdrum1124

    The BS2's do one thing at a time. But they can do them really fast, often making it appear to be at once. Much like your PC.

    If You must have piezos running at the same instance, Then external hardware can be added. Like the 555, 556, etc.

    Not really sure what Your after. Hope this helps

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    The Truth is out there············___$WMc%___···························· BoogerWoods, FL. USA
  • ctdrum1124ctdrum1124 Posts: 5
    edited 2009-11-30 01:17
    it does thank you. I will look at the 555.
  • PJAllenPJAllen Banned Posts: 5,065
    edited 2009-11-30 01:30
    Two different frequencies -- Yes;· At once -- Not exactly

    You could PULSOUT time_x on one pin and then PULSOUT time_0.25x·4 times on another pin and·keep repeating the process, and effectively have two different frequencies emitted.

    Make sense?

    Post Edit -- Attached drawing to illustrate my meaning.· [noparse]:)[/noparse]· Might sound kind of rough, but I'm keeping it conceptual.

    Post Edited (PJ Allen) : 11/30/2009 1:43:22 AM GMT
    351 x 129 - 45K
Sign In or Register to comment.