2011_ACTIVITY #1 - BUILDING AND TESTING THE SPEAKER

2011_ACTIVITY #1 - BUILDING AND TESTING THE SPEAKER - Freq1...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Sheet1 Page 1 Activity #8 Purpose: The purpose of this activity is build a basic piezoelectric speaker circuit. We will also learn how to program the BASI C Programming Codes: FREQOUT --> This command sends a high/low signal to a speaker to make sound. Syntax: FREQOUT Pin, Duration, Frew1 {, Freq 2} Pin --> Value used to choose which BASIC Stamp I/O pin to use. Duration --> Value that tells the FREQOUT command how long the tone should play (in milliseconds).
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Freq1 --> Used to set the frequency of the tone. Freq2 --> This command is optional but if integrated it can used to mix frequencies. Applying what we learned: The knowledge we gained form this activity can be used when we want to have a simple speaker s e...
View Full Document

This note was uploaded on 01/10/2011 for the course EE 1244 taught by Professor Drera during the Fall '10 term at Conestoga.

Ask a homework question - tutors are online