Wow, this could be the first step of modding a BCR2000. ![]()
nice one ![]()
emailed!
BUMP!!!
Got the samples in the mail today and couldn’t wait to start playing. This is going to be a quick teaser post since I have work stuff that needs completing…
First impressions: Very well built, nice clean traces, even soldermask across the board, silk screen is very well defined and very readable. My only suggestion would be to offer a second model type that rotates the leds 90 degrees (putting the connector on the left or right side). This would allow a smaller spacing between encoders that are mounted in a column. As it sits now, it is perfect for horizontal spacing.
I followed the directions provided and had the board up and running in less than 10 minutes (5 to solder, 5 to wire). I copied and pasted the example code and it worked perfectly the first time out of the gate. (There is one minor cosmetic bug due to referencing an array out of bounds, but that’s not an issue since this is demo code).
I’ll be making a more detailed post with plenty of assembly pictures, but for now these will have to do:
Oh, and a video ![]()
I finished my work early and got to play a little more ![]()
The first demo just shows the ring’s leds being lit up one at a time at varying intervals. * bonus points for naming the TV show in the background, extra bonus points for naming the season and episode number
*
The second demo shows the ring acting as a single channel vu meter, with the bottom led acting as a beat light.
My demo units arrived the other day as well - thanks mr mayhew ![]()
nice videos - gonna have to try and get mine setup over the next few days as well… probably going to use mine as VU meters.
Hopefully I will have the time to get some sample code posted later today…
I have played and played and am loving the design of these things! The blue leds are bright enough out of the box, and in order to get the red/green units at the same brightness you will need to add a 2k resistor on the red, and a 1k resistor on the green unit (instructions will be posted eventually).
In the mean time, here is a HD video of various flashy effects. I took 4 videos of the same demo, one each with lights on/off and with/without a diffuser..
Check it out!
haha nice one!
although i’m not sure how useful the led’s would be behind the ‘frosted’ perspex? kinda hard to make out what position they’re at I think? more of a visual thing, rather than practical.
looking forward to seeing some schematics of how you wired it up and some more code ![]()
“hand frosted” yeah
clear plexi + sandpaper = teh crap!
I only used it to show what it would look like somewhat diffused… the leds were over 3cm away from the plexi.. much further than they usually would be. I want to clean up the code I have (and perhaps make a library out of it) and I hope to get it posted tonight…
Any specific functionality you could see being required? I have the normal ones, turn ring on, turn ring off, turn led on ring on/off, setRingState, etc… Would there be interest in some sort of animating ability? right now it would be up to yo in how to animate, but I’m sure I could whip up some sort of animator (similar to the demo code from the documentation).
Gotta run! a client’s server is down ![]()
stupid computers…
DJ Necro -
A big THANKS for putting the videos together and exploring some possibilities!
At some point I am planning on doing an example of a ‘fake’ PWM with the LED Ring, which will be toggling an LED with each loop iteration for a basic brightness control of 1/2 duty, 1/3 duty, 1/4 duty… This might be something to add to a library.
Just an update: SparkFun should have these up for sale on Thursday this week; I’ll post a link when they post them!
how much are they going to retail for you think?
MSRP is $14.95. I believe this is what SparkFun will be charging.
Faux PWM eh?
Hmmm… That may be a bit of a trick to get working efficiently… There’s only so much CPU time available on atmega’s
But I will certainly attempt it… First though that comes to mind would be to pulse the OE line to get your duty cycles… Another method would be to keep track of the number of cycles and zero out the display every X cycles…
MMMMM PLAY TIME!
You may also want to investigate the tlc5940’s… they offer built-in PWM control, but they are quite a bit more costly… $1.76@3000 or $4 each…
Ok… well… ha!
PWM was easier than I expected… I used the Output Enable line (OE) hooked up to one of the atmega’s PWM pins… After that it was as simple of an analogWrite() to set the brightness… A couple of proof of concept videos below… I hope to have a midi related demo online tonight sometime…
The first video is a pure proof of concept… will pwm work at all using the OE line… Result: YEPPERS!
The second video takes it further to ensure the pwm timing doesn’t interfere with the display timing… Result: YEPPERS! While the flashy demo isn’t suitable to see it all the time, you can see that it works without interrupting the animations…
Stay tuned for more ![]()
Here’s the first test of using traktors midi beat phase output to pulse the leds on beat…
Let me know what you think… I’m not all that happy yet… I’d prefer to use the low eq levels, but traktor doesn’t provide that output as far as I can find…
For anyone who is interested in getting some of these, they are now in stock and available for purchase at Sparkfun:
Red LED: http://www.sparkfun.com/products/10408
Blue LED: http://www.sparkfun.com/products/10407
Green LED: http://www.sparkfun.com/products/10409
Thanks for the support!
Well here it is! I tested it as best as I could. All of my testing was with 3 ring boards chained together, but you can address any ring independently, and with proper config (one line) it should work just fine with fewer or more (up to a limit of 255, or the speed of the processor)… Full commenting has not been finished, but there should be enough for now. Zero documentation, however the examples should be fairly self explanitory. Check the header file for all available methods.
Install:
- If it doesn’t already exist, create a ‘libraries’ folder underneath your main sketch folder (the one with ALL your sketches in it)
- Unzip the archive into your existing or newly created libraries folder (you should have libraries/ledRings/ when you’re done)
- Open or Restart your arduino editor. You should now see the ledRing entry under File->Examples
- Play and experiment! (this is the best part)
Support:
- Until I get a website setup for the library just post here or PM me with your questions (I would prefer you to post here, as it can help many more people)
License: Released into the Public Domain, do whatever the hell you want with it, just please credit me.
First Release. Version: .5 beta
- Supports multiple ring boards chained together.
- Supports PWM brightness control (very little testing).
- Currently uses TIMER2 at approximately 500Hz.
3 Examples included:
- Encoder Demo (Three patterns responding to the encoder value cycled by pushing encoder button)
- MIDI Demo (LED Arc’s respond to CC’s 1, 2, 3 on channel 15; Bottom LED’s respond to Note ON/OFF’s 51, 52, 53 on channel 15
- LED Ring Demo (Flashy LED light show)
Download Link: ledRing Arduino Library v0.5b
ATTN Developers: I have the source for the library in an SVN repository, if you would like to check out the source, let me know and I will open it to the public… If you want to contribute, also let me know and I’ll setup a branch and an account for you to help improve things ![]()
nice one man ![]()
I’ve had a few commitments that I’ve had to attend to but as of tonight I’ve got spare time to work on my DIY controller and Arduino stuff so I’ll definitely have a look at your code ![]()
just out of interest, whereabouts in the world are you based?
Great work DjNecro! I’ll be testing it out here sometime this week. Let me know if you need a place to host the Library.
Thanks ![]()
I have plenty of space for the hosting… it’s the lack of time
However I think i’ll host it with google code, since it gives me the basic site required, as well as good issue tracking…
MiL0: I am in Southern Ontario, Canada..
The project now has a home over at google code… Documentation/commenting will be worked on today. Along with demo videos showing the wiring and results of the demos..
