 |
|
 |
| Parallax Forums > Public Forums > Completed Projects > TheBlackBox: Release v2.0 - Propeller HSS FX/Sequencer with Digital Audio SPDIF output. | Forum Quick Jump
|
|  Clock Loop =MC²

       Date Joined Jun 2005 Total Posts : 699 | Posted 8/15/2009 8:19 PM (GMT -7) |   | TheBlackBox: Release v2.0 - Propeller HSS FX/Sequencer with Digital Audio SPDIF output.
This is to announce v2.0. Major changes, are use of a single eeprom and crystal. Improved programming / commenting. More videos of TWO black boxes operating together using the clock sync feature(new in 2.0) -future input of accelerometer, theremin, and piano interface. Plus other input methods. -uses VIEWPORT as a tool to do diagnostic and virtual interfacing. -each prop communicates at 250Kbps using the "fullduplexserial" object.
Description: Propeller BlackBox Audio Sequencer V2.0 This device is an audio waveform creation and 32 step sequencer. (for musicians, mostly electronica dj's) (aka... bassline sequencer, drum machine, 303, 909, etc.) This device creates audio, it does NOT accept audio INPUT. (yet)
Features: -Live fx mode to allow direct output of the current waveform set by 12 different potentiometers. -The sequencer allows the fx to be loaded into any one of 32 steps in the sequencer. - SPDIF audio output or analog output via a switch (not both at the same time) - analog output to a monitor(at the same time as spdif/analog output above (headphones or studio speakers) to allow auditioning before outputting live. - 3 encoders that allow - BPM, main volume, and BPM jumps(1/3, 1/2, 1/4, 3/4, 2/3) and a switch for jump direction. (main volume and bpm jump programming not complete yet) - BlackBox to BlackBox CLOCK sync, input rca, output rca.(serial @ 150Kbps, works over 1 foot rca cable) (this is so many of these devices can be connected to one main BEAT CLOCK MASTER.) - 32 LEDS are used as sequencer step indication, ALONG with using the 32 LEDS as buttons to load waveform - 2 leds that start/stop the sequencer and live fx waveform. - fully open source that uses the HSS code to generate the audio.
Schematic: See attachment BlackBoxV2.pdf
Block Diagram See attachment BBv2Block.pdf - AudioSequencer(U1) prop uses all 8 cogs and has 18 I/O free. - PotReader(U2) prop uses all 8 cogs and has 6 I/O free. - LedReader16(U3) prop uses 5 cogs and has 8 I/O free. - LeadReader32(U4) prop uses 5 cogs and has 4 I/O free.
Source Code:See attachment BlackBoxV2.zip fully commented.
Bill of Materials: 4- propeller chips, U1, U2, U3, U4 34- LEDS 1-tri color led. (common anode) 12- 1.5uf tantalum capacitors 12- potentiometers, I have used 20k and 100k, requires small programming changes 3- quadrature encoders 7- switches(on/on) 3- 1/8in stereo plugs 3- rca jacks 1- 5mhz crystal 1- 32kb eerpom (I used 256kb- (24lc256) 20- 10k resistors 4- 1k resistors 16- 470ohm resistors 2- 220ohm resistors 3- 560ohm resistors 2- 22ohm resistors 2- 10ohm resistors 12- 0.1uf nonpolar caps 2- 10uf polar caps 1- BlackBox(or any color you like to hold it all) 1- 3.3v power supply. (500ma) !- Lots of wire, time and solder.
Pictures and Video: See Attachment: BlackBoxV2Face.jpg BlackBoxV2Inside.jpg(see post with viewport image attachment) BBv2plugs.jpg
YoutTube videos: Video demonstration of two black boxes, one controlling the other using the clockin/clockout located on prop U4. v2.0 www.youtube.com/watch?v=d6xiQUrkHj8&feature=PlayList&p=0C1CD6112E208114&index=2
Prior videos of a single box running v1.0 www.youtube.com/watch?v=okM2F6MLqdU www.youtube.com/watch?v=NF1m7U_kBpA www.youtube.com/watch?v=9qvSWtwnr_Y www.youtube.com/watch?v=pX1QCD6xmJo
Really old videos: Prototype. www.youtube.com/watch?v=9Jmz5LirTjs www.youtube.com/watch?v=nMg8yLtOkA0 TERMS OF USE: MIT License
"Permission is hereby granted, free of charge, to any pers........................... ..............................OMITTED FOR FORUM............................................... .................. OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. "
The dsp/fpga king is dead, long live the prop.Post Edited (Clock Loop) : 3/7/2010 12:22:34 PM GMT
Image Attachment :
 BBv2plugs.jpg 336KB (image/jpeg)This image has been viewed 77 time(s). | Image Attachment :
 BlackBoxV2Face.jpg 1.24Mb (image/jpeg)This image has been viewed 82 time(s). | | |
File Attachment : BlackBoxV2.zip 89KB (application/x-zip-compressed)This file has been downloaded 50 time(s). File Attachment : BlackBoxV2.pdf 1.14Mb (application/pdf)This file has been downloaded 87 time(s). File Attachment : BBv2Block.pdf 1.74Mb (application/pdf)This file has been downloaded 59 time(s). | | Back to Top | | |
 |  Clock Loop =MC²

       Date Joined Jun 2005 Total Posts : 699 | Posted 8/15/2009 8:20 PM (GMT -7) |   | Image of v2.0 inside. Handwire.
 forums.parallax.com/forums/attach.aspx?a=40045
*********OLD VERSION*********** ****THIS POST IS FOR V1.0
*** IF ANYONE NEEDS TO CONTACT ME, YOU CAN DO SO VIA EMAIL: ThereIsNoElectron (at) gmail (dot) com
link to thread in the prop sub forum. --> http://forums.parallax.com/forums/default.aspx?f=25&m=364607&g=376391#m376391
WATCH THESE VIDEOS TO SEE WHAT ITS ALL ABOUT.
www.youtube.com/watch?v=okM2F6MLqdU www.youtube.com/watch?v=NF1m7U_kBpA www.youtube.com/watch?v=9Jmz5LirTjs www.youtube.com/watch?v=9qvSWtwnr_Y www.youtube.com/watch?v=pX1QCD6xmJo
The hard work done by the HSS developer, http://www.andrewarsenault.com/hss/ and his choice to give the code away for free has spawned this monstrosity.
This project uses: 4 props, (4 - .075uf bypass caps 4 power pins) 4 - eeproms 4 - crystals 12 - 80k Potentiometers (you can substitute) 1 - quadrature encoder, (bpm) 34 - LEDS 4 - 56ohm resistors, 12 - 0.015uf caps, (104 ceramic) 12 - 330ohm resistors. handfull of 1k ohm resistors, hand full of - 10k ohm resistors 3 - 560ohm resistors 1 - tricolor led 2 - switches,
3 - 1/8in audio jack. 1 - RCA jack 1- 3.3v regulator
An enclosure case, and a power supply. (300ma 6vdc)
PROP 1: 8 cogs used. -runs 1 analog HSS engine. - 2 cogs -runs 1 analog or digital HSS engine. - 3 cogs (if digital 3, analog 2) -runs sequencer, reads switches, runs fx. - 1 cog (heartbeat led runs in sequencer loop.) -talks to prop 2 (full duplex serial 115200) (potientiometer prop) - 2 cogs. Sends beat. Gets Fx/leds/encoder - 4 I/O for audio - 6 I/o for switches -2 i/o for serial -1 i/o for heartbeat
PROP2 - 8 cogs used. - talks to prop 1 (full duplex serial 115200) audio prop. Sends fx potentiometers, sends led states, sends encoders. - 2 cogs. Gets beat. - talks to prop 3 (Gets 1-16 leds)(fx start, seq start) Sends beat - 2 cogs. - talks to prop 4 (Gets 17-32 leds, encoders) Sends beat. - 2 cogs. - reads frequency, LFO pots. - 1 cog. (for a more fluid response, only 2 are read) - reads all other pots - 1 cog. 12 - i/o for potientiometers 6 - i/o for communications
PROP3 - 6 cogs used - heartbeat led - 1 cog - reads and lights FxStart - 1 cog - reads and lights SeqStart - 1 cog - reads and lights 1-16 leds when beat changes. - 1 cog - communicate with PROP2 (full duplex serial 115200) sends 1-16leds, fxstart, seqstart. Gets beat. - 2 cogs 21 - i/o for leds 2 - i/o for comms 1 - i/o for heartbeat
PROP4 -6 cogs used. - heartbeat led - 1 cog - reads encoders - 1 cog - reads and lights 17-32 leds when beat changes. - 1 cog - communicate with PROP2 (full duplex serial 115200) sends 17-32leds, encoders. Gets beat. - 2 cogs ***- reads and sends midi beat sync - 1 cog. ***FUTURE*** 17 - i/o for leds 2 - i/o for comms 2 i/o for midi 2 i/o for bpm encoder (i have 6 i/o for 3 encoders) 1 - i/o for heartbeat
*********OLD VERSION*********** TERMS OF USE: MIT License
"Permission is hereby granted, free of charge, to any pers........................... ..............................OMITTED FOR FORUM............................................... .................. OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. "
The dsp/fpga king is dead, long live the prop.Post Edited (Clock Loop) : 3/7/2010 1:09:57 AM GMT
Image Attachment :
 FaceBB.jpg 1.78Mb (image/jpeg)This image has been viewed 193 time(s). | Image Attachment :
 InsideBB.jpg 1.10Mb (image/jpeg)This image has been viewed 258 time(s). | | |
File Attachment : BlackBoxV1schematic.pdf 1.17Mb (application/pdf)This file has been downloaded 34 time(s). File Attachment : BBV1.zip 80KB (application/zip)This file has been downloaded 31 time(s). | | Back to Top | | |
     |  skylight Registered Member
        Date Joined Mar 2007 Total Posts : 484 | Posted 8/18/2009 7:02 AM (GMT -7) |   | | | |
 |  mikediv Registered Member
        Date Joined Dec 2007 Total Posts : 819 | Posted 8/18/2009 9:51 AM (GMT -7) |   | | Clock Loop.. awesome its a good demonstration on how to use multiple props as well , very nice | | Back to Top | | |
 |  Clock Loop =MC²

       Date Joined Jun 2005 Total Posts : 699 | Posted 8/18/2009 4:50 PM (GMT -7) |   | GWJax said... Nice free hand work on the internals. I love the video's you provided a very nice touch to your completed project post
Thanks! No project is complete without multimedia + code + schematics.
skylight said... nice use of the leds as touch sensors Thanks, the prop makes it easy.
mikediv said... Clock Loop.. awesome its a good demonstration on how to use multiple props as well , very nice Thanks, Yea, my method of prop communications isn't the greatest, but it works.
I basically just blast the values over the serial, and on the receiving prop I have it look for the start number "say 113" and then after it sees that number, it starts to capture all the data after it for a certain number of bytes. Its pretty simple and allows me to transmit at 115200 baud. Although I use 2 pins for the serial I/O, it could be done with a single pin. This is because I do not use 2 cogs to transmit and receive the data, I do the TX and RX sequentially.
Overall this design could improve: (use a single eeprom, and clock all props from a single master prop.) Re-use the TX and RX lines between props as a way to upload the boot program from the master prop, plus do the serial communications on the same lines, after the boot program has been uploaded.
I am sure the code could use major enhancements also...
This first revision is the hard and dirty working v1.0
This is the result of an EE who is out of work due to the financial terrorism that the federal reserve and federal government have chosen to inflict on the hard working class. I.E. my job canned me due to cut backs. (insult to injury, the state refused my unemployment claim over a technicality) (combine that with the housing market prices....which resulted in my foreclosure, etc...) Its a horrible time to have lost a job, and owned a house. Wheres my bailout?Post Edited (Clock Loop) : 8/20/2009 3:15:17 AM GMT | | Back to Top | | |
   | Forum Information | Currently it is Thursday, July 29, 2010 5:22 PM (GMT -7) There are a total of 462,441 posts in 62,066 threads. In the last 3 days there were 90 new threads and 802 reply posts. View Active Threads
| | Who's Online | This forum has 20143 registered members. Please welcome our newest member, ME01. 58 Guest(s), 15 Registered Member(s) are currently online. Details John Abshier, Erik Friesen, RossH, Kevin Wood, simpsonmichael1, BradC, David Betz, Julian800, Martin Hodge, RDL2004, Harley, Sapieha, wiresalot, Ravenkallen, Tubular |
Forum powered by dotNetBB v2.42EC SP2.02 dotNetBB © 2000-2010 |
|
|