Giving each Arduino a different name is totally possible as long as they have a 16u2 on board (that goes for the UNO and MEGA Arduino's). I have tried it this afternoon and it'll work!
And why I stay with the 80's baudrate is because I have old keyboards and electronics I use that is still 31.25 kbaud.
Joined: Aug 08, 2009 Posts: 1082 Location: Out scouting . . .
Posted: Tue Sep 20, 2016 2:35 pm Post subject:
Grumble wrote:
Giving each Arduino a different name is totally possible as long as they have a 16u2 on board (that goes for the UNO and MEGA Arduino's). I have tried it this afternoon and it'll work!
Thanks for the reply. Mine is the original Mega--pre-revisions, so it only has the 8U2. Maybe someday I will update to an R3 (or whatever comes after that).
Even the 8u2 can be programmed acting as a midi device, though at 31.25kbaud. (I don't know how your arduino/atmega skills are, but this is to program the ATMEGA8U2 and NOT the ATMEGA2560 and/or the ATMEGA328)
Only downside is that You can only use one Mega at a time, because they all have the same name (HIDUINO).
I have added the hex file for this to this post, but you may also look at the link I added B4.
Just realised: the website where you can "pimp your hiduino" is also based upon the code from Dimitri Diakopoulos, so my guess is that it also works with the 8u2, maybe you can try this?
If it fails, you can still revert to the standard MEGA by flashing usbserial_mega_8u2.hex in the 8u2 residing on your MEGA (also found on the github from DDiakopoulos.
Joined: Aug 08, 2009 Posts: 1082 Location: Out scouting . . .
Posted: Wed Sep 21, 2016 9:05 am Post subject:
Grumble wrote:
Even the 8u2 can be programmed acting as a midi device, though at 31.25kbaud. (I don't know how your arduino/atmega skills are, but this is to program the ATMEGA8U2 and NOT the ATMEGA2560 and/or the ATMEGA328)
Only downside is that You can only use one Mega at a time, because they all have the same name (HIDUINO).
Thanks for the clarifications. I have never programmed the chips themselves, just the full development board using the Arduino IDE. I have read up on the structure of the AVR chip and a little bit of programming the chip--mainly in connection with trying to understand the possible uses of the interrupts.
I have programmed simple midi output using the hairless midi/usb serial bridge. Also, I have played with simple midi I/O with the mega2560 to and from 5-pin din midi gear by connecting the arduino to a joystick port midi interface--very simple TX and RX to the RX and TX pins of the joystick connector and the current loop (I forget the pins).
I have never used more than one Arduino connected to the same PC, but since you mention it--I will have to dig mine out!!
PS: It was with the original Mega2560 and the hairless usb/serial midi bridge that I was successful with 115200 kbaud midi (as long as I didn't echo the data to the IDE console IIRC).
At the risk of sounding like an idiot. What would be the purpos of having the microprocessor decide the next cord in the music?
I'm in to pretty traditional folk type music. So I'm sure I'm just not grasping the Purpos. However I am very curious, and would love to understand the utility behind the idea.
Another very ambitious project grumble. Looking forward to see where it goes.
Well to keep me busy is the most importand reason to do this
But from a musical point of view the reason I started this is: Say you have a sequencer slowly playing a sequence of four notes (or eight, or.....) and than have a module transforming each note into a sequence of triades that sounds oke or even good and slowly changes in time without user interference.
Like an arpeggiator fed with notes from a sequencer or keyboard that produces a number of triades that fit the given notes...
How cool is that?
to show that I'm still working on this idea...
One music generator (YM2149) wired, time to start coding to see if I can get it to work.
After that: three more generators to wire...
IMG_0258.JPG
Description:
Filesize:
1.63 MB
Viewed:
757 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.
IMG_0259.JPG
Description:
Filesize:
1.74 MB
Viewed:
751 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.
I quit with the approach to this project.
The three psg's are working, but there is only one envelope per chip (= three voices) so it is not going to work.
But I don't give up, so I've ordered some new chips being some YMF262, which is an FM Operator chip and see what I can do with this type of psg.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum