Project b5 computer music box – Elenco XP&trade User Manual
Page 38
-37-
The microcontroller can be programmed to produce cute sounds
in different ways. This project demonstrates some of them.
Build the circuit shown; it is simpler than the preceding circuit
but does not have a volume control. Turn on the slide switch (S1).
Load any of the programs listed here into the microcontroller
(U21) using the programming instructions in project B1. The
microcontroller will play a tune and may flash lights. You have a
computer music box!
A. Use program Computer Music Box.
B. Use program Make a Sound.
C. Use program Ascending Sound.
D. Use program Robotic Sounds.
Project B5
Computer Music Box
Optional:
This program plays a song in the
microcontroller’s memory. Change the
0 to a 1, 2, or 3 to change the song.
This program plays a sequence of musical notes. The sequence in
parenthesis is the musical notes (ranging from 0 to 255) and their
durations (all values here are 100, so each note plays for 1 second).
- Upgrade Kit SC100 to SC300 (76 pages)
- Snap Circuits Jr.® Educational 100 Exp. (48 pages)
- Upgrade Kit SC300 to SC500 (64 pages)
- Snap Rover ® (24 pages)
- Snap Circuits LIGHT ® (84 pages)
- Snap Circuits Extreme® Educational 750 Exp. (88 pages)
- Projects PC1-PC73 (60 pages)
- Electronics 202 (132 pages)
- Snaptricity® (92 pages)
- Upgrade Kit SCROV10 to SCROV50 (48 pages)
- Snap Circuits Green ® (80 pages)
- C Adapter for Snap Circuits® (2 pages)
- Motion Detector Kit (20 pages)
- Digital Roulette Kit (16 pages)
- FM Wireless Microphone Kit (12 pages)
- AM Radio Kit (32 pages)
- AM Radio Kit (36 pages)
- AM/FM Radio Kit (64 pages)
- Circuit Maker Skill Builder 125 (64 pages)
- Circuit Maker Sound Plus 200 (80 pages)
- Understanding Logic Gates (16 pages)
- Understanding Logic Gates and Circuits (42 pages)
- Tumbling Robot (12 pages)
- Solar Energy (16 pages)
- C2D Scope (16 pages)
- 288x Astrolon Telescope with Aluminum Tripod (1 page)
- Simulated Frog Dissection Kit (1 page)
- Talking Galaxy Planetarium with Night Light (1 page)
- Night’n Day® (10 pages)
- Radio Controlled Black Widow (1 page)
- Handheld Microscope (2 pages)
- Water Filtration Kit (8 pages)
- 6-in-1 Solar Kit (18 pages)
- Microscope Set in Carrying Case (1 page)
- Mobile 20 Telescope (1 page)
- Mechanical Drum (20 pages)
- Aerial Screw (20 pages)
- Swing Bridge (20 pages)
- Printing Press (24 pages)
- MultiBarrel Cannon (20 pages)
- Armored Car (24 pages)
- Paddleboat (20 pages)
- SelfPropelled Cart (20 pages)
- Catapult (24 pages)