Parallax Forums
  HomeLog InRegisterCommunity CalendarSearch the ForumHelp
   
Parallax Forums > Public Forums > Propeller Chip > TheBlackBox v1.0 - Propeller HSS Fx-Sequencer, has LEDS as buttons & indicators.  Forum Quick Jump
 
New Topic Post Reply Printable Version
[ << Previous Thread | Next Thread >> ] | Show Newest Post First ]

Clock Loop
=MC²



Email Address Not AvailablePersonal Homepage Not AvailablePrivate Messaging Not AvailableAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Jun 2005
Total Posts : 615
 
   Posted 7/1/2009 10:24 PM (GMT -8)    Quote This PostAlert An Admin About This Post.
*** IF ANYONE NEEDS TO CONTACT ME, YOU CAN DO SO VIA EMAIL: ThereIsNoElectron (at) gmail (dot) com

***--> link to completed projects sub forum -- http://forums.parallax.com/forums/?f=21&m=376422&g=376422#m376422

Look for my post below for code, schematic, and more videos.

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.

The video says it all.
www.youtube.com/watch?v=9Jmz5LirTjs

I will be releasing the full code soon along with schematics.

The code is rough but I will post it after I comment the rest of it.

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)

I will be making circuit boards for my finished design, right now I am not done, more needs to be added/changed...

Any suggestions welcome...


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) : 9/1/2009 1:31:01 PM GMT

Back to Top
 

Clock Loop
=MC²



Email Address Not AvailablePersonal Homepage Not AvailablePrivate Messaging Not AvailableAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Jun 2005
Total Posts : 615
 
   Posted 8/13/2009 5:16 PM (GMT -8)    Quote This PostAlert An Admin About This Post.
Two new videos with all 4 propellers running.

12 sound envelope sliders.

32 beat - position indicators / loaders.

BPM knob-encoder

FX-start LED

Sequencer-Start LED

It will soon have a better enclosure other than a square black box.

www.youtube.com/watch?v=NF1m7U_kBpA

www.youtube.com/watch?v=okM2F6MLqdU
Back to Top
 

Oldbitcollector
Professional Stuntman



Email Address Not AvailablePersonal Homepage Not AvailablePrivate Messaging Not AvailableAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Mar 2007
Total Posts : 3665
 
   Posted 8/13/2009 5:22 PM (GMT -8)    Quote This PostAlert An Admin About This Post.
Cool stuff! You beat me to the punch of using more than one Propeller with HSS.

Nice!

OBC


New to the Propeller?

Visit the: The Propeller Pages @ Warranty Void.

Back to Top
 

Clock Loop
=MC²



Email Address Not AvailablePersonal Homepage Not AvailablePrivate Messaging Not AvailableAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Jun 2005
Total Posts : 615
 
   Posted 8/13/2009 6:16 PM (GMT -8)    Quote This PostAlert An Admin About This Post.
Another video.

www.youtube.com/watch?v=9qvSWtwnr_Y


Oldbitcollector said...
Cool stuff! You beat me to the punch of using more than one Propeller with HSS.

Well, only 1 prop is the sound generator. It outputs 3 audio signals. 2 are analog and run in seperate HSS engines on the same prop.

1 is a digital spdif signal (also runs a HSS engine)that runs to an rca jack and a 1/8in jack.

A switch chooses between having the main output be digital or analog.

The monitor output is always analog.

Two switches let one choose where the fx sound goes and where the sequencer goes.

The choices are MAIN out or Monitor out.

This is so one can have headphones on before outputting to the main mix.

Or you could have the sequencer outputting on the main line while the fx is running on the monitor (so you can listen to fx before you load it into the sequencer)

All this is to allow live playing of the device.


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

Post Edited (Clock Loop) : 8/14/2009 3:17:07 AM GMT

Back to Top
 

Clock Loop
=MC²



Email Address Not AvailablePersonal Homepage Not AvailablePrivate Messaging Not AvailableAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Jun 2005
Total Posts : 615
 
   Posted 8/13/2009 6:34 PM (GMT -8)    Quote This PostAlert An Admin About This Post.
I am having a very VERY bizarre thing happen when playing this device on noisy power, under less than brightly lit conditions.

