Thursday, January 26, 2012
Project 1
In project number one I had to manipulate a toys motor, and sound functions by using picaxe software. Initially, I had to locate the wires that were connected to the motor, and to the speaker. Once the wires were located I then provided it with power to be certain the motor was functioning properly. Next, I started to program the software that would control the motor and speaker by using picaxe. After spending some time tweaking with the program I decided on using the pwmout for the motors and the tune command for the sound. After the program was completed and downloaded to the microcontroller I then connected my toy to the circuit board. The circuit board used was from the previous experiment; however, a piezo sounder was added to the circuit to establish the sound of the tones. Both the motor control and sound worked after the power was plugged in.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment