I'm a complete beginner to electronics, and recently bought a Make kit from MakerShed. I got through the lessons in "Getting Started with Arduino" book, but then broke out on my own by trying a simple sketch I found on Arduino.cc (see full link below).
The problem is I didn't know how to use extra wiring to connect these super small red and black wires that come with the 8 ohm speaker to the Arduino Uno. The wires are very small. So I stuck them in directly to the Arduino Board in Pin 8 (red) and Grd (black), and the program played the melody as stated after I compiled and uploaded it to the board. So far so good?
The program is at http://arduino.cc/en/Tutorial/tone
While it did play the melody, I didn't use the resistor, and didn't know how to connect connecting wires to the small wires instead just painstakingly put the teeny tiny wires of the Speaker into the 8 pin and grd. It was a super pain in the a--. Is there better/correct way to connect the wires to play the melody?
After the above "success" in that at least the program ran, I tried improving the connection and so tried tying a couple of jumper cables around the super small red and black wires, but in the process broke the speaker wires off of the speaker, and so after I buy a new 8 ohm speaker, can someone tell me how to correctly deal with the connection from Speaker to Arduino and what kind of connecting cables I need, and how to connect these teeny tiny red and black wires?
Thanks for your help,