With Instructables you can share what you make with the world, and tap into an ever-growing community of creative experts.
Tell us about yourself!
Thanks Simon! Great work. Works perfectly. For others reading: I did make a few changes. I added two 100nF caps i.e. from A to Ground, and B to GroundOn my encoder (cheap aliexpress with switch) A and B are the outside pins: middle pin = GroundI had to lower the buad rate to 9600: was getting nonsense characters on serial monitor.All that aside: works perfectly! No bounce, perfect single steps on every detent no matter how fast I turn (turning manually at least!)
The thing i'd focus on is "FileNotFound"... Did you do these steps below? Also: I'd try getting rid of spaces in your file name... i.e. rename your file without spaces, and then change your code to use that new "non space" name... Some times things don't like spaces in file names"9. Copy an .mp3 file into the "data" folder of the unzipped BeatWrite folder.10. Open Processing (processing.exe), then open the BeatWrite.pde file in the BeatWrite folder.11. Edit the line of code "song = minim.loadFile("freebird.mp3", 2048);". Instead of using "freebird.mp3", use the filename of your mp3."
Nice one! I've been doing a bunch of electronics projects too and think ill go down this route. However (and this may be a bit of a n00b question) what's the difference between a -5V connection and just reversing the polarity of a 5V connection? i.e. if I put a multimeter red to red it would read 5V, if i put it on red to black it would read -5V... if voltage is "potential difference" then it's all relative isn't it? Or for that matter, folks suggesting combining +12v with -12 v... if you had two pairs of red/black +12V, could you not just "patch" from red to black and get +24V from the remaining terminals?
Let your inbox help you discover our best projects, classes, and contests. Instructables will help you learn how to make anything!
© 2016 Autodesk, Inc.