Ace Posted December 23, 2013 Posted December 23, 2013 We are working on a little side project (not using lor hardware). We want to program a robot micro-controller to run a single music sequence. We have leds that connect directly to it, and each one is on a separate channel. We also have a speaker to play the music. The main problem is the programming. The micro-controller uses a C-based operating system, and it's not set up for this purpose. So, does anyone know of any sequencing software that can export some C code? It doesn't have to be perfect, but if it could bear any burden of the task that would be great. Alternately, has anyone done anything like this and know of a decent technique for writing sequences in raw code?
jeffl Posted December 23, 2013 Posted December 23, 2013 You will probably have better luck on this forum. Their user base is more into the bits and bytes of this stuff. http://www.doityourselfchristmas.com/forums/forum.php
Ace Posted December 23, 2013 Author Posted December 23, 2013 You will probably have better luck on this forum. Their user base is more into the bits and bytes of this stuff. http://www.doityourselfchristmas.com/forums/forum.phpOk, thanksI'll take a look over there
Tim Fischer Posted December 23, 2013 Posted December 23, 2013 Just out of curiosity are you using Atmel micros? That's how I got my feet wet in this crazy animation world, a few years before LOR existed. That was all C-based...
Ace Posted December 23, 2013 Author Posted December 23, 2013 Just out of curiosity are you using Atmel micros? That's how I got my feet wet in this crazy animation world, a few years before LOR existed. That was all C-based...No, VEX Cortex
Tim Fischer Posted December 23, 2013 Posted December 23, 2013 No, VEX CortexOK, no idea what that is I've been out of the micro scene for over a decade now, and it was my buddy who was the real "hardware guy".
Tim Fischer Posted December 23, 2013 Posted December 23, 2013 What software did you use?AVR GCC. I can't remember the name of the utility that "flashed" the AVR chip itself, it's been over a decade, lol.
Ace Posted December 23, 2013 Author Posted December 23, 2013 Ok, so you had to write the sequences by hand (as in with just code text and no GUI)?I can't blaim you for forgetting; that's more than half my life. Lol. You're using lor now?
intertrashional Posted December 24, 2013 Posted December 24, 2013 I made a 4 channel controller out of a "super cricket" controller. It is programmed in "logo", kind of similar to c. The channels could be turned on and off in 1/10th second increments. I used a servo taped to an mp3 player to syncronize the music. I ran the outputs through a transistor to switch the relays on and off.
intertrashional Posted December 24, 2013 Posted December 24, 2013 The beginning of song went quick, but the end of the song took forever. I had to listen to most of the song to see if what I programmed was correct. Logo is extremely easy to do this with, and the "super cricket" has add on boards for more channels if needed. It will run small motors that can belt drive a wall dimmer to have the lights fade. I decided rather than to make life difficult I would just buy LOR after I did that one song. I used the "super cricket" to control the lights on my car last Christmas Eve in the church parking lot after service was over. Everyone loved it!
Recommended Posts