The leds will only register my finger blocking the light proplerly when GROUNDING MY SELF TO THE DC GND.
( a benefit of this random nature of noise in the system, it allows one to activate the fx and modulate the frequency

That says to me I have noise, and need to filter it. I use a cell phone charger as my power source, this device uses about 200ma power, it takes the 300ma 6vdc power and regulates it to 3.3v using a LDO regulator with 220uf, 10uf, 1uf filter caps. A 10k resistor is across all caps to discharge at power cycle.

Next is to try a power supply with a ground. (cell phone chargers are 2 prong)




If anyone wants to improve my code, make suggestions or what not. Feel free.

The code is partially commented. And will get better and more comments as time passes.

Because it involves so much code, I don't know if I should put this into the obex or just leave it here as a finished project. And or make a finished project thread in the finished project thread.

Post Edited (Clock Loop) : 8/14/2009 10:24:04 PM GMT

Back to Top
 

Clock Loop
=MC²



Email Address Not AvailablePersonal Homepage Not AvailablePrivate Messaging Not AvailableAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Jun 2005
Total Posts : 615
 
   Posted 8/15/2009 12:13 AM (GMT -8)    Quote This PostAlert An Admin About This Post.
Heres the dirty code with minimal comments, along with a skeeematic.

:)

Perhaps this should be called..

TheBlackBox: Release v1.0


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.



File Attachment :
Black Box v1.0 - Prop1 -U1- AudioSequencer - Archive [Date 2009.08.14 Time 17.03].zip   42KB (application/x-zip-compressed)
This file has been downloaded 52 time(s).

File Attachment :
Black Box v1.0 - Prop2 -U2- PotReader - Archive [Date 2009.08.14 Time 17.04].zip   13KB (application/x-zip-compressed)
This file has been downloaded 41 time(s).

File Attachment :
Black Box v1.0 - Prop3 -U3- LedReader16 - Archive [Date 2009.08.14 Time 17.03].zip   9KB (application/x-zip-compressed)
This file has been downloaded 42 time(s).

File Attachment :
Black Box v1.0 - Prop4 -U4- LedReader32 - Archive [Date 2009.08.14 Time 17.04].zip   17KB (application/x-zip-compressed)
This file has been downloaded 43 time(s).

File Attachment :
BlackBox.pdf   1.17Mb (application/pdf)
This file has been downloaded 49 time(s).
Back to Top
 

Clock Loop
=MC²



Email Address Not AvailablePersonal Homepage Not AvailablePrivate Messaging Not AvailableAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Jun 2005
Total Posts : 615
 
   Posted 8/15/2009 2:19 PM (GMT -8)    Quote This PostAlert An Admin About This Post.
A few images of the rough inside, plus face.

And a new video showing the BPM range.
www.youtube.com/watch?v=pX1QCD6xmJo

Post Edited (Clock Loop) : 8/15/2009 10:48:39 PM GMT


Image Attachment :
Image Preview
FaceBB.jpg
  1.78Mb (image/jpeg)
This image has been viewed 94 time(s).
Image Attachment :
Image Preview
InsideBB.jpg
  1.10Mb (image/jpeg)
This image has been viewed 142 time(s).
Back to Top
 

Ym2413a
Registered Member



Email Address Not AvailablePersonal Homepage Not AvailablePrivate Messaging Not AvailableAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined May 2006
Total Posts : 477
 
   Posted 8/16/2009 3:29 PM (GMT -8)    Quote This PostAlert An Admin About This Post.
That's pretty cool. :)
Good work.


Share the knowledge: propeller.wikispaces.com
Lets make some music: www.andrewarsenault.com/hss

Back to Top
 
[ << Previous Thread | Next Thread >> ]
New Topic Post Reply Printable Version
 
Forum Information
Currently it is Monday, February 08, 2010 6:10 PM (GMT -8)
There are a total of 415,872 posts in 57,629 threads.
In the last 3 days there were 78 new threads and 858 reply posts. View Active Threads
Who's Online
This forum has 18513 registered members. Please welcome our newest member, SEL.
42 Guest(s), 12 Registered Member(s) are currently online.  Details
Peter Jakacki, CannibalRobotics, W9GFO, Bob Lawrence (VE1RLL), Computer Geek 101, tonyp12, Harley, Jimm2, ciamo, Bane, Peter KG6LSE, atlstang