Arduino Chiptunes-Yet Again...Install an Arduino Library
I love chiptunes and so I had to have more. If you have read my Chiptunes Project you will know what I mean.

Thank you to Drew Crawford for an awesome tune.

I will also teach you how to install an Arduino Library Code.

Here:





Step 1: Parts.

Arduino Chiptunes-Yet Again...Install an Arduino Library
You will need: 3 1K resistors
1 Arduino Uno
1-3 Piezos/ Speakers
1 Audio Output Jack.
* I decided to make a shield but you don't have to. *

Step 2: Program and Install a Library

Arduino Chiptunes-Yet Again...Install an Arduino Library
Arduino Chiptunes-Yet Again...Install an Arduino Library
Arduino Chiptunes-Yet Again...Install an Arduino Library
Arduino Chiptunes-Yet Again...Install an Arduino Library
Arduino Chiptunes-Yet Again...Install an Arduino Library
Arduino Chiptunes-Yet Again...Install an Arduino Library
Arduino Chiptunes-Yet Again...Install an Arduino Library
Arduino Chiptunes-Yet Again...Install an Arduino Library
Arduino Chiptunes-Yet Again...Install an Arduino Library
Arduino Chiptunes-Yet Again...Install an Arduino Library
Arduino Chiptunes-Yet Again...Install an Arduino Library
Arduino Chiptunes-Yet Again...Install an Arduino Library
Arduino Chiptunes-Yet Again...Install an Arduino Library
Show All 13 Items
Take your Arduino and connect it to the computer.
  • Unzip the zip file and inside, you should find two files. Ignore the demos for now.
  • Go to bassdll.
  • You should see 4 files. bassdll.cpp, bassdll.h, debug.cpp and debug.h. Basically if you see .cpp and .h files, take it as a library.
  • Go outside the bassdll folder. Open your sketchbook folder and make a folder called libraries.
  • Copy bassdll to the libraries folder in your sketchbook.
  • Now restart the Arduino IDE and go to Sketch-Import Library and then Contributed. Click on bassdll. If all went well, you should have two include statements at the top of your sketch. Now, close that sketch.
  • Next, move demos to your sketchbook folder in your file browser.
  • Open up the Arduino IDE and go to where you saved demos. Go to core2 and hit Verify.
  • It should compile correctly. Essentially, the code must be moved to your sketchbook folder and opened. The library helps it with defining things.
  • Now, Upload.



  • Arduino Chiptunes-Yet Again...Install an Arduino Library
    drewcrawford.zip10 KB

    Step 3: Build.

    Arduino Chiptunes-Yet Again...Install an Arduino Library
    Arduino Chiptunes-Yet Again...Install an Arduino Library
    Follow the Fritzing schematic to build. The resistors should be 1k but they sadly are not. Fritzing does not have 1k resistors.

    The 1k resistors are used to mix the output on one speaker. Otherwise, you could have three speakers/piezos.

    I decided on a shield but that's optional.


    Arduino Chiptunes-Yet Again...Install an Arduino Library
    ArduinoCore2Chiptune.fz22 KB

    Step 4: Listen.

    Arduino Chiptunes-Yet Again...Install an Arduino Library
    When you power the Arduino up it should start playing.

    Hope you liked this ible and leave a comment if you have questions or, comments. :-)
     
     

    Tag cloud

    make build easy simple arduino making homemade solar laser printed portable cheap mini building custom cardboard wooden create super lego turn paracord chocolate your paper light intel