A speaker consists of a baffle connected to a coil of wire wrapped around a magnetic core. When electricity is passed through the coil it will move, pushing or pulling the baffle, which in turn moves air and produces an audible sound.
Speakers are very low resistance and so require capacitors to block the DC current. An alternative is the piezo which can be driven directly from a PICAXE output line.
A speaker may be connected via the BCX38C darlington transistor create module (buzzer shown here). However the speaker must be a 32 or 40 ohm (not 8 ohm) type.
Bill of Materials
|64 ohm speaker ||SPE010 ||1 ||Buy Now |
|22uF electrolytic capacitor ||CAP005 ||2 ||Buy Now |
Submit Your Own Code!
You must be logged in to submit code examples. Login now.